1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_void swig_types[8]
2471 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2479 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2480 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2482 #define SWIGTYPE_p_wxButton swig_types[20]
2483 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2484 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2485 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2486 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2487 #define SWIGTYPE_p_wxChoice swig_types[25]
2488 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2489 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2490 #define SWIGTYPE_p_wxCloseEvent swig_types[28]
2491 #define SWIGTYPE_p_wxColour swig_types[29]
2492 #define SWIGTYPE_p_wxComboBox swig_types[30]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2494 #define SWIGTYPE_p_wxContextHelp swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
2497 #define SWIGTYPE_p_wxControl swig_types[35]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
2499 #define SWIGTYPE_p_wxCursor swig_types[37]
2500 #define SWIGTYPE_p_wxDC swig_types[38]
2501 #define SWIGTYPE_p_wxDateEvent swig_types[39]
2502 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[40]
2503 #define SWIGTYPE_p_wxDateTime swig_types[41]
2504 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
2505 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2506 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2508 #define SWIGTYPE_p_wxEraseEvent swig_types[46]
2509 #define SWIGTYPE_p_wxEvent swig_types[47]
2510 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
2511 #define SWIGTYPE_p_wxFSFile swig_types[49]
2512 #define SWIGTYPE_p_wxFileSystem swig_types[50]
2513 #define SWIGTYPE_p_wxFlexGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxFocusEvent swig_types[52]
2515 #define SWIGTYPE_p_wxFont swig_types[53]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[54]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[55]
2518 #define SWIGTYPE_p_wxGauge swig_types[56]
2519 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[57]
2520 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
2521 #define SWIGTYPE_p_wxGridBagSizer swig_types[59]
2522 #define SWIGTYPE_p_wxGridSizer swig_types[60]
2523 #define SWIGTYPE_p_wxHelpEvent swig_types[61]
2524 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
2525 #define SWIGTYPE_p_wxICOHandler swig_types[63]
2526 #define SWIGTYPE_p_wxIcon swig_types[64]
2527 #define SWIGTYPE_p_wxIconizeEvent swig_types[65]
2528 #define SWIGTYPE_p_wxIdleEvent swig_types[66]
2529 #define SWIGTYPE_p_wxImage swig_types[67]
2530 #define SWIGTYPE_p_wxImageHandler swig_types[68]
2531 #define SWIGTYPE_p_wxImageList swig_types[69]
2532 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[70]
2533 #define SWIGTYPE_p_wxInitDialogEvent swig_types[71]
2534 #define SWIGTYPE_p_wxItemContainer swig_types[72]
2535 #define SWIGTYPE_p_wxJPEGHandler swig_types[73]
2536 #define SWIGTYPE_p_wxKeyEvent swig_types[74]
2537 #define SWIGTYPE_p_wxLayoutConstraints swig_types[75]
2538 #define SWIGTYPE_p_wxListBox swig_types[76]
2539 #define SWIGTYPE_p_wxListEvent swig_types[77]
2540 #define SWIGTYPE_p_wxListItem swig_types[78]
2541 #define SWIGTYPE_p_wxListItemAttr swig_types[79]
2542 #define SWIGTYPE_p_wxListView swig_types[80]
2543 #define SWIGTYPE_p_wxListbook swig_types[81]
2544 #define SWIGTYPE_p_wxListbookEvent swig_types[82]
2545 #define SWIGTYPE_p_wxMaximizeEvent swig_types[83]
2546 #define SWIGTYPE_p_wxMemoryDC swig_types[84]
2547 #define SWIGTYPE_p_wxMenu swig_types[85]
2548 #define SWIGTYPE_p_wxMenuBar swig_types[86]
2549 #define SWIGTYPE_p_wxMenuEvent swig_types[87]
2550 #define SWIGTYPE_p_wxMenuItem swig_types[88]
2551 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[89]
2552 #define SWIGTYPE_p_wxMouseEvent swig_types[90]
2553 #define SWIGTYPE_p_wxMoveEvent swig_types[91]
2554 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
2555 #define SWIGTYPE_p_wxNcPaintEvent swig_types[93]
2556 #define SWIGTYPE_p_wxNotebook swig_types[94]
2557 #define SWIGTYPE_p_wxNotebookEvent swig_types[95]
2558 #define SWIGTYPE_p_wxNotifyEvent swig_types[96]
2559 #define SWIGTYPE_p_wxObject swig_types[97]
2560 #define SWIGTYPE_p_wxPCXHandler swig_types[98]
2561 #define SWIGTYPE_p_wxPNGHandler swig_types[99]
2562 #define SWIGTYPE_p_wxPNMHandler swig_types[100]
2563 #define SWIGTYPE_p_wxPaintEvent swig_types[101]
2564 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[102]
2565 #define SWIGTYPE_p_wxPaperSize swig_types[103]
2566 #define SWIGTYPE_p_wxPoint swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyControl swig_types[107]
2570 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyListCtrl swig_types[110]
2573 #define SWIGTYPE_p_wxPySizer swig_types[111]
2574 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[112]
2575 #define SWIGTYPE_p_wxPyTreeItemData swig_types[113]
2576 #define SWIGTYPE_p_wxPyValidator swig_types[114]
2577 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[115]
2578 #define SWIGTYPE_p_wxRadioBox swig_types[116]
2579 #define SWIGTYPE_p_wxRadioButton swig_types[117]
2580 #define SWIGTYPE_p_wxRect swig_types[118]
2581 #define SWIGTYPE_p_wxScrollBar swig_types[119]
2582 #define SWIGTYPE_p_wxScrollEvent swig_types[120]
2583 #define SWIGTYPE_p_wxScrollWinEvent swig_types[121]
2584 #define SWIGTYPE_p_wxSetCursorEvent swig_types[122]
2585 #define SWIGTYPE_p_wxShowEvent swig_types[123]
2586 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[124]
2587 #define SWIGTYPE_p_wxSize swig_types[125]
2588 #define SWIGTYPE_p_wxSizeEvent swig_types[126]
2589 #define SWIGTYPE_p_wxSizer swig_types[127]
2590 #define SWIGTYPE_p_wxSizerItem swig_types[128]
2591 #define SWIGTYPE_p_wxSlider swig_types[129]
2592 #define SWIGTYPE_p_wxSpinButton swig_types[130]
2593 #define SWIGTYPE_p_wxSpinCtrl swig_types[131]
2594 #define SWIGTYPE_p_wxSpinEvent swig_types[132]
2595 #define SWIGTYPE_p_wxStaticBitmap swig_types[133]
2596 #define SWIGTYPE_p_wxStaticBox swig_types[134]
2597 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxStaticLine swig_types[136]
2599 #define SWIGTYPE_p_wxStaticText swig_types[137]
2600 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[138]
2601 #define SWIGTYPE_p_wxString swig_types[139]
2602 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[140]
2603 #define SWIGTYPE_p_wxTIFFHandler swig_types[141]
2604 #define SWIGTYPE_p_wxTextAttr swig_types[142]
2605 #define SWIGTYPE_p_wxTextCtrl swig_types[143]
2606 #define SWIGTYPE_p_wxTextUrlEvent swig_types[144]
2607 #define SWIGTYPE_p_wxToggleButton swig_types[145]
2608 #define SWIGTYPE_p_wxToolBar swig_types[146]
2609 #define SWIGTYPE_p_wxToolBarBase swig_types[147]
2610 #define SWIGTYPE_p_wxToolBarToolBase swig_types[148]
2611 #define SWIGTYPE_p_wxToolbook swig_types[149]
2612 #define SWIGTYPE_p_wxToolbookEvent swig_types[150]
2613 #define SWIGTYPE_p_wxTreeCtrl swig_types[151]
2614 #define SWIGTYPE_p_wxTreeEvent swig_types[152]
2615 #define SWIGTYPE_p_wxTreeItemId swig_types[153]
2616 #define SWIGTYPE_p_wxTreebook swig_types[154]
2617 #define SWIGTYPE_p_wxTreebookEvent swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _controls_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_controls_
2652 #define SWIG_name "_controls_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2727 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2731 const wxArrayString wxPyEmptyStringArray
;
2733 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2735 #define SWIG_From_long PyInt_FromLong
2738 SWIGINTERNINLINE PyObject
*
2739 SWIG_From_int (int value
)
2741 return SWIG_From_long (value
);
2747 # define LLONG_MIN LONG_LONG_MIN
2750 # define LLONG_MAX LONG_LONG_MAX
2753 # define ULLONG_MAX ULONG_LONG_MAX
2758 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2760 if (PyNumber_Check(obj
)) {
2761 if (val
) *val
= PyInt_AsLong(obj
);
2764 return SWIG_TypeError
;
2769 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2772 int res
= SWIG_AsVal_long (obj
, &v
);
2773 if (SWIG_IsOK(res
)) {
2774 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2775 return SWIG_OverflowError
;
2777 if (val
) *val
= static_cast< int >(v
);
2783 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2786 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2788 if (obj
== Py_True
) {
2789 if (val
) *val
= true;
2791 } else if (obj
== Py_False
) {
2792 if (val
) *val
= false;
2796 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2797 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2802 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2803 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2804 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2805 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2806 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2807 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2809 #include <wx/checklst.h>
2811 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2812 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2815 wxPyClientData
* data
= new wxPyClientData(clientData
);
2816 self
->Insert(item
, pos
, data
);
2819 self
->Insert(item
, pos
);
2823 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2826 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2827 return SWIG_TypeError
;
2830 *val
= (unsigned long)v
;
2836 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2839 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2840 if (SWIG_IsOK(res
)) {
2841 if ((v
> UINT_MAX
)) {
2842 return SWIG_OverflowError
;
2844 if (val
) *val
= static_cast< unsigned int >(v
);
2850 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2851 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2853 self
->GetSelections(lst
);
2854 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2855 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2857 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2859 wxPyEndBlockThreads(blocked
);
2862 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2864 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2865 self
->GetItem(item
)->SetTextColour(c
);
2868 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2870 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2871 self
->GetItem(item
)->SetBackgroundColour(c
);
2874 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2876 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2877 self
->GetItem(item
)->SetFont(f
);
2880 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2881 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2882 self
->AppendText(text
);
2884 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2885 return self
->GetValue().Mid(from
, to
- from
);
2887 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2888 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2889 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2890 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2891 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2893 SWIGINTERNINLINE PyObject
*
2894 SWIG_From_unsigned_SS_long (unsigned long value
)
2896 return (value
> LONG_MAX
) ?
2897 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2901 SWIGINTERNINLINE PyObject
*
2902 SWIG_From_size_t (size_t value
)
2904 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2908 SWIGINTERNINLINE PyObject
*
2909 SWIG_From_unsigned_SS_int (unsigned int value
)
2911 return SWIG_From_unsigned_SS_long (value
);
2915 #include <wx/slider.h>
2918 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2919 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2921 #if !wxUSE_TOGGLEBTN
2922 // implement dummy items for platforms that don't have this class
2924 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2926 class wxToggleButton
: public wxControl
2929 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2930 const wxPoint
&, const wxSize
&, long,
2931 const wxValidator
&, const wxString
&)
2932 { wxPyRaiseNotImplemented(); }
2935 { wxPyRaiseNotImplemented(); }
2939 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2941 SWIGINTERNINLINE
int
2942 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2945 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2946 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2950 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2951 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2952 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2954 Py_INCREF(udata
->m_obj
);
2955 return udata
->m_obj
;
2961 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2962 self
->SetClientData(new wxPyUserData(clientData
));
2964 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2965 wxPyUserData
* udata
= NULL
;
2966 if (clientData
&& clientData
!= Py_None
)
2967 udata
= new wxPyUserData(clientData
);
2968 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2969 shortHelp
, longHelp
, udata
);
2971 SWIGINTERN wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
=wxNullBitmap
,wxItemKind kind
=wxITEM_NORMAL
,wxString
const &shortHelp
=wxPyEmptyString
,wxString
const &longHelp
=wxPyEmptyString
,PyObject
*clientData
=NULL
){
2972 wxPyUserData
* udata
= NULL
;
2973 if (clientData
&& clientData
!= Py_None
)
2974 udata
= new wxPyUserData(clientData
);
2975 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2976 shortHelp
, longHelp
, udata
);
2978 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2979 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
2981 Py_INCREF(udata
->m_obj
);
2982 return udata
->m_obj
;
2988 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
2989 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
2992 #include <wx/listctrl.h>
2994 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
2995 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
2996 // Python aware sorting function for wxPyListCtrl
2997 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
2999 PyObject
* func
= (PyObject
*)funcPtr
;
3000 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3002 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3003 PyObject
* result
= PyEval_CallObject(func
, args
);
3006 retval
= PyInt_AsLong(result
);
3010 wxPyEndBlockThreads(blocked
);
3014 // C++ Version of a Python aware class
3015 class wxPyListCtrl
: public wxListCtrl
{
3016 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3018 wxPyListCtrl() : wxListCtrl() {}
3019 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3023 const wxValidator
& validator
,
3024 const wxString
& name
) :
3025 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3027 bool Create(wxWindow
* parent
, wxWindowID id
,
3031 const wxValidator
& validator
,
3032 const wxString
& name
) {
3033 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3036 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3037 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3039 // use the virtual version to avoid a confusing assert in the base class
3040 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3041 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3046 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3048 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3049 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3050 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3051 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3054 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3056 item
.SetMask( wxLIST_MASK_STATE
|
3064 if (self
->GetColumn(col
, item
))
3065 return new wxListItem(item
);
3069 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3070 wxListItem
* info
= new wxListItem
;
3071 info
->m_itemId
= itemId
;
3073 info
->m_mask
= 0xFFFF;
3074 self
->GetItem(*info
);
3077 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3079 self
->GetItemPosition(item
, pos
);
3082 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3084 self
->GetItemRect(item
, rect
, code
);
3087 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3088 if (!PyCallable_Check(func
))
3090 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3092 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3100 #include <wx/treectrl.h>
3101 #include "wx/wxPython/pytree.h"
3103 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3104 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3105 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3106 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3107 // C++ version of Python aware wxTreeCtrl
3108 class wxPyTreeCtrl
: public wxTreeCtrl
{
3109 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3111 wxPyTreeCtrl() : wxTreeCtrl() {}
3112 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3116 const wxValidator
& validator
,
3117 const wxString
& name
) :
3118 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3120 bool Create(wxWindow
*parent
, wxWindowID id
,
3124 const wxValidator
& validator
,
3125 const wxString
& name
) {
3126 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3130 int OnCompareItems(const wxTreeItemId
& item1
,
3131 const wxTreeItemId
& item2
) {
3134 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3135 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3136 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3137 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3138 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3142 wxPyEndBlockThreads(blocked
);
3144 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3150 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3153 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3154 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3156 data
= new wxPyTreeItemData();
3157 data
->SetId(item
); // set the id
3158 self
->SetItemData(item
, data
);
3162 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3163 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3165 data
= new wxPyTreeItemData();
3166 data
->SetId(item
); // set the id
3167 self
->SetItemData(item
, data
);
3169 return data
->GetData();
3171 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3172 data
->SetId(item
); // set the id
3173 self
->SetItemData(item
, data
);
3175 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3176 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3178 data
= new wxPyTreeItemData(obj
);
3179 data
->SetId(item
); // set the id
3180 self
->SetItemData(item
, data
);
3184 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3185 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3186 PyObject
* rval
= PyList_New(0);
3187 wxArrayTreeItemIds array
;
3189 num
= self
->GetSelections(array
);
3190 for (x
=0; x
< num
; x
++) {
3191 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3192 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3193 PyList_Append(rval
, item
);
3196 wxPyEndBlockThreads(blocked
);
3199 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3201 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3202 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3203 PyObject
* tup
= PyTuple_New(2);
3204 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3205 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3206 wxPyEndBlockThreads(blocked
);
3209 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3210 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3211 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3212 PyObject
* tup
= PyTuple_New(2);
3213 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3214 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3215 wxPyEndBlockThreads(blocked
);
3218 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3220 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3221 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3222 wxRect
* r
= new wxRect(rect
);
3223 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3224 wxPyEndBlockThreads(blocked
);
3230 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3232 SWIGINTERNINLINE PyObject
*
3233 SWIG_From_bool (bool value
)
3235 return PyBool_FromLong(value
? 1 : 0);
3238 // C++ version of Python aware wxControl
3239 class wxPyControl
: public wxControl
3241 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3243 wxPyControl() : wxControl() {}
3244 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3245 const wxPoint
& pos
= wxDefaultPosition
,
3246 const wxSize
& size
= wxDefaultSize
,
3248 const wxValidator
& validator
=wxDefaultValidator
,
3249 const wxString
& name
= wxPyControlNameStr
)
3250 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3252 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
3254 bool DoEraseBackground(wxDC
* dc
) {
3256 return wxWindow::DoEraseBackground(dc
->GetHDC());
3258 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3264 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3265 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3266 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3267 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3269 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3270 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3271 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3273 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3274 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3276 DEC_PYCALLBACK__(InitDialog
);
3277 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3278 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3279 DEC_PYCALLBACK_BOOL_(Validate
);
3281 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3282 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3283 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3285 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3286 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3288 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3289 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3291 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3293 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3298 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3300 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3301 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3302 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3303 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3305 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3306 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3307 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3309 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3310 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3312 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3313 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3314 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3315 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3317 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3318 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3319 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3321 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3322 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3324 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3325 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3327 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3329 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3333 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3335 #include <wx/generic/dragimgg.h>
3337 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3338 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3340 self
->GetRange(&rv
, NULL
);
3343 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3345 self
->GetRange(NULL
, &rv
);
3351 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3352 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3357 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3358 PyObject
*pyobj
= 0;
3362 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3364 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3371 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
= 0;
3373 wxWindow
*arg1
= (wxWindow
*) 0 ;
3374 int arg2
= (int) -1 ;
3375 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3376 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3377 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3378 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3379 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3380 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3381 long arg6
= (long) 0 ;
3382 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3383 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3384 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3385 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3386 wxButton
*result
= 0 ;
3391 bool temp3
= false ;
3398 bool temp8
= false ;
3399 PyObject
* obj0
= 0 ;
3400 PyObject
* obj1
= 0 ;
3401 PyObject
* obj2
= 0 ;
3402 PyObject
* obj3
= 0 ;
3403 PyObject
* obj4
= 0 ;
3404 PyObject
* obj5
= 0 ;
3405 PyObject
* obj6
= 0 ;
3406 PyObject
* obj7
= 0 ;
3407 char * kwnames
[] = {
3408 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3413 if (!SWIG_IsOK(res1
)) {
3414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3416 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3419 if (!SWIG_IsOK(ecode2
)) {
3420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3422 arg2
= static_cast< int >(val2
);
3426 arg3
= wxString_in_helper(obj2
);
3427 if (arg3
== NULL
) SWIG_fail
;
3434 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3440 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3444 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3445 if (!SWIG_IsOK(ecode6
)) {
3446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3448 arg6
= static_cast< long >(val6
);
3451 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3452 if (!SWIG_IsOK(res7
)) {
3453 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3456 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3458 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3462 arg8
= wxString_in_helper(obj7
);
3463 if (arg8
== NULL
) SWIG_fail
;
3468 if (!wxPyCheckForApp()) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3497 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3498 PyObject
*resultobj
= 0;
3499 wxButton
*result
= 0 ;
3501 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3503 if (!wxPyCheckForApp()) SWIG_fail
;
3504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3505 result
= (wxButton
*)new wxButton();
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3516 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3517 PyObject
*resultobj
= 0;
3518 wxButton
*arg1
= (wxButton
*) 0 ;
3519 wxWindow
*arg2
= (wxWindow
*) 0 ;
3520 int arg3
= (int) -1 ;
3521 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3522 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3523 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3524 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3525 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3526 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3527 long arg7
= (long) 0 ;
3528 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3529 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3530 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3531 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3539 bool temp4
= false ;
3546 bool temp9
= false ;
3547 PyObject
* obj0
= 0 ;
3548 PyObject
* obj1
= 0 ;
3549 PyObject
* obj2
= 0 ;
3550 PyObject
* obj3
= 0 ;
3551 PyObject
* obj4
= 0 ;
3552 PyObject
* obj5
= 0 ;
3553 PyObject
* obj6
= 0 ;
3554 PyObject
* obj7
= 0 ;
3555 PyObject
* obj8
= 0 ;
3556 char * kwnames
[] = {
3557 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3562 if (!SWIG_IsOK(res1
)) {
3563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3565 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3567 if (!SWIG_IsOK(res2
)) {
3568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3570 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3572 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3573 if (!SWIG_IsOK(ecode3
)) {
3574 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3576 arg3
= static_cast< int >(val3
);
3580 arg4
= wxString_in_helper(obj3
);
3581 if (arg4
== NULL
) SWIG_fail
;
3588 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3594 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3598 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3599 if (!SWIG_IsOK(ecode7
)) {
3600 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3602 arg7
= static_cast< long >(val7
);
3605 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3606 if (!SWIG_IsOK(res8
)) {
3607 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3612 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3616 arg9
= wxString_in_helper(obj8
);
3617 if (arg9
== NULL
) SWIG_fail
;
3622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3623 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3624 wxPyEndAllowThreads(__tstate
);
3625 if (PyErr_Occurred()) SWIG_fail
;
3628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3652 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3653 PyObject
*resultobj
= 0;
3654 wxButton
*arg1
= (wxButton
*) 0 ;
3657 PyObject
*swig_obj
[1] ;
3659 if (!args
) SWIG_fail
;
3661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3662 if (!SWIG_IsOK(res1
)) {
3663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3665 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3668 (arg1
)->SetDefault();
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 resultobj
= SWIG_Py_Void();
3679 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3680 PyObject
*resultobj
= 0;
3683 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3686 result
= wxButton::GetDefaultSize();
3687 wxPyEndAllowThreads(__tstate
);
3688 if (PyErr_Occurred()) SWIG_fail
;
3690 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3697 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
= 0;
3699 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3700 SwigValueWrapper
<wxVisualAttributes
> result
;
3703 PyObject
* obj0
= 0 ;
3704 char * kwnames
[] = {
3705 (char *) "variant", NULL
3708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3710 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3711 if (!SWIG_IsOK(ecode1
)) {
3712 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3714 arg1
= static_cast< wxWindowVariant
>(val1
);
3717 if (!wxPyCheckForApp()) SWIG_fail
;
3718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3719 result
= wxButton::GetClassDefaultAttributes(arg1
);
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3723 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3730 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3732 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3733 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3734 return SWIG_Py_Void();
3737 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3738 return SWIG_Python_InitShadowInstance(args
);
3741 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
= 0;
3743 wxWindow
*arg1
= (wxWindow
*) 0 ;
3744 int arg2
= (int) -1 ;
3745 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3746 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3747 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3748 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3749 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3750 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3751 long arg6
= (long) wxBU_AUTODRAW
;
3752 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3753 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3754 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3755 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3756 wxBitmapButton
*result
= 0 ;
3769 bool temp8
= false ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3772 PyObject
* obj2
= 0 ;
3773 PyObject
* obj3
= 0 ;
3774 PyObject
* obj4
= 0 ;
3775 PyObject
* obj5
= 0 ;
3776 PyObject
* obj6
= 0 ;
3777 PyObject
* obj7
= 0 ;
3778 char * kwnames
[] = {
3779 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3784 if (!SWIG_IsOK(res1
)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3790 if (!SWIG_IsOK(ecode2
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3793 arg2
= static_cast< int >(val2
);
3796 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3797 if (!SWIG_IsOK(res3
)) {
3798 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3803 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3808 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3814 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3818 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3819 if (!SWIG_IsOK(ecode6
)) {
3820 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3822 arg6
= static_cast< long >(val6
);
3825 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3826 if (!SWIG_IsOK(res7
)) {
3827 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3832 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3836 arg8
= wxString_in_helper(obj7
);
3837 if (arg8
== NULL
) SWIG_fail
;
3842 if (!wxPyCheckForApp()) SWIG_fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3845 wxPyEndAllowThreads(__tstate
);
3846 if (PyErr_Occurred()) SWIG_fail
;
3848 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3863 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3864 PyObject
*resultobj
= 0;
3865 wxBitmapButton
*result
= 0 ;
3867 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3869 if (!wxPyCheckForApp()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 result
= (wxBitmapButton
*)new wxBitmapButton();
3872 wxPyEndAllowThreads(__tstate
);
3873 if (PyErr_Occurred()) SWIG_fail
;
3875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3882 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3883 PyObject
*resultobj
= 0;
3884 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3885 wxWindow
*arg2
= (wxWindow
*) 0 ;
3886 int arg3
= (int) -1 ;
3887 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3888 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3889 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3890 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3891 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3892 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3893 long arg7
= (long) wxBU_AUTODRAW
;
3894 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3895 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3896 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3897 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3913 bool temp9
= false ;
3914 PyObject
* obj0
= 0 ;
3915 PyObject
* obj1
= 0 ;
3916 PyObject
* obj2
= 0 ;
3917 PyObject
* obj3
= 0 ;
3918 PyObject
* obj4
= 0 ;
3919 PyObject
* obj5
= 0 ;
3920 PyObject
* obj6
= 0 ;
3921 PyObject
* obj7
= 0 ;
3922 PyObject
* obj8
= 0 ;
3923 char * kwnames
[] = {
3924 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3929 if (!SWIG_IsOK(res1
)) {
3930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3932 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3933 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3934 if (!SWIG_IsOK(res2
)) {
3935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3937 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3939 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3940 if (!SWIG_IsOK(ecode3
)) {
3941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3943 arg3
= static_cast< int >(val3
);
3946 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3947 if (!SWIG_IsOK(res4
)) {
3948 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3953 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3958 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3964 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3968 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3969 if (!SWIG_IsOK(ecode7
)) {
3970 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
3972 arg7
= static_cast< long >(val7
);
3975 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3976 if (!SWIG_IsOK(res8
)) {
3977 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3982 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3986 arg9
= wxString_in_helper(obj8
);
3987 if (arg9
== NULL
) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4014 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4015 PyObject
*resultobj
= 0;
4016 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4020 PyObject
*swig_obj
[1] ;
4022 if (!args
) SWIG_fail
;
4024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4025 if (!SWIG_IsOK(res1
)) {
4026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4028 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= (arg1
)->GetBitmapLabel();
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4042 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4043 PyObject
*resultobj
= 0;
4044 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4048 PyObject
*swig_obj
[1] ;
4050 if (!args
) SWIG_fail
;
4052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4053 if (!SWIG_IsOK(res1
)) {
4054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4056 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4059 result
= (arg1
)->GetBitmapDisabled();
4060 wxPyEndAllowThreads(__tstate
);
4061 if (PyErr_Occurred()) SWIG_fail
;
4063 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4070 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4071 PyObject
*resultobj
= 0;
4072 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4076 PyObject
*swig_obj
[1] ;
4078 if (!args
) SWIG_fail
;
4080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4081 if (!SWIG_IsOK(res1
)) {
4082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4084 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 result
= (arg1
)->GetBitmapFocus();
4088 wxPyEndAllowThreads(__tstate
);
4089 if (PyErr_Occurred()) SWIG_fail
;
4091 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4098 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4099 PyObject
*resultobj
= 0;
4100 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4104 PyObject
*swig_obj
[1] ;
4106 if (!args
) SWIG_fail
;
4108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4109 if (!SWIG_IsOK(res1
)) {
4110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4112 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= (arg1
)->GetBitmapSelected();
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4126 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4127 PyObject
*resultobj
= 0;
4128 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4132 PyObject
*swig_obj
[1] ;
4134 if (!args
) SWIG_fail
;
4136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4137 if (!SWIG_IsOK(res1
)) {
4138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4140 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (arg1
)->GetBitmapHover();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4154 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4155 PyObject
*resultobj
= 0;
4156 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4157 wxBitmap
*arg2
= 0 ;
4162 PyObject
* obj0
= 0 ;
4163 PyObject
* obj1
= 0 ;
4164 char * kwnames
[] = {
4165 (char *) "self",(char *) "bitmap", NULL
4168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4170 if (!SWIG_IsOK(res1
)) {
4171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4173 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4175 if (!SWIG_IsOK(res2
)) {
4176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4181 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 resultobj
= SWIG_Py_Void();
4195 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
= 0;
4197 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4198 wxBitmap
*arg2
= 0 ;
4203 PyObject
* obj0
= 0 ;
4204 PyObject
* obj1
= 0 ;
4205 char * kwnames
[] = {
4206 (char *) "self",(char *) "bitmap", NULL
4209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4211 if (!SWIG_IsOK(res1
)) {
4212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4214 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4215 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4216 if (!SWIG_IsOK(res2
)) {
4217 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4220 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4222 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_Py_Void();
4236 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
= 0;
4238 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4239 wxBitmap
*arg2
= 0 ;
4244 PyObject
* obj0
= 0 ;
4245 PyObject
* obj1
= 0 ;
4246 char * kwnames
[] = {
4247 (char *) "self",(char *) "bitmap", NULL
4250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4252 if (!SWIG_IsOK(res1
)) {
4253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4255 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4257 if (!SWIG_IsOK(res2
)) {
4258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4263 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4267 wxPyEndAllowThreads(__tstate
);
4268 if (PyErr_Occurred()) SWIG_fail
;
4270 resultobj
= SWIG_Py_Void();
4277 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
= 0;
4279 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4280 wxBitmap
*arg2
= 0 ;
4285 PyObject
* obj0
= 0 ;
4286 PyObject
* obj1
= 0 ;
4287 char * kwnames
[] = {
4288 (char *) "self",(char *) "bitmap", NULL
4291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4293 if (!SWIG_IsOK(res1
)) {
4294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4296 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4297 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4298 if (!SWIG_IsOK(res2
)) {
4299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4302 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4304 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4307 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= SWIG_Py_Void();
4318 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
= 0;
4320 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4321 wxBitmap
*arg2
= 0 ;
4326 PyObject
* obj0
= 0 ;
4327 PyObject
* obj1
= 0 ;
4328 char * kwnames
[] = {
4329 (char *) "self",(char *) "hover", NULL
4332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4334 if (!SWIG_IsOK(res1
)) {
4335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4337 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4339 if (!SWIG_IsOK(res2
)) {
4340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4345 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4348 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4349 wxPyEndAllowThreads(__tstate
);
4350 if (PyErr_Occurred()) SWIG_fail
;
4352 resultobj
= SWIG_Py_Void();
4359 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
= 0;
4361 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4370 PyObject
* obj0
= 0 ;
4371 PyObject
* obj1
= 0 ;
4372 PyObject
* obj2
= 0 ;
4373 char * kwnames
[] = {
4374 (char *) "self",(char *) "x",(char *) "y", NULL
4377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4379 if (!SWIG_IsOK(res1
)) {
4380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4382 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4384 if (!SWIG_IsOK(ecode2
)) {
4385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4387 arg2
= static_cast< int >(val2
);
4388 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4389 if (!SWIG_IsOK(ecode3
)) {
4390 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4392 arg3
= static_cast< int >(val3
);
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 (arg1
)->SetMargins(arg2
,arg3
);
4396 wxPyEndAllowThreads(__tstate
);
4397 if (PyErr_Occurred()) SWIG_fail
;
4399 resultobj
= SWIG_Py_Void();
4406 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4407 PyObject
*resultobj
= 0;
4408 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4412 PyObject
*swig_obj
[1] ;
4414 if (!args
) SWIG_fail
;
4416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4417 if (!SWIG_IsOK(res1
)) {
4418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4420 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4423 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4424 wxPyEndAllowThreads(__tstate
);
4425 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= SWIG_From_int(static_cast< int >(result
));
4434 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4435 PyObject
*resultobj
= 0;
4436 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4440 PyObject
*swig_obj
[1] ;
4442 if (!args
) SWIG_fail
;
4444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4445 if (!SWIG_IsOK(res1
)) {
4446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4448 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= SWIG_From_int(static_cast< int >(result
));
4462 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4465 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4466 return SWIG_Py_Void();
4469 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4470 return SWIG_Python_InitShadowInstance(args
);
4473 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4474 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4479 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4480 PyObject
*pyobj
= 0;
4484 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4486 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4493 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
= 0;
4495 wxWindow
*arg1
= (wxWindow
*) 0 ;
4496 int arg2
= (int) -1 ;
4497 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4498 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4503 long arg6
= (long) 0 ;
4504 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4505 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4506 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4507 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4508 wxCheckBox
*result
= 0 ;
4513 bool temp3
= false ;
4520 bool temp8
= false ;
4521 PyObject
* obj0
= 0 ;
4522 PyObject
* obj1
= 0 ;
4523 PyObject
* obj2
= 0 ;
4524 PyObject
* obj3
= 0 ;
4525 PyObject
* obj4
= 0 ;
4526 PyObject
* obj5
= 0 ;
4527 PyObject
* obj6
= 0 ;
4528 PyObject
* obj7
= 0 ;
4529 char * kwnames
[] = {
4530 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4535 if (!SWIG_IsOK(res1
)) {
4536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4538 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4541 if (!SWIG_IsOK(ecode2
)) {
4542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4544 arg2
= static_cast< int >(val2
);
4548 arg3
= wxString_in_helper(obj2
);
4549 if (arg3
== NULL
) SWIG_fail
;
4556 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4562 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4566 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4567 if (!SWIG_IsOK(ecode6
)) {
4568 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4570 arg6
= static_cast< long >(val6
);
4573 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4574 if (!SWIG_IsOK(res7
)) {
4575 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4580 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4584 arg8
= wxString_in_helper(obj7
);
4585 if (arg8
== NULL
) SWIG_fail
;
4590 if (!wxPyCheckForApp()) SWIG_fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4619 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4620 PyObject
*resultobj
= 0;
4621 wxCheckBox
*result
= 0 ;
4623 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4625 if (!wxPyCheckForApp()) SWIG_fail
;
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 result
= (wxCheckBox
*)new wxCheckBox();
4628 wxPyEndAllowThreads(__tstate
);
4629 if (PyErr_Occurred()) SWIG_fail
;
4631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4638 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
= 0;
4640 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4641 wxWindow
*arg2
= (wxWindow
*) 0 ;
4642 int arg3
= (int) -1 ;
4643 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4644 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4645 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4646 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4647 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4648 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4649 long arg7
= (long) 0 ;
4650 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4651 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4652 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4653 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4661 bool temp4
= false ;
4668 bool temp9
= false ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4671 PyObject
* obj2
= 0 ;
4672 PyObject
* obj3
= 0 ;
4673 PyObject
* obj4
= 0 ;
4674 PyObject
* obj5
= 0 ;
4675 PyObject
* obj6
= 0 ;
4676 PyObject
* obj7
= 0 ;
4677 PyObject
* obj8
= 0 ;
4678 char * kwnames
[] = {
4679 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4684 if (!SWIG_IsOK(res1
)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4687 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4689 if (!SWIG_IsOK(res2
)) {
4690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4692 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4694 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4695 if (!SWIG_IsOK(ecode3
)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4698 arg3
= static_cast< int >(val3
);
4702 arg4
= wxString_in_helper(obj3
);
4703 if (arg4
== NULL
) SWIG_fail
;
4710 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4716 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4720 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4721 if (!SWIG_IsOK(ecode7
)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4724 arg7
= static_cast< long >(val7
);
4727 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4728 if (!SWIG_IsOK(res8
)) {
4729 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4734 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4738 arg9
= wxString_in_helper(obj8
);
4739 if (arg9
== NULL
) SWIG_fail
;
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4774 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4775 PyObject
*resultobj
= 0;
4776 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4780 PyObject
*swig_obj
[1] ;
4782 if (!args
) SWIG_fail
;
4784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4785 if (!SWIG_IsOK(res1
)) {
4786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4788 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 result
= (bool)(arg1
)->GetValue();
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4804 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4805 PyObject
*resultobj
= 0;
4806 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4810 PyObject
*swig_obj
[1] ;
4812 if (!args
) SWIG_fail
;
4814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4815 if (!SWIG_IsOK(res1
)) {
4816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4818 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (bool)(arg1
)->IsChecked();
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4834 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
= 0;
4836 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4842 PyObject
* obj0
= 0 ;
4843 PyObject
* obj1
= 0 ;
4844 char * kwnames
[] = {
4845 (char *) "self",(char *) "state", NULL
4848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4850 if (!SWIG_IsOK(res1
)) {
4851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4853 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4854 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4855 if (!SWIG_IsOK(ecode2
)) {
4856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4858 arg2
= static_cast< bool >(val2
);
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 (arg1
)->SetValue(arg2
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= SWIG_Py_Void();
4872 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4873 PyObject
*resultobj
= 0;
4874 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4875 wxCheckBoxState result
;
4878 PyObject
*swig_obj
[1] ;
4880 if (!args
) SWIG_fail
;
4882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4883 if (!SWIG_IsOK(res1
)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4886 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4889 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_From_int(static_cast< int >(result
));
4900 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
= 0;
4902 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4903 wxCheckBoxState arg2
;
4908 PyObject
* obj0
= 0 ;
4909 PyObject
* obj1
= 0 ;
4910 char * kwnames
[] = {
4911 (char *) "self",(char *) "state", NULL
4914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4916 if (!SWIG_IsOK(res1
)) {
4917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4919 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4921 if (!SWIG_IsOK(ecode2
)) {
4922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4924 arg2
= static_cast< wxCheckBoxState
>(val2
);
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 (arg1
)->Set3StateValue(arg2
);
4928 wxPyEndAllowThreads(__tstate
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 resultobj
= SWIG_Py_Void();
4938 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4939 PyObject
*resultobj
= 0;
4940 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4944 PyObject
*swig_obj
[1] ;
4946 if (!args
) SWIG_fail
;
4948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4949 if (!SWIG_IsOK(res1
)) {
4950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4952 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4968 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4969 PyObject
*resultobj
= 0;
4970 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4974 PyObject
*swig_obj
[1] ;
4976 if (!args
) SWIG_fail
;
4978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4979 if (!SWIG_IsOK(res1
)) {
4980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4982 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
4986 wxPyEndAllowThreads(__tstate
);
4987 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4998 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4999 PyObject
*resultobj
= 0;
5000 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5001 SwigValueWrapper
<wxVisualAttributes
> result
;
5004 PyObject
* obj0
= 0 ;
5005 char * kwnames
[] = {
5006 (char *) "variant", NULL
5009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5011 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5012 if (!SWIG_IsOK(ecode1
)) {
5013 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5015 arg1
= static_cast< wxWindowVariant
>(val1
);
5018 if (!wxPyCheckForApp()) SWIG_fail
;
5019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5020 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5031 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5034 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5035 return SWIG_Py_Void();
5038 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5039 return SWIG_Python_InitShadowInstance(args
);
5042 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5043 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5048 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5049 PyObject
*pyobj
= 0;
5053 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5055 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5062 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5063 PyObject
*resultobj
= 0;
5064 wxWindow
*arg1
= (wxWindow
*) 0 ;
5065 int arg2
= (int) -1 ;
5066 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5067 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5068 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5069 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5070 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5071 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5072 long arg6
= (long) 0 ;
5073 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5074 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5075 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5076 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5077 wxChoice
*result
= 0 ;
5084 bool temp5
= false ;
5089 bool temp8
= false ;
5090 PyObject
* obj0
= 0 ;
5091 PyObject
* obj1
= 0 ;
5092 PyObject
* obj2
= 0 ;
5093 PyObject
* obj3
= 0 ;
5094 PyObject
* obj4
= 0 ;
5095 PyObject
* obj5
= 0 ;
5096 PyObject
* obj6
= 0 ;
5097 PyObject
* obj7
= 0 ;
5098 char * kwnames
[] = {
5099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5104 if (!SWIG_IsOK(res1
)) {
5105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5107 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5110 if (!SWIG_IsOK(ecode2
)) {
5111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5113 arg2
= static_cast< int >(val2
);
5118 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5124 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5129 if (! PySequence_Check(obj4
)) {
5130 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5133 arg5
= new wxArrayString
;
5135 int i
, len
=PySequence_Length(obj4
);
5136 for (i
=0; i
<len
; i
++) {
5137 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5138 wxString
* s
= wxString_in_helper(item
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5147 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5148 if (!SWIG_IsOK(ecode6
)) {
5149 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5151 arg6
= static_cast< long >(val6
);
5154 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5155 if (!SWIG_IsOK(res7
)) {
5156 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5161 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5165 arg8
= wxString_in_helper(obj7
);
5166 if (arg8
== NULL
) SWIG_fail
;
5171 if (!wxPyCheckForApp()) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5179 if (temp5
) delete arg5
;
5188 if (temp5
) delete arg5
;
5198 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5199 PyObject
*resultobj
= 0;
5200 wxChoice
*result
= 0 ;
5202 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5204 if (!wxPyCheckForApp()) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= (wxChoice
*)new wxChoice();
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5217 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
= 0;
5219 wxChoice
*arg1
= (wxChoice
*) 0 ;
5220 wxWindow
*arg2
= (wxWindow
*) 0 ;
5221 int arg3
= (int) -1 ;
5222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5226 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5227 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5228 long arg7
= (long) 0 ;
5229 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5230 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5231 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5232 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5242 bool temp6
= false ;
5247 bool temp9
= false ;
5248 PyObject
* obj0
= 0 ;
5249 PyObject
* obj1
= 0 ;
5250 PyObject
* obj2
= 0 ;
5251 PyObject
* obj3
= 0 ;
5252 PyObject
* obj4
= 0 ;
5253 PyObject
* obj5
= 0 ;
5254 PyObject
* obj6
= 0 ;
5255 PyObject
* obj7
= 0 ;
5256 PyObject
* obj8
= 0 ;
5257 char * kwnames
[] = {
5258 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5263 if (!SWIG_IsOK(res1
)) {
5264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5266 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5268 if (!SWIG_IsOK(res2
)) {
5269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5273 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5274 if (!SWIG_IsOK(ecode3
)) {
5275 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5277 arg3
= static_cast< int >(val3
);
5282 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5288 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5293 if (! PySequence_Check(obj5
)) {
5294 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5297 arg6
= new wxArrayString
;
5299 int i
, len
=PySequence_Length(obj5
);
5300 for (i
=0; i
<len
; i
++) {
5301 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5302 wxString
* s
= wxString_in_helper(item
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5311 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5312 if (!SWIG_IsOK(ecode7
)) {
5313 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5315 arg7
= static_cast< long >(val7
);
5318 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5319 if (!SWIG_IsOK(res8
)) {
5320 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5323 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5325 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5329 arg9
= wxString_in_helper(obj8
);
5330 if (arg9
== NULL
) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5344 if (temp6
) delete arg6
;
5353 if (temp6
) delete arg6
;
5363 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5364 PyObject
*resultobj
= 0;
5365 wxChoice
*arg1
= (wxChoice
*) 0 ;
5369 PyObject
*swig_obj
[1] ;
5371 if (!args
) SWIG_fail
;
5373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5374 if (!SWIG_IsOK(res1
)) {
5375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5377 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5380 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= SWIG_From_int(static_cast< int >(result
));
5391 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
*resultobj
= 0;
5393 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5394 SwigValueWrapper
<wxVisualAttributes
> result
;
5397 PyObject
* obj0
= 0 ;
5398 char * kwnames
[] = {
5399 (char *) "variant", NULL
5402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5404 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5405 if (!SWIG_IsOK(ecode1
)) {
5406 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5408 arg1
= static_cast< wxWindowVariant
>(val1
);
5411 if (!wxPyCheckForApp()) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5424 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5427 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5428 return SWIG_Py_Void();
5431 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5432 return SWIG_Python_InitShadowInstance(args
);
5435 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5436 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5441 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5442 PyObject
*pyobj
= 0;
5446 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5448 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5455 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
= 0;
5457 wxWindow
*arg1
= (wxWindow
*) 0 ;
5458 int arg2
= (int) -1 ;
5459 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5460 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5465 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5466 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5467 long arg7
= (long) 0 ;
5468 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5469 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5470 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5471 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5472 wxComboBox
*result
= 0 ;
5477 bool temp3
= false ;
5480 bool temp6
= false ;
5485 bool temp9
= false ;
5486 PyObject
* obj0
= 0 ;
5487 PyObject
* obj1
= 0 ;
5488 PyObject
* obj2
= 0 ;
5489 PyObject
* obj3
= 0 ;
5490 PyObject
* obj4
= 0 ;
5491 PyObject
* obj5
= 0 ;
5492 PyObject
* obj6
= 0 ;
5493 PyObject
* obj7
= 0 ;
5494 PyObject
* obj8
= 0 ;
5495 char * kwnames
[] = {
5496 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5501 if (!SWIG_IsOK(res1
)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5504 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5507 if (!SWIG_IsOK(ecode2
)) {
5508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5510 arg2
= static_cast< int >(val2
);
5514 arg3
= wxString_in_helper(obj2
);
5515 if (arg3
== NULL
) SWIG_fail
;
5522 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5528 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5533 if (! PySequence_Check(obj5
)) {
5534 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5537 arg6
= new wxArrayString
;
5539 int i
, len
=PySequence_Length(obj5
);
5540 for (i
=0; i
<len
; i
++) {
5541 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5542 wxString
* s
= wxString_in_helper(item
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5551 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5552 if (!SWIG_IsOK(ecode7
)) {
5553 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5555 arg7
= static_cast< long >(val7
);
5558 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5559 if (!SWIG_IsOK(res8
)) {
5560 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5565 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5569 arg9
= wxString_in_helper(obj8
);
5570 if (arg9
== NULL
) SWIG_fail
;
5575 if (!wxPyCheckForApp()) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5578 wxPyEndAllowThreads(__tstate
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5587 if (temp6
) delete arg6
;
5600 if (temp6
) delete arg6
;
5610 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5611 PyObject
*resultobj
= 0;
5612 wxComboBox
*result
= 0 ;
5614 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5616 if (!wxPyCheckForApp()) SWIG_fail
;
5617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5618 result
= (wxComboBox
*)new wxComboBox();
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5629 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
= 0;
5631 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5632 wxWindow
*arg2
= (wxWindow
*) 0 ;
5633 int arg3
= (int) -1 ;
5634 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5635 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5636 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5637 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5638 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5639 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5640 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5641 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5642 long arg8
= (long) 0 ;
5643 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5644 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5645 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5646 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5654 bool temp4
= false ;
5657 bool temp7
= false ;
5662 bool temp10
= false ;
5663 PyObject
* obj0
= 0 ;
5664 PyObject
* obj1
= 0 ;
5665 PyObject
* obj2
= 0 ;
5666 PyObject
* obj3
= 0 ;
5667 PyObject
* obj4
= 0 ;
5668 PyObject
* obj5
= 0 ;
5669 PyObject
* obj6
= 0 ;
5670 PyObject
* obj7
= 0 ;
5671 PyObject
* obj8
= 0 ;
5672 PyObject
* obj9
= 0 ;
5673 char * kwnames
[] = {
5674 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5679 if (!SWIG_IsOK(res1
)) {
5680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5682 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5683 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5684 if (!SWIG_IsOK(res2
)) {
5685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5687 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5689 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5690 if (!SWIG_IsOK(ecode3
)) {
5691 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5693 arg3
= static_cast< int >(val3
);
5697 arg4
= wxString_in_helper(obj3
);
5698 if (arg4
== NULL
) SWIG_fail
;
5705 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5711 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5716 if (! PySequence_Check(obj6
)) {
5717 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5720 arg7
= new wxArrayString
;
5722 int i
, len
=PySequence_Length(obj6
);
5723 for (i
=0; i
<len
; i
++) {
5724 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5725 wxString
* s
= wxString_in_helper(item
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5734 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5735 if (!SWIG_IsOK(ecode8
)) {
5736 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5738 arg8
= static_cast< long >(val8
);
5741 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5742 if (!SWIG_IsOK(res9
)) {
5743 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5746 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5748 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5752 arg10
= wxString_in_helper(obj9
);
5753 if (arg10
== NULL
) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5771 if (temp7
) delete arg7
;
5784 if (temp7
) delete arg7
;
5794 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5795 PyObject
*resultobj
= 0;
5796 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5800 PyObject
*swig_obj
[1] ;
5802 if (!args
) SWIG_fail
;
5804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5805 if (!SWIG_IsOK(res1
)) {
5806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5808 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5811 result
= ((wxComboBox
const *)arg1
)->GetValue();
5812 wxPyEndAllowThreads(__tstate
);
5813 if (PyErr_Occurred()) SWIG_fail
;
5817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5828 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
= 0;
5830 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5831 wxString
*arg2
= 0 ;
5834 bool temp2
= false ;
5835 PyObject
* obj0
= 0 ;
5836 PyObject
* obj1
= 0 ;
5837 char * kwnames
[] = {
5838 (char *) "self",(char *) "value", NULL
5841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5843 if (!SWIG_IsOK(res1
)) {
5844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5846 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5848 arg2
= wxString_in_helper(obj1
);
5849 if (arg2
== NULL
) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 (arg1
)->SetValue((wxString
const &)*arg2
);
5855 wxPyEndAllowThreads(__tstate
);
5856 if (PyErr_Occurred()) SWIG_fail
;
5858 resultobj
= SWIG_Py_Void();
5873 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5874 PyObject
*resultobj
= 0;
5875 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5878 PyObject
*swig_obj
[1] ;
5880 if (!args
) SWIG_fail
;
5882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5883 if (!SWIG_IsOK(res1
)) {
5884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5886 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 wxPyEndAllowThreads(__tstate
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5893 resultobj
= SWIG_Py_Void();
5900 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5901 PyObject
*resultobj
= 0;
5902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5905 PyObject
*swig_obj
[1] ;
5907 if (!args
) SWIG_fail
;
5909 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5910 if (!SWIG_IsOK(res1
)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5913 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_Py_Void();
5927 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5928 PyObject
*resultobj
= 0;
5929 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5940 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= SWIG_Py_Void();
5954 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5955 PyObject
*resultobj
= 0;
5956 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5963 PyObject
* obj1
= 0 ;
5964 char * kwnames
[] = {
5965 (char *) "self",(char *) "pos", NULL
5968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5970 if (!SWIG_IsOK(res1
)) {
5971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
5973 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5974 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5975 if (!SWIG_IsOK(ecode2
)) {
5976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
5978 arg2
= static_cast< long >(val2
);
5980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5981 (arg1
)->SetInsertionPoint(arg2
);
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5985 resultobj
= SWIG_Py_Void();
5992 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5993 PyObject
*resultobj
= 0;
5994 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5998 PyObject
*swig_obj
[1] ;
6000 if (!args
) SWIG_fail
;
6002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6003 if (!SWIG_IsOK(res1
)) {
6004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6006 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= SWIG_From_long(static_cast< long >(result
));
6020 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6021 PyObject
*resultobj
= 0;
6022 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6026 PyObject
*swig_obj
[1] ;
6028 if (!args
) SWIG_fail
;
6030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6031 if (!SWIG_IsOK(res1
)) {
6032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6034 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 resultobj
= SWIG_From_long(static_cast< long >(result
));
6048 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
= 0;
6050 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6053 wxString
*arg4
= 0 ;
6060 bool temp4
= false ;
6061 PyObject
* obj0
= 0 ;
6062 PyObject
* obj1
= 0 ;
6063 PyObject
* obj2
= 0 ;
6064 PyObject
* obj3
= 0 ;
6065 char * kwnames
[] = {
6066 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6071 if (!SWIG_IsOK(res1
)) {
6072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6074 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6075 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6076 if (!SWIG_IsOK(ecode2
)) {
6077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6079 arg2
= static_cast< long >(val2
);
6080 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6081 if (!SWIG_IsOK(ecode3
)) {
6082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6084 arg3
= static_cast< long >(val3
);
6086 arg4
= wxString_in_helper(obj3
);
6087 if (arg4
== NULL
) SWIG_fail
;
6091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6092 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_Py_Void();
6111 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6112 PyObject
*resultobj
= 0;
6113 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6122 PyObject
* obj0
= 0 ;
6123 PyObject
* obj1
= 0 ;
6124 PyObject
* obj2
= 0 ;
6125 char * kwnames
[] = {
6126 (char *) "self",(char *) "from",(char *) "to", NULL
6129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6131 if (!SWIG_IsOK(res1
)) {
6132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6134 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6135 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6136 if (!SWIG_IsOK(ecode2
)) {
6137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6139 arg2
= static_cast< long >(val2
);
6140 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6141 if (!SWIG_IsOK(ecode3
)) {
6142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6144 arg3
= static_cast< long >(val3
);
6146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 (arg1
)->SetSelection(arg2
,arg3
);
6148 wxPyEndAllowThreads(__tstate
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= SWIG_Py_Void();
6158 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6159 PyObject
*resultobj
= 0;
6160 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6161 long *arg2
= (long *) 0 ;
6162 long *arg3
= (long *) 0 ;
6166 int res2
= SWIG_TMPOBJ
;
6168 int res3
= SWIG_TMPOBJ
;
6169 PyObject
*swig_obj
[1] ;
6173 if (!args
) SWIG_fail
;
6175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6176 if (!SWIG_IsOK(res1
)) {
6177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6179 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 (arg1
)->GetSelection(arg2
,arg3
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= SWIG_Py_Void();
6187 if (SWIG_IsTmpObj(res2
)) {
6188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6190 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6193 if (SWIG_IsTmpObj(res3
)) {
6194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6196 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6205 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6206 PyObject
*resultobj
= 0;
6207 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6211 PyObject
*swig_obj
[1] ;
6213 if (!args
) SWIG_fail
;
6215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6216 if (!SWIG_IsOK(res1
)) {
6217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6219 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= SWIG_From_int(static_cast< int >(result
));
6233 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6234 PyObject
*resultobj
= 0;
6235 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6236 wxString
*arg2
= 0 ;
6240 bool temp2
= false ;
6241 PyObject
* obj0
= 0 ;
6242 PyObject
* obj1
= 0 ;
6243 char * kwnames
[] = {
6244 (char *) "self",(char *) "string", NULL
6247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6249 if (!SWIG_IsOK(res1
)) {
6250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6252 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6254 arg2
= wxString_in_helper(obj1
);
6255 if (arg2
== NULL
) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6260 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6261 wxPyEndAllowThreads(__tstate
);
6262 if (PyErr_Occurred()) SWIG_fail
;
6265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6281 SWIGINTERN PyObject
*_wrap_ComboBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
= 0;
6283 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6285 wxString
*arg3
= 0 ;
6290 bool temp3
= false ;
6291 PyObject
* obj0
= 0 ;
6292 PyObject
* obj1
= 0 ;
6293 PyObject
* obj2
= 0 ;
6294 char * kwnames
[] = {
6295 (char *) "self",(char *) "n",(char *) "string", NULL
6298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6300 if (!SWIG_IsOK(res1
)) {
6301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetString" "', expected argument " "1"" of type '" "wxComboBox *""'");
6303 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6304 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6305 if (!SWIG_IsOK(ecode2
)) {
6306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetString" "', expected argument " "2"" of type '" "int""'");
6308 arg2
= static_cast< int >(val2
);
6310 arg3
= wxString_in_helper(obj2
);
6311 if (arg3
== NULL
) SWIG_fail
;
6315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6316 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
6317 wxPyEndAllowThreads(__tstate
);
6318 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= SWIG_Py_Void();
6335 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6336 PyObject
*resultobj
= 0;
6337 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6344 PyObject
* obj1
= 0 ;
6345 char * kwnames
[] = {
6346 (char *) "self",(char *) "editable", NULL
6349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6351 if (!SWIG_IsOK(res1
)) {
6352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6354 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6355 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6356 if (!SWIG_IsOK(ecode2
)) {
6357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6359 arg2
= static_cast< bool >(val2
);
6361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6362 (arg1
)->SetEditable(arg2
);
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_Py_Void();
6373 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6374 PyObject
*resultobj
= 0;
6375 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6378 PyObject
*swig_obj
[1] ;
6380 if (!args
) SWIG_fail
;
6382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6383 if (!SWIG_IsOK(res1
)) {
6384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6386 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6389 (arg1
)->SetInsertionPointEnd();
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_Py_Void();
6400 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
= 0;
6402 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6411 PyObject
* obj0
= 0 ;
6412 PyObject
* obj1
= 0 ;
6413 PyObject
* obj2
= 0 ;
6414 char * kwnames
[] = {
6415 (char *) "self",(char *) "from",(char *) "to", NULL
6418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6420 if (!SWIG_IsOK(res1
)) {
6421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6423 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6424 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6425 if (!SWIG_IsOK(ecode2
)) {
6426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6428 arg2
= static_cast< long >(val2
);
6429 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6430 if (!SWIG_IsOK(ecode3
)) {
6431 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6433 arg3
= static_cast< long >(val3
);
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 (arg1
)->Remove(arg2
,arg3
);
6437 wxPyEndAllowThreads(__tstate
);
6438 if (PyErr_Occurred()) SWIG_fail
;
6440 resultobj
= SWIG_Py_Void();
6447 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6448 PyObject
*resultobj
= 0;
6449 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6453 PyObject
*swig_obj
[1] ;
6455 if (!args
) SWIG_fail
;
6457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6458 if (!SWIG_IsOK(res1
)) {
6459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6461 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6477 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6478 PyObject
*resultobj
= 0;
6479 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6482 PyObject
*swig_obj
[1] ;
6484 if (!args
) SWIG_fail
;
6486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6487 if (!SWIG_IsOK(res1
)) {
6488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6490 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 wxPyEndAllowThreads(__tstate
);
6495 if (PyErr_Occurred()) SWIG_fail
;
6497 resultobj
= SWIG_Py_Void();
6504 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6505 PyObject
*resultobj
= 0;
6506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6509 PyObject
*swig_obj
[1] ;
6511 if (!args
) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6517 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 resultobj
= SWIG_Py_Void();
6531 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6532 PyObject
*resultobj
= 0;
6533 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6536 PyObject
*swig_obj
[1] ;
6538 if (!args
) SWIG_fail
;
6540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6541 if (!SWIG_IsOK(res1
)) {
6542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6544 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 (arg1
)->SelectAll();
6548 wxPyEndAllowThreads(__tstate
);
6549 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= SWIG_Py_Void();
6558 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6559 PyObject
*resultobj
= 0;
6560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6564 PyObject
*swig_obj
[1] ;
6566 if (!args
) SWIG_fail
;
6568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6569 if (!SWIG_IsOK(res1
)) {
6570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6572 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6588 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6589 PyObject
*resultobj
= 0;
6590 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6594 PyObject
*swig_obj
[1] ;
6596 if (!args
) SWIG_fail
;
6598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6599 if (!SWIG_IsOK(res1
)) {
6600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6602 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6618 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6619 PyObject
*resultobj
= 0;
6620 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6624 PyObject
*swig_obj
[1] ;
6626 if (!args
) SWIG_fail
;
6628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6629 if (!SWIG_IsOK(res1
)) {
6630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6632 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6648 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6649 PyObject
*resultobj
= 0;
6650 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6654 PyObject
*swig_obj
[1] ;
6656 if (!args
) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6662 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6678 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6679 PyObject
*resultobj
= 0;
6680 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6684 PyObject
*swig_obj
[1] ;
6686 if (!args
) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6692 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6708 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
= 0;
6710 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6711 SwigValueWrapper
<wxVisualAttributes
> result
;
6714 PyObject
* obj0
= 0 ;
6715 char * kwnames
[] = {
6716 (char *) "variant", NULL
6719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6722 if (!SWIG_IsOK(ecode1
)) {
6723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6725 arg1
= static_cast< wxWindowVariant
>(val1
);
6728 if (!wxPyCheckForApp()) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6741 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6744 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6745 return SWIG_Py_Void();
6748 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6749 return SWIG_Python_InitShadowInstance(args
);
6752 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6753 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6758 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6759 PyObject
*pyobj
= 0;
6763 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6765 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6772 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6773 PyObject
*resultobj
= 0;
6774 wxWindow
*arg1
= (wxWindow
*) 0 ;
6775 int arg2
= (int) -1 ;
6776 int arg3
= (int) 100 ;
6777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6781 long arg6
= (long) wxGA_HORIZONTAL
;
6782 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6783 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6784 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6785 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6786 wxGauge
*result
= 0 ;
6799 bool temp8
= false ;
6800 PyObject
* obj0
= 0 ;
6801 PyObject
* obj1
= 0 ;
6802 PyObject
* obj2
= 0 ;
6803 PyObject
* obj3
= 0 ;
6804 PyObject
* obj4
= 0 ;
6805 PyObject
* obj5
= 0 ;
6806 PyObject
* obj6
= 0 ;
6807 PyObject
* obj7
= 0 ;
6808 char * kwnames
[] = {
6809 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6814 if (!SWIG_IsOK(res1
)) {
6815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6817 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6820 if (!SWIG_IsOK(ecode2
)) {
6821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6823 arg2
= static_cast< int >(val2
);
6826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6827 if (!SWIG_IsOK(ecode3
)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6830 arg3
= static_cast< int >(val3
);
6835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6846 if (!SWIG_IsOK(ecode6
)) {
6847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6849 arg6
= static_cast< long >(val6
);
6852 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6853 if (!SWIG_IsOK(res7
)) {
6854 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6859 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6863 arg8
= wxString_in_helper(obj7
);
6864 if (arg8
== NULL
) SWIG_fail
;
6869 if (!wxPyCheckForApp()) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6890 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6891 PyObject
*resultobj
= 0;
6892 wxGauge
*result
= 0 ;
6894 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6896 if (!wxPyCheckForApp()) SWIG_fail
;
6897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6898 result
= (wxGauge
*)new wxGauge();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6909 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6910 PyObject
*resultobj
= 0;
6911 wxGauge
*arg1
= (wxGauge
*) 0 ;
6912 wxWindow
*arg2
= (wxWindow
*) 0 ;
6913 int arg3
= (int) -1 ;
6914 int arg4
= (int) 100 ;
6915 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6916 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6917 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6918 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6919 long arg7
= (long) wxGA_HORIZONTAL
;
6920 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6921 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6922 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6923 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6939 bool temp9
= false ;
6940 PyObject
* obj0
= 0 ;
6941 PyObject
* obj1
= 0 ;
6942 PyObject
* obj2
= 0 ;
6943 PyObject
* obj3
= 0 ;
6944 PyObject
* obj4
= 0 ;
6945 PyObject
* obj5
= 0 ;
6946 PyObject
* obj6
= 0 ;
6947 PyObject
* obj7
= 0 ;
6948 PyObject
* obj8
= 0 ;
6949 char * kwnames
[] = {
6950 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6955 if (!SWIG_IsOK(res1
)) {
6956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6958 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6960 if (!SWIG_IsOK(res2
)) {
6961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6963 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6966 if (!SWIG_IsOK(ecode3
)) {
6967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6969 arg3
= static_cast< int >(val3
);
6972 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6973 if (!SWIG_IsOK(ecode4
)) {
6974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6976 arg4
= static_cast< int >(val4
);
6981 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6987 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6991 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6992 if (!SWIG_IsOK(ecode7
)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6995 arg7
= static_cast< long >(val7
);
6998 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6999 if (!SWIG_IsOK(res8
)) {
7000 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7003 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7005 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7009 arg9
= wxString_in_helper(obj8
);
7010 if (arg9
== NULL
) SWIG_fail
;
7015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7016 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7037 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7038 PyObject
*resultobj
= 0;
7039 wxGauge
*arg1
= (wxGauge
*) 0 ;
7045 PyObject
* obj0
= 0 ;
7046 PyObject
* obj1
= 0 ;
7047 char * kwnames
[] = {
7048 (char *) "self",(char *) "range", NULL
7051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7053 if (!SWIG_IsOK(res1
)) {
7054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7056 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7058 if (!SWIG_IsOK(ecode2
)) {
7059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7061 arg2
= static_cast< int >(val2
);
7063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 (arg1
)->SetRange(arg2
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= SWIG_Py_Void();
7075 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7076 PyObject
*resultobj
= 0;
7077 wxGauge
*arg1
= (wxGauge
*) 0 ;
7081 PyObject
*swig_obj
[1] ;
7083 if (!args
) SWIG_fail
;
7085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7086 if (!SWIG_IsOK(res1
)) {
7087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7089 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 resultobj
= SWIG_From_int(static_cast< int >(result
));
7103 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
= 0;
7105 wxGauge
*arg1
= (wxGauge
*) 0 ;
7111 PyObject
* obj0
= 0 ;
7112 PyObject
* obj1
= 0 ;
7113 char * kwnames
[] = {
7114 (char *) "self",(char *) "pos", NULL
7117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7119 if (!SWIG_IsOK(res1
)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7122 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7124 if (!SWIG_IsOK(ecode2
)) {
7125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7127 arg2
= static_cast< int >(val2
);
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 (arg1
)->SetValue(arg2
);
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7134 resultobj
= SWIG_Py_Void();
7141 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7142 PyObject
*resultobj
= 0;
7143 wxGauge
*arg1
= (wxGauge
*) 0 ;
7147 PyObject
*swig_obj
[1] ;
7149 if (!args
) SWIG_fail
;
7151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7152 if (!SWIG_IsOK(res1
)) {
7153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7155 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= SWIG_From_int(static_cast< int >(result
));
7169 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7170 PyObject
*resultobj
= 0;
7171 wxGauge
*arg1
= (wxGauge
*) 0 ;
7175 PyObject
*swig_obj
[1] ;
7177 if (!args
) SWIG_fail
;
7179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7180 if (!SWIG_IsOK(res1
)) {
7181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7183 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7187 wxPyEndAllowThreads(__tstate
);
7188 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7199 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
= 0;
7201 wxGauge
*arg1
= (wxGauge
*) 0 ;
7207 PyObject
* obj0
= 0 ;
7208 PyObject
* obj1
= 0 ;
7209 char * kwnames
[] = {
7210 (char *) "self",(char *) "w", NULL
7213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7215 if (!SWIG_IsOK(res1
)) {
7216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7218 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7220 if (!SWIG_IsOK(ecode2
)) {
7221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7223 arg2
= static_cast< int >(val2
);
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 (arg1
)->SetShadowWidth(arg2
);
7227 wxPyEndAllowThreads(__tstate
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7230 resultobj
= SWIG_Py_Void();
7237 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7238 PyObject
*resultobj
= 0;
7239 wxGauge
*arg1
= (wxGauge
*) 0 ;
7243 PyObject
*swig_obj
[1] ;
7245 if (!args
) SWIG_fail
;
7247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7248 if (!SWIG_IsOK(res1
)) {
7249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7251 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_From_int(static_cast< int >(result
));
7265 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
= 0;
7267 wxGauge
*arg1
= (wxGauge
*) 0 ;
7273 PyObject
* obj0
= 0 ;
7274 PyObject
* obj1
= 0 ;
7275 char * kwnames
[] = {
7276 (char *) "self",(char *) "w", NULL
7279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7281 if (!SWIG_IsOK(res1
)) {
7282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7284 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7286 if (!SWIG_IsOK(ecode2
)) {
7287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7289 arg2
= static_cast< int >(val2
);
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 (arg1
)->SetBezelFace(arg2
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7296 resultobj
= SWIG_Py_Void();
7303 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7304 PyObject
*resultobj
= 0;
7305 wxGauge
*arg1
= (wxGauge
*) 0 ;
7309 PyObject
*swig_obj
[1] ;
7311 if (!args
) SWIG_fail
;
7313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7314 if (!SWIG_IsOK(res1
)) {
7315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7317 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 resultobj
= SWIG_From_int(static_cast< int >(result
));
7331 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7332 PyObject
*resultobj
= 0;
7333 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7334 SwigValueWrapper
<wxVisualAttributes
> result
;
7337 PyObject
* obj0
= 0 ;
7338 char * kwnames
[] = {
7339 (char *) "variant", NULL
7342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7344 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7345 if (!SWIG_IsOK(ecode1
)) {
7346 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7348 arg1
= static_cast< wxWindowVariant
>(val1
);
7351 if (!wxPyCheckForApp()) SWIG_fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7357 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7364 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7367 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7368 return SWIG_Py_Void();
7371 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7372 return SWIG_Python_InitShadowInstance(args
);
7375 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7376 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7381 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7382 PyObject
*pyobj
= 0;
7386 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7388 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7395 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7396 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7401 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7402 PyObject
*pyobj
= 0;
7406 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7408 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7415 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7416 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7421 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7422 PyObject
*pyobj
= 0;
7426 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7428 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7435 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7436 PyObject
*resultobj
= 0;
7437 wxWindow
*arg1
= (wxWindow
*) 0 ;
7438 int arg2
= (int) -1 ;
7439 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7440 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7441 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7442 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7443 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7444 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7445 long arg6
= (long) 0 ;
7446 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7447 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7448 wxStaticBox
*result
= 0 ;
7453 bool temp3
= false ;
7458 bool temp7
= false ;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7461 PyObject
* obj2
= 0 ;
7462 PyObject
* obj3
= 0 ;
7463 PyObject
* obj4
= 0 ;
7464 PyObject
* obj5
= 0 ;
7465 PyObject
* obj6
= 0 ;
7466 char * kwnames
[] = {
7467 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7472 if (!SWIG_IsOK(res1
)) {
7473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7475 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7478 if (!SWIG_IsOK(ecode2
)) {
7479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7481 arg2
= static_cast< int >(val2
);
7485 arg3
= wxString_in_helper(obj2
);
7486 if (arg3
== NULL
) SWIG_fail
;
7493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7503 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7504 if (!SWIG_IsOK(ecode6
)) {
7505 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7507 arg6
= static_cast< long >(val6
);
7511 arg7
= wxString_in_helper(obj6
);
7512 if (arg7
== NULL
) SWIG_fail
;
7517 if (!wxPyCheckForApp()) SWIG_fail
;
7518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7519 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7520 wxPyEndAllowThreads(__tstate
);
7521 if (PyErr_Occurred()) SWIG_fail
;
7523 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7546 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7547 PyObject
*resultobj
= 0;
7548 wxStaticBox
*result
= 0 ;
7550 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7552 if (!wxPyCheckForApp()) SWIG_fail
;
7553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7554 result
= (wxStaticBox
*)new wxStaticBox();
7555 wxPyEndAllowThreads(__tstate
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7565 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
= 0;
7567 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7568 wxWindow
*arg2
= (wxWindow
*) 0 ;
7569 int arg3
= (int) -1 ;
7570 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7571 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7572 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7573 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7574 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7575 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7576 long arg7
= (long) 0 ;
7577 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7578 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7586 bool temp4
= false ;
7591 bool temp8
= false ;
7592 PyObject
* obj0
= 0 ;
7593 PyObject
* obj1
= 0 ;
7594 PyObject
* obj2
= 0 ;
7595 PyObject
* obj3
= 0 ;
7596 PyObject
* obj4
= 0 ;
7597 PyObject
* obj5
= 0 ;
7598 PyObject
* obj6
= 0 ;
7599 PyObject
* obj7
= 0 ;
7600 char * kwnames
[] = {
7601 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7606 if (!SWIG_IsOK(res1
)) {
7607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7609 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7610 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7611 if (!SWIG_IsOK(res2
)) {
7612 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7614 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7617 if (!SWIG_IsOK(ecode3
)) {
7618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7620 arg3
= static_cast< int >(val3
);
7624 arg4
= wxString_in_helper(obj3
);
7625 if (arg4
== NULL
) SWIG_fail
;
7632 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7638 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7642 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7643 if (!SWIG_IsOK(ecode7
)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7646 arg7
= static_cast< long >(val7
);
7650 arg8
= wxString_in_helper(obj7
);
7651 if (arg8
== NULL
) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7658 wxPyEndAllowThreads(__tstate
);
7659 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7686 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
= 0;
7688 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7689 SwigValueWrapper
<wxVisualAttributes
> result
;
7692 PyObject
* obj0
= 0 ;
7693 char * kwnames
[] = {
7694 (char *) "variant", NULL
7697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7700 if (!SWIG_IsOK(ecode1
)) {
7701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7703 arg1
= static_cast< wxWindowVariant
>(val1
);
7706 if (!wxPyCheckForApp()) SWIG_fail
;
7707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7708 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7719 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7722 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7723 return SWIG_Py_Void();
7726 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7727 return SWIG_Python_InitShadowInstance(args
);
7730 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
= 0;
7732 wxWindow
*arg1
= (wxWindow
*) 0 ;
7733 int arg2
= (int) -1 ;
7734 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7735 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7736 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7737 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7738 long arg5
= (long) wxLI_HORIZONTAL
;
7739 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7740 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7741 wxStaticLine
*result
= 0 ;
7750 bool temp6
= false ;
7751 PyObject
* obj0
= 0 ;
7752 PyObject
* obj1
= 0 ;
7753 PyObject
* obj2
= 0 ;
7754 PyObject
* obj3
= 0 ;
7755 PyObject
* obj4
= 0 ;
7756 PyObject
* obj5
= 0 ;
7757 char * kwnames
[] = {
7758 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7763 if (!SWIG_IsOK(res1
)) {
7764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7766 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7769 if (!SWIG_IsOK(ecode2
)) {
7770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7772 arg2
= static_cast< int >(val2
);
7777 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7783 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7787 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7788 if (!SWIG_IsOK(ecode5
)) {
7789 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7791 arg5
= static_cast< long >(val5
);
7795 arg6
= wxString_in_helper(obj5
);
7796 if (arg6
== NULL
) SWIG_fail
;
7801 if (!wxPyCheckForApp()) SWIG_fail
;
7802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7803 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7804 wxPyEndAllowThreads(__tstate
);
7805 if (PyErr_Occurred()) SWIG_fail
;
7807 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7822 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7823 PyObject
*resultobj
= 0;
7824 wxStaticLine
*result
= 0 ;
7826 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7828 if (!wxPyCheckForApp()) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (wxStaticLine
*)new wxStaticLine();
7831 wxPyEndAllowThreads(__tstate
);
7832 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7841 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
= 0;
7843 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7844 wxWindow
*arg2
= (wxWindow
*) 0 ;
7845 int arg3
= (int) -1 ;
7846 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7847 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7848 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7849 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7850 long arg6
= (long) wxLI_HORIZONTAL
;
7851 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7852 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7864 bool temp7
= false ;
7865 PyObject
* obj0
= 0 ;
7866 PyObject
* obj1
= 0 ;
7867 PyObject
* obj2
= 0 ;
7868 PyObject
* obj3
= 0 ;
7869 PyObject
* obj4
= 0 ;
7870 PyObject
* obj5
= 0 ;
7871 PyObject
* obj6
= 0 ;
7872 char * kwnames
[] = {
7873 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7878 if (!SWIG_IsOK(res1
)) {
7879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7881 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7882 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7883 if (!SWIG_IsOK(res2
)) {
7884 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7886 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7888 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7889 if (!SWIG_IsOK(ecode3
)) {
7890 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7892 arg3
= static_cast< int >(val3
);
7897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7903 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7907 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7908 if (!SWIG_IsOK(ecode6
)) {
7909 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7911 arg6
= static_cast< long >(val6
);
7915 arg7
= wxString_in_helper(obj6
);
7916 if (arg7
== NULL
) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7923 wxPyEndAllowThreads(__tstate
);
7924 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7943 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7944 PyObject
*resultobj
= 0;
7945 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7949 PyObject
*swig_obj
[1] ;
7951 if (!args
) SWIG_fail
;
7953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7954 if (!SWIG_IsOK(res1
)) {
7955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7957 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7973 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7974 PyObject
*resultobj
= 0;
7977 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 result
= (int)wxStaticLine::GetDefaultSize();
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 resultobj
= SWIG_From_int(static_cast< int >(result
));
7991 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
= 0;
7993 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7994 SwigValueWrapper
<wxVisualAttributes
> result
;
7997 PyObject
* obj0
= 0 ;
7998 char * kwnames
[] = {
7999 (char *) "variant", NULL
8002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8004 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8005 if (!SWIG_IsOK(ecode1
)) {
8006 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8008 arg1
= static_cast< wxWindowVariant
>(val1
);
8011 if (!wxPyCheckForApp()) SWIG_fail
;
8012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8013 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8024 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8027 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8028 return SWIG_Py_Void();
8031 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8032 return SWIG_Python_InitShadowInstance(args
);
8035 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
= 0;
8037 wxWindow
*arg1
= (wxWindow
*) 0 ;
8038 int arg2
= (int) -1 ;
8039 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8040 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8045 long arg6
= (long) 0 ;
8046 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8047 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8048 wxStaticText
*result
= 0 ;
8053 bool temp3
= false ;
8058 bool temp7
= false ;
8059 PyObject
* obj0
= 0 ;
8060 PyObject
* obj1
= 0 ;
8061 PyObject
* obj2
= 0 ;
8062 PyObject
* obj3
= 0 ;
8063 PyObject
* obj4
= 0 ;
8064 PyObject
* obj5
= 0 ;
8065 PyObject
* obj6
= 0 ;
8066 char * kwnames
[] = {
8067 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8072 if (!SWIG_IsOK(res1
)) {
8073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8075 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8077 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8078 if (!SWIG_IsOK(ecode2
)) {
8079 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8081 arg2
= static_cast< int >(val2
);
8085 arg3
= wxString_in_helper(obj2
);
8086 if (arg3
== NULL
) SWIG_fail
;
8093 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8099 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8103 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8104 if (!SWIG_IsOK(ecode6
)) {
8105 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8107 arg6
= static_cast< long >(val6
);
8111 arg7
= wxString_in_helper(obj6
);
8112 if (arg7
== NULL
) SWIG_fail
;
8117 if (!wxPyCheckForApp()) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8146 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8147 PyObject
*resultobj
= 0;
8148 wxStaticText
*result
= 0 ;
8150 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8152 if (!wxPyCheckForApp()) SWIG_fail
;
8153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8154 result
= (wxStaticText
*)new wxStaticText();
8155 wxPyEndAllowThreads(__tstate
);
8156 if (PyErr_Occurred()) SWIG_fail
;
8158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8165 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8166 PyObject
*resultobj
= 0;
8167 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8168 wxWindow
*arg2
= (wxWindow
*) 0 ;
8169 int arg3
= (int) -1 ;
8170 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8171 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8172 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8173 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8174 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8175 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8176 long arg7
= (long) 0 ;
8177 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8178 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8186 bool temp4
= false ;
8191 bool temp8
= false ;
8192 PyObject
* obj0
= 0 ;
8193 PyObject
* obj1
= 0 ;
8194 PyObject
* obj2
= 0 ;
8195 PyObject
* obj3
= 0 ;
8196 PyObject
* obj4
= 0 ;
8197 PyObject
* obj5
= 0 ;
8198 PyObject
* obj6
= 0 ;
8199 PyObject
* obj7
= 0 ;
8200 char * kwnames
[] = {
8201 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8206 if (!SWIG_IsOK(res1
)) {
8207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8209 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8210 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8211 if (!SWIG_IsOK(res2
)) {
8212 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8214 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8216 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8217 if (!SWIG_IsOK(ecode3
)) {
8218 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8220 arg3
= static_cast< int >(val3
);
8224 arg4
= wxString_in_helper(obj3
);
8225 if (arg4
== NULL
) SWIG_fail
;
8232 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8238 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8242 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8243 if (!SWIG_IsOK(ecode7
)) {
8244 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8246 arg7
= static_cast< long >(val7
);
8250 arg8
= wxString_in_helper(obj7
);
8251 if (arg8
== NULL
) SWIG_fail
;
8256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8257 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8286 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8287 PyObject
*resultobj
= 0;
8288 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8294 PyObject
* obj0
= 0 ;
8295 PyObject
* obj1
= 0 ;
8296 char * kwnames
[] = {
8297 (char *) "self",(char *) "width", NULL
8300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8302 if (!SWIG_IsOK(res1
)) {
8303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8305 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8307 if (!SWIG_IsOK(ecode2
)) {
8308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8310 arg2
= static_cast< int >(val2
);
8312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 wxPyEndAllowThreads(__tstate
);
8315 if (PyErr_Occurred()) SWIG_fail
;
8317 resultobj
= SWIG_Py_Void();
8324 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
= 0;
8326 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8327 SwigValueWrapper
<wxVisualAttributes
> result
;
8330 PyObject
* obj0
= 0 ;
8331 char * kwnames
[] = {
8332 (char *) "variant", NULL
8335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8337 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8338 if (!SWIG_IsOK(ecode1
)) {
8339 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8341 arg1
= static_cast< wxWindowVariant
>(val1
);
8344 if (!wxPyCheckForApp()) SWIG_fail
;
8345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8346 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8350 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8357 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8360 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8361 return SWIG_Py_Void();
8364 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8365 return SWIG_Python_InitShadowInstance(args
);
8368 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
= 0;
8370 wxWindow
*arg1
= (wxWindow
*) 0 ;
8371 int arg2
= (int) -1 ;
8372 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8373 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8374 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8375 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8376 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8377 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8378 long arg6
= (long) 0 ;
8379 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8380 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8381 wxStaticBitmap
*result
= 0 ;
8392 bool temp7
= false ;
8393 PyObject
* obj0
= 0 ;
8394 PyObject
* obj1
= 0 ;
8395 PyObject
* obj2
= 0 ;
8396 PyObject
* obj3
= 0 ;
8397 PyObject
* obj4
= 0 ;
8398 PyObject
* obj5
= 0 ;
8399 PyObject
* obj6
= 0 ;
8400 char * kwnames
[] = {
8401 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8406 if (!SWIG_IsOK(res1
)) {
8407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8409 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8412 if (!SWIG_IsOK(ecode2
)) {
8413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8415 arg2
= static_cast< int >(val2
);
8418 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8419 if (!SWIG_IsOK(res3
)) {
8420 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8425 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8430 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8436 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8440 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8441 if (!SWIG_IsOK(ecode6
)) {
8442 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8444 arg6
= static_cast< long >(val6
);
8448 arg7
= wxString_in_helper(obj6
);
8449 if (arg7
== NULL
) SWIG_fail
;
8454 if (!wxPyCheckForApp()) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8457 wxPyEndAllowThreads(__tstate
);
8458 if (PyErr_Occurred()) SWIG_fail
;
8460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8475 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8476 PyObject
*resultobj
= 0;
8477 wxStaticBitmap
*result
= 0 ;
8479 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8481 if (!wxPyCheckForApp()) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8484 wxPyEndAllowThreads(__tstate
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8494 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
= 0;
8496 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8497 wxWindow
*arg2
= (wxWindow
*) 0 ;
8498 int arg3
= (int) -1 ;
8499 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8500 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8501 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8502 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8503 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8504 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8505 long arg7
= (long) 0 ;
8506 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8507 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8521 bool temp8
= false ;
8522 PyObject
* obj0
= 0 ;
8523 PyObject
* obj1
= 0 ;
8524 PyObject
* obj2
= 0 ;
8525 PyObject
* obj3
= 0 ;
8526 PyObject
* obj4
= 0 ;
8527 PyObject
* obj5
= 0 ;
8528 PyObject
* obj6
= 0 ;
8529 PyObject
* obj7
= 0 ;
8530 char * kwnames
[] = {
8531 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8536 if (!SWIG_IsOK(res1
)) {
8537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8539 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8540 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8541 if (!SWIG_IsOK(res2
)) {
8542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8544 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8546 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8547 if (!SWIG_IsOK(ecode3
)) {
8548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8550 arg3
= static_cast< int >(val3
);
8553 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8554 if (!SWIG_IsOK(res4
)) {
8555 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8560 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8565 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8571 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8575 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8576 if (!SWIG_IsOK(ecode7
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8579 arg7
= static_cast< long >(val7
);
8583 arg8
= wxString_in_helper(obj7
);
8584 if (arg8
== NULL
) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8611 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8612 PyObject
*resultobj
= 0;
8613 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8617 PyObject
*swig_obj
[1] ;
8619 if (!args
) SWIG_fail
;
8621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8622 if (!SWIG_IsOK(res1
)) {
8623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8625 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= (arg1
)->GetBitmap();
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8639 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
= 0;
8641 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8642 wxBitmap
*arg2
= 0 ;
8647 PyObject
* obj0
= 0 ;
8648 PyObject
* obj1
= 0 ;
8649 char * kwnames
[] = {
8650 (char *) "self",(char *) "bitmap", NULL
8653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8655 if (!SWIG_IsOK(res1
)) {
8656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8658 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8659 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8660 if (!SWIG_IsOK(res2
)) {
8661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8664 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8666 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8669 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8670 wxPyEndAllowThreads(__tstate
);
8671 if (PyErr_Occurred()) SWIG_fail
;
8673 resultobj
= SWIG_Py_Void();
8680 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8681 PyObject
*resultobj
= 0;
8682 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8688 PyObject
* obj0
= 0 ;
8689 PyObject
* obj1
= 0 ;
8690 char * kwnames
[] = {
8691 (char *) "self",(char *) "icon", NULL
8694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8696 if (!SWIG_IsOK(res1
)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8699 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8700 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8701 if (!SWIG_IsOK(res2
)) {
8702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8707 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 resultobj
= SWIG_Py_Void();
8721 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
= 0;
8723 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8724 SwigValueWrapper
<wxVisualAttributes
> result
;
8727 PyObject
* obj0
= 0 ;
8728 char * kwnames
[] = {
8729 (char *) "variant", NULL
8732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8734 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8735 if (!SWIG_IsOK(ecode1
)) {
8736 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8738 arg1
= static_cast< wxWindowVariant
>(val1
);
8741 if (!wxPyCheckForApp()) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8744 wxPyEndAllowThreads(__tstate
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8747 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8754 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8757 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8758 return SWIG_Py_Void();
8761 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8762 return SWIG_Python_InitShadowInstance(args
);
8765 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8766 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8771 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8772 PyObject
*pyobj
= 0;
8776 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8778 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8785 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
= 0;
8787 wxWindow
*arg1
= (wxWindow
*) 0 ;
8788 int arg2
= (int) -1 ;
8789 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8790 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8791 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8792 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8793 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8794 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8795 long arg6
= (long) 0 ;
8796 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8797 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8798 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8799 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8800 wxListBox
*result
= 0 ;
8807 bool temp5
= false ;
8812 bool temp8
= false ;
8813 PyObject
* obj0
= 0 ;
8814 PyObject
* obj1
= 0 ;
8815 PyObject
* obj2
= 0 ;
8816 PyObject
* obj3
= 0 ;
8817 PyObject
* obj4
= 0 ;
8818 PyObject
* obj5
= 0 ;
8819 PyObject
* obj6
= 0 ;
8820 PyObject
* obj7
= 0 ;
8821 char * kwnames
[] = {
8822 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8827 if (!SWIG_IsOK(res1
)) {
8828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8830 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8833 if (!SWIG_IsOK(ecode2
)) {
8834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8836 arg2
= static_cast< int >(val2
);
8841 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8847 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8852 if (! PySequence_Check(obj4
)) {
8853 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8856 arg5
= new wxArrayString
;
8858 int i
, len
=PySequence_Length(obj4
);
8859 for (i
=0; i
<len
; i
++) {
8860 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8861 wxString
* s
= wxString_in_helper(item
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8870 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8871 if (!SWIG_IsOK(ecode6
)) {
8872 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8874 arg6
= static_cast< long >(val6
);
8877 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8878 if (!SWIG_IsOK(res7
)) {
8879 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8882 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8884 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8888 arg8
= wxString_in_helper(obj7
);
8889 if (arg8
== NULL
) SWIG_fail
;
8894 if (!wxPyCheckForApp()) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8902 if (temp5
) delete arg5
;
8911 if (temp5
) delete arg5
;
8921 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8922 PyObject
*resultobj
= 0;
8923 wxListBox
*result
= 0 ;
8925 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8927 if (!wxPyCheckForApp()) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 result
= (wxListBox
*)new wxListBox();
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8940 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
= 0;
8942 wxListBox
*arg1
= (wxListBox
*) 0 ;
8943 wxWindow
*arg2
= (wxWindow
*) 0 ;
8944 int arg3
= (int) -1 ;
8945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8949 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8950 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8951 long arg7
= (long) 0 ;
8952 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8953 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8954 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8955 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8965 bool temp6
= false ;
8970 bool temp9
= false ;
8971 PyObject
* obj0
= 0 ;
8972 PyObject
* obj1
= 0 ;
8973 PyObject
* obj2
= 0 ;
8974 PyObject
* obj3
= 0 ;
8975 PyObject
* obj4
= 0 ;
8976 PyObject
* obj5
= 0 ;
8977 PyObject
* obj6
= 0 ;
8978 PyObject
* obj7
= 0 ;
8979 PyObject
* obj8
= 0 ;
8980 char * kwnames
[] = {
8981 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8986 if (!SWIG_IsOK(res1
)) {
8987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8989 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8990 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8991 if (!SWIG_IsOK(res2
)) {
8992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8994 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8996 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8997 if (!SWIG_IsOK(ecode3
)) {
8998 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9000 arg3
= static_cast< int >(val3
);
9005 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9011 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9016 if (! PySequence_Check(obj5
)) {
9017 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9020 arg6
= new wxArrayString
;
9022 int i
, len
=PySequence_Length(obj5
);
9023 for (i
=0; i
<len
; i
++) {
9024 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9025 wxString
* s
= wxString_in_helper(item
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9034 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9035 if (!SWIG_IsOK(ecode7
)) {
9036 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9038 arg7
= static_cast< long >(val7
);
9041 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9042 if (!SWIG_IsOK(res8
)) {
9043 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9048 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9052 arg9
= wxString_in_helper(obj8
);
9053 if (arg9
== NULL
) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9067 if (temp6
) delete arg6
;
9076 if (temp6
) delete arg6
;
9086 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9087 PyObject
*resultobj
= 0;
9088 wxListBox
*arg1
= (wxListBox
*) 0 ;
9089 wxString
*arg2
= 0 ;
9091 PyObject
*arg4
= (PyObject
*) NULL
;
9094 bool temp2
= false ;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9099 PyObject
* obj2
= 0 ;
9100 PyObject
* obj3
= 0 ;
9101 char * kwnames
[] = {
9102 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9107 if (!SWIG_IsOK(res1
)) {
9108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9110 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9112 arg2
= wxString_in_helper(obj1
);
9113 if (arg2
== NULL
) SWIG_fail
;
9116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9117 if (!SWIG_IsOK(ecode3
)) {
9118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9120 arg3
= static_cast< int >(val3
);
9125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9126 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9130 resultobj
= SWIG_Py_Void();
9145 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
= 0;
9147 wxListBox
*arg1
= (wxListBox
*) 0 ;
9148 wxArrayString
*arg2
= 0 ;
9152 bool temp2
= false ;
9155 PyObject
* obj0
= 0 ;
9156 PyObject
* obj1
= 0 ;
9157 PyObject
* obj2
= 0 ;
9158 char * kwnames
[] = {
9159 (char *) "self",(char *) "items",(char *) "pos", NULL
9162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9164 if (!SWIG_IsOK(res1
)) {
9165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9167 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9169 if (! PySequence_Check(obj1
)) {
9170 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9173 arg2
= new wxArrayString
;
9175 int i
, len
=PySequence_Length(obj1
);
9176 for (i
=0; i
<len
; i
++) {
9177 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9178 wxString
* s
= wxString_in_helper(item
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9185 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9186 if (!SWIG_IsOK(ecode3
)) {
9187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9189 arg3
= static_cast< unsigned int >(val3
);
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= SWIG_Py_Void();
9198 if (temp2
) delete arg2
;
9203 if (temp2
) delete arg2
;
9209 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
= 0;
9211 wxListBox
*arg1
= (wxListBox
*) 0 ;
9212 wxArrayString
*arg2
= 0 ;
9215 bool temp2
= false ;
9216 PyObject
* obj0
= 0 ;
9217 PyObject
* obj1
= 0 ;
9218 char * kwnames
[] = {
9219 (char *) "self",(char *) "items", NULL
9222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9224 if (!SWIG_IsOK(res1
)) {
9225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9227 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9229 if (! PySequence_Check(obj1
)) {
9230 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9233 arg2
= new wxArrayString
;
9235 int i
, len
=PySequence_Length(obj1
);
9236 for (i
=0; i
<len
; i
++) {
9237 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9238 wxString
* s
= wxString_in_helper(item
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 (arg1
)->Set((wxArrayString
const &)*arg2
);
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= SWIG_Py_Void();
9253 if (temp2
) delete arg2
;
9258 if (temp2
) delete arg2
;
9264 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9265 PyObject
*resultobj
= 0;
9266 wxListBox
*arg1
= (wxListBox
*) 0 ;
9273 PyObject
* obj0
= 0 ;
9274 PyObject
* obj1
= 0 ;
9275 char * kwnames
[] = {
9276 (char *) "self",(char *) "n", NULL
9279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9281 if (!SWIG_IsOK(res1
)) {
9282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9284 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9286 if (!SWIG_IsOK(ecode2
)) {
9287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9289 arg2
= static_cast< int >(val2
);
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9293 wxPyEndAllowThreads(__tstate
);
9294 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9305 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
= 0;
9307 wxListBox
*arg1
= (wxListBox
*) 0 ;
9309 bool arg3
= (bool) true ;
9316 PyObject
* obj0
= 0 ;
9317 PyObject
* obj1
= 0 ;
9318 PyObject
* obj2
= 0 ;
9319 char * kwnames
[] = {
9320 (char *) "self",(char *) "n",(char *) "select", NULL
9323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9325 if (!SWIG_IsOK(res1
)) {
9326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9328 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9330 if (!SWIG_IsOK(ecode2
)) {
9331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9333 arg2
= static_cast< int >(val2
);
9335 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9336 if (!SWIG_IsOK(ecode3
)) {
9337 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9339 arg3
= static_cast< bool >(val3
);
9342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9343 (arg1
)->SetSelection(arg2
,arg3
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 resultobj
= SWIG_Py_Void();
9354 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
= 0;
9356 wxListBox
*arg1
= (wxListBox
*) 0 ;
9362 PyObject
* obj0
= 0 ;
9363 PyObject
* obj1
= 0 ;
9364 char * kwnames
[] = {
9365 (char *) "self",(char *) "n", NULL
9368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9370 if (!SWIG_IsOK(res1
)) {
9371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9373 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9375 if (!SWIG_IsOK(ecode2
)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9378 arg2
= static_cast< int >(val2
);
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 (arg1
)->Select(arg2
);
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 resultobj
= SWIG_Py_Void();
9392 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
= 0;
9394 wxListBox
*arg1
= (wxListBox
*) 0 ;
9400 PyObject
* obj0
= 0 ;
9401 PyObject
* obj1
= 0 ;
9402 char * kwnames
[] = {
9403 (char *) "self",(char *) "n", NULL
9406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9408 if (!SWIG_IsOK(res1
)) {
9409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9411 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9413 if (!SWIG_IsOK(ecode2
)) {
9414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9416 arg2
= static_cast< int >(val2
);
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 (arg1
)->Deselect(arg2
);
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= SWIG_Py_Void();
9430 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
= 0;
9432 wxListBox
*arg1
= (wxListBox
*) 0 ;
9433 int arg2
= (int) -1 ;
9438 PyObject
* obj0
= 0 ;
9439 PyObject
* obj1
= 0 ;
9440 char * kwnames
[] = {
9441 (char *) "self",(char *) "itemToLeaveSelected", NULL
9444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9446 if (!SWIG_IsOK(res1
)) {
9447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9449 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9452 if (!SWIG_IsOK(ecode2
)) {
9453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9455 arg2
= static_cast< int >(val2
);
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 (arg1
)->DeselectAll(arg2
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= SWIG_Py_Void();
9470 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9471 PyObject
*resultobj
= 0;
9472 wxListBox
*arg1
= (wxListBox
*) 0 ;
9473 wxString
*arg2
= 0 ;
9474 bool arg3
= (bool) true ;
9478 bool temp2
= false ;
9481 PyObject
* obj0
= 0 ;
9482 PyObject
* obj1
= 0 ;
9483 PyObject
* obj2
= 0 ;
9484 char * kwnames
[] = {
9485 (char *) "self",(char *) "s",(char *) "select", NULL
9488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9490 if (!SWIG_IsOK(res1
)) {
9491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9493 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9495 arg2
= wxString_in_helper(obj1
);
9496 if (arg2
== NULL
) SWIG_fail
;
9500 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9501 if (!SWIG_IsOK(ecode3
)) {
9502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9504 arg3
= static_cast< bool >(val3
);
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9529 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9530 PyObject
*resultobj
= 0;
9531 wxListBox
*arg1
= (wxListBox
*) 0 ;
9532 PyObject
*result
= 0 ;
9535 PyObject
*swig_obj
[1] ;
9537 if (!args
) SWIG_fail
;
9539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9540 if (!SWIG_IsOK(res1
)) {
9541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9543 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9546 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9547 wxPyEndAllowThreads(__tstate
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9557 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
= 0;
9559 wxListBox
*arg1
= (wxListBox
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9566 PyObject
* obj1
= 0 ;
9567 char * kwnames
[] = {
9568 (char *) "self",(char *) "n", NULL
9571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9573 if (!SWIG_IsOK(res1
)) {
9574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9576 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9578 if (!SWIG_IsOK(ecode2
)) {
9579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9581 arg2
= static_cast< int >(val2
);
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 (arg1
)->SetFirstItem(arg2
);
9585 wxPyEndAllowThreads(__tstate
);
9586 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= SWIG_Py_Void();
9595 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9596 PyObject
*resultobj
= 0;
9597 wxListBox
*arg1
= (wxListBox
*) 0 ;
9598 wxString
*arg2
= 0 ;
9601 bool temp2
= false ;
9602 PyObject
* obj0
= 0 ;
9603 PyObject
* obj1
= 0 ;
9604 char * kwnames
[] = {
9605 (char *) "self",(char *) "s", NULL
9608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9610 if (!SWIG_IsOK(res1
)) {
9611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9613 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9615 arg2
= wxString_in_helper(obj1
);
9616 if (arg2
== NULL
) SWIG_fail
;
9620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9621 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= SWIG_Py_Void();
9640 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
= 0;
9642 wxListBox
*arg1
= (wxListBox
*) 0 ;
9648 PyObject
* obj0
= 0 ;
9649 PyObject
* obj1
= 0 ;
9650 char * kwnames
[] = {
9651 (char *) "self",(char *) "n", NULL
9654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9656 if (!SWIG_IsOK(res1
)) {
9657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9659 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9661 if (!SWIG_IsOK(ecode2
)) {
9662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9664 arg2
= static_cast< int >(val2
);
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 (arg1
)->EnsureVisible(arg2
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_Py_Void();
9678 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9679 PyObject
*resultobj
= 0;
9680 wxListBox
*arg1
= (wxListBox
*) 0 ;
9681 wxString
*arg2
= 0 ;
9684 bool temp2
= false ;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9687 char * kwnames
[] = {
9688 (char *) "self",(char *) "s", NULL
9691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9693 if (!SWIG_IsOK(res1
)) {
9694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9696 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9698 arg2
= wxString_in_helper(obj1
);
9699 if (arg2
== NULL
) SWIG_fail
;
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= SWIG_Py_Void();
9723 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9724 PyObject
*resultobj
= 0;
9725 wxListBox
*arg1
= (wxListBox
*) 0 ;
9729 PyObject
*swig_obj
[1] ;
9731 if (!args
) SWIG_fail
;
9733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9734 if (!SWIG_IsOK(res1
)) {
9735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9737 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9753 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9754 PyObject
*resultobj
= 0;
9755 wxListBox
*arg1
= (wxListBox
*) 0 ;
9761 PyObject
* obj0
= 0 ;
9762 PyObject
* obj1
= 0 ;
9763 char * kwnames
[] = {
9764 (char *) "self",(char *) "pt", NULL
9767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9769 if (!SWIG_IsOK(res1
)) {
9770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9772 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9775 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9779 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_From_int(static_cast< int >(result
));
9790 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
= 0;
9792 wxListBox
*arg1
= (wxListBox
*) 0 ;
9794 wxColour
*arg3
= 0 ;
9800 PyObject
* obj0
= 0 ;
9801 PyObject
* obj1
= 0 ;
9802 PyObject
* obj2
= 0 ;
9803 char * kwnames
[] = {
9804 (char *) "self",(char *) "item",(char *) "c", NULL
9807 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9808 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9809 if (!SWIG_IsOK(res1
)) {
9810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9812 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9814 if (!SWIG_IsOK(ecode2
)) {
9815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9817 arg2
= static_cast< int >(val2
);
9820 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 resultobj
= SWIG_Py_Void();
9835 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
= 0;
9837 wxListBox
*arg1
= (wxListBox
*) 0 ;
9839 wxColour
*arg3
= 0 ;
9845 PyObject
* obj0
= 0 ;
9846 PyObject
* obj1
= 0 ;
9847 PyObject
* obj2
= 0 ;
9848 char * kwnames
[] = {
9849 (char *) "self",(char *) "item",(char *) "c", NULL
9852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9854 if (!SWIG_IsOK(res1
)) {
9855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9857 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9859 if (!SWIG_IsOK(ecode2
)) {
9860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9862 arg2
= static_cast< int >(val2
);
9865 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_Py_Void();
9880 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
= 0;
9882 wxListBox
*arg1
= (wxListBox
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9893 PyObject
* obj2
= 0 ;
9894 char * kwnames
[] = {
9895 (char *) "self",(char *) "item",(char *) "f", NULL
9898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9900 if (!SWIG_IsOK(res1
)) {
9901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9903 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9905 if (!SWIG_IsOK(ecode2
)) {
9906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9908 arg2
= static_cast< int >(val2
);
9909 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9910 if (!SWIG_IsOK(res3
)) {
9911 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9916 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9923 resultobj
= SWIG_Py_Void();
9930 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
= 0;
9932 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9933 SwigValueWrapper
<wxVisualAttributes
> result
;
9936 PyObject
* obj0
= 0 ;
9937 char * kwnames
[] = {
9938 (char *) "variant", NULL
9941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9943 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9944 if (!SWIG_IsOK(ecode1
)) {
9945 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9947 arg1
= static_cast< wxWindowVariant
>(val1
);
9950 if (!wxPyCheckForApp()) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9963 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9965 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9966 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9967 return SWIG_Py_Void();
9970 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9971 return SWIG_Python_InitShadowInstance(args
);
9974 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
= 0;
9976 wxWindow
*arg1
= (wxWindow
*) 0 ;
9977 int arg2
= (int) -1 ;
9978 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9979 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9980 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9981 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9982 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9983 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9984 long arg6
= (long) 0 ;
9985 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9986 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9987 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9988 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9989 wxCheckListBox
*result
= 0 ;
9996 bool temp5
= false ;
10001 bool temp8
= false ;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 PyObject
* obj2
= 0 ;
10005 PyObject
* obj3
= 0 ;
10006 PyObject
* obj4
= 0 ;
10007 PyObject
* obj5
= 0 ;
10008 PyObject
* obj6
= 0 ;
10009 PyObject
* obj7
= 0 ;
10010 char * kwnames
[] = {
10011 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10016 if (!SWIG_IsOK(res1
)) {
10017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10019 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10022 if (!SWIG_IsOK(ecode2
)) {
10023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10025 arg2
= static_cast< int >(val2
);
10030 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10036 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10041 if (! PySequence_Check(obj4
)) {
10042 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10045 arg5
= new wxArrayString
;
10047 int i
, len
=PySequence_Length(obj4
);
10048 for (i
=0; i
<len
; i
++) {
10049 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10050 wxString
* s
= wxString_in_helper(item
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10059 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10060 if (!SWIG_IsOK(ecode6
)) {
10061 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10063 arg6
= static_cast< long >(val6
);
10066 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10067 if (!SWIG_IsOK(res7
)) {
10068 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10073 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10077 arg8
= wxString_in_helper(obj7
);
10078 if (arg8
== NULL
) SWIG_fail
;
10083 if (!wxPyCheckForApp()) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10091 if (temp5
) delete arg5
;
10100 if (temp5
) delete arg5
;
10110 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10111 PyObject
*resultobj
= 0;
10112 wxCheckListBox
*result
= 0 ;
10114 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10116 if (!wxPyCheckForApp()) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 result
= (wxCheckListBox
*)new wxCheckListBox();
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10129 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
= 0;
10131 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10132 wxWindow
*arg2
= (wxWindow
*) 0 ;
10133 int arg3
= (int) -1 ;
10134 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10135 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10136 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10137 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10138 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10139 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10140 long arg7
= (long) 0 ;
10141 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10142 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10143 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10144 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10154 bool temp6
= false ;
10159 bool temp9
= false ;
10160 PyObject
* obj0
= 0 ;
10161 PyObject
* obj1
= 0 ;
10162 PyObject
* obj2
= 0 ;
10163 PyObject
* obj3
= 0 ;
10164 PyObject
* obj4
= 0 ;
10165 PyObject
* obj5
= 0 ;
10166 PyObject
* obj6
= 0 ;
10167 PyObject
* obj7
= 0 ;
10168 PyObject
* obj8
= 0 ;
10169 char * kwnames
[] = {
10170 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10175 if (!SWIG_IsOK(res1
)) {
10176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10178 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10179 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10180 if (!SWIG_IsOK(res2
)) {
10181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10183 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10186 if (!SWIG_IsOK(ecode3
)) {
10187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10189 arg3
= static_cast< int >(val3
);
10194 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10200 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10205 if (! PySequence_Check(obj5
)) {
10206 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10209 arg6
= new wxArrayString
;
10211 int i
, len
=PySequence_Length(obj5
);
10212 for (i
=0; i
<len
; i
++) {
10213 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10214 wxString
* s
= wxString_in_helper(item
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10223 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10224 if (!SWIG_IsOK(ecode7
)) {
10225 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10227 arg7
= static_cast< long >(val7
);
10230 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10231 if (!SWIG_IsOK(res8
)) {
10232 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10237 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10241 arg9
= wxString_in_helper(obj8
);
10242 if (arg9
== NULL
) SWIG_fail
;
10247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10248 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10249 wxPyEndAllowThreads(__tstate
);
10250 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10256 if (temp6
) delete arg6
;
10265 if (temp6
) delete arg6
;
10275 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
= 0;
10277 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10278 unsigned int arg2
;
10282 unsigned int val2
;
10284 PyObject
* obj0
= 0 ;
10285 PyObject
* obj1
= 0 ;
10286 char * kwnames
[] = {
10287 (char *) "self",(char *) "index", NULL
10290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10292 if (!SWIG_IsOK(res1
)) {
10293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10295 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10296 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10297 if (!SWIG_IsOK(ecode2
)) {
10298 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10300 arg2
= static_cast< unsigned int >(val2
);
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 result
= (bool)(arg1
)->IsChecked(arg2
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10316 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
= 0;
10318 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10319 unsigned int arg2
;
10320 int arg3
= (int) true ;
10323 unsigned int val2
;
10327 PyObject
* obj0
= 0 ;
10328 PyObject
* obj1
= 0 ;
10329 PyObject
* obj2
= 0 ;
10330 char * kwnames
[] = {
10331 (char *) "self",(char *) "index",(char *) "check", NULL
10334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10336 if (!SWIG_IsOK(res1
)) {
10337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10339 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10340 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10341 if (!SWIG_IsOK(ecode2
)) {
10342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10344 arg2
= static_cast< unsigned int >(val2
);
10346 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10347 if (!SWIG_IsOK(ecode3
)) {
10348 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10350 arg3
= static_cast< int >(val3
);
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 (arg1
)->Check(arg2
,arg3
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= SWIG_Py_Void();
10365 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10366 PyObject
*resultobj
= 0;
10367 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10371 PyObject
*swig_obj
[1] ;
10373 if (!args
) SWIG_fail
;
10374 swig_obj
[0] = args
;
10375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10376 if (!SWIG_IsOK(res1
)) {
10377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10379 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10382 result
= (int)(arg1
)->GetItemHeight();
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 resultobj
= SWIG_From_int(static_cast< int >(result
));
10393 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10396 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10397 return SWIG_Py_Void();
10400 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10401 return SWIG_Python_InitShadowInstance(args
);
10404 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10405 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10410 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10411 PyObject
*pyobj
= 0;
10415 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10417 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10424 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
= 0;
10426 wxColour
const &arg1_defvalue
= wxNullColour
;
10427 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10428 wxColour
const &arg2_defvalue
= wxNullColour
;
10429 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10430 wxFont
const &arg3_defvalue
= wxNullFont
;
10431 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10432 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10433 wxTextAttr
*result
= 0 ;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 PyObject
* obj2
= 0 ;
10443 PyObject
* obj3
= 0 ;
10444 char * kwnames
[] = {
10445 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10452 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10458 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10462 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10463 if (!SWIG_IsOK(res3
)) {
10464 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10469 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10472 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10473 if (!SWIG_IsOK(ecode4
)) {
10474 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10476 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10491 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10492 PyObject
*resultobj
= 0;
10493 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10496 PyObject
*swig_obj
[1] ;
10498 if (!args
) SWIG_fail
;
10499 swig_obj
[0] = args
;
10500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10501 if (!SWIG_IsOK(res1
)) {
10502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10504 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_Py_Void();
10519 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10520 PyObject
*resultobj
= 0;
10521 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10524 PyObject
*swig_obj
[1] ;
10526 if (!args
) SWIG_fail
;
10527 swig_obj
[0] = args
;
10528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10529 if (!SWIG_IsOK(res1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10532 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_Py_Void();
10546 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
= 0;
10548 wxTextAttr
*arg1
= 0 ;
10549 wxTextAttr
*arg2
= 0 ;
10555 PyObject
* obj0
= 0 ;
10556 PyObject
* obj1
= 0 ;
10557 char * kwnames
[] = {
10558 (char *) "base",(char *) "overlay", NULL
10561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10562 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10563 if (!SWIG_IsOK(res1
)) {
10564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10569 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10571 if (!SWIG_IsOK(res2
)) {
10572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10577 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10580 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10591 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
= 0;
10593 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10594 wxColour
*arg2
= 0 ;
10598 PyObject
* obj0
= 0 ;
10599 PyObject
* obj1
= 0 ;
10600 char * kwnames
[] = {
10601 (char *) "self",(char *) "colText", NULL
10604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10606 if (!SWIG_IsOK(res1
)) {
10607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10609 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10612 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10617 wxPyEndAllowThreads(__tstate
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= SWIG_Py_Void();
10627 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
= 0;
10629 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10630 wxColour
*arg2
= 0 ;
10634 PyObject
* obj0
= 0 ;
10635 PyObject
* obj1
= 0 ;
10636 char * kwnames
[] = {
10637 (char *) "self",(char *) "colBack", NULL
10640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10642 if (!SWIG_IsOK(res1
)) {
10643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10645 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10648 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= SWIG_Py_Void();
10663 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
= 0;
10665 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10667 long arg3
= (long) wxTEXT_ATTR_FONT
;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 PyObject
* obj2
= 0 ;
10677 char * kwnames
[] = {
10678 (char *) "self",(char *) "font",(char *) "flags", NULL
10681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10683 if (!SWIG_IsOK(res1
)) {
10684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10686 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10687 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10688 if (!SWIG_IsOK(res2
)) {
10689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10692 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10694 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10696 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10697 if (!SWIG_IsOK(ecode3
)) {
10698 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10700 arg3
= static_cast< long >(val3
);
10703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10704 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10708 resultobj
= SWIG_Py_Void();
10715 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10716 PyObject
*resultobj
= 0;
10717 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10718 wxTextAttrAlignment arg2
;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 char * kwnames
[] = {
10726 (char *) "self",(char *) "alignment", NULL
10729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10731 if (!SWIG_IsOK(res1
)) {
10732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10734 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10735 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10736 if (!SWIG_IsOK(ecode2
)) {
10737 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10739 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10742 (arg1
)->SetAlignment(arg2
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= SWIG_Py_Void();
10753 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
= 0;
10755 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10756 wxArrayInt
*arg2
= 0 ;
10759 bool temp2
= false ;
10760 PyObject
* obj0
= 0 ;
10761 PyObject
* obj1
= 0 ;
10762 char * kwnames
[] = {
10763 (char *) "self",(char *) "tabs", NULL
10766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10768 if (!SWIG_IsOK(res1
)) {
10769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10771 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10773 if (! PySequence_Check(obj1
)) {
10774 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10777 arg2
= new wxArrayInt
;
10779 int i
, len
=PySequence_Length(obj1
);
10780 for (i
=0; i
<len
; i
++) {
10781 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10782 PyObject
* number
= PyNumber_Int(item
);
10783 arg2
->Add(PyInt_AS_LONG(number
));
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= SWIG_Py_Void();
10796 if (temp2
) delete arg2
;
10801 if (temp2
) delete arg2
;
10807 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
= 0;
10809 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10811 int arg3
= (int) 0 ;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 PyObject
* obj2
= 0 ;
10821 char * kwnames
[] = {
10822 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10827 if (!SWIG_IsOK(res1
)) {
10828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10830 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10831 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10832 if (!SWIG_IsOK(ecode2
)) {
10833 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10835 arg2
= static_cast< int >(val2
);
10837 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10838 if (!SWIG_IsOK(ecode3
)) {
10839 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10841 arg3
= static_cast< int >(val3
);
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 (arg1
)->SetLeftIndent(arg2
,arg3
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= SWIG_Py_Void();
10856 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
= 0;
10858 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10864 PyObject
* obj0
= 0 ;
10865 PyObject
* obj1
= 0 ;
10866 char * kwnames
[] = {
10867 (char *) "self",(char *) "indent", NULL
10870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10872 if (!SWIG_IsOK(res1
)) {
10873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10875 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10877 if (!SWIG_IsOK(ecode2
)) {
10878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10880 arg2
= static_cast< int >(val2
);
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 (arg1
)->SetRightIndent(arg2
);
10884 wxPyEndAllowThreads(__tstate
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10887 resultobj
= SWIG_Py_Void();
10894 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
= 0;
10896 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 char * kwnames
[] = {
10905 (char *) "self",(char *) "flags", NULL
10908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10910 if (!SWIG_IsOK(res1
)) {
10911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10913 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10914 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10915 if (!SWIG_IsOK(ecode2
)) {
10916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10918 arg2
= static_cast< long >(val2
);
10920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10921 (arg1
)->SetFlags(arg2
);
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 resultobj
= SWIG_Py_Void();
10932 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10933 PyObject
*resultobj
= 0;
10934 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10938 PyObject
*swig_obj
[1] ;
10940 if (!args
) SWIG_fail
;
10941 swig_obj
[0] = args
;
10942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10943 if (!SWIG_IsOK(res1
)) {
10944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10946 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10949 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10962 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10963 PyObject
*resultobj
= 0;
10964 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10968 PyObject
*swig_obj
[1] ;
10970 if (!args
) SWIG_fail
;
10971 swig_obj
[0] = args
;
10972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10973 if (!SWIG_IsOK(res1
)) {
10974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10976 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10992 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10993 PyObject
*resultobj
= 0;
10994 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10998 PyObject
*swig_obj
[1] ;
11000 if (!args
) SWIG_fail
;
11001 swig_obj
[0] = args
;
11002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11003 if (!SWIG_IsOK(res1
)) {
11004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11006 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11009 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11010 wxPyEndAllowThreads(__tstate
);
11011 if (PyErr_Occurred()) SWIG_fail
;
11014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11022 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11023 PyObject
*resultobj
= 0;
11024 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11028 PyObject
*swig_obj
[1] ;
11030 if (!args
) SWIG_fail
;
11031 swig_obj
[0] = args
;
11032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11033 if (!SWIG_IsOK(res1
)) {
11034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11036 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11039 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11052 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11053 PyObject
*resultobj
= 0;
11054 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11058 PyObject
*swig_obj
[1] ;
11060 if (!args
) SWIG_fail
;
11061 swig_obj
[0] = args
;
11062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11063 if (!SWIG_IsOK(res1
)) {
11064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11066 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11069 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11082 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11083 PyObject
*resultobj
= 0;
11084 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11088 PyObject
*swig_obj
[1] ;
11090 if (!args
) SWIG_fail
;
11091 swig_obj
[0] = args
;
11092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11093 if (!SWIG_IsOK(res1
)) {
11094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11096 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11112 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11113 PyObject
*resultobj
= 0;
11114 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11118 PyObject
*swig_obj
[1] ;
11120 if (!args
) SWIG_fail
;
11121 swig_obj
[0] = args
;
11122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11123 if (!SWIG_IsOK(res1
)) {
11124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11126 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11129 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11130 wxPyEndAllowThreads(__tstate
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11142 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
= 0;
11144 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11151 PyObject
* obj0
= 0 ;
11152 PyObject
* obj1
= 0 ;
11153 char * kwnames
[] = {
11154 (char *) "self",(char *) "flag", NULL
11157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11159 if (!SWIG_IsOK(res1
)) {
11160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11162 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11163 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11164 if (!SWIG_IsOK(ecode2
)) {
11165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11167 arg2
= static_cast< long >(val2
);
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11183 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11184 PyObject
*resultobj
= 0;
11185 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11186 wxColour
*result
= 0 ;
11189 PyObject
*swig_obj
[1] ;
11191 if (!args
) SWIG_fail
;
11192 swig_obj
[0] = args
;
11193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11194 if (!SWIG_IsOK(res1
)) {
11195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11197 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11202 result
= (wxColour
*) &_result_ref
;
11204 wxPyEndAllowThreads(__tstate
);
11205 if (PyErr_Occurred()) SWIG_fail
;
11207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11214 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11215 PyObject
*resultobj
= 0;
11216 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11217 wxColour
*result
= 0 ;
11220 PyObject
*swig_obj
[1] ;
11222 if (!args
) SWIG_fail
;
11223 swig_obj
[0] = args
;
11224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11225 if (!SWIG_IsOK(res1
)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11228 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11233 result
= (wxColour
*) &_result_ref
;
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11245 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11246 PyObject
*resultobj
= 0;
11247 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11248 wxFont
*result
= 0 ;
11251 PyObject
*swig_obj
[1] ;
11253 if (!args
) SWIG_fail
;
11254 swig_obj
[0] = args
;
11255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11256 if (!SWIG_IsOK(res1
)) {
11257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11259 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11264 result
= (wxFont
*) &_result_ref
;
11266 wxPyEndAllowThreads(__tstate
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11270 wxFont
* resultptr
= new wxFont(*result
);
11271 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11279 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11280 PyObject
*resultobj
= 0;
11281 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11282 wxTextAttrAlignment result
;
11285 PyObject
*swig_obj
[1] ;
11287 if (!args
) SWIG_fail
;
11288 swig_obj
[0] = args
;
11289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11290 if (!SWIG_IsOK(res1
)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11293 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= SWIG_From_int(static_cast< int >(result
));
11307 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11308 PyObject
*resultobj
= 0;
11309 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11310 wxArrayInt
*result
= 0 ;
11313 PyObject
*swig_obj
[1] ;
11315 if (!args
) SWIG_fail
;
11316 swig_obj
[0] = args
;
11317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11318 if (!SWIG_IsOK(res1
)) {
11319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11321 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11326 result
= (wxArrayInt
*) &_result_ref
;
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11332 resultobj
= PyList_New(0);
11334 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
11335 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
11336 PyList_Append(resultobj
, val
);
11346 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11347 PyObject
*resultobj
= 0;
11348 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11352 PyObject
*swig_obj
[1] ;
11354 if (!args
) SWIG_fail
;
11355 swig_obj
[0] = args
;
11356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11357 if (!SWIG_IsOK(res1
)) {
11358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11360 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11364 wxPyEndAllowThreads(__tstate
);
11365 if (PyErr_Occurred()) SWIG_fail
;
11367 resultobj
= SWIG_From_long(static_cast< long >(result
));
11374 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11375 PyObject
*resultobj
= 0;
11376 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11380 PyObject
*swig_obj
[1] ;
11382 if (!args
) SWIG_fail
;
11383 swig_obj
[0] = args
;
11384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11385 if (!SWIG_IsOK(res1
)) {
11386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11388 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11391 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 resultobj
= SWIG_From_long(static_cast< long >(result
));
11402 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11403 PyObject
*resultobj
= 0;
11404 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11408 PyObject
*swig_obj
[1] ;
11410 if (!args
) SWIG_fail
;
11411 swig_obj
[0] = args
;
11412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11413 if (!SWIG_IsOK(res1
)) {
11414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11416 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11419 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 resultobj
= SWIG_From_long(static_cast< long >(result
));
11430 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11431 PyObject
*resultobj
= 0;
11432 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11436 PyObject
*swig_obj
[1] ;
11438 if (!args
) SWIG_fail
;
11439 swig_obj
[0] = args
;
11440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11441 if (!SWIG_IsOK(res1
)) {
11442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11444 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11448 wxPyEndAllowThreads(__tstate
);
11449 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= SWIG_From_long(static_cast< long >(result
));
11458 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11459 PyObject
*resultobj
= 0;
11460 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11464 PyObject
*swig_obj
[1] ;
11466 if (!args
) SWIG_fail
;
11467 swig_obj
[0] = args
;
11468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11469 if (!SWIG_IsOK(res1
)) {
11470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11472 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11475 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11488 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11489 PyObject
*resultobj
= 0;
11490 wxTextAttr
*arg1
= 0 ;
11491 wxTextAttr
*arg2
= 0 ;
11492 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11500 PyObject
* obj0
= 0 ;
11501 PyObject
* obj1
= 0 ;
11502 PyObject
* obj2
= 0 ;
11503 char * kwnames
[] = {
11504 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11508 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11509 if (!SWIG_IsOK(res1
)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11515 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11516 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11517 if (!SWIG_IsOK(res2
)) {
11518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11523 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11524 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11525 if (!SWIG_IsOK(res3
)) {
11526 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11528 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11542 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11544 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11545 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11546 return SWIG_Py_Void();
11549 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11550 return SWIG_Python_InitShadowInstance(args
);
11553 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
= 0;
11555 wxWindow
*arg1
= (wxWindow
*) 0 ;
11556 int arg2
= (int) -1 ;
11557 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11558 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11559 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11560 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11561 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11562 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11563 long arg6
= (long) 0 ;
11564 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11565 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11566 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11567 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11568 wxTextCtrl
*result
= 0 ;
11573 bool temp3
= false ;
11580 bool temp8
= false ;
11581 PyObject
* obj0
= 0 ;
11582 PyObject
* obj1
= 0 ;
11583 PyObject
* obj2
= 0 ;
11584 PyObject
* obj3
= 0 ;
11585 PyObject
* obj4
= 0 ;
11586 PyObject
* obj5
= 0 ;
11587 PyObject
* obj6
= 0 ;
11588 PyObject
* obj7
= 0 ;
11589 char * kwnames
[] = {
11590 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11595 if (!SWIG_IsOK(res1
)) {
11596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11598 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11600 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11601 if (!SWIG_IsOK(ecode2
)) {
11602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11604 arg2
= static_cast< int >(val2
);
11608 arg3
= wxString_in_helper(obj2
);
11609 if (arg3
== NULL
) SWIG_fail
;
11616 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11622 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11626 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11627 if (!SWIG_IsOK(ecode6
)) {
11628 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11630 arg6
= static_cast< long >(val6
);
11633 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11634 if (!SWIG_IsOK(res7
)) {
11635 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11640 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11644 arg8
= wxString_in_helper(obj7
);
11645 if (arg8
== NULL
) SWIG_fail
;
11650 if (!wxPyCheckForApp()) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11679 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11680 PyObject
*resultobj
= 0;
11681 wxTextCtrl
*result
= 0 ;
11683 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11685 if (!wxPyCheckForApp()) SWIG_fail
;
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 result
= (wxTextCtrl
*)new wxTextCtrl();
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11698 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
= 0;
11700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11701 wxWindow
*arg2
= (wxWindow
*) 0 ;
11702 int arg3
= (int) -1 ;
11703 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11704 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11705 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11706 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11707 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11708 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11709 long arg7
= (long) 0 ;
11710 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11711 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11712 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11713 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11721 bool temp4
= false ;
11728 bool temp9
= false ;
11729 PyObject
* obj0
= 0 ;
11730 PyObject
* obj1
= 0 ;
11731 PyObject
* obj2
= 0 ;
11732 PyObject
* obj3
= 0 ;
11733 PyObject
* obj4
= 0 ;
11734 PyObject
* obj5
= 0 ;
11735 PyObject
* obj6
= 0 ;
11736 PyObject
* obj7
= 0 ;
11737 PyObject
* obj8
= 0 ;
11738 char * kwnames
[] = {
11739 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11744 if (!SWIG_IsOK(res1
)) {
11745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11747 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11748 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11749 if (!SWIG_IsOK(res2
)) {
11750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11752 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11754 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11755 if (!SWIG_IsOK(ecode3
)) {
11756 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11758 arg3
= static_cast< int >(val3
);
11762 arg4
= wxString_in_helper(obj3
);
11763 if (arg4
== NULL
) SWIG_fail
;
11770 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11776 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11780 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11781 if (!SWIG_IsOK(ecode7
)) {
11782 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11784 arg7
= static_cast< long >(val7
);
11787 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11788 if (!SWIG_IsOK(res8
)) {
11789 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11792 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11794 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11798 arg9
= wxString_in_helper(obj8
);
11799 if (arg9
== NULL
) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11834 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11835 PyObject
*resultobj
= 0;
11836 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11840 PyObject
*swig_obj
[1] ;
11842 if (!args
) SWIG_fail
;
11843 swig_obj
[0] = args
;
11844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11845 if (!SWIG_IsOK(res1
)) {
11846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11848 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11859 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11868 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
= 0;
11870 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11871 wxString
*arg2
= 0 ;
11874 bool temp2
= false ;
11875 PyObject
* obj0
= 0 ;
11876 PyObject
* obj1
= 0 ;
11877 char * kwnames
[] = {
11878 (char *) "self",(char *) "value", NULL
11881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11883 if (!SWIG_IsOK(res1
)) {
11884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11886 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11888 arg2
= wxString_in_helper(obj1
);
11889 if (arg2
== NULL
) SWIG_fail
;
11893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11894 (arg1
)->SetValue((wxString
const &)*arg2
);
11895 wxPyEndAllowThreads(__tstate
);
11896 if (PyErr_Occurred()) SWIG_fail
;
11898 resultobj
= SWIG_Py_Void();
11913 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11914 PyObject
*resultobj
= 0;
11915 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11925 PyObject
* obj0
= 0 ;
11926 PyObject
* obj1
= 0 ;
11927 PyObject
* obj2
= 0 ;
11928 char * kwnames
[] = {
11929 (char *) "self",(char *) "from",(char *) "to", NULL
11932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11934 if (!SWIG_IsOK(res1
)) {
11935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11937 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11938 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11939 if (!SWIG_IsOK(ecode2
)) {
11940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
11942 arg2
= static_cast< long >(val2
);
11943 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11944 if (!SWIG_IsOK(ecode3
)) {
11945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
11947 arg3
= static_cast< long >(val3
);
11949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
11951 wxPyEndAllowThreads(__tstate
);
11952 if (PyErr_Occurred()) SWIG_fail
;
11956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11967 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
= 0;
11969 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 char * kwnames
[] = {
11979 (char *) "self",(char *) "lineNo", NULL
11982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11984 if (!SWIG_IsOK(res1
)) {
11985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11987 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11988 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11989 if (!SWIG_IsOK(ecode2
)) {
11990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
11992 arg2
= static_cast< long >(val2
);
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_From_int(static_cast< int >(result
));
12006 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
= 0;
12008 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12015 PyObject
* obj0
= 0 ;
12016 PyObject
* obj1
= 0 ;
12017 char * kwnames
[] = {
12018 (char *) "self",(char *) "lineNo", NULL
12021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12023 if (!SWIG_IsOK(res1
)) {
12024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12026 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12027 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12028 if (!SWIG_IsOK(ecode2
)) {
12029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12031 arg2
= static_cast< long >(val2
);
12033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12034 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12035 wxPyEndAllowThreads(__tstate
);
12036 if (PyErr_Occurred()) SWIG_fail
;
12040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12051 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12052 PyObject
*resultobj
= 0;
12053 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12057 PyObject
*swig_obj
[1] ;
12059 if (!args
) SWIG_fail
;
12060 swig_obj
[0] = args
;
12061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12062 if (!SWIG_IsOK(res1
)) {
12063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12065 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= SWIG_From_int(static_cast< int >(result
));
12079 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12080 PyObject
*resultobj
= 0;
12081 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12085 PyObject
*swig_obj
[1] ;
12087 if (!args
) SWIG_fail
;
12088 swig_obj
[0] = args
;
12089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12090 if (!SWIG_IsOK(res1
)) {
12091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12093 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12097 wxPyEndAllowThreads(__tstate
);
12098 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12109 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12110 PyObject
*resultobj
= 0;
12111 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12115 PyObject
*swig_obj
[1] ;
12117 if (!args
) SWIG_fail
;
12118 swig_obj
[0] = args
;
12119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12120 if (!SWIG_IsOK(res1
)) {
12121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12123 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12126 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12139 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12140 PyObject
*resultobj
= 0;
12141 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12145 PyObject
*swig_obj
[1] ;
12147 if (!args
) SWIG_fail
;
12148 swig_obj
[0] = args
;
12149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12150 if (!SWIG_IsOK(res1
)) {
12151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12153 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12169 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12170 PyObject
*resultobj
= 0;
12171 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12175 PyObject
*swig_obj
[1] ;
12177 if (!args
) SWIG_fail
;
12178 swig_obj
[0] = args
;
12179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12180 if (!SWIG_IsOK(res1
)) {
12181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12183 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12186 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12199 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12200 PyObject
*resultobj
= 0;
12201 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12202 long *arg2
= (long *) 0 ;
12203 long *arg3
= (long *) 0 ;
12207 int res2
= SWIG_TMPOBJ
;
12209 int res3
= SWIG_TMPOBJ
;
12210 PyObject
*swig_obj
[1] ;
12214 if (!args
) SWIG_fail
;
12215 swig_obj
[0] = args
;
12216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12217 if (!SWIG_IsOK(res1
)) {
12218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12220 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12227 resultobj
= SWIG_Py_Void();
12228 if (SWIG_IsTmpObj(res2
)) {
12229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12231 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12234 if (SWIG_IsTmpObj(res3
)) {
12235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12237 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12238 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12246 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12247 PyObject
*resultobj
= 0;
12248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12252 PyObject
*swig_obj
[1] ;
12254 if (!args
) SWIG_fail
;
12255 swig_obj
[0] = args
;
12256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12257 if (!SWIG_IsOK(res1
)) {
12258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12260 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12280 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12281 PyObject
*resultobj
= 0;
12282 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12285 PyObject
*swig_obj
[1] ;
12287 if (!args
) SWIG_fail
;
12288 swig_obj
[0] = args
;
12289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12290 if (!SWIG_IsOK(res1
)) {
12291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12293 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= SWIG_Py_Void();
12307 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
= 0;
12309 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12312 wxString
*arg4
= 0 ;
12319 bool temp4
= false ;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 PyObject
* obj2
= 0 ;
12323 PyObject
* obj3
= 0 ;
12324 char * kwnames
[] = {
12325 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12330 if (!SWIG_IsOK(res1
)) {
12331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12333 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12334 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12335 if (!SWIG_IsOK(ecode2
)) {
12336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12338 arg2
= static_cast< long >(val2
);
12339 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12340 if (!SWIG_IsOK(ecode3
)) {
12341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12343 arg3
= static_cast< long >(val3
);
12345 arg4
= wxString_in_helper(obj3
);
12346 if (arg4
== NULL
) SWIG_fail
;
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_Py_Void();
12370 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12371 PyObject
*resultobj
= 0;
12372 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12381 PyObject
* obj0
= 0 ;
12382 PyObject
* obj1
= 0 ;
12383 PyObject
* obj2
= 0 ;
12384 char * kwnames
[] = {
12385 (char *) "self",(char *) "from",(char *) "to", NULL
12388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12390 if (!SWIG_IsOK(res1
)) {
12391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12393 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12394 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12395 if (!SWIG_IsOK(ecode2
)) {
12396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12398 arg2
= static_cast< long >(val2
);
12399 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12400 if (!SWIG_IsOK(ecode3
)) {
12401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12403 arg3
= static_cast< long >(val3
);
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 (arg1
)->Remove(arg2
,arg3
);
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= SWIG_Py_Void();
12417 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
= 0;
12419 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12420 wxString
*arg2
= 0 ;
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 *)"OO:TextCtrl_LoadFile",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_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12436 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12438 arg2
= wxString_in_helper(obj1
);
12439 if (arg2
== NULL
) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12465 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
= 0;
12467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12468 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12469 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12473 bool temp2
= false ;
12474 PyObject
* obj0
= 0 ;
12475 PyObject
* obj1
= 0 ;
12476 char * kwnames
[] = {
12477 (char *) "self",(char *) "file", NULL
12480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12482 if (!SWIG_IsOK(res1
)) {
12483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12485 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12488 arg2
= wxString_in_helper(obj1
);
12489 if (arg2
== NULL
) SWIG_fail
;
12494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12495 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12516 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12517 PyObject
*resultobj
= 0;
12518 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12521 PyObject
*swig_obj
[1] ;
12523 if (!args
) SWIG_fail
;
12524 swig_obj
[0] = args
;
12525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12526 if (!SWIG_IsOK(res1
)) {
12527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12529 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 (arg1
)->MarkDirty();
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= SWIG_Py_Void();
12543 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12544 PyObject
*resultobj
= 0;
12545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12548 PyObject
*swig_obj
[1] ;
12550 if (!args
) SWIG_fail
;
12551 swig_obj
[0] = args
;
12552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12553 if (!SWIG_IsOK(res1
)) {
12554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12556 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 (arg1
)->DiscardEdits();
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= SWIG_Py_Void();
12570 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
= 0;
12572 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12573 unsigned long arg2
;
12576 unsigned long val2
;
12578 PyObject
* obj0
= 0 ;
12579 PyObject
* obj1
= 0 ;
12580 char * kwnames
[] = {
12581 (char *) "self",(char *) "len", NULL
12584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12586 if (!SWIG_IsOK(res1
)) {
12587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12589 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12590 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12591 if (!SWIG_IsOK(ecode2
)) {
12592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12594 arg2
= static_cast< unsigned long >(val2
);
12596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12597 (arg1
)->SetMaxLength(arg2
);
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= SWIG_Py_Void();
12608 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
= 0;
12610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12611 wxString
*arg2
= 0 ;
12614 bool temp2
= false ;
12615 PyObject
* obj0
= 0 ;
12616 PyObject
* obj1
= 0 ;
12617 char * kwnames
[] = {
12618 (char *) "self",(char *) "text", NULL
12621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12623 if (!SWIG_IsOK(res1
)) {
12624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12626 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12628 arg2
= wxString_in_helper(obj1
);
12629 if (arg2
== NULL
) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 (arg1
)->WriteText((wxString
const &)*arg2
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_Py_Void();
12653 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
= 0;
12655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12656 wxString
*arg2
= 0 ;
12659 bool temp2
= false ;
12660 PyObject
* obj0
= 0 ;
12661 PyObject
* obj1
= 0 ;
12662 char * kwnames
[] = {
12663 (char *) "self",(char *) "text", NULL
12666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12668 if (!SWIG_IsOK(res1
)) {
12669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12671 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12673 arg2
= wxString_in_helper(obj1
);
12674 if (arg2
== NULL
) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 (arg1
)->AppendText((wxString
const &)*arg2
);
12680 wxPyEndAllowThreads(__tstate
);
12681 if (PyErr_Occurred()) SWIG_fail
;
12683 resultobj
= SWIG_Py_Void();
12698 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
= 0;
12700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12701 wxKeyEvent
*arg2
= 0 ;
12707 PyObject
* obj0
= 0 ;
12708 PyObject
* obj1
= 0 ;
12709 char * kwnames
[] = {
12710 (char *) "self",(char *) "event", NULL
12713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12715 if (!SWIG_IsOK(res1
)) {
12716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12718 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12719 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12720 if (!SWIG_IsOK(res2
)) {
12721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12726 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12730 wxPyEndAllowThreads(__tstate
);
12731 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12742 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
= 0;
12744 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12747 wxTextAttr
*arg4
= 0 ;
12757 PyObject
* obj0
= 0 ;
12758 PyObject
* obj1
= 0 ;
12759 PyObject
* obj2
= 0 ;
12760 PyObject
* obj3
= 0 ;
12761 char * kwnames
[] = {
12762 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12767 if (!SWIG_IsOK(res1
)) {
12768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12770 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12771 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12772 if (!SWIG_IsOK(ecode2
)) {
12773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12775 arg2
= static_cast< long >(val2
);
12776 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12777 if (!SWIG_IsOK(ecode3
)) {
12778 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12780 arg3
= static_cast< long >(val3
);
12781 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12782 if (!SWIG_IsOK(res4
)) {
12783 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12788 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12804 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
= 0;
12806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12808 wxTextAttr
*arg3
= 0 ;
12816 PyObject
* obj0
= 0 ;
12817 PyObject
* obj1
= 0 ;
12818 PyObject
* obj2
= 0 ;
12819 char * kwnames
[] = {
12820 (char *) "self",(char *) "position",(char *) "style", NULL
12823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) 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_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12828 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12829 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12830 if (!SWIG_IsOK(ecode2
)) {
12831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12833 arg2
= static_cast< long >(val2
);
12834 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12835 if (!SWIG_IsOK(res3
)) {
12836 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12841 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12845 wxPyEndAllowThreads(__tstate
);
12846 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12857 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
= 0;
12859 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12860 wxTextAttr
*arg2
= 0 ;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 char * kwnames
[] = {
12869 (char *) "self",(char *) "style", NULL
12872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12874 if (!SWIG_IsOK(res1
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12877 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12879 if (!SWIG_IsOK(res2
)) {
12880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
12885 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
12889 wxPyEndAllowThreads(__tstate
);
12890 if (PyErr_Occurred()) SWIG_fail
;
12893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12901 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12902 PyObject
*resultobj
= 0;
12903 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12904 wxTextAttr
*result
= 0 ;
12907 PyObject
*swig_obj
[1] ;
12909 if (!args
) SWIG_fail
;
12910 swig_obj
[0] = args
;
12911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12912 if (!SWIG_IsOK(res1
)) {
12913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12915 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
12920 result
= (wxTextAttr
*) &_result_ref
;
12922 wxPyEndAllowThreads(__tstate
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
12932 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12933 PyObject
*resultobj
= 0;
12934 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12944 PyObject
* obj0
= 0 ;
12945 PyObject
* obj1
= 0 ;
12946 PyObject
* obj2
= 0 ;
12947 char * kwnames
[] = {
12948 (char *) "self",(char *) "x",(char *) "y", NULL
12951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12953 if (!SWIG_IsOK(res1
)) {
12954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12956 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12957 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12958 if (!SWIG_IsOK(ecode2
)) {
12959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
12961 arg2
= static_cast< long >(val2
);
12962 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12963 if (!SWIG_IsOK(ecode3
)) {
12964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
12966 arg3
= static_cast< long >(val3
);
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12973 resultobj
= SWIG_From_long(static_cast< long >(result
));
12980 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
= 0;
12982 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12984 long *arg3
= (long *) 0 ;
12985 long *arg4
= (long *) 0 ;
12991 int res3
= SWIG_TMPOBJ
;
12993 int res4
= SWIG_TMPOBJ
;
12994 PyObject
* obj0
= 0 ;
12995 PyObject
* obj1
= 0 ;
12996 char * kwnames
[] = {
12997 (char *) "self",(char *) "pos", NULL
13002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13004 if (!SWIG_IsOK(res1
)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13007 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13008 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13009 if (!SWIG_IsOK(ecode2
)) {
13010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13012 arg2
= static_cast< long >(val2
);
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 resultobj
= SWIG_Py_Void();
13020 if (SWIG_IsTmpObj(res3
)) {
13021 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13023 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13024 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13026 if (SWIG_IsTmpObj(res4
)) {
13027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13029 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13030 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13038 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
= 0;
13040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 PyObject
* obj1
= 0 ;
13048 char * kwnames
[] = {
13049 (char *) "self",(char *) "pos", NULL
13052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13054 if (!SWIG_IsOK(res1
)) {
13055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13057 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13058 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13059 if (!SWIG_IsOK(ecode2
)) {
13060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13062 arg2
= static_cast< long >(val2
);
13064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13065 (arg1
)->ShowPosition(arg2
);
13066 wxPyEndAllowThreads(__tstate
);
13067 if (PyErr_Occurred()) SWIG_fail
;
13069 resultobj
= SWIG_Py_Void();
13076 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13077 PyObject
*resultobj
= 0;
13078 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13079 wxPoint
*arg2
= 0 ;
13080 long *arg3
= (long *) 0 ;
13081 long *arg4
= (long *) 0 ;
13082 wxTextCtrlHitTestResult result
;
13087 int res3
= SWIG_TMPOBJ
;
13089 int res4
= SWIG_TMPOBJ
;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 char * kwnames
[] = {
13093 (char *) "self",(char *) "pt", NULL
13098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13100 if (!SWIG_IsOK(res1
)) {
13101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13103 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13106 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13110 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13111 wxPyEndAllowThreads(__tstate
);
13112 if (PyErr_Occurred()) SWIG_fail
;
13114 resultobj
= SWIG_From_int(static_cast< int >(result
));
13115 if (SWIG_IsTmpObj(res3
)) {
13116 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13118 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13119 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13121 if (SWIG_IsTmpObj(res4
)) {
13122 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13124 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13133 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
= 0;
13135 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13136 wxPoint
*arg2
= 0 ;
13137 long *arg3
= (long *) 0 ;
13138 wxTextCtrlHitTestResult result
;
13143 int res3
= SWIG_TMPOBJ
;
13144 PyObject
* obj0
= 0 ;
13145 PyObject
* obj1
= 0 ;
13146 char * kwnames
[] = {
13147 (char *) "self",(char *) "pt", NULL
13151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13153 if (!SWIG_IsOK(res1
)) {
13154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13156 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13159 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= SWIG_From_int(static_cast< int >(result
));
13168 if (SWIG_IsTmpObj(res3
)) {
13169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13171 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13180 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13181 PyObject
*resultobj
= 0;
13182 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13185 PyObject
*swig_obj
[1] ;
13187 if (!args
) SWIG_fail
;
13188 swig_obj
[0] = args
;
13189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13190 if (!SWIG_IsOK(res1
)) {
13191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13193 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= SWIG_Py_Void();
13207 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13208 PyObject
*resultobj
= 0;
13209 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13212 PyObject
*swig_obj
[1] ;
13214 if (!args
) SWIG_fail
;
13215 swig_obj
[0] = args
;
13216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13217 if (!SWIG_IsOK(res1
)) {
13218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13220 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 resultobj
= SWIG_Py_Void();
13234 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13235 PyObject
*resultobj
= 0;
13236 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13239 PyObject
*swig_obj
[1] ;
13241 if (!args
) SWIG_fail
;
13242 swig_obj
[0] = args
;
13243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13244 if (!SWIG_IsOK(res1
)) {
13245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13247 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 wxPyEndAllowThreads(__tstate
);
13252 if (PyErr_Occurred()) SWIG_fail
;
13254 resultobj
= SWIG_Py_Void();
13261 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13262 PyObject
*resultobj
= 0;
13263 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13267 PyObject
*swig_obj
[1] ;
13269 if (!args
) SWIG_fail
;
13270 swig_obj
[0] = args
;
13271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13272 if (!SWIG_IsOK(res1
)) {
13273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13275 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13278 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13279 wxPyEndAllowThreads(__tstate
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13291 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13292 PyObject
*resultobj
= 0;
13293 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13297 PyObject
*swig_obj
[1] ;
13299 if (!args
) SWIG_fail
;
13300 swig_obj
[0] = args
;
13301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13302 if (!SWIG_IsOK(res1
)) {
13303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13305 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13321 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13322 PyObject
*resultobj
= 0;
13323 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13327 PyObject
*swig_obj
[1] ;
13329 if (!args
) SWIG_fail
;
13330 swig_obj
[0] = args
;
13331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13332 if (!SWIG_IsOK(res1
)) {
13333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13335 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13351 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13352 PyObject
*resultobj
= 0;
13353 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13356 PyObject
*swig_obj
[1] ;
13358 if (!args
) SWIG_fail
;
13359 swig_obj
[0] = args
;
13360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13361 if (!SWIG_IsOK(res1
)) {
13362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13364 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 wxPyEndAllowThreads(__tstate
);
13369 if (PyErr_Occurred()) SWIG_fail
;
13371 resultobj
= SWIG_Py_Void();
13378 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13379 PyObject
*resultobj
= 0;
13380 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13383 PyObject
*swig_obj
[1] ;
13385 if (!args
) SWIG_fail
;
13386 swig_obj
[0] = args
;
13387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13388 if (!SWIG_IsOK(res1
)) {
13389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13391 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_Py_Void();
13405 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13406 PyObject
*resultobj
= 0;
13407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13411 PyObject
*swig_obj
[1] ;
13413 if (!args
) SWIG_fail
;
13414 swig_obj
[0] = args
;
13415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13416 if (!SWIG_IsOK(res1
)) {
13417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13419 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13435 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13436 PyObject
*resultobj
= 0;
13437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13441 PyObject
*swig_obj
[1] ;
13443 if (!args
) SWIG_fail
;
13444 swig_obj
[0] = args
;
13445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13446 if (!SWIG_IsOK(res1
)) {
13447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13449 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13453 wxPyEndAllowThreads(__tstate
);
13454 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13465 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13466 PyObject
*resultobj
= 0;
13467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13473 PyObject
* obj0
= 0 ;
13474 PyObject
* obj1
= 0 ;
13475 char * kwnames
[] = {
13476 (char *) "self",(char *) "pos", NULL
13479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13481 if (!SWIG_IsOK(res1
)) {
13482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13484 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13485 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13486 if (!SWIG_IsOK(ecode2
)) {
13487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13489 arg2
= static_cast< long >(val2
);
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 (arg1
)->SetInsertionPoint(arg2
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_Py_Void();
13503 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13504 PyObject
*resultobj
= 0;
13505 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13508 PyObject
*swig_obj
[1] ;
13510 if (!args
) SWIG_fail
;
13511 swig_obj
[0] = args
;
13512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13513 if (!SWIG_IsOK(res1
)) {
13514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13516 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13519 (arg1
)->SetInsertionPointEnd();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_Py_Void();
13530 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13531 PyObject
*resultobj
= 0;
13532 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13536 PyObject
*swig_obj
[1] ;
13538 if (!args
) SWIG_fail
;
13539 swig_obj
[0] = args
;
13540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13541 if (!SWIG_IsOK(res1
)) {
13542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13544 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13547 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= SWIG_From_long(static_cast< long >(result
));
13558 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13559 PyObject
*resultobj
= 0;
13560 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13564 PyObject
*swig_obj
[1] ;
13566 if (!args
) SWIG_fail
;
13567 swig_obj
[0] = args
;
13568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13569 if (!SWIG_IsOK(res1
)) {
13570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13572 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13576 wxPyEndAllowThreads(__tstate
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13579 resultobj
= SWIG_From_long(static_cast< long >(result
));
13586 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13587 PyObject
*resultobj
= 0;
13588 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 PyObject
* obj1
= 0 ;
13599 PyObject
* obj2
= 0 ;
13600 char * kwnames
[] = {
13601 (char *) "self",(char *) "from",(char *) "to", NULL
13604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13606 if (!SWIG_IsOK(res1
)) {
13607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13609 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13610 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13611 if (!SWIG_IsOK(ecode2
)) {
13612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13614 arg2
= static_cast< long >(val2
);
13615 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13616 if (!SWIG_IsOK(ecode3
)) {
13617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13619 arg3
= static_cast< long >(val3
);
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 (arg1
)->SetSelection(arg2
,arg3
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= SWIG_Py_Void();
13633 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13634 PyObject
*resultobj
= 0;
13635 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13638 PyObject
*swig_obj
[1] ;
13640 if (!args
) SWIG_fail
;
13641 swig_obj
[0] = args
;
13642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13643 if (!SWIG_IsOK(res1
)) {
13644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13646 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 (arg1
)->SelectAll();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_Py_Void();
13660 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
= 0;
13662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13668 PyObject
* obj0
= 0 ;
13669 PyObject
* obj1
= 0 ;
13670 char * kwnames
[] = {
13671 (char *) "self",(char *) "editable", NULL
13674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13676 if (!SWIG_IsOK(res1
)) {
13677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13679 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13680 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13681 if (!SWIG_IsOK(ecode2
)) {
13682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13684 arg2
= static_cast< bool >(val2
);
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13687 (arg1
)->SetEditable(arg2
);
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 resultobj
= SWIG_Py_Void();
13698 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
= 0;
13700 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13701 bool arg2
= (bool) true ;
13707 PyObject
* obj0
= 0 ;
13708 PyObject
* obj1
= 0 ;
13709 char * kwnames
[] = {
13710 (char *) "self",(char *) "show", NULL
13713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13715 if (!SWIG_IsOK(res1
)) {
13716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13718 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13720 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13721 if (!SWIG_IsOK(ecode2
)) {
13722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13724 arg2
= static_cast< bool >(val2
);
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13741 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13742 PyObject
*resultobj
= 0;
13743 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13747 PyObject
*swig_obj
[1] ;
13749 if (!args
) SWIG_fail
;
13750 swig_obj
[0] = args
;
13751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13752 if (!SWIG_IsOK(res1
)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13755 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13758 result
= (bool)(arg1
)->HideNativeCaret();
13759 wxPyEndAllowThreads(__tstate
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13771 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13772 PyObject
*resultobj
= 0;
13773 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13774 wxString
*arg2
= 0 ;
13777 bool temp2
= false ;
13778 PyObject
* obj0
= 0 ;
13779 PyObject
* obj1
= 0 ;
13780 char * kwnames
[] = {
13781 (char *) "self",(char *) "text", NULL
13784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13786 if (!SWIG_IsOK(res1
)) {
13787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13789 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13791 arg2
= wxString_in_helper(obj1
);
13792 if (arg2
== NULL
) SWIG_fail
;
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_Py_Void();
13816 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13817 PyObject
*resultobj
= 0;
13818 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13828 PyObject
* obj0
= 0 ;
13829 PyObject
* obj1
= 0 ;
13830 PyObject
* obj2
= 0 ;
13831 char * kwnames
[] = {
13832 (char *) "self",(char *) "from",(char *) "to", NULL
13835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13837 if (!SWIG_IsOK(res1
)) {
13838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13840 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13841 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13842 if (!SWIG_IsOK(ecode2
)) {
13843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13845 arg2
= static_cast< long >(val2
);
13846 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13847 if (!SWIG_IsOK(ecode3
)) {
13848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13850 arg3
= static_cast< long >(val3
);
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13870 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
*resultobj
= 0;
13872 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13873 SwigValueWrapper
<wxVisualAttributes
> result
;
13876 PyObject
* obj0
= 0 ;
13877 char * kwnames
[] = {
13878 (char *) "variant", NULL
13881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
13883 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13884 if (!SWIG_IsOK(ecode1
)) {
13885 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
13887 arg1
= static_cast< wxWindowVariant
>(val1
);
13890 if (!wxPyCheckForApp()) SWIG_fail
;
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13896 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
13903 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13905 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13906 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
13907 return SWIG_Py_Void();
13910 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13911 return SWIG_Python_InitShadowInstance(args
);
13914 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13915 PyObject
*resultobj
= 0;
13917 wxMouseEvent
*arg2
= 0 ;
13920 wxTextUrlEvent
*result
= 0 ;
13929 PyObject
* obj0
= 0 ;
13930 PyObject
* obj1
= 0 ;
13931 PyObject
* obj2
= 0 ;
13932 PyObject
* obj3
= 0 ;
13933 char * kwnames
[] = {
13934 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
13937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13938 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13939 if (!SWIG_IsOK(ecode1
)) {
13940 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
13942 arg1
= static_cast< int >(val1
);
13943 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
13944 if (!SWIG_IsOK(res2
)) {
13945 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13948 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
13950 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
13951 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13952 if (!SWIG_IsOK(ecode3
)) {
13953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
13955 arg3
= static_cast< long >(val3
);
13956 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
13957 if (!SWIG_IsOK(ecode4
)) {
13958 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
13960 arg4
= static_cast< long >(val4
);
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
13974 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13975 PyObject
*resultobj
= 0;
13976 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
13977 wxMouseEvent
*result
= 0 ;
13980 PyObject
*swig_obj
[1] ;
13982 if (!args
) SWIG_fail
;
13983 swig_obj
[0] = args
;
13984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
13985 if (!SWIG_IsOK(res1
)) {
13986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
13988 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
13990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
13993 result
= (wxMouseEvent
*) &_result_ref
;
13995 wxPyEndAllowThreads(__tstate
);
13996 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14005 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14006 PyObject
*resultobj
= 0;
14007 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14011 PyObject
*swig_obj
[1] ;
14013 if (!args
) SWIG_fail
;
14014 swig_obj
[0] = args
;
14015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14016 if (!SWIG_IsOK(res1
)) {
14017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14019 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= SWIG_From_long(static_cast< long >(result
));
14033 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14034 PyObject
*resultobj
= 0;
14035 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14039 PyObject
*swig_obj
[1] ;
14041 if (!args
) SWIG_fail
;
14042 swig_obj
[0] = args
;
14043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14044 if (!SWIG_IsOK(res1
)) {
14045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14047 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14050 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14051 wxPyEndAllowThreads(__tstate
);
14052 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= SWIG_From_long(static_cast< long >(result
));
14061 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14064 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14065 return SWIG_Py_Void();
14068 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14069 return SWIG_Python_InitShadowInstance(args
);
14072 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14073 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14078 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14079 PyObject
*pyobj
= 0;
14083 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14085 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14092 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
= 0;
14094 wxWindow
*arg1
= (wxWindow
*) 0 ;
14095 int arg2
= (int) -1 ;
14096 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14097 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14098 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14099 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14100 long arg5
= (long) wxSB_HORIZONTAL
;
14101 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14102 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14103 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14104 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14105 wxScrollBar
*result
= 0 ;
14116 bool temp7
= false ;
14117 PyObject
* obj0
= 0 ;
14118 PyObject
* obj1
= 0 ;
14119 PyObject
* obj2
= 0 ;
14120 PyObject
* obj3
= 0 ;
14121 PyObject
* obj4
= 0 ;
14122 PyObject
* obj5
= 0 ;
14123 PyObject
* obj6
= 0 ;
14124 char * kwnames
[] = {
14125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14130 if (!SWIG_IsOK(res1
)) {
14131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14133 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14136 if (!SWIG_IsOK(ecode2
)) {
14137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14139 arg2
= static_cast< int >(val2
);
14144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14150 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14154 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14155 if (!SWIG_IsOK(ecode5
)) {
14156 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14158 arg5
= static_cast< long >(val5
);
14161 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14162 if (!SWIG_IsOK(res6
)) {
14163 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14166 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14168 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14172 arg7
= wxString_in_helper(obj6
);
14173 if (arg7
== NULL
) SWIG_fail
;
14178 if (!wxPyCheckForApp()) SWIG_fail
;
14179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14180 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14181 wxPyEndAllowThreads(__tstate
);
14182 if (PyErr_Occurred()) SWIG_fail
;
14184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14199 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14200 PyObject
*resultobj
= 0;
14201 wxScrollBar
*result
= 0 ;
14203 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14205 if (!wxPyCheckForApp()) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 result
= (wxScrollBar
*)new wxScrollBar();
14208 wxPyEndAllowThreads(__tstate
);
14209 if (PyErr_Occurred()) SWIG_fail
;
14211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14218 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
= 0;
14220 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14221 wxWindow
*arg2
= (wxWindow
*) 0 ;
14222 int arg3
= (int) -1 ;
14223 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14224 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14225 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14226 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14227 long arg6
= (long) wxSB_HORIZONTAL
;
14228 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14229 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14230 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14231 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14245 bool temp8
= false ;
14246 PyObject
* obj0
= 0 ;
14247 PyObject
* obj1
= 0 ;
14248 PyObject
* obj2
= 0 ;
14249 PyObject
* obj3
= 0 ;
14250 PyObject
* obj4
= 0 ;
14251 PyObject
* obj5
= 0 ;
14252 PyObject
* obj6
= 0 ;
14253 PyObject
* obj7
= 0 ;
14254 char * kwnames
[] = {
14255 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14260 if (!SWIG_IsOK(res1
)) {
14261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14263 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14265 if (!SWIG_IsOK(res2
)) {
14266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14268 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14271 if (!SWIG_IsOK(ecode3
)) {
14272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14274 arg3
= static_cast< int >(val3
);
14279 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14285 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14289 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14290 if (!SWIG_IsOK(ecode6
)) {
14291 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14293 arg6
= static_cast< long >(val6
);
14296 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14297 if (!SWIG_IsOK(res7
)) {
14298 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14303 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14307 arg8
= wxString_in_helper(obj7
);
14308 if (arg8
== NULL
) SWIG_fail
;
14313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14314 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14315 wxPyEndAllowThreads(__tstate
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14335 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14336 PyObject
*resultobj
= 0;
14337 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14341 PyObject
*swig_obj
[1] ;
14343 if (!args
) SWIG_fail
;
14344 swig_obj
[0] = args
;
14345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14346 if (!SWIG_IsOK(res1
)) {
14347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14349 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14356 resultobj
= SWIG_From_int(static_cast< int >(result
));
14363 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14364 PyObject
*resultobj
= 0;
14365 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14369 PyObject
*swig_obj
[1] ;
14371 if (!args
) SWIG_fail
;
14372 swig_obj
[0] = args
;
14373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14374 if (!SWIG_IsOK(res1
)) {
14375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14377 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14380 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= SWIG_From_int(static_cast< int >(result
));
14391 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14392 PyObject
*resultobj
= 0;
14393 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14397 PyObject
*swig_obj
[1] ;
14399 if (!args
) SWIG_fail
;
14400 swig_obj
[0] = args
;
14401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14402 if (!SWIG_IsOK(res1
)) {
14403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14405 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14409 wxPyEndAllowThreads(__tstate
);
14410 if (PyErr_Occurred()) SWIG_fail
;
14412 resultobj
= SWIG_From_int(static_cast< int >(result
));
14419 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14420 PyObject
*resultobj
= 0;
14421 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14425 PyObject
*swig_obj
[1] ;
14427 if (!args
) SWIG_fail
;
14428 swig_obj
[0] = args
;
14429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14430 if (!SWIG_IsOK(res1
)) {
14431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14433 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14440 resultobj
= SWIG_From_int(static_cast< int >(result
));
14447 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14448 PyObject
*resultobj
= 0;
14449 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14453 PyObject
*swig_obj
[1] ;
14455 if (!args
) SWIG_fail
;
14456 swig_obj
[0] = args
;
14457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14458 if (!SWIG_IsOK(res1
)) {
14459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14461 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14465 wxPyEndAllowThreads(__tstate
);
14466 if (PyErr_Occurred()) SWIG_fail
;
14469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14477 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
= 0;
14479 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 PyObject
* obj1
= 0 ;
14487 char * kwnames
[] = {
14488 (char *) "self",(char *) "viewStart", NULL
14491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14493 if (!SWIG_IsOK(res1
)) {
14494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14496 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14498 if (!SWIG_IsOK(ecode2
)) {
14499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14501 arg2
= static_cast< int >(val2
);
14503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14504 (arg1
)->SetThumbPosition(arg2
);
14505 wxPyEndAllowThreads(__tstate
);
14506 if (PyErr_Occurred()) SWIG_fail
;
14508 resultobj
= SWIG_Py_Void();
14515 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
= 0;
14517 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14518 SwigValueWrapper
<wxVisualAttributes
> result
;
14521 PyObject
* obj0
= 0 ;
14522 char * kwnames
[] = {
14523 (char *) "variant", NULL
14526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14528 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14529 if (!SWIG_IsOK(ecode1
)) {
14530 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14532 arg1
= static_cast< wxWindowVariant
>(val1
);
14535 if (!wxPyCheckForApp()) SWIG_fail
;
14536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14537 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14548 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14551 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14552 return SWIG_Py_Void();
14555 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14556 return SWIG_Python_InitShadowInstance(args
);
14559 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14560 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14565 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14566 PyObject
*pyobj
= 0;
14570 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14572 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14579 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14580 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14585 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14586 PyObject
*pyobj
= 0;
14590 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14592 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14599 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
= 0;
14601 wxWindow
*arg1
= (wxWindow
*) 0 ;
14602 int arg2
= (int) -1 ;
14603 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14604 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14605 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14606 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14607 long arg5
= (long) wxSP_HORIZONTAL
;
14608 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14609 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14610 wxSpinButton
*result
= 0 ;
14619 bool temp6
= false ;
14620 PyObject
* obj0
= 0 ;
14621 PyObject
* obj1
= 0 ;
14622 PyObject
* obj2
= 0 ;
14623 PyObject
* obj3
= 0 ;
14624 PyObject
* obj4
= 0 ;
14625 PyObject
* obj5
= 0 ;
14626 char * kwnames
[] = {
14627 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14632 if (!SWIG_IsOK(res1
)) {
14633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14635 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14638 if (!SWIG_IsOK(ecode2
)) {
14639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14641 arg2
= static_cast< int >(val2
);
14646 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14652 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14656 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14657 if (!SWIG_IsOK(ecode5
)) {
14658 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14660 arg5
= static_cast< long >(val5
);
14664 arg6
= wxString_in_helper(obj5
);
14665 if (arg6
== NULL
) SWIG_fail
;
14670 if (!wxPyCheckForApp()) SWIG_fail
;
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14673 wxPyEndAllowThreads(__tstate
);
14674 if (PyErr_Occurred()) SWIG_fail
;
14676 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14691 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14692 PyObject
*resultobj
= 0;
14693 wxSpinButton
*result
= 0 ;
14695 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14697 if (!wxPyCheckForApp()) SWIG_fail
;
14698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14699 result
= (wxSpinButton
*)new wxSpinButton();
14700 wxPyEndAllowThreads(__tstate
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14710 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14711 PyObject
*resultobj
= 0;
14712 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14713 wxWindow
*arg2
= (wxWindow
*) 0 ;
14714 int arg3
= (int) -1 ;
14715 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14716 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14717 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14718 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14719 long arg6
= (long) wxSP_HORIZONTAL
;
14720 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14721 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14733 bool temp7
= false ;
14734 PyObject
* obj0
= 0 ;
14735 PyObject
* obj1
= 0 ;
14736 PyObject
* obj2
= 0 ;
14737 PyObject
* obj3
= 0 ;
14738 PyObject
* obj4
= 0 ;
14739 PyObject
* obj5
= 0 ;
14740 PyObject
* obj6
= 0 ;
14741 char * kwnames
[] = {
14742 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14747 if (!SWIG_IsOK(res1
)) {
14748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14750 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14751 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14752 if (!SWIG_IsOK(res2
)) {
14753 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14755 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14757 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14758 if (!SWIG_IsOK(ecode3
)) {
14759 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14761 arg3
= static_cast< int >(val3
);
14766 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14772 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14776 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14777 if (!SWIG_IsOK(ecode6
)) {
14778 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14780 arg6
= static_cast< long >(val6
);
14784 arg7
= wxString_in_helper(obj6
);
14785 if (arg7
== NULL
) SWIG_fail
;
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14791 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14792 wxPyEndAllowThreads(__tstate
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14812 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14813 PyObject
*resultobj
= 0;
14814 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14818 PyObject
*swig_obj
[1] ;
14820 if (!args
) SWIG_fail
;
14821 swig_obj
[0] = args
;
14822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14823 if (!SWIG_IsOK(res1
)) {
14824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14826 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= SWIG_From_int(static_cast< int >(result
));
14840 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14841 PyObject
*resultobj
= 0;
14842 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14846 PyObject
*swig_obj
[1] ;
14848 if (!args
) SWIG_fail
;
14849 swig_obj
[0] = args
;
14850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14851 if (!SWIG_IsOK(res1
)) {
14852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14854 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14857 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= SWIG_From_int(static_cast< int >(result
));
14868 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14869 PyObject
*resultobj
= 0;
14870 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14874 PyObject
*swig_obj
[1] ;
14876 if (!args
) SWIG_fail
;
14877 swig_obj
[0] = args
;
14878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14879 if (!SWIG_IsOK(res1
)) {
14880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14882 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
14886 wxPyEndAllowThreads(__tstate
);
14887 if (PyErr_Occurred()) SWIG_fail
;
14889 resultobj
= SWIG_From_int(static_cast< int >(result
));
14896 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
= 0;
14898 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14904 PyObject
* obj0
= 0 ;
14905 PyObject
* obj1
= 0 ;
14906 char * kwnames
[] = {
14907 (char *) "self",(char *) "val", NULL
14910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14912 if (!SWIG_IsOK(res1
)) {
14913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14915 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14916 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14917 if (!SWIG_IsOK(ecode2
)) {
14918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
14920 arg2
= static_cast< int >(val2
);
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 (arg1
)->SetValue(arg2
);
14924 wxPyEndAllowThreads(__tstate
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14927 resultobj
= SWIG_Py_Void();
14934 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14935 PyObject
*resultobj
= 0;
14936 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14942 PyObject
* obj0
= 0 ;
14943 PyObject
* obj1
= 0 ;
14944 char * kwnames
[] = {
14945 (char *) "self",(char *) "minVal", NULL
14948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14950 if (!SWIG_IsOK(res1
)) {
14951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14953 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14955 if (!SWIG_IsOK(ecode2
)) {
14956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
14958 arg2
= static_cast< int >(val2
);
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 (arg1
)->SetMin(arg2
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_Py_Void();
14972 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
= 0;
14974 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14980 PyObject
* obj0
= 0 ;
14981 PyObject
* obj1
= 0 ;
14982 char * kwnames
[] = {
14983 (char *) "self",(char *) "maxVal", NULL
14986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14988 if (!SWIG_IsOK(res1
)) {
14989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14991 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14993 if (!SWIG_IsOK(ecode2
)) {
14994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
14996 arg2
= static_cast< int >(val2
);
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 (arg1
)->SetMax(arg2
);
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 resultobj
= SWIG_Py_Void();
15010 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
= 0;
15012 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15021 PyObject
* obj0
= 0 ;
15022 PyObject
* obj1
= 0 ;
15023 PyObject
* obj2
= 0 ;
15024 char * kwnames
[] = {
15025 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15030 if (!SWIG_IsOK(res1
)) {
15031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15033 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15035 if (!SWIG_IsOK(ecode2
)) {
15036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15038 arg2
= static_cast< int >(val2
);
15039 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15040 if (!SWIG_IsOK(ecode3
)) {
15041 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15043 arg3
= static_cast< int >(val3
);
15045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15046 (arg1
)->SetRange(arg2
,arg3
);
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= SWIG_Py_Void();
15057 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15058 PyObject
*resultobj
= 0;
15059 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15063 PyObject
*swig_obj
[1] ;
15065 if (!args
) SWIG_fail
;
15066 swig_obj
[0] = args
;
15067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15068 if (!SWIG_IsOK(res1
)) {
15069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15071 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15087 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
= 0;
15089 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15090 SwigValueWrapper
<wxVisualAttributes
> result
;
15093 PyObject
* obj0
= 0 ;
15094 char * kwnames
[] = {
15095 (char *) "variant", NULL
15098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15100 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15101 if (!SWIG_IsOK(ecode1
)) {
15102 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15104 arg1
= static_cast< wxWindowVariant
>(val1
);
15107 if (!wxPyCheckForApp()) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15120 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15122 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15123 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15124 return SWIG_Py_Void();
15127 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15128 return SWIG_Python_InitShadowInstance(args
);
15131 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
= 0;
15133 wxWindow
*arg1
= (wxWindow
*) 0 ;
15134 int arg2
= (int) -1 ;
15135 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15136 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15137 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15138 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15139 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15140 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15141 long arg6
= (long) wxSP_ARROW_KEYS
;
15142 int arg7
= (int) 0 ;
15143 int arg8
= (int) 100 ;
15144 int arg9
= (int) 0 ;
15145 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15146 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15147 wxSpinCtrl
*result
= 0 ;
15152 bool temp3
= false ;
15163 bool temp10
= false ;
15164 PyObject
* obj0
= 0 ;
15165 PyObject
* obj1
= 0 ;
15166 PyObject
* obj2
= 0 ;
15167 PyObject
* obj3
= 0 ;
15168 PyObject
* obj4
= 0 ;
15169 PyObject
* obj5
= 0 ;
15170 PyObject
* obj6
= 0 ;
15171 PyObject
* obj7
= 0 ;
15172 PyObject
* obj8
= 0 ;
15173 PyObject
* obj9
= 0 ;
15174 char * kwnames
[] = {
15175 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15180 if (!SWIG_IsOK(res1
)) {
15181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15183 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15186 if (!SWIG_IsOK(ecode2
)) {
15187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15189 arg2
= static_cast< int >(val2
);
15193 arg3
= wxString_in_helper(obj2
);
15194 if (arg3
== NULL
) SWIG_fail
;
15201 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15207 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15211 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15212 if (!SWIG_IsOK(ecode6
)) {
15213 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15215 arg6
= static_cast< long >(val6
);
15218 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15219 if (!SWIG_IsOK(ecode7
)) {
15220 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15222 arg7
= static_cast< int >(val7
);
15225 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15226 if (!SWIG_IsOK(ecode8
)) {
15227 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15229 arg8
= static_cast< int >(val8
);
15232 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15233 if (!SWIG_IsOK(ecode9
)) {
15234 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15236 arg9
= static_cast< int >(val9
);
15240 arg10
= wxString_in_helper(obj9
);
15241 if (arg10
== NULL
) SWIG_fail
;
15246 if (!wxPyCheckForApp()) SWIG_fail
;
15247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15248 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15275 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15276 PyObject
*resultobj
= 0;
15277 wxSpinCtrl
*result
= 0 ;
15279 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15281 if (!wxPyCheckForApp()) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15294 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
= 0;
15296 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15297 wxWindow
*arg2
= (wxWindow
*) 0 ;
15298 int arg3
= (int) -1 ;
15299 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15300 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15301 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15302 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15303 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15304 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15305 long arg7
= (long) wxSP_ARROW_KEYS
;
15306 int arg8
= (int) 0 ;
15307 int arg9
= (int) 100 ;
15308 int arg10
= (int) 0 ;
15309 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15310 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15318 bool temp4
= false ;
15329 bool temp11
= false ;
15330 PyObject
* obj0
= 0 ;
15331 PyObject
* obj1
= 0 ;
15332 PyObject
* obj2
= 0 ;
15333 PyObject
* obj3
= 0 ;
15334 PyObject
* obj4
= 0 ;
15335 PyObject
* obj5
= 0 ;
15336 PyObject
* obj6
= 0 ;
15337 PyObject
* obj7
= 0 ;
15338 PyObject
* obj8
= 0 ;
15339 PyObject
* obj9
= 0 ;
15340 PyObject
* obj10
= 0 ;
15341 char * kwnames
[] = {
15342 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15347 if (!SWIG_IsOK(res1
)) {
15348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15350 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15351 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15352 if (!SWIG_IsOK(res2
)) {
15353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15355 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15358 if (!SWIG_IsOK(ecode3
)) {
15359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15361 arg3
= static_cast< int >(val3
);
15365 arg4
= wxString_in_helper(obj3
);
15366 if (arg4
== NULL
) SWIG_fail
;
15373 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15379 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15383 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15384 if (!SWIG_IsOK(ecode7
)) {
15385 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15387 arg7
= static_cast< long >(val7
);
15390 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15391 if (!SWIG_IsOK(ecode8
)) {
15392 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15394 arg8
= static_cast< int >(val8
);
15397 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15398 if (!SWIG_IsOK(ecode9
)) {
15399 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15401 arg9
= static_cast< int >(val9
);
15404 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15405 if (!SWIG_IsOK(ecode10
)) {
15406 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15408 arg10
= static_cast< int >(val10
);
15412 arg11
= wxString_in_helper(obj10
);
15413 if (arg11
== NULL
) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15420 wxPyEndAllowThreads(__tstate
);
15421 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15448 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15449 PyObject
*resultobj
= 0;
15450 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15454 PyObject
*swig_obj
[1] ;
15456 if (!args
) SWIG_fail
;
15457 swig_obj
[0] = args
;
15458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15459 if (!SWIG_IsOK(res1
)) {
15460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15462 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15466 wxPyEndAllowThreads(__tstate
);
15467 if (PyErr_Occurred()) SWIG_fail
;
15469 resultobj
= SWIG_From_int(static_cast< int >(result
));
15476 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
= 0;
15478 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15484 PyObject
* obj0
= 0 ;
15485 PyObject
* obj1
= 0 ;
15486 char * kwnames
[] = {
15487 (char *) "self",(char *) "value", NULL
15490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15492 if (!SWIG_IsOK(res1
)) {
15493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15495 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15497 if (!SWIG_IsOK(ecode2
)) {
15498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15500 arg2
= static_cast< int >(val2
);
15502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15503 (arg1
)->SetValue(arg2
);
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= SWIG_Py_Void();
15514 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15515 PyObject
*resultobj
= 0;
15516 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15517 wxString
*arg2
= 0 ;
15520 bool temp2
= false ;
15521 PyObject
* obj0
= 0 ;
15522 PyObject
* obj1
= 0 ;
15523 char * kwnames
[] = {
15524 (char *) "self",(char *) "text", NULL
15527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15529 if (!SWIG_IsOK(res1
)) {
15530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15532 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15534 arg2
= wxString_in_helper(obj1
);
15535 if (arg2
== NULL
) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 (arg1
)->SetValue((wxString
const &)*arg2
);
15541 wxPyEndAllowThreads(__tstate
);
15542 if (PyErr_Occurred()) SWIG_fail
;
15544 resultobj
= SWIG_Py_Void();
15559 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
= 0;
15561 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 PyObject
* obj2
= 0 ;
15573 char * kwnames
[] = {
15574 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15582 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15583 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15584 if (!SWIG_IsOK(ecode2
)) {
15585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15587 arg2
= static_cast< int >(val2
);
15588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15589 if (!SWIG_IsOK(ecode3
)) {
15590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15592 arg3
= static_cast< int >(val3
);
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 (arg1
)->SetRange(arg2
,arg3
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= SWIG_Py_Void();
15606 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15607 PyObject
*resultobj
= 0;
15608 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15612 PyObject
*swig_obj
[1] ;
15614 if (!args
) SWIG_fail
;
15615 swig_obj
[0] = args
;
15616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15617 if (!SWIG_IsOK(res1
)) {
15618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15620 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15623 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15627 resultobj
= SWIG_From_int(static_cast< int >(result
));
15634 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15635 PyObject
*resultobj
= 0;
15636 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15640 PyObject
*swig_obj
[1] ;
15642 if (!args
) SWIG_fail
;
15643 swig_obj
[0] = args
;
15644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15645 if (!SWIG_IsOK(res1
)) {
15646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15648 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15655 resultobj
= SWIG_From_int(static_cast< int >(result
));
15662 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15663 PyObject
*resultobj
= 0;
15664 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15673 PyObject
* obj0
= 0 ;
15674 PyObject
* obj1
= 0 ;
15675 PyObject
* obj2
= 0 ;
15676 char * kwnames
[] = {
15677 (char *) "self",(char *) "from",(char *) "to", NULL
15680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15682 if (!SWIG_IsOK(res1
)) {
15683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15685 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15686 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15687 if (!SWIG_IsOK(ecode2
)) {
15688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15690 arg2
= static_cast< long >(val2
);
15691 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15692 if (!SWIG_IsOK(ecode3
)) {
15693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15695 arg3
= static_cast< long >(val3
);
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 (arg1
)->SetSelection(arg2
,arg3
);
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 resultobj
= SWIG_Py_Void();
15709 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15710 PyObject
*resultobj
= 0;
15711 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15712 SwigValueWrapper
<wxVisualAttributes
> result
;
15715 PyObject
* obj0
= 0 ;
15716 char * kwnames
[] = {
15717 (char *) "variant", NULL
15720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15722 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15723 if (!SWIG_IsOK(ecode1
)) {
15724 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15726 arg1
= static_cast< wxWindowVariant
>(val1
);
15729 if (!wxPyCheckForApp()) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15742 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15745 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15746 return SWIG_Py_Void();
15749 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15750 return SWIG_Python_InitShadowInstance(args
);
15753 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15754 PyObject
*resultobj
= 0;
15755 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15756 int arg2
= (int) 0 ;
15757 wxSpinEvent
*result
= 0 ;
15762 PyObject
* obj0
= 0 ;
15763 PyObject
* obj1
= 0 ;
15764 char * kwnames
[] = {
15765 (char *) "commandType",(char *) "winid", NULL
15768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15770 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15771 if (!SWIG_IsOK(ecode1
)) {
15772 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15774 arg1
= static_cast< wxEventType
>(val1
);
15777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15778 if (!SWIG_IsOK(ecode2
)) {
15779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15781 arg2
= static_cast< int >(val2
);
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15796 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15797 PyObject
*resultobj
= 0;
15798 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15802 PyObject
*swig_obj
[1] ;
15804 if (!args
) SWIG_fail
;
15805 swig_obj
[0] = args
;
15806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15807 if (!SWIG_IsOK(res1
)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15810 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15813 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= SWIG_From_int(static_cast< int >(result
));
15824 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
= 0;
15826 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15832 PyObject
* obj0
= 0 ;
15833 PyObject
* obj1
= 0 ;
15834 char * kwnames
[] = {
15835 (char *) "self",(char *) "pos", NULL
15838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15840 if (!SWIG_IsOK(res1
)) {
15841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15843 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15845 if (!SWIG_IsOK(ecode2
)) {
15846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15848 arg2
= static_cast< int >(val2
);
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 (arg1
)->SetPosition(arg2
);
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= SWIG_Py_Void();
15862 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15865 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15866 return SWIG_Py_Void();
15869 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15870 return SWIG_Python_InitShadowInstance(args
);
15873 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15874 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
15879 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
15880 PyObject
*pyobj
= 0;
15884 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15886 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
15893 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
15894 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
15899 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
15900 PyObject
*pyobj
= 0;
15904 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15906 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
15913 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
= 0;
15915 wxWindow
*arg1
= (wxWindow
*) 0 ;
15916 int arg2
= (int) -1 ;
15917 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15918 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15919 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15920 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15921 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15922 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15923 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15924 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15925 int arg7
= (int) 0 ;
15926 long arg8
= (long) wxRA_HORIZONTAL
;
15927 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
15928 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
15929 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
15930 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15931 wxRadioBox
*result
= 0 ;
15936 bool temp3
= false ;
15939 bool temp6
= false ;
15946 bool temp10
= false ;
15947 PyObject
* obj0
= 0 ;
15948 PyObject
* obj1
= 0 ;
15949 PyObject
* obj2
= 0 ;
15950 PyObject
* obj3
= 0 ;
15951 PyObject
* obj4
= 0 ;
15952 PyObject
* obj5
= 0 ;
15953 PyObject
* obj6
= 0 ;
15954 PyObject
* obj7
= 0 ;
15955 PyObject
* obj8
= 0 ;
15956 PyObject
* obj9
= 0 ;
15957 char * kwnames
[] = {
15958 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
15961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15963 if (!SWIG_IsOK(res1
)) {
15964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15966 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15969 if (!SWIG_IsOK(ecode2
)) {
15970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
15972 arg2
= static_cast< int >(val2
);
15976 arg3
= wxString_in_helper(obj2
);
15977 if (arg3
== NULL
) SWIG_fail
;
15984 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15990 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15995 if (! PySequence_Check(obj5
)) {
15996 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15999 arg6
= new wxArrayString
;
16001 int i
, len
=PySequence_Length(obj5
);
16002 for (i
=0; i
<len
; i
++) {
16003 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16004 wxString
* s
= wxString_in_helper(item
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16013 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16014 if (!SWIG_IsOK(ecode7
)) {
16015 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16017 arg7
= static_cast< int >(val7
);
16020 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16021 if (!SWIG_IsOK(ecode8
)) {
16022 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16024 arg8
= static_cast< long >(val8
);
16027 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16028 if (!SWIG_IsOK(res9
)) {
16029 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16034 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16038 arg10
= wxString_in_helper(obj9
);
16039 if (arg10
== NULL
) SWIG_fail
;
16044 if (!wxPyCheckForApp()) SWIG_fail
;
16045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16046 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
);
16047 wxPyEndAllowThreads(__tstate
);
16048 if (PyErr_Occurred()) SWIG_fail
;
16050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16056 if (temp6
) delete arg6
;
16069 if (temp6
) delete arg6
;
16079 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16080 PyObject
*resultobj
= 0;
16081 wxRadioBox
*result
= 0 ;
16083 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16085 if (!wxPyCheckForApp()) SWIG_fail
;
16086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16087 result
= (wxRadioBox
*)new wxRadioBox();
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16098 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
= 0;
16100 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16101 wxWindow
*arg2
= (wxWindow
*) 0 ;
16102 int arg3
= (int) -1 ;
16103 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16104 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16105 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16106 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16107 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16108 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16109 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16110 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16111 int arg8
= (int) 0 ;
16112 long arg9
= (long) wxRA_HORIZONTAL
;
16113 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16114 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16115 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16116 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16124 bool temp4
= false ;
16127 bool temp7
= false ;
16134 bool temp11
= false ;
16135 PyObject
* obj0
= 0 ;
16136 PyObject
* obj1
= 0 ;
16137 PyObject
* obj2
= 0 ;
16138 PyObject
* obj3
= 0 ;
16139 PyObject
* obj4
= 0 ;
16140 PyObject
* obj5
= 0 ;
16141 PyObject
* obj6
= 0 ;
16142 PyObject
* obj7
= 0 ;
16143 PyObject
* obj8
= 0 ;
16144 PyObject
* obj9
= 0 ;
16145 PyObject
* obj10
= 0 ;
16146 char * kwnames
[] = {
16147 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16152 if (!SWIG_IsOK(res1
)) {
16153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16155 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16157 if (!SWIG_IsOK(res2
)) {
16158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16160 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16162 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16163 if (!SWIG_IsOK(ecode3
)) {
16164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16166 arg3
= static_cast< int >(val3
);
16170 arg4
= wxString_in_helper(obj3
);
16171 if (arg4
== NULL
) SWIG_fail
;
16178 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16184 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16189 if (! PySequence_Check(obj6
)) {
16190 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16193 arg7
= new wxArrayString
;
16195 int i
, len
=PySequence_Length(obj6
);
16196 for (i
=0; i
<len
; i
++) {
16197 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16198 wxString
* s
= wxString_in_helper(item
);
16199 if (PyErr_Occurred()) SWIG_fail
;
16207 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16208 if (!SWIG_IsOK(ecode8
)) {
16209 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16211 arg8
= static_cast< int >(val8
);
16214 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16215 if (!SWIG_IsOK(ecode9
)) {
16216 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16218 arg9
= static_cast< long >(val9
);
16221 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16222 if (!SWIG_IsOK(res10
)) {
16223 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16228 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16232 arg11
= wxString_in_helper(obj10
);
16233 if (arg11
== NULL
) SWIG_fail
;
16238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16239 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
);
16240 wxPyEndAllowThreads(__tstate
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16251 if (temp7
) delete arg7
;
16264 if (temp7
) delete arg7
;
16274 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
= 0;
16276 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16282 PyObject
* obj0
= 0 ;
16283 PyObject
* obj1
= 0 ;
16284 char * kwnames
[] = {
16285 (char *) "self",(char *) "n", NULL
16288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16290 if (!SWIG_IsOK(res1
)) {
16291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16293 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16295 if (!SWIG_IsOK(ecode2
)) {
16296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16298 arg2
= static_cast< int >(val2
);
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 (arg1
)->SetSelection(arg2
);
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= SWIG_Py_Void();
16312 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16313 PyObject
*resultobj
= 0;
16314 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16318 PyObject
*swig_obj
[1] ;
16320 if (!args
) SWIG_fail
;
16321 swig_obj
[0] = args
;
16322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16323 if (!SWIG_IsOK(res1
)) {
16324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16326 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= SWIG_From_int(static_cast< int >(result
));
16340 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16341 PyObject
*resultobj
= 0;
16342 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16346 PyObject
*swig_obj
[1] ;
16348 if (!args
) SWIG_fail
;
16349 swig_obj
[0] = args
;
16350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16351 if (!SWIG_IsOK(res1
)) {
16352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16354 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16358 wxPyEndAllowThreads(__tstate
);
16359 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16374 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
= 0;
16376 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16377 wxString
*arg2
= 0 ;
16381 bool temp2
= false ;
16382 PyObject
* obj0
= 0 ;
16383 PyObject
* obj1
= 0 ;
16384 char * kwnames
[] = {
16385 (char *) "self",(char *) "s", NULL
16388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16390 if (!SWIG_IsOK(res1
)) {
16391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16393 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16395 arg2
= wxString_in_helper(obj1
);
16396 if (arg2
== NULL
) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16422 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16423 PyObject
*resultobj
= 0;
16424 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16428 PyObject
*swig_obj
[1] ;
16430 if (!args
) SWIG_fail
;
16431 swig_obj
[0] = args
;
16432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16433 if (!SWIG_IsOK(res1
)) {
16434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16436 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16439 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16450 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16451 PyObject
*resultobj
= 0;
16452 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16453 wxString
*arg2
= 0 ;
16457 bool temp2
= false ;
16458 PyObject
* obj0
= 0 ;
16459 PyObject
* obj1
= 0 ;
16460 char * kwnames
[] = {
16461 (char *) "self",(char *) "s", NULL
16464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16466 if (!SWIG_IsOK(res1
)) {
16467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16469 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16471 arg2
= wxString_in_helper(obj1
);
16472 if (arg2
== NULL
) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= SWIG_From_int(static_cast< int >(result
));
16496 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
= 0;
16498 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 char * kwnames
[] = {
16508 (char *) "self",(char *) "n", NULL
16511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16513 if (!SWIG_IsOK(res1
)) {
16514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16516 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16518 if (!SWIG_IsOK(ecode2
)) {
16519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16521 arg2
= static_cast< int >(val2
);
16523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16525 wxPyEndAllowThreads(__tstate
);
16526 if (PyErr_Occurred()) SWIG_fail
;
16530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16541 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
= 0;
16543 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16545 wxString
*arg3
= 0 ;
16550 bool temp3
= false ;
16551 PyObject
* obj0
= 0 ;
16552 PyObject
* obj1
= 0 ;
16553 PyObject
* obj2
= 0 ;
16554 char * kwnames
[] = {
16555 (char *) "self",(char *) "n",(char *) "label", NULL
16558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16560 if (!SWIG_IsOK(res1
)) {
16561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16563 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16564 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16565 if (!SWIG_IsOK(ecode2
)) {
16566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16568 arg2
= static_cast< int >(val2
);
16570 arg3
= wxString_in_helper(obj2
);
16571 if (arg3
== NULL
) SWIG_fail
;
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= SWIG_Py_Void();
16595 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(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 *) "enable", NULL
16613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",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_EnableItem" "', 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_EnableItem" "', 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_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16629 arg3
= static_cast< bool >(val3
);
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 (arg1
)->Enable(arg2
,arg3
);
16634 wxPyEndAllowThreads(__tstate
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16637 resultobj
= SWIG_Py_Void();
16644 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
= 0;
16646 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16647 unsigned int arg2
;
16648 bool arg3
= (bool) true ;
16651 unsigned int val2
;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 PyObject
* obj2
= 0 ;
16658 char * kwnames
[] = {
16659 (char *) "self",(char *) "n",(char *) "show", NULL
16662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16664 if (!SWIG_IsOK(res1
)) {
16665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16667 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16668 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16669 if (!SWIG_IsOK(ecode2
)) {
16670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16672 arg2
= static_cast< unsigned int >(val2
);
16674 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16675 if (!SWIG_IsOK(ecode3
)) {
16676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16678 arg3
= static_cast< bool >(val3
);
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 (arg1
)->Show(arg2
,arg3
);
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 resultobj
= SWIG_Py_Void();
16693 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16694 PyObject
*resultobj
= 0;
16695 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16696 unsigned int arg2
;
16700 unsigned int val2
;
16702 PyObject
* obj0
= 0 ;
16703 PyObject
* obj1
= 0 ;
16704 char * kwnames
[] = {
16705 (char *) "self",(char *) "n", NULL
16708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16710 if (!SWIG_IsOK(res1
)) {
16711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16713 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16714 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16715 if (!SWIG_IsOK(ecode2
)) {
16716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16718 arg2
= static_cast< unsigned int >(val2
);
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16734 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
= 0;
16736 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16737 unsigned int arg2
;
16741 unsigned int val2
;
16743 PyObject
* obj0
= 0 ;
16744 PyObject
* obj1
= 0 ;
16745 char * kwnames
[] = {
16746 (char *) "self",(char *) "n", NULL
16749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16751 if (!SWIG_IsOK(res1
)) {
16752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16754 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16755 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16756 if (!SWIG_IsOK(ecode2
)) {
16757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16759 arg2
= static_cast< unsigned int >(val2
);
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16775 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16776 PyObject
*resultobj
= 0;
16777 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16778 unsigned int result
;
16781 PyObject
*swig_obj
[1] ;
16783 if (!args
) SWIG_fail
;
16784 swig_obj
[0] = args
;
16785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16786 if (!SWIG_IsOK(res1
)) {
16787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16789 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16803 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16804 PyObject
*resultobj
= 0;
16805 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16806 unsigned int result
;
16809 PyObject
*swig_obj
[1] ;
16811 if (!args
) SWIG_fail
;
16812 swig_obj
[0] = args
;
16813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16814 if (!SWIG_IsOK(res1
)) {
16815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16817 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16831 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
= 0;
16833 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16846 PyObject
* obj0
= 0 ;
16847 PyObject
* obj1
= 0 ;
16848 PyObject
* obj2
= 0 ;
16849 PyObject
* obj3
= 0 ;
16850 char * kwnames
[] = {
16851 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16856 if (!SWIG_IsOK(res1
)) {
16857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16859 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16861 if (!SWIG_IsOK(ecode2
)) {
16862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16864 arg2
= static_cast< int >(val2
);
16865 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16866 if (!SWIG_IsOK(ecode3
)) {
16867 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16869 arg3
= static_cast< wxDirection
>(val3
);
16870 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16871 if (!SWIG_IsOK(ecode4
)) {
16872 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16874 arg4
= static_cast< long >(val4
);
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
16878 wxPyEndAllowThreads(__tstate
);
16879 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= SWIG_From_int(static_cast< int >(result
));
16888 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16889 PyObject
*resultobj
= 0;
16890 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16891 unsigned int arg2
;
16892 wxString
*arg3
= 0 ;
16895 unsigned int val2
;
16897 bool temp3
= false ;
16898 PyObject
* obj0
= 0 ;
16899 PyObject
* obj1
= 0 ;
16900 PyObject
* obj2
= 0 ;
16901 char * kwnames
[] = {
16902 (char *) "self",(char *) "item",(char *) "text", NULL
16905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16907 if (!SWIG_IsOK(res1
)) {
16908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16910 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16911 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16912 if (!SWIG_IsOK(ecode2
)) {
16913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16915 arg2
= static_cast< unsigned int >(val2
);
16917 arg3
= wxString_in_helper(obj2
);
16918 if (arg3
== NULL
) SWIG_fail
;
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= SWIG_Py_Void();
16942 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
= 0;
16944 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16945 unsigned int arg2
;
16946 wxToolTip
*result
= 0 ;
16949 unsigned int val2
;
16951 PyObject
* obj0
= 0 ;
16952 PyObject
* obj1
= 0 ;
16953 char * kwnames
[] = {
16954 (char *) "self",(char *) "item", NULL
16957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16959 if (!SWIG_IsOK(res1
)) {
16960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16962 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16963 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16964 if (!SWIG_IsOK(ecode2
)) {
16965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
16967 arg2
= static_cast< unsigned int >(val2
);
16969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16975 resultobj
= wxPyMake_wxObject(result
, (bool)0);
16983 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
= 0;
16985 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16986 SwigValueWrapper
<wxVisualAttributes
> result
;
16989 PyObject
* obj0
= 0 ;
16990 char * kwnames
[] = {
16991 (char *) "variant", NULL
16994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16996 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16997 if (!SWIG_IsOK(ecode1
)) {
16998 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17000 arg1
= static_cast< wxWindowVariant
>(val1
);
17003 if (!wxPyCheckForApp()) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17006 wxPyEndAllowThreads(__tstate
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17009 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17016 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17018 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17019 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17020 return SWIG_Py_Void();
17023 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17024 return SWIG_Python_InitShadowInstance(args
);
17027 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
= 0;
17029 wxWindow
*arg1
= (wxWindow
*) 0 ;
17030 int arg2
= (int) -1 ;
17031 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17032 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17033 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17034 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17035 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17036 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17037 long arg6
= (long) 0 ;
17038 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17039 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17040 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17041 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17042 wxRadioButton
*result
= 0 ;
17047 bool temp3
= false ;
17054 bool temp8
= false ;
17055 PyObject
* obj0
= 0 ;
17056 PyObject
* obj1
= 0 ;
17057 PyObject
* obj2
= 0 ;
17058 PyObject
* obj3
= 0 ;
17059 PyObject
* obj4
= 0 ;
17060 PyObject
* obj5
= 0 ;
17061 PyObject
* obj6
= 0 ;
17062 PyObject
* obj7
= 0 ;
17063 char * kwnames
[] = {
17064 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17069 if (!SWIG_IsOK(res1
)) {
17070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17072 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17075 if (!SWIG_IsOK(ecode2
)) {
17076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17078 arg2
= static_cast< int >(val2
);
17082 arg3
= wxString_in_helper(obj2
);
17083 if (arg3
== NULL
) SWIG_fail
;
17090 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17096 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17100 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17101 if (!SWIG_IsOK(ecode6
)) {
17102 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17104 arg6
= static_cast< long >(val6
);
17107 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17108 if (!SWIG_IsOK(res7
)) {
17109 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17114 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17118 arg8
= wxString_in_helper(obj7
);
17119 if (arg8
== NULL
) SWIG_fail
;
17124 if (!wxPyCheckForApp()) SWIG_fail
;
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17130 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17153 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17154 PyObject
*resultobj
= 0;
17155 wxRadioButton
*result
= 0 ;
17157 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17159 if (!wxPyCheckForApp()) SWIG_fail
;
17160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17161 result
= (wxRadioButton
*)new wxRadioButton();
17162 wxPyEndAllowThreads(__tstate
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17172 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17173 PyObject
*resultobj
= 0;
17174 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17175 wxWindow
*arg2
= (wxWindow
*) 0 ;
17176 int arg3
= (int) -1 ;
17177 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17178 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17179 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17180 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17181 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17182 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17183 long arg7
= (long) 0 ;
17184 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17185 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17186 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17187 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17195 bool temp4
= false ;
17202 bool temp9
= false ;
17203 PyObject
* obj0
= 0 ;
17204 PyObject
* obj1
= 0 ;
17205 PyObject
* obj2
= 0 ;
17206 PyObject
* obj3
= 0 ;
17207 PyObject
* obj4
= 0 ;
17208 PyObject
* obj5
= 0 ;
17209 PyObject
* obj6
= 0 ;
17210 PyObject
* obj7
= 0 ;
17211 PyObject
* obj8
= 0 ;
17212 char * kwnames
[] = {
17213 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17218 if (!SWIG_IsOK(res1
)) {
17219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17221 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17222 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17223 if (!SWIG_IsOK(res2
)) {
17224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17226 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17229 if (!SWIG_IsOK(ecode3
)) {
17230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17232 arg3
= static_cast< int >(val3
);
17236 arg4
= wxString_in_helper(obj3
);
17237 if (arg4
== NULL
) SWIG_fail
;
17244 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17250 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17254 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17255 if (!SWIG_IsOK(ecode7
)) {
17256 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17258 arg7
= static_cast< long >(val7
);
17261 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17262 if (!SWIG_IsOK(res8
)) {
17263 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17268 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17272 arg9
= wxString_in_helper(obj8
);
17273 if (arg9
== NULL
) SWIG_fail
;
17278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17279 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17280 wxPyEndAllowThreads(__tstate
);
17281 if (PyErr_Occurred()) SWIG_fail
;
17284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17308 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17309 PyObject
*resultobj
= 0;
17310 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17314 PyObject
*swig_obj
[1] ;
17316 if (!args
) SWIG_fail
;
17317 swig_obj
[0] = args
;
17318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17319 if (!SWIG_IsOK(res1
)) {
17320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17322 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= (bool)(arg1
)->GetValue();
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17338 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
= 0;
17340 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17346 PyObject
* obj0
= 0 ;
17347 PyObject
* obj1
= 0 ;
17348 char * kwnames
[] = {
17349 (char *) "self",(char *) "value", NULL
17352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17354 if (!SWIG_IsOK(res1
)) {
17355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17357 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17358 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17359 if (!SWIG_IsOK(ecode2
)) {
17360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17362 arg2
= static_cast< bool >(val2
);
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 (arg1
)->SetValue(arg2
);
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= SWIG_Py_Void();
17376 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
= 0;
17378 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17379 SwigValueWrapper
<wxVisualAttributes
> result
;
17382 PyObject
* obj0
= 0 ;
17383 char * kwnames
[] = {
17384 (char *) "variant", NULL
17387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17389 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17390 if (!SWIG_IsOK(ecode1
)) {
17391 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17393 arg1
= static_cast< wxWindowVariant
>(val1
);
17396 if (!wxPyCheckForApp()) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17409 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17412 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17413 return SWIG_Py_Void();
17416 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17417 return SWIG_Python_InitShadowInstance(args
);
17420 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17421 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17426 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17427 PyObject
*pyobj
= 0;
17431 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17433 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17440 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17441 PyObject
*resultobj
= 0;
17442 wxWindow
*arg1
= (wxWindow
*) 0 ;
17443 int arg2
= (int) -1 ;
17444 int arg3
= (int) 0 ;
17445 int arg4
= (int) 0 ;
17446 int arg5
= (int) 100 ;
17447 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17448 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17449 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17450 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17451 long arg8
= (long) wxSL_HORIZONTAL
;
17452 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17453 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17454 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17455 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17456 wxSlider
*result
= 0 ;
17473 bool temp10
= false ;
17474 PyObject
* obj0
= 0 ;
17475 PyObject
* obj1
= 0 ;
17476 PyObject
* obj2
= 0 ;
17477 PyObject
* obj3
= 0 ;
17478 PyObject
* obj4
= 0 ;
17479 PyObject
* obj5
= 0 ;
17480 PyObject
* obj6
= 0 ;
17481 PyObject
* obj7
= 0 ;
17482 PyObject
* obj8
= 0 ;
17483 PyObject
* obj9
= 0 ;
17484 char * kwnames
[] = {
17485 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17490 if (!SWIG_IsOK(res1
)) {
17491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17493 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17496 if (!SWIG_IsOK(ecode2
)) {
17497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17499 arg2
= static_cast< int >(val2
);
17502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17503 if (!SWIG_IsOK(ecode3
)) {
17504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17506 arg3
= static_cast< int >(val3
);
17509 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17510 if (!SWIG_IsOK(ecode4
)) {
17511 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17513 arg4
= static_cast< int >(val4
);
17516 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17517 if (!SWIG_IsOK(ecode5
)) {
17518 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17520 arg5
= static_cast< int >(val5
);
17525 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17531 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17535 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17536 if (!SWIG_IsOK(ecode8
)) {
17537 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17539 arg8
= static_cast< long >(val8
);
17542 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17543 if (!SWIG_IsOK(res9
)) {
17544 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17547 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17549 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17553 arg10
= wxString_in_helper(obj9
);
17554 if (arg10
== NULL
) SWIG_fail
;
17559 if (!wxPyCheckForApp()) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17580 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17581 PyObject
*resultobj
= 0;
17582 wxSlider
*result
= 0 ;
17584 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17586 if (!wxPyCheckForApp()) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= (wxSlider
*)new wxSlider();
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17599 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
= 0;
17601 wxSlider
*arg1
= (wxSlider
*) 0 ;
17602 wxWindow
*arg2
= (wxWindow
*) 0 ;
17603 int arg3
= (int) -1 ;
17604 int arg4
= (int) 0 ;
17605 int arg5
= (int) 0 ;
17606 int arg6
= (int) 100 ;
17607 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17608 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17609 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17610 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17611 long arg9
= (long) wxSL_HORIZONTAL
;
17612 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17613 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17614 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17615 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17635 bool temp11
= false ;
17636 PyObject
* obj0
= 0 ;
17637 PyObject
* obj1
= 0 ;
17638 PyObject
* obj2
= 0 ;
17639 PyObject
* obj3
= 0 ;
17640 PyObject
* obj4
= 0 ;
17641 PyObject
* obj5
= 0 ;
17642 PyObject
* obj6
= 0 ;
17643 PyObject
* obj7
= 0 ;
17644 PyObject
* obj8
= 0 ;
17645 PyObject
* obj9
= 0 ;
17646 PyObject
* obj10
= 0 ;
17647 char * kwnames
[] = {
17648 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17653 if (!SWIG_IsOK(res1
)) {
17654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17656 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17657 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17658 if (!SWIG_IsOK(res2
)) {
17659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17661 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17663 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17664 if (!SWIG_IsOK(ecode3
)) {
17665 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17667 arg3
= static_cast< int >(val3
);
17670 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17671 if (!SWIG_IsOK(ecode4
)) {
17672 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17674 arg4
= static_cast< int >(val4
);
17677 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17678 if (!SWIG_IsOK(ecode5
)) {
17679 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17681 arg5
= static_cast< int >(val5
);
17684 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17685 if (!SWIG_IsOK(ecode6
)) {
17686 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17688 arg6
= static_cast< int >(val6
);
17693 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17699 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17703 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17704 if (!SWIG_IsOK(ecode9
)) {
17705 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17707 arg9
= static_cast< long >(val9
);
17710 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17711 if (!SWIG_IsOK(res10
)) {
17712 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17717 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17721 arg11
= wxString_in_helper(obj10
);
17722 if (arg11
== NULL
) SWIG_fail
;
17727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17728 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17749 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17750 PyObject
*resultobj
= 0;
17751 wxSlider
*arg1
= (wxSlider
*) 0 ;
17755 PyObject
*swig_obj
[1] ;
17757 if (!args
) SWIG_fail
;
17758 swig_obj
[0] = args
;
17759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17760 if (!SWIG_IsOK(res1
)) {
17761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17763 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= SWIG_From_int(static_cast< int >(result
));
17777 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
= 0;
17779 wxSlider
*arg1
= (wxSlider
*) 0 ;
17785 PyObject
* obj0
= 0 ;
17786 PyObject
* obj1
= 0 ;
17787 char * kwnames
[] = {
17788 (char *) "self",(char *) "value", NULL
17791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17793 if (!SWIG_IsOK(res1
)) {
17794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
17796 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17798 if (!SWIG_IsOK(ecode2
)) {
17799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
17801 arg2
= static_cast< int >(val2
);
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 (arg1
)->SetValue(arg2
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= SWIG_Py_Void();
17815 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
= 0;
17817 wxSlider
*arg1
= (wxSlider
*) 0 ;
17826 PyObject
* obj0
= 0 ;
17827 PyObject
* obj1
= 0 ;
17828 PyObject
* obj2
= 0 ;
17829 char * kwnames
[] = {
17830 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
17833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17835 if (!SWIG_IsOK(res1
)) {
17836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
17838 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17840 if (!SWIG_IsOK(ecode2
)) {
17841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
17843 arg2
= static_cast< int >(val2
);
17844 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17845 if (!SWIG_IsOK(ecode3
)) {
17846 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
17848 arg3
= static_cast< int >(val3
);
17850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17851 (arg1
)->SetRange(arg2
,arg3
);
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 resultobj
= SWIG_Py_Void();
17862 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17863 PyObject
*resultobj
= 0;
17864 wxSlider
*arg1
= (wxSlider
*) 0 ;
17868 PyObject
*swig_obj
[1] ;
17870 if (!args
) SWIG_fail
;
17871 swig_obj
[0] = args
;
17872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17873 if (!SWIG_IsOK(res1
)) {
17874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
17876 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= (int)((wxSlider
const *)arg1
)->GetMin();
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 resultobj
= SWIG_From_int(static_cast< int >(result
));
17890 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17891 PyObject
*resultobj
= 0;
17892 wxSlider
*arg1
= (wxSlider
*) 0 ;
17896 PyObject
*swig_obj
[1] ;
17898 if (!args
) SWIG_fail
;
17899 swig_obj
[0] = args
;
17900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17901 if (!SWIG_IsOK(res1
)) {
17902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
17904 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17907 result
= (int)((wxSlider
const *)arg1
)->GetMax();
17908 wxPyEndAllowThreads(__tstate
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 resultobj
= SWIG_From_int(static_cast< int >(result
));
17918 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
= 0;
17920 wxSlider
*arg1
= (wxSlider
*) 0 ;
17926 PyObject
* obj0
= 0 ;
17927 PyObject
* obj1
= 0 ;
17928 char * kwnames
[] = {
17929 (char *) "self",(char *) "minValue", NULL
17932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17934 if (!SWIG_IsOK(res1
)) {
17935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
17937 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17939 if (!SWIG_IsOK(ecode2
)) {
17940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
17942 arg2
= static_cast< int >(val2
);
17944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17945 (arg1
)->SetMin(arg2
);
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 resultobj
= SWIG_Py_Void();
17956 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
= 0;
17958 wxSlider
*arg1
= (wxSlider
*) 0 ;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 char * kwnames
[] = {
17967 (char *) "self",(char *) "maxValue", NULL
17970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17972 if (!SWIG_IsOK(res1
)) {
17973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
17975 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17976 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17977 if (!SWIG_IsOK(ecode2
)) {
17978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
17980 arg2
= static_cast< int >(val2
);
17982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 (arg1
)->SetMax(arg2
);
17984 wxPyEndAllowThreads(__tstate
);
17985 if (PyErr_Occurred()) SWIG_fail
;
17987 resultobj
= SWIG_Py_Void();
17994 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
= 0;
17996 wxSlider
*arg1
= (wxSlider
*) 0 ;
18002 PyObject
* obj0
= 0 ;
18003 PyObject
* obj1
= 0 ;
18004 char * kwnames
[] = {
18005 (char *) "self",(char *) "lineSize", NULL
18008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18010 if (!SWIG_IsOK(res1
)) {
18011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18013 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18014 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18015 if (!SWIG_IsOK(ecode2
)) {
18016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18018 arg2
= static_cast< int >(val2
);
18020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 (arg1
)->SetLineSize(arg2
);
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= SWIG_Py_Void();
18032 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
= 0;
18034 wxSlider
*arg1
= (wxSlider
*) 0 ;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18042 char * kwnames
[] = {
18043 (char *) "self",(char *) "pageSize", NULL
18046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18048 if (!SWIG_IsOK(res1
)) {
18049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18051 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18053 if (!SWIG_IsOK(ecode2
)) {
18054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18056 arg2
= static_cast< int >(val2
);
18058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18059 (arg1
)->SetPageSize(arg2
);
18060 wxPyEndAllowThreads(__tstate
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 resultobj
= SWIG_Py_Void();
18070 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18071 PyObject
*resultobj
= 0;
18072 wxSlider
*arg1
= (wxSlider
*) 0 ;
18076 PyObject
*swig_obj
[1] ;
18078 if (!args
) SWIG_fail
;
18079 swig_obj
[0] = args
;
18080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18081 if (!SWIG_IsOK(res1
)) {
18082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18084 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18091 resultobj
= SWIG_From_int(static_cast< int >(result
));
18098 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18099 PyObject
*resultobj
= 0;
18100 wxSlider
*arg1
= (wxSlider
*) 0 ;
18104 PyObject
*swig_obj
[1] ;
18106 if (!args
) SWIG_fail
;
18107 swig_obj
[0] = args
;
18108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18109 if (!SWIG_IsOK(res1
)) {
18110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18112 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18116 wxPyEndAllowThreads(__tstate
);
18117 if (PyErr_Occurred()) SWIG_fail
;
18119 resultobj
= SWIG_From_int(static_cast< int >(result
));
18126 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18127 PyObject
*resultobj
= 0;
18128 wxSlider
*arg1
= (wxSlider
*) 0 ;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj1
= 0 ;
18136 char * kwnames
[] = {
18137 (char *) "self",(char *) "lenPixels", NULL
18140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18142 if (!SWIG_IsOK(res1
)) {
18143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18145 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18147 if (!SWIG_IsOK(ecode2
)) {
18148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18150 arg2
= static_cast< int >(val2
);
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 (arg1
)->SetThumbLength(arg2
);
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= SWIG_Py_Void();
18164 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18165 PyObject
*resultobj
= 0;
18166 wxSlider
*arg1
= (wxSlider
*) 0 ;
18170 PyObject
*swig_obj
[1] ;
18172 if (!args
) SWIG_fail
;
18173 swig_obj
[0] = args
;
18174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18175 if (!SWIG_IsOK(res1
)) {
18176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18178 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18181 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18182 wxPyEndAllowThreads(__tstate
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 resultobj
= SWIG_From_int(static_cast< int >(result
));
18192 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18193 PyObject
*resultobj
= 0;
18194 wxSlider
*arg1
= (wxSlider
*) 0 ;
18196 int arg3
= (int) 1 ;
18203 PyObject
* obj0
= 0 ;
18204 PyObject
* obj1
= 0 ;
18205 PyObject
* obj2
= 0 ;
18206 char * kwnames
[] = {
18207 (char *) "self",(char *) "n",(char *) "pos", NULL
18210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18212 if (!SWIG_IsOK(res1
)) {
18213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18215 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18217 if (!SWIG_IsOK(ecode2
)) {
18218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18220 arg2
= static_cast< int >(val2
);
18222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18223 if (!SWIG_IsOK(ecode3
)) {
18224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18226 arg3
= static_cast< int >(val3
);
18229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18230 (arg1
)->SetTickFreq(arg2
,arg3
);
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= SWIG_Py_Void();
18241 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18242 PyObject
*resultobj
= 0;
18243 wxSlider
*arg1
= (wxSlider
*) 0 ;
18247 PyObject
*swig_obj
[1] ;
18249 if (!args
) SWIG_fail
;
18250 swig_obj
[0] = args
;
18251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18252 if (!SWIG_IsOK(res1
)) {
18253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18255 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18259 wxPyEndAllowThreads(__tstate
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 resultobj
= SWIG_From_int(static_cast< int >(result
));
18269 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18270 PyObject
*resultobj
= 0;
18271 wxSlider
*arg1
= (wxSlider
*) 0 ;
18274 PyObject
*swig_obj
[1] ;
18276 if (!args
) SWIG_fail
;
18277 swig_obj
[0] = args
;
18278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18279 if (!SWIG_IsOK(res1
)) {
18280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18282 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18285 (arg1
)->ClearTicks();
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 resultobj
= SWIG_Py_Void();
18296 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
= 0;
18298 wxSlider
*arg1
= (wxSlider
*) 0 ;
18304 PyObject
* obj0
= 0 ;
18305 PyObject
* obj1
= 0 ;
18306 char * kwnames
[] = {
18307 (char *) "self",(char *) "tickPos", NULL
18310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18312 if (!SWIG_IsOK(res1
)) {
18313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18315 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18317 if (!SWIG_IsOK(ecode2
)) {
18318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18320 arg2
= static_cast< int >(val2
);
18322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18323 (arg1
)->SetTick(arg2
);
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 resultobj
= SWIG_Py_Void();
18334 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18335 PyObject
*resultobj
= 0;
18336 wxSlider
*arg1
= (wxSlider
*) 0 ;
18339 PyObject
*swig_obj
[1] ;
18341 if (!args
) SWIG_fail
;
18342 swig_obj
[0] = args
;
18343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18344 if (!SWIG_IsOK(res1
)) {
18345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18347 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 (arg1
)->ClearSel();
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_Py_Void();
18361 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18362 PyObject
*resultobj
= 0;
18363 wxSlider
*arg1
= (wxSlider
*) 0 ;
18367 PyObject
*swig_obj
[1] ;
18369 if (!args
) SWIG_fail
;
18370 swig_obj
[0] = args
;
18371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18372 if (!SWIG_IsOK(res1
)) {
18373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18375 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= SWIG_From_int(static_cast< int >(result
));
18389 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18390 PyObject
*resultobj
= 0;
18391 wxSlider
*arg1
= (wxSlider
*) 0 ;
18395 PyObject
*swig_obj
[1] ;
18397 if (!args
) SWIG_fail
;
18398 swig_obj
[0] = args
;
18399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18400 if (!SWIG_IsOK(res1
)) {
18401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18403 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= SWIG_From_int(static_cast< int >(result
));
18417 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
= 0;
18419 wxSlider
*arg1
= (wxSlider
*) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 PyObject
* obj2
= 0 ;
18431 char * kwnames
[] = {
18432 (char *) "self",(char *) "min",(char *) "max", NULL
18435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18437 if (!SWIG_IsOK(res1
)) {
18438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18440 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18442 if (!SWIG_IsOK(ecode2
)) {
18443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18445 arg2
= static_cast< int >(val2
);
18446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18447 if (!SWIG_IsOK(ecode3
)) {
18448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18450 arg3
= static_cast< int >(val3
);
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 (arg1
)->SetSelection(arg2
,arg3
);
18454 wxPyEndAllowThreads(__tstate
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18457 resultobj
= SWIG_Py_Void();
18464 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
= 0;
18466 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18467 SwigValueWrapper
<wxVisualAttributes
> result
;
18470 PyObject
* obj0
= 0 ;
18471 char * kwnames
[] = {
18472 (char *) "variant", NULL
18475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18477 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18478 if (!SWIG_IsOK(ecode1
)) {
18479 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18481 arg1
= static_cast< wxWindowVariant
>(val1
);
18484 if (!wxPyCheckForApp()) SWIG_fail
;
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18497 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18499 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18500 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18501 return SWIG_Py_Void();
18504 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18505 return SWIG_Python_InitShadowInstance(args
);
18508 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18509 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18514 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18515 PyObject
*pyobj
= 0;
18519 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18521 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18528 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
= 0;
18530 wxWindow
*arg1
= (wxWindow
*) 0 ;
18531 int arg2
= (int) -1 ;
18532 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18533 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18534 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18535 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18536 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18537 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18538 long arg6
= (long) 0 ;
18539 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18540 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18541 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18542 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18543 wxToggleButton
*result
= 0 ;
18548 bool temp3
= false ;
18555 bool temp8
= false ;
18556 PyObject
* obj0
= 0 ;
18557 PyObject
* obj1
= 0 ;
18558 PyObject
* obj2
= 0 ;
18559 PyObject
* obj3
= 0 ;
18560 PyObject
* obj4
= 0 ;
18561 PyObject
* obj5
= 0 ;
18562 PyObject
* obj6
= 0 ;
18563 PyObject
* obj7
= 0 ;
18564 char * kwnames
[] = {
18565 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18570 if (!SWIG_IsOK(res1
)) {
18571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18573 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18576 if (!SWIG_IsOK(ecode2
)) {
18577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18579 arg2
= static_cast< int >(val2
);
18583 arg3
= wxString_in_helper(obj2
);
18584 if (arg3
== NULL
) SWIG_fail
;
18591 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18597 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18601 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18602 if (!SWIG_IsOK(ecode6
)) {
18603 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18605 arg6
= static_cast< long >(val6
);
18608 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18609 if (!SWIG_IsOK(res7
)) {
18610 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18613 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18615 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18619 arg8
= wxString_in_helper(obj7
);
18620 if (arg8
== NULL
) SWIG_fail
;
18625 if (!wxPyCheckForApp()) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18654 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18655 PyObject
*resultobj
= 0;
18656 wxToggleButton
*result
= 0 ;
18658 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18660 if (!wxPyCheckForApp()) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 result
= (wxToggleButton
*)new wxToggleButton();
18663 wxPyEndAllowThreads(__tstate
);
18664 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18673 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18674 PyObject
*resultobj
= 0;
18675 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18676 wxWindow
*arg2
= (wxWindow
*) 0 ;
18677 int arg3
= (int) -1 ;
18678 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18679 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18680 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18681 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18682 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18683 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18684 long arg7
= (long) 0 ;
18685 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18686 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18687 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18688 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18696 bool temp4
= false ;
18703 bool temp9
= false ;
18704 PyObject
* obj0
= 0 ;
18705 PyObject
* obj1
= 0 ;
18706 PyObject
* obj2
= 0 ;
18707 PyObject
* obj3
= 0 ;
18708 PyObject
* obj4
= 0 ;
18709 PyObject
* obj5
= 0 ;
18710 PyObject
* obj6
= 0 ;
18711 PyObject
* obj7
= 0 ;
18712 PyObject
* obj8
= 0 ;
18713 char * kwnames
[] = {
18714 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18719 if (!SWIG_IsOK(res1
)) {
18720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18722 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18723 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18724 if (!SWIG_IsOK(res2
)) {
18725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18727 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18729 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18730 if (!SWIG_IsOK(ecode3
)) {
18731 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18733 arg3
= static_cast< int >(val3
);
18737 arg4
= wxString_in_helper(obj3
);
18738 if (arg4
== NULL
) SWIG_fail
;
18745 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18751 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18755 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18756 if (!SWIG_IsOK(ecode7
)) {
18757 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18759 arg7
= static_cast< long >(val7
);
18762 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18763 if (!SWIG_IsOK(res8
)) {
18764 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18769 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18773 arg9
= wxString_in_helper(obj8
);
18774 if (arg9
== NULL
) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18809 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18810 PyObject
*resultobj
= 0;
18811 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18817 PyObject
* obj0
= 0 ;
18818 PyObject
* obj1
= 0 ;
18819 char * kwnames
[] = {
18820 (char *) "self",(char *) "value", NULL
18823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18825 if (!SWIG_IsOK(res1
)) {
18826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18828 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18829 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18830 if (!SWIG_IsOK(ecode2
)) {
18831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
18833 arg2
= static_cast< bool >(val2
);
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 (arg1
)->SetValue(arg2
);
18837 wxPyEndAllowThreads(__tstate
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= SWIG_Py_Void();
18847 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18848 PyObject
*resultobj
= 0;
18849 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18853 PyObject
*swig_obj
[1] ;
18855 if (!args
) SWIG_fail
;
18856 swig_obj
[0] = args
;
18857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18858 if (!SWIG_IsOK(res1
)) {
18859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
18861 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18864 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18877 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18878 PyObject
*resultobj
= 0;
18879 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18880 SwigValueWrapper
<wxVisualAttributes
> result
;
18883 PyObject
* obj0
= 0 ;
18884 char * kwnames
[] = {
18885 (char *) "variant", NULL
18888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18890 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18891 if (!SWIG_IsOK(ecode1
)) {
18892 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18894 arg1
= static_cast< wxWindowVariant
>(val1
);
18897 if (!wxPyCheckForApp()) SWIG_fail
;
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18903 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18910 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18912 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18913 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
18914 return SWIG_Py_Void();
18917 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18918 return SWIG_Python_InitShadowInstance(args
);
18921 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
18922 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
18927 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
18928 PyObject
*pyobj
= 0;
18932 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18934 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
18941 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18942 PyObject
*resultobj
= 0;
18943 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18947 PyObject
*swig_obj
[1] ;
18949 if (!args
) SWIG_fail
;
18950 swig_obj
[0] = args
;
18951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18952 if (!SWIG_IsOK(res1
)) {
18953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
18955 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18958 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18962 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
18969 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
= 0;
18971 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
18973 wxWindow
*result
= 0 ;
18978 PyObject
* obj0
= 0 ;
18979 PyObject
* obj1
= 0 ;
18980 char * kwnames
[] = {
18981 (char *) "self",(char *) "n", NULL
18984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
18986 if (!SWIG_IsOK(res1
)) {
18987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
18989 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
18990 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
18991 if (!SWIG_IsOK(ecode2
)) {
18992 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
18994 arg2
= static_cast< size_t >(val2
);
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= wxPyMake_wxObject(result
, 0);
19010 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19011 PyObject
*resultobj
= 0;
19012 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19013 wxWindow
*result
= 0 ;
19016 PyObject
*swig_obj
[1] ;
19018 if (!args
) SWIG_fail
;
19019 swig_obj
[0] = args
;
19020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19021 if (!SWIG_IsOK(res1
)) {
19022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19024 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19027 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= wxPyMake_wxObject(result
, 0);
19040 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19041 PyObject
*resultobj
= 0;
19042 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19046 PyObject
*swig_obj
[1] ;
19048 if (!args
) SWIG_fail
;
19049 swig_obj
[0] = args
;
19050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19051 if (!SWIG_IsOK(res1
)) {
19052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19054 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= SWIG_From_int(static_cast< int >(result
));
19068 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
= 0;
19070 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19072 wxString
*arg3
= 0 ;
19078 bool temp3
= false ;
19079 PyObject
* obj0
= 0 ;
19080 PyObject
* obj1
= 0 ;
19081 PyObject
* obj2
= 0 ;
19082 char * kwnames
[] = {
19083 (char *) "self",(char *) "n",(char *) "strText", NULL
19086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19088 if (!SWIG_IsOK(res1
)) {
19089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19091 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19092 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19093 if (!SWIG_IsOK(ecode2
)) {
19094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19096 arg2
= static_cast< size_t >(val2
);
19098 arg3
= wxString_in_helper(obj2
);
19099 if (arg3
== NULL
) SWIG_fail
;
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19125 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
= 0;
19127 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19134 PyObject
* obj0
= 0 ;
19135 PyObject
* obj1
= 0 ;
19136 char * kwnames
[] = {
19137 (char *) "self",(char *) "n", NULL
19140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19142 if (!SWIG_IsOK(res1
)) {
19143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19145 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19146 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19147 if (!SWIG_IsOK(ecode2
)) {
19148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19150 arg2
= static_cast< size_t >(val2
);
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19170 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
= 0;
19172 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19173 wxImageList
*arg2
= (wxImageList
*) 0 ;
19178 PyObject
* obj0
= 0 ;
19179 PyObject
* obj1
= 0 ;
19180 char * kwnames
[] = {
19181 (char *) "self",(char *) "imageList", NULL
19184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19186 if (!SWIG_IsOK(res1
)) {
19187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19189 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19190 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19191 if (!SWIG_IsOK(res2
)) {
19192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19194 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 (arg1
)->SetImageList(arg2
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 resultobj
= SWIG_Py_Void();
19208 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
= 0;
19210 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19211 wxImageList
*arg2
= (wxImageList
*) 0 ;
19215 PyObject
* obj0
= 0 ;
19216 PyObject
* obj1
= 0 ;
19217 char * kwnames
[] = {
19218 (char *) "self",(char *) "imageList", NULL
19221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19223 if (!SWIG_IsOK(res1
)) {
19224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19226 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19227 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19228 if (!SWIG_IsOK(res2
)) {
19229 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19233 (arg1
)->AssignImageList(arg2
);
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 resultobj
= SWIG_Py_Void();
19244 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19245 PyObject
*resultobj
= 0;
19246 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19247 wxImageList
*result
= 0 ;
19250 PyObject
*swig_obj
[1] ;
19252 if (!args
) SWIG_fail
;
19253 swig_obj
[0] = args
;
19254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19255 if (!SWIG_IsOK(res1
)) {
19256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19258 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19274 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
= 0;
19276 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19283 PyObject
* obj0
= 0 ;
19284 PyObject
* obj1
= 0 ;
19285 char * kwnames
[] = {
19286 (char *) "self",(char *) "n", NULL
19289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19291 if (!SWIG_IsOK(res1
)) {
19292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19294 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19295 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19296 if (!SWIG_IsOK(ecode2
)) {
19297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19299 arg2
= static_cast< size_t >(val2
);
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19306 resultobj
= SWIG_From_int(static_cast< int >(result
));
19313 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
= 0;
19315 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 PyObject
* obj2
= 0 ;
19328 char * kwnames
[] = {
19329 (char *) "self",(char *) "n",(char *) "imageId", NULL
19332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19334 if (!SWIG_IsOK(res1
)) {
19335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19337 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19338 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19339 if (!SWIG_IsOK(ecode2
)) {
19340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19342 arg2
= static_cast< size_t >(val2
);
19343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19344 if (!SWIG_IsOK(ecode3
)) {
19345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19347 arg3
= static_cast< int >(val3
);
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19363 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
= 0;
19365 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19370 PyObject
* obj0
= 0 ;
19371 PyObject
* obj1
= 0 ;
19372 char * kwnames
[] = {
19373 (char *) "self",(char *) "size", NULL
19376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19378 if (!SWIG_IsOK(res1
)) {
19379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19381 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19384 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19388 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 resultobj
= SWIG_Py_Void();
19399 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19400 PyObject
*resultobj
= 0;
19401 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19407 PyObject
* obj0
= 0 ;
19408 PyObject
* obj1
= 0 ;
19409 char * kwnames
[] = {
19410 (char *) "self",(char *) "sizePage", NULL
19413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19415 if (!SWIG_IsOK(res1
)) {
19416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19418 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19421 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19436 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19437 PyObject
*resultobj
= 0;
19438 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19439 unsigned int result
;
19442 PyObject
*swig_obj
[1] ;
19444 if (!args
) SWIG_fail
;
19445 swig_obj
[0] = args
;
19446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19447 if (!SWIG_IsOK(res1
)) {
19448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19450 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19454 wxPyEndAllowThreads(__tstate
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19457 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19464 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19465 PyObject
*resultobj
= 0;
19466 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19467 unsigned int arg2
;
19470 unsigned int val2
;
19472 PyObject
* obj0
= 0 ;
19473 PyObject
* obj1
= 0 ;
19474 char * kwnames
[] = {
19475 (char *) "self",(char *) "internalBorder", NULL
19478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19480 if (!SWIG_IsOK(res1
)) {
19481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19483 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19484 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19485 if (!SWIG_IsOK(ecode2
)) {
19486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19488 arg2
= static_cast< unsigned int >(val2
);
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 (arg1
)->SetInternalBorder(arg2
);
19492 wxPyEndAllowThreads(__tstate
);
19493 if (PyErr_Occurred()) SWIG_fail
;
19495 resultobj
= SWIG_Py_Void();
19502 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19503 PyObject
*resultobj
= 0;
19504 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19508 PyObject
*swig_obj
[1] ;
19510 if (!args
) SWIG_fail
;
19511 swig_obj
[0] = args
;
19512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19513 if (!SWIG_IsOK(res1
)) {
19514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19516 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19532 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
= 0;
19534 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 char * kwnames
[] = {
19543 (char *) "self",(char *) "margin", NULL
19546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19548 if (!SWIG_IsOK(res1
)) {
19549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19551 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19553 if (!SWIG_IsOK(ecode2
)) {
19554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19556 arg2
= static_cast< int >(val2
);
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 (arg1
)->SetControlMargin(arg2
);
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19563 resultobj
= SWIG_Py_Void();
19570 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19571 PyObject
*resultobj
= 0;
19572 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19576 PyObject
*swig_obj
[1] ;
19578 if (!args
) SWIG_fail
;
19579 swig_obj
[0] = args
;
19580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19581 if (!SWIG_IsOK(res1
)) {
19582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19584 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 resultobj
= SWIG_From_int(static_cast< int >(result
));
19598 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
= 0;
19600 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19606 PyObject
* obj0
= 0 ;
19607 PyObject
* obj1
= 0 ;
19608 char * kwnames
[] = {
19609 (char *) "self",(char *) "fit", NULL
19612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19614 if (!SWIG_IsOK(res1
)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19617 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19618 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19619 if (!SWIG_IsOK(ecode2
)) {
19620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19622 arg2
= static_cast< bool >(val2
);
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 (arg1
)->SetFitToCurrentPage(arg2
);
19626 wxPyEndAllowThreads(__tstate
);
19627 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= SWIG_Py_Void();
19636 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19637 PyObject
*resultobj
= 0;
19638 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19642 PyObject
*swig_obj
[1] ;
19644 if (!args
) SWIG_fail
;
19645 swig_obj
[0] = args
;
19646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19647 if (!SWIG_IsOK(res1
)) {
19648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19650 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19654 wxPyEndAllowThreads(__tstate
);
19655 if (PyErr_Occurred()) SWIG_fail
;
19658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19666 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19667 PyObject
*resultobj
= 0;
19668 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19669 wxSizer
*result
= 0 ;
19672 PyObject
*swig_obj
[1] ;
19674 if (!args
) SWIG_fail
;
19675 swig_obj
[0] = args
;
19676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19677 if (!SWIG_IsOK(res1
)) {
19678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19680 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19688 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19696 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19697 PyObject
*resultobj
= 0;
19698 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 PyObject
* obj1
= 0 ;
19707 char * kwnames
[] = {
19708 (char *) "self",(char *) "n", NULL
19711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19713 if (!SWIG_IsOK(res1
)) {
19714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19716 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19717 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19718 if (!SWIG_IsOK(ecode2
)) {
19719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19721 arg2
= static_cast< size_t >(val2
);
19723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19724 result
= (bool)(arg1
)->DeletePage(arg2
);
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19737 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
= 0;
19739 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19746 PyObject
* obj0
= 0 ;
19747 PyObject
* obj1
= 0 ;
19748 char * kwnames
[] = {
19749 (char *) "self",(char *) "n", NULL
19752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19754 if (!SWIG_IsOK(res1
)) {
19755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19757 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19758 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19759 if (!SWIG_IsOK(ecode2
)) {
19760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19762 arg2
= static_cast< size_t >(val2
);
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (bool)(arg1
)->RemovePage(arg2
);
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19778 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19779 PyObject
*resultobj
= 0;
19780 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19784 PyObject
*swig_obj
[1] ;
19786 if (!args
) SWIG_fail
;
19787 swig_obj
[0] = args
;
19788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19789 if (!SWIG_IsOK(res1
)) {
19790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19792 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (bool)(arg1
)->DeleteAllPages();
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19808 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
= 0;
19810 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19811 wxWindow
*arg2
= (wxWindow
*) 0 ;
19812 wxString
*arg3
= 0 ;
19813 bool arg4
= (bool) false ;
19814 int arg5
= (int) -1 ;
19820 bool temp3
= false ;
19825 PyObject
* obj0
= 0 ;
19826 PyObject
* obj1
= 0 ;
19827 PyObject
* obj2
= 0 ;
19828 PyObject
* obj3
= 0 ;
19829 PyObject
* obj4
= 0 ;
19830 char * kwnames
[] = {
19831 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19836 if (!SWIG_IsOK(res1
)) {
19837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19839 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19840 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19841 if (!SWIG_IsOK(res2
)) {
19842 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
19844 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19846 arg3
= wxString_in_helper(obj2
);
19847 if (arg3
== NULL
) SWIG_fail
;
19851 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
19852 if (!SWIG_IsOK(ecode4
)) {
19853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
19855 arg4
= static_cast< bool >(val4
);
19858 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19859 if (!SWIG_IsOK(ecode5
)) {
19860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
19862 arg5
= static_cast< int >(val5
);
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19887 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
= 0;
19889 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19891 wxWindow
*arg3
= (wxWindow
*) 0 ;
19892 wxString
*arg4
= 0 ;
19893 bool arg5
= (bool) false ;
19894 int arg6
= (int) -1 ;
19902 bool temp4
= false ;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 PyObject
* obj2
= 0 ;
19910 PyObject
* obj3
= 0 ;
19911 PyObject
* obj4
= 0 ;
19912 PyObject
* obj5
= 0 ;
19913 char * kwnames
[] = {
19914 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
19917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
19918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19919 if (!SWIG_IsOK(res1
)) {
19920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19922 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19923 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19924 if (!SWIG_IsOK(ecode2
)) {
19925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
19927 arg2
= static_cast< size_t >(val2
);
19928 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19929 if (!SWIG_IsOK(res3
)) {
19930 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
19932 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
19934 arg4
= wxString_in_helper(obj3
);
19935 if (arg4
== NULL
) SWIG_fail
;
19939 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
19940 if (!SWIG_IsOK(ecode5
)) {
19941 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
19943 arg5
= static_cast< bool >(val5
);
19946 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
19947 if (!SWIG_IsOK(ecode6
)) {
19948 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
19950 arg6
= static_cast< int >(val6
);
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19975 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
= 0;
19977 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19984 PyObject
* obj0
= 0 ;
19985 PyObject
* obj1
= 0 ;
19986 char * kwnames
[] = {
19987 (char *) "self",(char *) "n", NULL
19990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19992 if (!SWIG_IsOK(res1
)) {
19993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19995 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19996 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19997 if (!SWIG_IsOK(ecode2
)) {
19998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20000 arg2
= static_cast< size_t >(val2
);
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 result
= (int)(arg1
)->SetSelection(arg2
);
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20007 resultobj
= SWIG_From_int(static_cast< int >(result
));
20014 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20015 PyObject
*resultobj
= 0;
20016 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20017 bool arg2
= (bool) true ;
20022 PyObject
* obj0
= 0 ;
20023 PyObject
* obj1
= 0 ;
20024 char * kwnames
[] = {
20025 (char *) "self",(char *) "forward", NULL
20028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20030 if (!SWIG_IsOK(res1
)) {
20031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20033 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20035 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20036 if (!SWIG_IsOK(ecode2
)) {
20037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20039 arg2
= static_cast< bool >(val2
);
20042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20043 (arg1
)->AdvanceSelection(arg2
);
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= SWIG_Py_Void();
20054 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
= 0;
20056 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20057 SwigValueWrapper
<wxVisualAttributes
> result
;
20060 PyObject
* obj0
= 0 ;
20061 char * kwnames
[] = {
20062 (char *) "variant", NULL
20065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20067 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20068 if (!SWIG_IsOK(ecode1
)) {
20069 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20071 arg1
= static_cast< wxWindowVariant
>(val1
);
20074 if (!wxPyCheckForApp()) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20077 wxPyEndAllowThreads(__tstate
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20087 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20090 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20091 return SWIG_Py_Void();
20094 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
= 0;
20096 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20097 int arg2
= (int) 0 ;
20098 int arg3
= (int) -1 ;
20099 int arg4
= (int) -1 ;
20100 wxBookCtrlBaseEvent
*result
= 0 ;
20109 PyObject
* obj0
= 0 ;
20110 PyObject
* obj1
= 0 ;
20111 PyObject
* obj2
= 0 ;
20112 PyObject
* obj3
= 0 ;
20113 char * kwnames
[] = {
20114 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20119 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20120 if (!SWIG_IsOK(ecode1
)) {
20121 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20123 arg1
= static_cast< wxEventType
>(val1
);
20126 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20127 if (!SWIG_IsOK(ecode2
)) {
20128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20130 arg2
= static_cast< int >(val2
);
20133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20134 if (!SWIG_IsOK(ecode3
)) {
20135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20137 arg3
= static_cast< int >(val3
);
20140 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20141 if (!SWIG_IsOK(ecode4
)) {
20142 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20144 arg4
= static_cast< int >(val4
);
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20159 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20160 PyObject
*resultobj
= 0;
20161 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20165 PyObject
*swig_obj
[1] ;
20167 if (!args
) SWIG_fail
;
20168 swig_obj
[0] = args
;
20169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20170 if (!SWIG_IsOK(res1
)) {
20171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20173 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20177 wxPyEndAllowThreads(__tstate
);
20178 if (PyErr_Occurred()) SWIG_fail
;
20180 resultobj
= SWIG_From_int(static_cast< int >(result
));
20187 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
= 0;
20189 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20195 PyObject
* obj0
= 0 ;
20196 PyObject
* obj1
= 0 ;
20197 char * kwnames
[] = {
20198 (char *) "self",(char *) "nSel", NULL
20201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20203 if (!SWIG_IsOK(res1
)) {
20204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20206 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20208 if (!SWIG_IsOK(ecode2
)) {
20209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20211 arg2
= static_cast< int >(val2
);
20213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20214 (arg1
)->SetSelection(arg2
);
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= SWIG_Py_Void();
20225 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20226 PyObject
*resultobj
= 0;
20227 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20231 PyObject
*swig_obj
[1] ;
20233 if (!args
) SWIG_fail
;
20234 swig_obj
[0] = args
;
20235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20236 if (!SWIG_IsOK(res1
)) {
20237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20239 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= SWIG_From_int(static_cast< int >(result
));
20253 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
= 0;
20255 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20261 PyObject
* obj0
= 0 ;
20262 PyObject
* obj1
= 0 ;
20263 char * kwnames
[] = {
20264 (char *) "self",(char *) "nOldSel", NULL
20267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20269 if (!SWIG_IsOK(res1
)) {
20270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20272 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20274 if (!SWIG_IsOK(ecode2
)) {
20275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20277 arg2
= static_cast< int >(val2
);
20279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 (arg1
)->SetOldSelection(arg2
);
20281 wxPyEndAllowThreads(__tstate
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20284 resultobj
= SWIG_Py_Void();
20291 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20293 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20294 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20295 return SWIG_Py_Void();
20298 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20299 return SWIG_Python_InitShadowInstance(args
);
20302 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
= 0;
20304 wxWindow
*arg1
= (wxWindow
*) 0 ;
20305 int arg2
= (int) -1 ;
20306 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20307 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20308 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20309 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20310 long arg5
= (long) 0 ;
20311 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20312 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20313 wxNotebook
*result
= 0 ;
20322 bool temp6
= false ;
20323 PyObject
* obj0
= 0 ;
20324 PyObject
* obj1
= 0 ;
20325 PyObject
* obj2
= 0 ;
20326 PyObject
* obj3
= 0 ;
20327 PyObject
* obj4
= 0 ;
20328 PyObject
* obj5
= 0 ;
20329 char * kwnames
[] = {
20330 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20335 if (!SWIG_IsOK(res1
)) {
20336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20341 if (!SWIG_IsOK(ecode2
)) {
20342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20344 arg2
= static_cast< int >(val2
);
20349 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20355 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20359 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20360 if (!SWIG_IsOK(ecode5
)) {
20361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20363 arg5
= static_cast< long >(val5
);
20367 arg6
= wxString_in_helper(obj5
);
20368 if (arg6
== NULL
) SWIG_fail
;
20373 if (!wxPyCheckForApp()) SWIG_fail
;
20374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20375 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20376 wxPyEndAllowThreads(__tstate
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20394 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20395 PyObject
*resultobj
= 0;
20396 wxNotebook
*result
= 0 ;
20398 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20400 if (!wxPyCheckForApp()) SWIG_fail
;
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 result
= (wxNotebook
*)new wxNotebook();
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20413 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20414 PyObject
*resultobj
= 0;
20415 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20416 wxWindow
*arg2
= (wxWindow
*) 0 ;
20417 int arg3
= (int) -1 ;
20418 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20419 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20420 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20421 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20422 long arg6
= (long) 0 ;
20423 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20424 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20436 bool temp7
= false ;
20437 PyObject
* obj0
= 0 ;
20438 PyObject
* obj1
= 0 ;
20439 PyObject
* obj2
= 0 ;
20440 PyObject
* obj3
= 0 ;
20441 PyObject
* obj4
= 0 ;
20442 PyObject
* obj5
= 0 ;
20443 PyObject
* obj6
= 0 ;
20444 char * kwnames
[] = {
20445 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20450 if (!SWIG_IsOK(res1
)) {
20451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20453 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20454 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20455 if (!SWIG_IsOK(res2
)) {
20456 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20458 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20460 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20461 if (!SWIG_IsOK(ecode3
)) {
20462 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20464 arg3
= static_cast< int >(val3
);
20469 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20475 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20479 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20480 if (!SWIG_IsOK(ecode6
)) {
20481 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20483 arg6
= static_cast< long >(val6
);
20487 arg7
= wxString_in_helper(obj6
);
20488 if (arg7
== NULL
) SWIG_fail
;
20493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20494 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20515 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20516 PyObject
*resultobj
= 0;
20517 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20521 PyObject
*swig_obj
[1] ;
20523 if (!args
) SWIG_fail
;
20524 swig_obj
[0] = args
;
20525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20526 if (!SWIG_IsOK(res1
)) {
20527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20529 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20532 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20533 wxPyEndAllowThreads(__tstate
);
20534 if (PyErr_Occurred()) SWIG_fail
;
20536 resultobj
= SWIG_From_int(static_cast< int >(result
));
20543 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20544 PyObject
*resultobj
= 0;
20545 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 PyObject
* obj1
= 0 ;
20552 char * kwnames
[] = {
20553 (char *) "self",(char *) "padding", NULL
20556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20558 if (!SWIG_IsOK(res1
)) {
20559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20561 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20564 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20569 wxPyEndAllowThreads(__tstate
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20572 resultobj
= SWIG_Py_Void();
20579 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
= 0;
20581 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20586 PyObject
* obj0
= 0 ;
20587 PyObject
* obj1
= 0 ;
20588 char * kwnames
[] = {
20589 (char *) "self",(char *) "sz", NULL
20592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20594 if (!SWIG_IsOK(res1
)) {
20595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20597 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20600 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20608 resultobj
= SWIG_Py_Void();
20615 SWIGINTERN PyObject
*_wrap_Notebook_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20616 PyObject
*resultobj
= 0;
20617 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20618 wxPoint
*arg2
= 0 ;
20619 long *arg3
= (long *) 0 ;
20625 int res3
= SWIG_TMPOBJ
;
20626 PyObject
* obj0
= 0 ;
20627 PyObject
* obj1
= 0 ;
20628 char * kwnames
[] = {
20629 (char *) "self",(char *) "pt", NULL
20633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20635 if (!SWIG_IsOK(res1
)) {
20636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_HitTest" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20638 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20641 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20646 wxPyEndAllowThreads(__tstate
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20649 resultobj
= SWIG_From_int(static_cast< int >(result
));
20650 if (SWIG_IsTmpObj(res3
)) {
20651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20653 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20662 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20663 PyObject
*resultobj
= 0;
20664 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20668 PyObject
*swig_obj
[1] ;
20670 if (!args
) SWIG_fail
;
20671 swig_obj
[0] = args
;
20672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20673 if (!SWIG_IsOK(res1
)) {
20674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20676 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20690 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
= 0;
20692 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20693 SwigValueWrapper
<wxVisualAttributes
> result
;
20696 PyObject
* obj0
= 0 ;
20697 char * kwnames
[] = {
20698 (char *) "variant", NULL
20701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20704 if (!SWIG_IsOK(ecode1
)) {
20705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20707 arg1
= static_cast< wxWindowVariant
>(val1
);
20710 if (!wxPyCheckForApp()) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20723 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20726 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
20727 return SWIG_Py_Void();
20730 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20731 return SWIG_Python_InitShadowInstance(args
);
20734 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
= 0;
20736 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20737 int arg2
= (int) 0 ;
20738 int arg3
= (int) -1 ;
20739 int arg4
= (int) -1 ;
20740 wxNotebookEvent
*result
= 0 ;
20749 PyObject
* obj0
= 0 ;
20750 PyObject
* obj1
= 0 ;
20751 PyObject
* obj2
= 0 ;
20752 PyObject
* obj3
= 0 ;
20753 char * kwnames
[] = {
20754 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20759 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20760 if (!SWIG_IsOK(ecode1
)) {
20761 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20763 arg1
= static_cast< wxEventType
>(val1
);
20766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20767 if (!SWIG_IsOK(ecode2
)) {
20768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
20770 arg2
= static_cast< int >(val2
);
20773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20774 if (!SWIG_IsOK(ecode3
)) {
20775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
20777 arg3
= static_cast< int >(val3
);
20780 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20781 if (!SWIG_IsOK(ecode4
)) {
20782 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
20784 arg4
= static_cast< int >(val4
);
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
20799 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20802 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
20803 return SWIG_Py_Void();
20806 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20807 return SWIG_Python_InitShadowInstance(args
);
20810 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20811 PyObject
*resultobj
= 0;
20812 wxWindow
*arg1
= (wxWindow
*) 0 ;
20813 int arg2
= (int) -1 ;
20814 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20815 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20816 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20817 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20818 long arg5
= (long) 0 ;
20819 wxString
const &arg6_defvalue
= wxPyEmptyString
;
20820 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20821 wxListbook
*result
= 0 ;
20830 bool temp6
= false ;
20831 PyObject
* obj0
= 0 ;
20832 PyObject
* obj1
= 0 ;
20833 PyObject
* obj2
= 0 ;
20834 PyObject
* obj3
= 0 ;
20835 PyObject
* obj4
= 0 ;
20836 PyObject
* obj5
= 0 ;
20837 char * kwnames
[] = {
20838 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20843 if (!SWIG_IsOK(res1
)) {
20844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
20846 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20849 if (!SWIG_IsOK(ecode2
)) {
20850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
20852 arg2
= static_cast< int >(val2
);
20857 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20863 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20867 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20868 if (!SWIG_IsOK(ecode5
)) {
20869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
20871 arg5
= static_cast< long >(val5
);
20875 arg6
= wxString_in_helper(obj5
);
20876 if (arg6
== NULL
) SWIG_fail
;
20881 if (!wxPyCheckForApp()) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
20902 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20903 PyObject
*resultobj
= 0;
20904 wxListbook
*result
= 0 ;
20906 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
20908 if (!wxPyCheckForApp()) SWIG_fail
;
20909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20910 result
= (wxListbook
*)new wxListbook();
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
20921 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
= 0;
20923 wxListbook
*arg1
= (wxListbook
*) 0 ;
20924 wxWindow
*arg2
= (wxWindow
*) 0 ;
20925 int arg3
= (int) -1 ;
20926 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20927 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20928 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20929 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20930 long arg6
= (long) 0 ;
20931 wxString
const &arg7_defvalue
= wxPyEmptyString
;
20932 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20944 bool temp7
= false ;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 PyObject
* obj2
= 0 ;
20948 PyObject
* obj3
= 0 ;
20949 PyObject
* obj4
= 0 ;
20950 PyObject
* obj5
= 0 ;
20951 PyObject
* obj6
= 0 ;
20952 char * kwnames
[] = {
20953 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
20958 if (!SWIG_IsOK(res1
)) {
20959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
20961 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
20962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20963 if (!SWIG_IsOK(res2
)) {
20964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20966 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20968 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20969 if (!SWIG_IsOK(ecode3
)) {
20970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
20972 arg3
= static_cast< int >(val3
);
20977 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20983 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20987 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20988 if (!SWIG_IsOK(ecode6
)) {
20989 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
20991 arg6
= static_cast< long >(val6
);
20995 arg7
= wxString_in_helper(obj6
);
20996 if (arg7
== NULL
) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21003 wxPyEndAllowThreads(__tstate
);
21004 if (PyErr_Occurred()) SWIG_fail
;
21007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21023 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21024 PyObject
*resultobj
= 0;
21025 wxListbook
*arg1
= (wxListbook
*) 0 ;
21026 wxListView
*result
= 0 ;
21029 PyObject
*swig_obj
[1] ;
21031 if (!args
) SWIG_fail
;
21032 swig_obj
[0] = args
;
21033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21034 if (!SWIG_IsOK(res1
)) {
21035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21037 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 result
= (wxListView
*)(arg1
)->GetListView();
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21051 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21053 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21054 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21055 return SWIG_Py_Void();
21058 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21059 return SWIG_Python_InitShadowInstance(args
);
21062 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
= 0;
21064 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21065 int arg2
= (int) 0 ;
21066 int arg3
= (int) -1 ;
21067 int arg4
= (int) -1 ;
21068 wxListbookEvent
*result
= 0 ;
21077 PyObject
* obj0
= 0 ;
21078 PyObject
* obj1
= 0 ;
21079 PyObject
* obj2
= 0 ;
21080 PyObject
* obj3
= 0 ;
21081 char * kwnames
[] = {
21082 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21087 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21088 if (!SWIG_IsOK(ecode1
)) {
21089 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21091 arg1
= static_cast< wxEventType
>(val1
);
21094 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21095 if (!SWIG_IsOK(ecode2
)) {
21096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21098 arg2
= static_cast< int >(val2
);
21101 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21102 if (!SWIG_IsOK(ecode3
)) {
21103 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21105 arg3
= static_cast< int >(val3
);
21108 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21109 if (!SWIG_IsOK(ecode4
)) {
21110 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21112 arg4
= static_cast< int >(val4
);
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21117 wxPyEndAllowThreads(__tstate
);
21118 if (PyErr_Occurred()) SWIG_fail
;
21120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21127 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21130 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21131 return SWIG_Py_Void();
21134 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21135 return SWIG_Python_InitShadowInstance(args
);
21138 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21139 PyObject
*resultobj
= 0;
21140 wxWindow
*arg1
= (wxWindow
*) 0 ;
21142 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21143 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21144 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21145 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21146 long arg5
= (long) 0 ;
21147 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21148 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21149 wxChoicebook
*result
= 0 ;
21158 bool temp6
= false ;
21159 PyObject
* obj0
= 0 ;
21160 PyObject
* obj1
= 0 ;
21161 PyObject
* obj2
= 0 ;
21162 PyObject
* obj3
= 0 ;
21163 PyObject
* obj4
= 0 ;
21164 PyObject
* obj5
= 0 ;
21165 char * kwnames
[] = {
21166 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21171 if (!SWIG_IsOK(res1
)) {
21172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21174 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21176 if (!SWIG_IsOK(ecode2
)) {
21177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21179 arg2
= static_cast< int >(val2
);
21183 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21189 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21193 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21194 if (!SWIG_IsOK(ecode5
)) {
21195 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21197 arg5
= static_cast< long >(val5
);
21201 arg6
= wxString_in_helper(obj5
);
21202 if (arg6
== NULL
) SWIG_fail
;
21207 if (!wxPyCheckForApp()) SWIG_fail
;
21208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21209 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21210 wxPyEndAllowThreads(__tstate
);
21211 if (PyErr_Occurred()) SWIG_fail
;
21213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21228 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21229 PyObject
*resultobj
= 0;
21230 wxChoicebook
*result
= 0 ;
21232 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21234 if (!wxPyCheckForApp()) SWIG_fail
;
21235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21236 result
= (wxChoicebook
*)new wxChoicebook();
21237 wxPyEndAllowThreads(__tstate
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21240 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21247 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
= 0;
21249 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21250 wxWindow
*arg2
= (wxWindow
*) 0 ;
21252 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21253 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21254 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21255 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21256 long arg6
= (long) 0 ;
21257 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21258 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21270 bool temp7
= false ;
21271 PyObject
* obj0
= 0 ;
21272 PyObject
* obj1
= 0 ;
21273 PyObject
* obj2
= 0 ;
21274 PyObject
* obj3
= 0 ;
21275 PyObject
* obj4
= 0 ;
21276 PyObject
* obj5
= 0 ;
21277 PyObject
* obj6
= 0 ;
21278 char * kwnames
[] = {
21279 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21284 if (!SWIG_IsOK(res1
)) {
21285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21287 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21288 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21289 if (!SWIG_IsOK(res2
)) {
21290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21292 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21294 if (!SWIG_IsOK(ecode3
)) {
21295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21297 arg3
= static_cast< int >(val3
);
21301 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21307 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21311 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21312 if (!SWIG_IsOK(ecode6
)) {
21313 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21315 arg6
= static_cast< long >(val6
);
21319 arg7
= wxString_in_helper(obj6
);
21320 if (arg7
== NULL
) SWIG_fail
;
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21347 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21348 PyObject
*resultobj
= 0;
21349 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21350 wxChoice
*result
= 0 ;
21353 PyObject
*swig_obj
[1] ;
21355 if (!args
) SWIG_fail
;
21356 swig_obj
[0] = args
;
21357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21358 if (!SWIG_IsOK(res1
)) {
21359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21361 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21375 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21378 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21379 return SWIG_Py_Void();
21382 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21383 return SWIG_Python_InitShadowInstance(args
);
21386 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21387 PyObject
*resultobj
= 0;
21388 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21389 int arg2
= (int) 0 ;
21390 int arg3
= (int) -1 ;
21391 int arg4
= (int) -1 ;
21392 wxChoicebookEvent
*result
= 0 ;
21401 PyObject
* obj0
= 0 ;
21402 PyObject
* obj1
= 0 ;
21403 PyObject
* obj2
= 0 ;
21404 PyObject
* obj3
= 0 ;
21405 char * kwnames
[] = {
21406 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21411 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21412 if (!SWIG_IsOK(ecode1
)) {
21413 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21415 arg1
= static_cast< wxEventType
>(val1
);
21418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21419 if (!SWIG_IsOK(ecode2
)) {
21420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21422 arg2
= static_cast< int >(val2
);
21425 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21426 if (!SWIG_IsOK(ecode3
)) {
21427 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21429 arg3
= static_cast< int >(val3
);
21432 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21433 if (!SWIG_IsOK(ecode4
)) {
21434 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21436 arg4
= static_cast< int >(val4
);
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21441 wxPyEndAllowThreads(__tstate
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21451 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21454 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21455 return SWIG_Py_Void();
21458 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21459 return SWIG_Python_InitShadowInstance(args
);
21462 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
= 0;
21464 wxWindow
*arg1
= (wxWindow
*) 0 ;
21466 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21467 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21468 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21469 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21470 long arg5
= (long) wxBK_DEFAULT
;
21471 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21472 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21473 wxTreebook
*result
= 0 ;
21482 bool temp6
= false ;
21483 PyObject
* obj0
= 0 ;
21484 PyObject
* obj1
= 0 ;
21485 PyObject
* obj2
= 0 ;
21486 PyObject
* obj3
= 0 ;
21487 PyObject
* obj4
= 0 ;
21488 PyObject
* obj5
= 0 ;
21489 char * kwnames
[] = {
21490 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21495 if (!SWIG_IsOK(res1
)) {
21496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21498 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21500 if (!SWIG_IsOK(ecode2
)) {
21501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21503 arg2
= static_cast< int >(val2
);
21507 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21513 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21517 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21518 if (!SWIG_IsOK(ecode5
)) {
21519 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21521 arg5
= static_cast< long >(val5
);
21525 arg6
= wxString_in_helper(obj5
);
21526 if (arg6
== NULL
) SWIG_fail
;
21531 if (!wxPyCheckForApp()) SWIG_fail
;
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21552 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21553 PyObject
*resultobj
= 0;
21554 wxTreebook
*result
= 0 ;
21556 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21558 if (!wxPyCheckForApp()) SWIG_fail
;
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 result
= (wxTreebook
*)new wxTreebook();
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21571 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
= 0;
21573 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21574 wxWindow
*arg2
= (wxWindow
*) 0 ;
21576 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21577 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21578 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21579 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21580 long arg6
= (long) wxBK_DEFAULT
;
21581 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21582 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21594 bool temp7
= false ;
21595 PyObject
* obj0
= 0 ;
21596 PyObject
* obj1
= 0 ;
21597 PyObject
* obj2
= 0 ;
21598 PyObject
* obj3
= 0 ;
21599 PyObject
* obj4
= 0 ;
21600 PyObject
* obj5
= 0 ;
21601 PyObject
* obj6
= 0 ;
21602 char * kwnames
[] = {
21603 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21608 if (!SWIG_IsOK(res1
)) {
21609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21611 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21612 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21613 if (!SWIG_IsOK(res2
)) {
21614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21616 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21618 if (!SWIG_IsOK(ecode3
)) {
21619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21621 arg3
= static_cast< int >(val3
);
21625 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21631 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21635 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21636 if (!SWIG_IsOK(ecode6
)) {
21637 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21639 arg6
= static_cast< long >(val6
);
21643 arg7
= wxString_in_helper(obj6
);
21644 if (arg7
== NULL
) SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21651 wxPyEndAllowThreads(__tstate
);
21652 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21671 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
= 0;
21673 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21675 wxWindow
*arg3
= (wxWindow
*) 0 ;
21676 wxString
*arg4
= 0 ;
21677 bool arg5
= (bool) false ;
21678 int arg6
= (int) wxNOT_FOUND
;
21686 bool temp4
= false ;
21691 PyObject
* obj0
= 0 ;
21692 PyObject
* obj1
= 0 ;
21693 PyObject
* obj2
= 0 ;
21694 PyObject
* obj3
= 0 ;
21695 PyObject
* obj4
= 0 ;
21696 PyObject
* obj5
= 0 ;
21697 char * kwnames
[] = {
21698 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21703 if (!SWIG_IsOK(res1
)) {
21704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21706 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21707 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21708 if (!SWIG_IsOK(ecode2
)) {
21709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
21711 arg2
= static_cast< size_t >(val2
);
21712 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21713 if (!SWIG_IsOK(res3
)) {
21714 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
21716 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
21718 arg4
= wxString_in_helper(obj3
);
21719 if (arg4
== NULL
) SWIG_fail
;
21723 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
21724 if (!SWIG_IsOK(ecode5
)) {
21725 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
21727 arg5
= static_cast< bool >(val5
);
21730 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21731 if (!SWIG_IsOK(ecode6
)) {
21732 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
21734 arg6
= static_cast< int >(val6
);
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21738 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
21739 wxPyEndAllowThreads(__tstate
);
21740 if (PyErr_Occurred()) SWIG_fail
;
21743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21759 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21760 PyObject
*resultobj
= 0;
21761 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21762 wxWindow
*arg2
= (wxWindow
*) 0 ;
21763 wxString
*arg3
= 0 ;
21764 bool arg4
= (bool) false ;
21765 int arg5
= (int) wxNOT_FOUND
;
21771 bool temp3
= false ;
21776 PyObject
* obj0
= 0 ;
21777 PyObject
* obj1
= 0 ;
21778 PyObject
* obj2
= 0 ;
21779 PyObject
* obj3
= 0 ;
21780 PyObject
* obj4
= 0 ;
21781 char * kwnames
[] = {
21782 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
21785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21787 if (!SWIG_IsOK(res1
)) {
21788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
21790 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21791 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21792 if (!SWIG_IsOK(res2
)) {
21793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
21795 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21797 arg3
= wxString_in_helper(obj2
);
21798 if (arg3
== NULL
) SWIG_fail
;
21802 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
21803 if (!SWIG_IsOK(ecode4
)) {
21804 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
21806 arg4
= static_cast< bool >(val4
);
21809 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21810 if (!SWIG_IsOK(ecode5
)) {
21811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
21813 arg5
= static_cast< int >(val5
);
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21838 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
= 0;
21840 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21847 PyObject
* obj0
= 0 ;
21848 PyObject
* obj1
= 0 ;
21849 char * kwnames
[] = {
21850 (char *) "self",(char *) "pos", NULL
21853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21855 if (!SWIG_IsOK(res1
)) {
21856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21858 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21859 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21860 if (!SWIG_IsOK(ecode2
)) {
21861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
21863 arg2
= static_cast< size_t >(val2
);
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21879 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21880 PyObject
*resultobj
= 0;
21881 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21883 bool arg3
= (bool) true ;
21891 PyObject
* obj0
= 0 ;
21892 PyObject
* obj1
= 0 ;
21893 PyObject
* obj2
= 0 ;
21894 char * kwnames
[] = {
21895 (char *) "self",(char *) "pos",(char *) "expand", NULL
21898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21900 if (!SWIG_IsOK(res1
)) {
21901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21903 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21904 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21905 if (!SWIG_IsOK(ecode2
)) {
21906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
21908 arg2
= static_cast< size_t >(val2
);
21910 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
21911 if (!SWIG_IsOK(ecode3
)) {
21912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
21914 arg3
= static_cast< bool >(val3
);
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21931 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21932 PyObject
*resultobj
= 0;
21933 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 char * kwnames
[] = {
21943 (char *) "self",(char *) "pos", NULL
21946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21948 if (!SWIG_IsOK(res1
)) {
21949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
21951 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21952 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21953 if (!SWIG_IsOK(ecode2
)) {
21954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
21956 arg2
= static_cast< size_t >(val2
);
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 result
= (bool)(arg1
)->CollapseNode(arg2
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21972 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
= 0;
21974 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21981 PyObject
* obj0
= 0 ;
21982 PyObject
* obj1
= 0 ;
21983 char * kwnames
[] = {
21984 (char *) "self",(char *) "pos", NULL
21987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21989 if (!SWIG_IsOK(res1
)) {
21990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
21992 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21993 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
21994 if (!SWIG_IsOK(ecode2
)) {
21995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
21997 arg2
= static_cast< size_t >(val2
);
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= SWIG_From_int(static_cast< int >(result
));
22011 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22012 PyObject
*resultobj
= 0;
22013 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22014 wxTreeCtrl
*result
= 0 ;
22017 PyObject
*swig_obj
[1] ;
22019 if (!args
) SWIG_fail
;
22020 swig_obj
[0] = args
;
22021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22022 if (!SWIG_IsOK(res1
)) {
22023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22025 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (wxTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22032 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeCtrl
, 0 | 0 );
22039 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22041 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22042 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22043 return SWIG_Py_Void();
22046 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22047 return SWIG_Python_InitShadowInstance(args
);
22050 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
= 0;
22052 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22053 int arg2
= (int) 0 ;
22054 int arg3
= (int) wxNOT_FOUND
;
22055 int arg4
= (int) wxNOT_FOUND
;
22056 wxTreebookEvent
*result
= 0 ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 PyObject
* obj2
= 0 ;
22068 PyObject
* obj3
= 0 ;
22069 char * kwnames
[] = {
22070 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22075 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22076 if (!SWIG_IsOK(ecode1
)) {
22077 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22079 arg1
= static_cast< wxEventType
>(val1
);
22082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22083 if (!SWIG_IsOK(ecode2
)) {
22084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22086 arg2
= static_cast< int >(val2
);
22089 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22090 if (!SWIG_IsOK(ecode3
)) {
22091 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22093 arg3
= static_cast< int >(val3
);
22096 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22097 if (!SWIG_IsOK(ecode4
)) {
22098 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22100 arg4
= static_cast< int >(val4
);
22103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22104 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22105 wxPyEndAllowThreads(__tstate
);
22106 if (PyErr_Occurred()) SWIG_fail
;
22108 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22115 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22118 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22119 return SWIG_Py_Void();
22122 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22123 return SWIG_Python_InitShadowInstance(args
);
22126 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
= 0;
22128 wxWindow
*arg1
= (wxWindow
*) 0 ;
22130 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22131 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22132 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22133 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22134 long arg5
= (long) wxBK_DEFAULT
;
22135 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22136 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22137 wxToolbook
*result
= 0 ;
22146 bool temp6
= false ;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22149 PyObject
* obj2
= 0 ;
22150 PyObject
* obj3
= 0 ;
22151 PyObject
* obj4
= 0 ;
22152 PyObject
* obj5
= 0 ;
22153 char * kwnames
[] = {
22154 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22159 if (!SWIG_IsOK(res1
)) {
22160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22162 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22164 if (!SWIG_IsOK(ecode2
)) {
22165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22167 arg2
= static_cast< int >(val2
);
22171 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22177 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22181 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22182 if (!SWIG_IsOK(ecode5
)) {
22183 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22185 arg5
= static_cast< long >(val5
);
22189 arg6
= wxString_in_helper(obj5
);
22190 if (arg6
== NULL
) SWIG_fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22215 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22216 PyObject
*resultobj
= 0;
22217 wxToolbook
*result
= 0 ;
22219 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22222 result
= (wxToolbook
*)new wxToolbook();
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22233 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
= 0;
22235 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22236 wxWindow
*arg2
= (wxWindow
*) 0 ;
22238 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22239 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22240 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22241 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22242 long arg6
= (long) 0 ;
22243 wxString
const &arg7_defvalue
= wxEmptyString
;
22244 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22256 bool temp7
= false ;
22257 PyObject
* obj0
= 0 ;
22258 PyObject
* obj1
= 0 ;
22259 PyObject
* obj2
= 0 ;
22260 PyObject
* obj3
= 0 ;
22261 PyObject
* obj4
= 0 ;
22262 PyObject
* obj5
= 0 ;
22263 PyObject
* obj6
= 0 ;
22264 char * kwnames
[] = {
22265 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22270 if (!SWIG_IsOK(res1
)) {
22271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22273 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22275 if (!SWIG_IsOK(res2
)) {
22276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22278 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22279 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22280 if (!SWIG_IsOK(ecode3
)) {
22281 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22283 arg3
= static_cast< int >(val3
);
22287 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22293 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22297 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22298 if (!SWIG_IsOK(ecode6
)) {
22299 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22301 arg6
= static_cast< long >(val6
);
22305 arg7
= wxString_in_helper(obj6
);
22306 if (arg7
== NULL
) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22333 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22334 PyObject
*resultobj
= 0;
22335 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22336 wxToolBarBase
*result
= 0 ;
22339 PyObject
*swig_obj
[1] ;
22341 if (!args
) SWIG_fail
;
22342 swig_obj
[0] = args
;
22343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22344 if (!SWIG_IsOK(res1
)) {
22345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22347 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22355 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22363 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22364 PyObject
*resultobj
= 0;
22365 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22368 PyObject
*swig_obj
[1] ;
22370 if (!args
) SWIG_fail
;
22371 swig_obj
[0] = args
;
22372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22373 if (!SWIG_IsOK(res1
)) {
22374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22376 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 wxPyEndAllowThreads(__tstate
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22383 resultobj
= SWIG_Py_Void();
22390 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22393 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22394 return SWIG_Py_Void();
22397 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22398 return SWIG_Python_InitShadowInstance(args
);
22401 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22402 PyObject
*resultobj
= 0;
22403 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22404 int arg2
= (int) 0 ;
22405 int arg3
= (int) wxNOT_FOUND
;
22406 int arg4
= (int) wxNOT_FOUND
;
22407 wxToolbookEvent
*result
= 0 ;
22416 PyObject
* obj0
= 0 ;
22417 PyObject
* obj1
= 0 ;
22418 PyObject
* obj2
= 0 ;
22419 PyObject
* obj3
= 0 ;
22420 char * kwnames
[] = {
22421 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22426 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22427 if (!SWIG_IsOK(ecode1
)) {
22428 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22430 arg1
= static_cast< wxEventType
>(val1
);
22433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22434 if (!SWIG_IsOK(ecode2
)) {
22435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22437 arg2
= static_cast< int >(val2
);
22440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22441 if (!SWIG_IsOK(ecode3
)) {
22442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22444 arg3
= static_cast< int >(val3
);
22447 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22448 if (!SWIG_IsOK(ecode4
)) {
22449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22451 arg4
= static_cast< int >(val4
);
22454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22455 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22466 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22469 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22470 return SWIG_Py_Void();
22473 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22474 return SWIG_Python_InitShadowInstance(args
);
22477 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22478 PyObject
*resultobj
= 0;
22479 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22483 PyObject
*swig_obj
[1] ;
22485 if (!args
) SWIG_fail
;
22486 swig_obj
[0] = args
;
22487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22488 if (!SWIG_IsOK(res1
)) {
22489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22491 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 result
= (int)(arg1
)->GetId();
22495 wxPyEndAllowThreads(__tstate
);
22496 if (PyErr_Occurred()) SWIG_fail
;
22498 resultobj
= SWIG_From_int(static_cast< int >(result
));
22505 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22506 PyObject
*resultobj
= 0;
22507 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22508 wxControl
*result
= 0 ;
22511 PyObject
*swig_obj
[1] ;
22513 if (!args
) SWIG_fail
;
22514 swig_obj
[0] = args
;
22515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22516 if (!SWIG_IsOK(res1
)) {
22517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22519 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22522 result
= (wxControl
*)(arg1
)->GetControl();
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22527 resultobj
= wxPyMake_wxObject(result
, 0);
22535 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22536 PyObject
*resultobj
= 0;
22537 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22538 wxToolBarBase
*result
= 0 ;
22541 PyObject
*swig_obj
[1] ;
22543 if (!args
) SWIG_fail
;
22544 swig_obj
[0] = args
;
22545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22546 if (!SWIG_IsOK(res1
)) {
22547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22549 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22557 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22565 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22566 PyObject
*resultobj
= 0;
22567 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22571 PyObject
*swig_obj
[1] ;
22573 if (!args
) SWIG_fail
;
22574 swig_obj
[0] = args
;
22575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22576 if (!SWIG_IsOK(res1
)) {
22577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22579 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 result
= (int)(arg1
)->IsButton();
22583 wxPyEndAllowThreads(__tstate
);
22584 if (PyErr_Occurred()) SWIG_fail
;
22586 resultobj
= SWIG_From_int(static_cast< int >(result
));
22593 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22594 PyObject
*resultobj
= 0;
22595 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22599 PyObject
*swig_obj
[1] ;
22601 if (!args
) SWIG_fail
;
22602 swig_obj
[0] = args
;
22603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22604 if (!SWIG_IsOK(res1
)) {
22605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22607 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 result
= (int)(arg1
)->IsControl();
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 resultobj
= SWIG_From_int(static_cast< int >(result
));
22621 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22622 PyObject
*resultobj
= 0;
22623 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22627 PyObject
*swig_obj
[1] ;
22629 if (!args
) SWIG_fail
;
22630 swig_obj
[0] = args
;
22631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22632 if (!SWIG_IsOK(res1
)) {
22633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22635 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 result
= (int)(arg1
)->IsSeparator();
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 resultobj
= SWIG_From_int(static_cast< int >(result
));
22649 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22650 PyObject
*resultobj
= 0;
22651 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22655 PyObject
*swig_obj
[1] ;
22657 if (!args
) SWIG_fail
;
22658 swig_obj
[0] = args
;
22659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22660 if (!SWIG_IsOK(res1
)) {
22661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22663 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= (int)(arg1
)->GetStyle();
22667 wxPyEndAllowThreads(__tstate
);
22668 if (PyErr_Occurred()) SWIG_fail
;
22670 resultobj
= SWIG_From_int(static_cast< int >(result
));
22677 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22678 PyObject
*resultobj
= 0;
22679 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22683 PyObject
*swig_obj
[1] ;
22685 if (!args
) SWIG_fail
;
22686 swig_obj
[0] = args
;
22687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22688 if (!SWIG_IsOK(res1
)) {
22689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22691 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= (wxItemKind
)(arg1
)->GetKind();
22695 wxPyEndAllowThreads(__tstate
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22698 resultobj
= SWIG_From_int(static_cast< int >(result
));
22705 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22706 PyObject
*resultobj
= 0;
22707 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22711 PyObject
*swig_obj
[1] ;
22713 if (!args
) SWIG_fail
;
22714 swig_obj
[0] = args
;
22715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22716 if (!SWIG_IsOK(res1
)) {
22717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22719 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 result
= (bool)(arg1
)->IsEnabled();
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22735 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22736 PyObject
*resultobj
= 0;
22737 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22741 PyObject
*swig_obj
[1] ;
22743 if (!args
) SWIG_fail
;
22744 swig_obj
[0] = args
;
22745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22746 if (!SWIG_IsOK(res1
)) {
22747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22749 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 result
= (bool)(arg1
)->IsToggled();
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22765 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22766 PyObject
*resultobj
= 0;
22767 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22771 PyObject
*swig_obj
[1] ;
22773 if (!args
) SWIG_fail
;
22774 swig_obj
[0] = args
;
22775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22776 if (!SWIG_IsOK(res1
)) {
22777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22779 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (bool)(arg1
)->CanBeToggled();
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22795 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22796 PyObject
*resultobj
= 0;
22797 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22798 wxBitmap
*result
= 0 ;
22801 PyObject
*swig_obj
[1] ;
22803 if (!args
) SWIG_fail
;
22804 swig_obj
[0] = args
;
22805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22806 if (!SWIG_IsOK(res1
)) {
22807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22809 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22813 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
22814 result
= (wxBitmap
*) &_result_ref
;
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22820 wxBitmap
* resultptr
= new wxBitmap(*result
);
22821 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22829 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22830 PyObject
*resultobj
= 0;
22831 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22832 wxBitmap
*result
= 0 ;
22835 PyObject
*swig_obj
[1] ;
22837 if (!args
) SWIG_fail
;
22838 swig_obj
[0] = args
;
22839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22840 if (!SWIG_IsOK(res1
)) {
22841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22843 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
22848 result
= (wxBitmap
*) &_result_ref
;
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22854 wxBitmap
* resultptr
= new wxBitmap(*result
);
22855 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
22863 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22864 PyObject
*resultobj
= 0;
22865 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22869 PyObject
*swig_obj
[1] ;
22871 if (!args
) SWIG_fail
;
22872 swig_obj
[0] = args
;
22873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22874 if (!SWIG_IsOK(res1
)) {
22875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22877 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= (arg1
)->GetBitmap();
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
22891 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22892 PyObject
*resultobj
= 0;
22893 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22897 PyObject
*swig_obj
[1] ;
22899 if (!args
) SWIG_fail
;
22900 swig_obj
[0] = args
;
22901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22902 if (!SWIG_IsOK(res1
)) {
22903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22905 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 result
= (arg1
)->GetLabel();
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22925 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22926 PyObject
*resultobj
= 0;
22927 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22931 PyObject
*swig_obj
[1] ;
22933 if (!args
) SWIG_fail
;
22934 swig_obj
[0] = args
;
22935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22936 if (!SWIG_IsOK(res1
)) {
22937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22939 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 result
= (arg1
)->GetShortHelp();
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22959 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22960 PyObject
*resultobj
= 0;
22961 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22965 PyObject
*swig_obj
[1] ;
22967 if (!args
) SWIG_fail
;
22968 swig_obj
[0] = args
;
22969 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22970 if (!SWIG_IsOK(res1
)) {
22971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22973 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 result
= (arg1
)->GetLongHelp();
22977 wxPyEndAllowThreads(__tstate
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22993 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
= 0;
22995 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23002 PyObject
* obj0
= 0 ;
23003 PyObject
* obj1
= 0 ;
23004 char * kwnames
[] = {
23005 (char *) "self",(char *) "enable", NULL
23008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23010 if (!SWIG_IsOK(res1
)) {
23011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23013 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23014 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23015 if (!SWIG_IsOK(ecode2
)) {
23016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23018 arg2
= static_cast< bool >(val2
);
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 result
= (bool)(arg1
)->Enable(arg2
);
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23034 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23035 PyObject
*resultobj
= 0;
23036 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23039 PyObject
*swig_obj
[1] ;
23041 if (!args
) SWIG_fail
;
23042 swig_obj
[0] = args
;
23043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23044 if (!SWIG_IsOK(res1
)) {
23045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23047 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= SWIG_Py_Void();
23061 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
= 0;
23063 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23070 PyObject
* obj0
= 0 ;
23071 PyObject
* obj1
= 0 ;
23072 char * kwnames
[] = {
23073 (char *) "self",(char *) "toggle", NULL
23076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23078 if (!SWIG_IsOK(res1
)) {
23079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23081 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23082 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23083 if (!SWIG_IsOK(ecode2
)) {
23084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23086 arg2
= static_cast< bool >(val2
);
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= (bool)(arg1
)->SetToggle(arg2
);
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23102 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
= 0;
23104 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23105 wxString
*arg2
= 0 ;
23109 bool temp2
= false ;
23110 PyObject
* obj0
= 0 ;
23111 PyObject
* obj1
= 0 ;
23112 char * kwnames
[] = {
23113 (char *) "self",(char *) "help", NULL
23116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23117 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23118 if (!SWIG_IsOK(res1
)) {
23119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23121 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23123 arg2
= wxString_in_helper(obj1
);
23124 if (arg2
== NULL
) SWIG_fail
;
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23150 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23151 PyObject
*resultobj
= 0;
23152 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23153 wxString
*arg2
= 0 ;
23157 bool temp2
= false ;
23158 PyObject
* obj0
= 0 ;
23159 PyObject
* obj1
= 0 ;
23160 char * kwnames
[] = {
23161 (char *) "self",(char *) "help", NULL
23164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23166 if (!SWIG_IsOK(res1
)) {
23167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23169 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23171 arg2
= wxString_in_helper(obj1
);
23172 if (arg2
== NULL
) SWIG_fail
;
23176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23177 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23198 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23199 PyObject
*resultobj
= 0;
23200 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23201 wxBitmap
*arg2
= 0 ;
23206 PyObject
* obj0
= 0 ;
23207 PyObject
* obj1
= 0 ;
23208 char * kwnames
[] = {
23209 (char *) "self",(char *) "bmp", NULL
23212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23214 if (!SWIG_IsOK(res1
)) {
23215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23217 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23218 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23219 if (!SWIG_IsOK(res2
)) {
23220 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23225 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= SWIG_Py_Void();
23239 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23240 PyObject
*resultobj
= 0;
23241 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23242 wxBitmap
*arg2
= 0 ;
23247 PyObject
* obj0
= 0 ;
23248 PyObject
* obj1
= 0 ;
23249 char * kwnames
[] = {
23250 (char *) "self",(char *) "bmp", NULL
23253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23255 if (!SWIG_IsOK(res1
)) {
23256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23258 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23260 if (!SWIG_IsOK(res2
)) {
23261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23266 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23269 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23270 wxPyEndAllowThreads(__tstate
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23273 resultobj
= SWIG_Py_Void();
23280 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
= 0;
23282 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23283 wxString
*arg2
= 0 ;
23286 bool temp2
= false ;
23287 PyObject
* obj0
= 0 ;
23288 PyObject
* obj1
= 0 ;
23289 char * kwnames
[] = {
23290 (char *) "self",(char *) "label", NULL
23293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23295 if (!SWIG_IsOK(res1
)) {
23296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23298 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23300 arg2
= wxString_in_helper(obj1
);
23301 if (arg2
== NULL
) SWIG_fail
;
23305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23306 (arg1
)->SetLabel((wxString
const &)*arg2
);
23307 wxPyEndAllowThreads(__tstate
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 resultobj
= SWIG_Py_Void();
23325 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23326 PyObject
*resultobj
= 0;
23327 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23330 PyObject
*swig_obj
[1] ;
23332 if (!args
) SWIG_fail
;
23333 swig_obj
[0] = args
;
23334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23335 if (!SWIG_IsOK(res1
)) {
23336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23338 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 resultobj
= SWIG_Py_Void();
23352 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
= 0;
23354 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23355 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 char * kwnames
[] = {
23363 (char *) "self",(char *) "tbar", NULL
23366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23368 if (!SWIG_IsOK(res1
)) {
23369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23371 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23372 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23373 if (!SWIG_IsOK(res2
)) {
23374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23376 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 (arg1
)->Attach(arg2
);
23380 wxPyEndAllowThreads(__tstate
);
23381 if (PyErr_Occurred()) SWIG_fail
;
23383 resultobj
= SWIG_Py_Void();
23390 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23391 PyObject
*resultobj
= 0;
23392 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23393 PyObject
*result
= 0 ;
23396 PyObject
*swig_obj
[1] ;
23398 if (!args
) SWIG_fail
;
23399 swig_obj
[0] = args
;
23400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23401 if (!SWIG_IsOK(res1
)) {
23402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23404 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= result
;
23418 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
= 0;
23420 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23421 PyObject
*arg2
= (PyObject
*) 0 ;
23424 PyObject
* obj0
= 0 ;
23425 PyObject
* obj1
= 0 ;
23426 char * kwnames
[] = {
23427 (char *) "self",(char *) "clientData", NULL
23430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23432 if (!SWIG_IsOK(res1
)) {
23433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23435 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23439 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23440 wxPyEndAllowThreads(__tstate
);
23441 if (PyErr_Occurred()) SWIG_fail
;
23443 resultobj
= SWIG_Py_Void();
23450 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23453 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23454 return SWIG_Py_Void();
23457 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
= 0;
23459 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23461 wxString
*arg3
= 0 ;
23462 wxBitmap
*arg4
= 0 ;
23463 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23464 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23465 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23466 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23467 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23468 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23469 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23470 PyObject
*arg9
= (PyObject
*) NULL
;
23471 wxToolBarToolBase
*result
= 0 ;
23476 bool temp3
= false ;
23483 bool temp7
= false ;
23484 bool temp8
= false ;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 PyObject
* obj2
= 0 ;
23488 PyObject
* obj3
= 0 ;
23489 PyObject
* obj4
= 0 ;
23490 PyObject
* obj5
= 0 ;
23491 PyObject
* obj6
= 0 ;
23492 PyObject
* obj7
= 0 ;
23493 PyObject
* obj8
= 0 ;
23494 char * kwnames
[] = {
23495 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23500 if (!SWIG_IsOK(res1
)) {
23501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23503 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23505 if (!SWIG_IsOK(ecode2
)) {
23506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23508 arg2
= static_cast< int >(val2
);
23510 arg3
= wxString_in_helper(obj2
);
23511 if (arg3
== NULL
) SWIG_fail
;
23514 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23515 if (!SWIG_IsOK(res4
)) {
23516 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23521 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23523 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23524 if (!SWIG_IsOK(res5
)) {
23525 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23530 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23533 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23534 if (!SWIG_IsOK(ecode6
)) {
23535 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23537 arg6
= static_cast< wxItemKind
>(val6
);
23541 arg7
= wxString_in_helper(obj6
);
23542 if (arg7
== NULL
) SWIG_fail
;
23548 arg8
= wxString_in_helper(obj7
);
23549 if (arg8
== NULL
) SWIG_fail
;
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23558 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23595 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23596 PyObject
*resultobj
= 0;
23597 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23600 wxString
*arg4
= 0 ;
23601 wxBitmap
*arg5
= 0 ;
23602 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23603 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23604 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23605 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23606 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23607 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23608 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23609 PyObject
*arg10
= (PyObject
*) NULL
;
23610 wxToolBarToolBase
*result
= 0 ;
23617 bool temp4
= false ;
23624 bool temp8
= false ;
23625 bool temp9
= false ;
23626 PyObject
* obj0
= 0 ;
23627 PyObject
* obj1
= 0 ;
23628 PyObject
* obj2
= 0 ;
23629 PyObject
* obj3
= 0 ;
23630 PyObject
* obj4
= 0 ;
23631 PyObject
* obj5
= 0 ;
23632 PyObject
* obj6
= 0 ;
23633 PyObject
* obj7
= 0 ;
23634 PyObject
* obj8
= 0 ;
23635 PyObject
* obj9
= 0 ;
23636 char * kwnames
[] = {
23637 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23642 if (!SWIG_IsOK(res1
)) {
23643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23645 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23646 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23647 if (!SWIG_IsOK(ecode2
)) {
23648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
23650 arg2
= static_cast< size_t >(val2
);
23651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23652 if (!SWIG_IsOK(ecode3
)) {
23653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
23655 arg3
= static_cast< int >(val3
);
23657 arg4
= wxString_in_helper(obj3
);
23658 if (arg4
== NULL
) SWIG_fail
;
23661 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23662 if (!SWIG_IsOK(res5
)) {
23663 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23666 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23668 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23670 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23671 if (!SWIG_IsOK(res6
)) {
23672 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23675 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
23677 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
23680 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
23681 if (!SWIG_IsOK(ecode7
)) {
23682 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
23684 arg7
= static_cast< wxItemKind
>(val7
);
23688 arg8
= wxString_in_helper(obj7
);
23689 if (arg8
== NULL
) SWIG_fail
;
23695 arg9
= wxString_in_helper(obj8
);
23696 if (arg9
== NULL
) SWIG_fail
;
23704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23705 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
23706 wxPyEndAllowThreads(__tstate
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23742 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
= 0;
23744 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23745 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
23746 wxToolBarToolBase
*result
= 0 ;
23751 PyObject
* obj0
= 0 ;
23752 PyObject
* obj1
= 0 ;
23753 char * kwnames
[] = {
23754 (char *) "self",(char *) "tool", NULL
23757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23759 if (!SWIG_IsOK(res1
)) {
23760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23762 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23763 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23764 if (!SWIG_IsOK(res2
)) {
23765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
23767 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23775 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23783 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
= 0;
23785 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23787 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
23788 wxToolBarToolBase
*result
= 0 ;
23795 PyObject
* obj0
= 0 ;
23796 PyObject
* obj1
= 0 ;
23797 PyObject
* obj2
= 0 ;
23798 char * kwnames
[] = {
23799 (char *) "self",(char *) "pos",(char *) "tool", NULL
23802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23804 if (!SWIG_IsOK(res1
)) {
23805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23807 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23808 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23809 if (!SWIG_IsOK(ecode2
)) {
23810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
23812 arg2
= static_cast< size_t >(val2
);
23813 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23814 if (!SWIG_IsOK(res3
)) {
23815 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
23817 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
23819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23820 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23833 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23834 PyObject
*resultobj
= 0;
23835 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23836 wxControl
*arg2
= (wxControl
*) 0 ;
23837 wxToolBarToolBase
*result
= 0 ;
23842 PyObject
* obj0
= 0 ;
23843 PyObject
* obj1
= 0 ;
23844 char * kwnames
[] = {
23845 (char *) "self",(char *) "control", NULL
23848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23850 if (!SWIG_IsOK(res1
)) {
23851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23853 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23854 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
23855 if (!SWIG_IsOK(res2
)) {
23856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
23858 arg2
= reinterpret_cast< wxControl
* >(argp2
);
23860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23861 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23866 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23874 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23875 PyObject
*resultobj
= 0;
23876 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23878 wxControl
*arg3
= (wxControl
*) 0 ;
23879 wxToolBarToolBase
*result
= 0 ;
23886 PyObject
* obj0
= 0 ;
23887 PyObject
* obj1
= 0 ;
23888 PyObject
* obj2
= 0 ;
23889 char * kwnames
[] = {
23890 (char *) "self",(char *) "pos",(char *) "control", NULL
23893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) 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_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23898 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23899 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23900 if (!SWIG_IsOK(ecode2
)) {
23901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
23903 arg2
= static_cast< size_t >(val2
);
23904 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
23905 if (!SWIG_IsOK(res3
)) {
23906 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
23908 arg3
= reinterpret_cast< wxControl
* >(argp3
);
23910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23911 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
23912 wxPyEndAllowThreads(__tstate
);
23913 if (PyErr_Occurred()) SWIG_fail
;
23916 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23924 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
= 0;
23926 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23928 wxControl
*result
= 0 ;
23933 PyObject
* obj0
= 0 ;
23934 PyObject
* obj1
= 0 ;
23935 char * kwnames
[] = {
23936 (char *) "self",(char *) "id", NULL
23939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23941 if (!SWIG_IsOK(res1
)) {
23942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23944 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23946 if (!SWIG_IsOK(ecode2
)) {
23947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
23949 arg2
= static_cast< int >(val2
);
23951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23952 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= wxPyMake_wxObject(result
, 0);
23965 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23966 PyObject
*resultobj
= 0;
23967 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23968 wxToolBarToolBase
*result
= 0 ;
23971 PyObject
*swig_obj
[1] ;
23973 if (!args
) SWIG_fail
;
23974 swig_obj
[0] = args
;
23975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23976 if (!SWIG_IsOK(res1
)) {
23977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23979 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23982 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
23983 wxPyEndAllowThreads(__tstate
);
23984 if (PyErr_Occurred()) SWIG_fail
;
23987 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23995 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23996 PyObject
*resultobj
= 0;
23997 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23999 wxToolBarToolBase
*result
= 0 ;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 char * kwnames
[] = {
24007 (char *) "self",(char *) "pos", NULL
24010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24012 if (!SWIG_IsOK(res1
)) {
24013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24015 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24016 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24017 if (!SWIG_IsOK(ecode2
)) {
24018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24020 arg2
= static_cast< size_t >(val2
);
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24028 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24036 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
= 0;
24038 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24040 wxToolBarToolBase
*result
= 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 char * kwnames
[] = {
24048 (char *) "self",(char *) "id", NULL
24051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24053 if (!SWIG_IsOK(res1
)) {
24054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24056 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24057 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24058 if (!SWIG_IsOK(ecode2
)) {
24059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24061 arg2
= static_cast< int >(val2
);
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24069 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24077 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
= 0;
24079 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24086 PyObject
* obj0
= 0 ;
24087 PyObject
* obj1
= 0 ;
24088 char * kwnames
[] = {
24089 (char *) "self",(char *) "pos", NULL
24092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24094 if (!SWIG_IsOK(res1
)) {
24095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24097 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24098 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24099 if (!SWIG_IsOK(ecode2
)) {
24100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24102 arg2
= static_cast< size_t >(val2
);
24104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24105 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24118 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
= 0;
24120 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24127 PyObject
* obj0
= 0 ;
24128 PyObject
* obj1
= 0 ;
24129 char * kwnames
[] = {
24130 (char *) "self",(char *) "id", NULL
24133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24135 if (!SWIG_IsOK(res1
)) {
24136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24138 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24140 if (!SWIG_IsOK(ecode2
)) {
24141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24143 arg2
= static_cast< int >(val2
);
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 result
= (bool)(arg1
)->DeleteTool(arg2
);
24147 wxPyEndAllowThreads(__tstate
);
24148 if (PyErr_Occurred()) SWIG_fail
;
24151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24159 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24160 PyObject
*resultobj
= 0;
24161 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24164 PyObject
*swig_obj
[1] ;
24166 if (!args
) SWIG_fail
;
24167 swig_obj
[0] = args
;
24168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24169 if (!SWIG_IsOK(res1
)) {
24170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24172 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 (arg1
)->ClearTools();
24176 wxPyEndAllowThreads(__tstate
);
24177 if (PyErr_Occurred()) SWIG_fail
;
24179 resultobj
= SWIG_Py_Void();
24186 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24187 PyObject
*resultobj
= 0;
24188 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24192 PyObject
*swig_obj
[1] ;
24194 if (!args
) SWIG_fail
;
24195 swig_obj
[0] = args
;
24196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24197 if (!SWIG_IsOK(res1
)) {
24198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24200 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 result
= (bool)(arg1
)->Realize();
24204 wxPyEndAllowThreads(__tstate
);
24205 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24216 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24217 PyObject
*resultobj
= 0;
24218 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24227 PyObject
* obj0
= 0 ;
24228 PyObject
* obj1
= 0 ;
24229 PyObject
* obj2
= 0 ;
24230 char * kwnames
[] = {
24231 (char *) "self",(char *) "id",(char *) "enable", NULL
24234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24236 if (!SWIG_IsOK(res1
)) {
24237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24239 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24241 if (!SWIG_IsOK(ecode2
)) {
24242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24244 arg2
= static_cast< int >(val2
);
24245 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24246 if (!SWIG_IsOK(ecode3
)) {
24247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24249 arg3
= static_cast< bool >(val3
);
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 (arg1
)->EnableTool(arg2
,arg3
);
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= SWIG_Py_Void();
24263 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
= 0;
24265 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24274 PyObject
* obj0
= 0 ;
24275 PyObject
* obj1
= 0 ;
24276 PyObject
* obj2
= 0 ;
24277 char * kwnames
[] = {
24278 (char *) "self",(char *) "id",(char *) "toggle", NULL
24281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24283 if (!SWIG_IsOK(res1
)) {
24284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24286 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24288 if (!SWIG_IsOK(ecode2
)) {
24289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24291 arg2
= static_cast< int >(val2
);
24292 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24293 if (!SWIG_IsOK(ecode3
)) {
24294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24296 arg3
= static_cast< bool >(val3
);
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 (arg1
)->ToggleTool(arg2
,arg3
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 resultobj
= SWIG_Py_Void();
24310 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
= 0;
24312 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 PyObject
* obj2
= 0 ;
24324 char * kwnames
[] = {
24325 (char *) "self",(char *) "id",(char *) "toggle", NULL
24328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24330 if (!SWIG_IsOK(res1
)) {
24331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24333 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24335 if (!SWIG_IsOK(ecode2
)) {
24336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24338 arg2
= static_cast< int >(val2
);
24339 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24340 if (!SWIG_IsOK(ecode3
)) {
24341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24343 arg3
= static_cast< bool >(val3
);
24345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24346 (arg1
)->SetToggle(arg2
,arg3
);
24347 wxPyEndAllowThreads(__tstate
);
24348 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= SWIG_Py_Void();
24357 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
= 0;
24359 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24361 PyObject
*result
= 0 ;
24366 PyObject
* obj0
= 0 ;
24367 PyObject
* obj1
= 0 ;
24368 char * kwnames
[] = {
24369 (char *) "self",(char *) "id", NULL
24372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24374 if (!SWIG_IsOK(res1
)) {
24375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24377 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24379 if (!SWIG_IsOK(ecode2
)) {
24380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24382 arg2
= static_cast< int >(val2
);
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= result
;
24396 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24397 PyObject
*resultobj
= 0;
24398 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24400 PyObject
*arg3
= (PyObject
*) 0 ;
24405 PyObject
* obj0
= 0 ;
24406 PyObject
* obj1
= 0 ;
24407 PyObject
* obj2
= 0 ;
24408 char * kwnames
[] = {
24409 (char *) "self",(char *) "id",(char *) "clientData", NULL
24412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24414 if (!SWIG_IsOK(res1
)) {
24415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24417 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24419 if (!SWIG_IsOK(ecode2
)) {
24420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24422 arg2
= static_cast< int >(val2
);
24425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24426 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24430 resultobj
= SWIG_Py_Void();
24437 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24438 PyObject
*resultobj
= 0;
24439 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24446 PyObject
* obj0
= 0 ;
24447 PyObject
* obj1
= 0 ;
24448 char * kwnames
[] = {
24449 (char *) "self",(char *) "id", NULL
24452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24454 if (!SWIG_IsOK(res1
)) {
24455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24457 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24459 if (!SWIG_IsOK(ecode2
)) {
24460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24462 arg2
= static_cast< int >(val2
);
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24466 wxPyEndAllowThreads(__tstate
);
24467 if (PyErr_Occurred()) SWIG_fail
;
24469 resultobj
= SWIG_From_int(static_cast< int >(result
));
24476 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24477 PyObject
*resultobj
= 0;
24478 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24485 PyObject
* obj0
= 0 ;
24486 PyObject
* obj1
= 0 ;
24487 char * kwnames
[] = {
24488 (char *) "self",(char *) "id", NULL
24491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24493 if (!SWIG_IsOK(res1
)) {
24494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24496 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24498 if (!SWIG_IsOK(ecode2
)) {
24499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24501 arg2
= static_cast< int >(val2
);
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 result
= (bool)(arg1
)->GetToolState(arg2
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24517 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
= 0;
24519 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24526 PyObject
* obj0
= 0 ;
24527 PyObject
* obj1
= 0 ;
24528 char * kwnames
[] = {
24529 (char *) "self",(char *) "id", NULL
24532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24534 if (!SWIG_IsOK(res1
)) {
24535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24537 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24538 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24539 if (!SWIG_IsOK(ecode2
)) {
24540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24542 arg2
= static_cast< int >(val2
);
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24546 wxPyEndAllowThreads(__tstate
);
24547 if (PyErr_Occurred()) SWIG_fail
;
24550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24558 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24559 PyObject
*resultobj
= 0;
24560 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24562 wxString
*arg3
= 0 ;
24567 bool temp3
= false ;
24568 PyObject
* obj0
= 0 ;
24569 PyObject
* obj1
= 0 ;
24570 PyObject
* obj2
= 0 ;
24571 char * kwnames
[] = {
24572 (char *) "self",(char *) "id",(char *) "helpString", NULL
24575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24577 if (!SWIG_IsOK(res1
)) {
24578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24580 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24582 if (!SWIG_IsOK(ecode2
)) {
24583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24585 arg2
= static_cast< int >(val2
);
24587 arg3
= wxString_in_helper(obj2
);
24588 if (arg3
== NULL
) SWIG_fail
;
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= SWIG_Py_Void();
24612 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
= 0;
24614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24621 PyObject
* obj0
= 0 ;
24622 PyObject
* obj1
= 0 ;
24623 char * kwnames
[] = {
24624 (char *) "self",(char *) "id", NULL
24627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24629 if (!SWIG_IsOK(res1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24632 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24634 if (!SWIG_IsOK(ecode2
)) {
24635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24637 arg2
= static_cast< int >(val2
);
24639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24640 result
= (arg1
)->GetToolShortHelp(arg2
);
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24657 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
= 0;
24659 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24661 wxString
*arg3
= 0 ;
24666 bool temp3
= false ;
24667 PyObject
* obj0
= 0 ;
24668 PyObject
* obj1
= 0 ;
24669 PyObject
* obj2
= 0 ;
24670 char * kwnames
[] = {
24671 (char *) "self",(char *) "id",(char *) "helpString", NULL
24674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24676 if (!SWIG_IsOK(res1
)) {
24677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24679 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24681 if (!SWIG_IsOK(ecode2
)) {
24682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24684 arg2
= static_cast< int >(val2
);
24686 arg3
= wxString_in_helper(obj2
);
24687 if (arg3
== NULL
) SWIG_fail
;
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= SWIG_Py_Void();
24711 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
= 0;
24713 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24720 PyObject
* obj0
= 0 ;
24721 PyObject
* obj1
= 0 ;
24722 char * kwnames
[] = {
24723 (char *) "self",(char *) "id", NULL
24726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24728 if (!SWIG_IsOK(res1
)) {
24729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24731 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24733 if (!SWIG_IsOK(ecode2
)) {
24734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
24736 arg2
= static_cast< int >(val2
);
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 result
= (arg1
)->GetToolLongHelp(arg2
);
24740 wxPyEndAllowThreads(__tstate
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24756 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24757 PyObject
*resultobj
= 0;
24758 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24767 PyObject
* obj0
= 0 ;
24768 PyObject
* obj1
= 0 ;
24769 PyObject
* obj2
= 0 ;
24770 char * kwnames
[] = {
24771 (char *) "self",(char *) "x",(char *) "y", NULL
24774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24776 if (!SWIG_IsOK(res1
)) {
24777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24779 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24780 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24781 if (!SWIG_IsOK(ecode2
)) {
24782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
24784 arg2
= static_cast< int >(val2
);
24785 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24786 if (!SWIG_IsOK(ecode3
)) {
24787 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
24789 arg3
= static_cast< int >(val3
);
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 (arg1
)->SetMargins(arg2
,arg3
);
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24796 resultobj
= SWIG_Py_Void();
24803 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24804 PyObject
*resultobj
= 0;
24805 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24810 PyObject
* obj0
= 0 ;
24811 PyObject
* obj1
= 0 ;
24812 char * kwnames
[] = {
24813 (char *) "self",(char *) "size", NULL
24816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24818 if (!SWIG_IsOK(res1
)) {
24819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24821 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24824 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24828 (arg1
)->SetMargins((wxSize
const &)*arg2
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24832 resultobj
= SWIG_Py_Void();
24839 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
= 0;
24841 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24847 PyObject
* obj0
= 0 ;
24848 PyObject
* obj1
= 0 ;
24849 char * kwnames
[] = {
24850 (char *) "self",(char *) "packing", NULL
24853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24855 if (!SWIG_IsOK(res1
)) {
24856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24858 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24860 if (!SWIG_IsOK(ecode2
)) {
24861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
24863 arg2
= static_cast< int >(val2
);
24865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24866 (arg1
)->SetToolPacking(arg2
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24870 resultobj
= SWIG_Py_Void();
24877 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
= 0;
24879 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24885 PyObject
* obj0
= 0 ;
24886 PyObject
* obj1
= 0 ;
24887 char * kwnames
[] = {
24888 (char *) "self",(char *) "separation", NULL
24891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24893 if (!SWIG_IsOK(res1
)) {
24894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24896 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24898 if (!SWIG_IsOK(ecode2
)) {
24899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
24901 arg2
= static_cast< int >(val2
);
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 (arg1
)->SetToolSeparation(arg2
);
24905 wxPyEndAllowThreads(__tstate
);
24906 if (PyErr_Occurred()) SWIG_fail
;
24908 resultobj
= SWIG_Py_Void();
24915 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24916 PyObject
*resultobj
= 0;
24917 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24921 PyObject
*swig_obj
[1] ;
24923 if (!args
) SWIG_fail
;
24924 swig_obj
[0] = args
;
24925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24926 if (!SWIG_IsOK(res1
)) {
24927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24929 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 result
= (arg1
)->GetToolMargins();
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24936 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24943 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24944 PyObject
*resultobj
= 0;
24945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24949 PyObject
*swig_obj
[1] ;
24951 if (!args
) SWIG_fail
;
24952 swig_obj
[0] = args
;
24953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24954 if (!SWIG_IsOK(res1
)) {
24955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24957 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 result
= (arg1
)->GetMargins();
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24964 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24971 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24972 PyObject
*resultobj
= 0;
24973 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24977 PyObject
*swig_obj
[1] ;
24979 if (!args
) SWIG_fail
;
24980 swig_obj
[0] = args
;
24981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24982 if (!SWIG_IsOK(res1
)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24985 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 result
= (int)(arg1
)->GetToolPacking();
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= SWIG_From_int(static_cast< int >(result
));
24999 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25000 PyObject
*resultobj
= 0;
25001 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25005 PyObject
*swig_obj
[1] ;
25007 if (!args
) SWIG_fail
;
25008 swig_obj
[0] = args
;
25009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25010 if (!SWIG_IsOK(res1
)) {
25011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25013 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 result
= (int)(arg1
)->GetToolSeparation();
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25020 resultobj
= SWIG_From_int(static_cast< int >(result
));
25027 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25028 PyObject
*resultobj
= 0;
25029 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25035 PyObject
* obj0
= 0 ;
25036 PyObject
* obj1
= 0 ;
25037 char * kwnames
[] = {
25038 (char *) "self",(char *) "nRows", NULL
25041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25043 if (!SWIG_IsOK(res1
)) {
25044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25046 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25048 if (!SWIG_IsOK(ecode2
)) {
25049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25051 arg2
= static_cast< int >(val2
);
25053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25054 (arg1
)->SetRows(arg2
);
25055 wxPyEndAllowThreads(__tstate
);
25056 if (PyErr_Occurred()) SWIG_fail
;
25058 resultobj
= SWIG_Py_Void();
25065 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
= 0;
25067 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25076 PyObject
* obj0
= 0 ;
25077 PyObject
* obj1
= 0 ;
25078 PyObject
* obj2
= 0 ;
25079 char * kwnames
[] = {
25080 (char *) "self",(char *) "rows",(char *) "cols", NULL
25083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25085 if (!SWIG_IsOK(res1
)) {
25086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25088 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25090 if (!SWIG_IsOK(ecode2
)) {
25091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25093 arg2
= static_cast< int >(val2
);
25094 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25095 if (!SWIG_IsOK(ecode3
)) {
25096 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25098 arg3
= static_cast< int >(val3
);
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25102 wxPyEndAllowThreads(__tstate
);
25103 if (PyErr_Occurred()) SWIG_fail
;
25105 resultobj
= SWIG_Py_Void();
25112 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25113 PyObject
*resultobj
= 0;
25114 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25118 PyObject
*swig_obj
[1] ;
25120 if (!args
) SWIG_fail
;
25121 swig_obj
[0] = args
;
25122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25123 if (!SWIG_IsOK(res1
)) {
25124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25126 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25129 result
= (int)(arg1
)->GetMaxRows();
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= SWIG_From_int(static_cast< int >(result
));
25140 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25141 PyObject
*resultobj
= 0;
25142 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25146 PyObject
*swig_obj
[1] ;
25148 if (!args
) SWIG_fail
;
25149 swig_obj
[0] = args
;
25150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25151 if (!SWIG_IsOK(res1
)) {
25152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25154 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25157 result
= (int)(arg1
)->GetMaxCols();
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25161 resultobj
= SWIG_From_int(static_cast< int >(result
));
25168 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
= 0;
25170 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 char * kwnames
[] = {
25178 (char *) "self",(char *) "size", NULL
25181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25183 if (!SWIG_IsOK(res1
)) {
25184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25186 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25189 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25197 resultobj
= SWIG_Py_Void();
25204 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25205 PyObject
*resultobj
= 0;
25206 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25210 PyObject
*swig_obj
[1] ;
25212 if (!args
) SWIG_fail
;
25213 swig_obj
[0] = args
;
25214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25215 if (!SWIG_IsOK(res1
)) {
25216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25218 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 result
= (arg1
)->GetToolBitmapSize();
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25225 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25232 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25233 PyObject
*resultobj
= 0;
25234 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25238 PyObject
*swig_obj
[1] ;
25240 if (!args
) SWIG_fail
;
25241 swig_obj
[0] = args
;
25242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25243 if (!SWIG_IsOK(res1
)) {
25244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25246 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 result
= (arg1
)->GetToolSize();
25250 wxPyEndAllowThreads(__tstate
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25253 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25260 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
= 0;
25262 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25265 wxToolBarToolBase
*result
= 0 ;
25272 PyObject
* obj0
= 0 ;
25273 PyObject
* obj1
= 0 ;
25274 PyObject
* obj2
= 0 ;
25275 char * kwnames
[] = {
25276 (char *) "self",(char *) "x",(char *) "y", NULL
25279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25281 if (!SWIG_IsOK(res1
)) {
25282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25284 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25285 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25286 if (!SWIG_IsOK(ecode2
)) {
25287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25289 arg2
= static_cast< int >(val2
);
25290 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25291 if (!SWIG_IsOK(ecode3
)) {
25292 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25294 arg3
= static_cast< int >(val3
);
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25302 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25310 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
= 0;
25312 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25314 wxToolBarToolBase
*result
= 0 ;
25319 PyObject
* obj0
= 0 ;
25320 PyObject
* obj1
= 0 ;
25321 char * kwnames
[] = {
25322 (char *) "self",(char *) "toolid", NULL
25325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25327 if (!SWIG_IsOK(res1
)) {
25328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25330 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25332 if (!SWIG_IsOK(ecode2
)) {
25333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25335 arg2
= static_cast< int >(val2
);
25337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25338 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25339 wxPyEndAllowThreads(__tstate
);
25340 if (PyErr_Occurred()) SWIG_fail
;
25343 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25351 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25352 PyObject
*resultobj
= 0;
25353 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25357 PyObject
*swig_obj
[1] ;
25359 if (!args
) SWIG_fail
;
25360 swig_obj
[0] = args
;
25361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25362 if (!SWIG_IsOK(res1
)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25365 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 result
= (bool)(arg1
)->IsVertical();
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25381 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25382 PyObject
*resultobj
= 0;
25383 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25387 PyObject
*swig_obj
[1] ;
25389 if (!args
) SWIG_fail
;
25390 swig_obj
[0] = args
;
25391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25392 if (!SWIG_IsOK(res1
)) {
25393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25395 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25409 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25411 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25412 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25413 return SWIG_Py_Void();
25416 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25417 PyObject
*resultobj
= 0;
25418 wxWindow
*arg1
= (wxWindow
*) 0 ;
25419 int arg2
= (int) -1 ;
25420 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25421 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25422 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25423 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25424 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25425 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25426 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25427 wxToolBar
*result
= 0 ;
25436 bool temp6
= false ;
25437 PyObject
* obj0
= 0 ;
25438 PyObject
* obj1
= 0 ;
25439 PyObject
* obj2
= 0 ;
25440 PyObject
* obj3
= 0 ;
25441 PyObject
* obj4
= 0 ;
25442 PyObject
* obj5
= 0 ;
25443 char * kwnames
[] = {
25444 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25449 if (!SWIG_IsOK(res1
)) {
25450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25452 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25455 if (!SWIG_IsOK(ecode2
)) {
25456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25458 arg2
= static_cast< int >(val2
);
25463 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25469 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25473 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25474 if (!SWIG_IsOK(ecode5
)) {
25475 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25477 arg5
= static_cast< long >(val5
);
25481 arg6
= wxString_in_helper(obj5
);
25482 if (arg6
== NULL
) SWIG_fail
;
25487 if (!wxPyCheckForApp()) SWIG_fail
;
25488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25490 wxPyEndAllowThreads(__tstate
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25508 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25509 PyObject
*resultobj
= 0;
25510 wxToolBar
*result
= 0 ;
25512 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25514 if (!wxPyCheckForApp()) SWIG_fail
;
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25516 result
= (wxToolBar
*)new wxToolBar();
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25527 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25528 PyObject
*resultobj
= 0;
25529 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25530 wxWindow
*arg2
= (wxWindow
*) 0 ;
25531 int arg3
= (int) -1 ;
25532 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25533 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25534 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25535 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25536 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25537 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25538 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25550 bool temp7
= false ;
25551 PyObject
* obj0
= 0 ;
25552 PyObject
* obj1
= 0 ;
25553 PyObject
* obj2
= 0 ;
25554 PyObject
* obj3
= 0 ;
25555 PyObject
* obj4
= 0 ;
25556 PyObject
* obj5
= 0 ;
25557 PyObject
* obj6
= 0 ;
25558 char * kwnames
[] = {
25559 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25564 if (!SWIG_IsOK(res1
)) {
25565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25567 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25569 if (!SWIG_IsOK(res2
)) {
25570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25572 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25574 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25575 if (!SWIG_IsOK(ecode3
)) {
25576 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25578 arg3
= static_cast< int >(val3
);
25583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25593 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25594 if (!SWIG_IsOK(ecode6
)) {
25595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25597 arg6
= static_cast< long >(val6
);
25601 arg7
= wxString_in_helper(obj6
);
25602 if (arg7
== NULL
) SWIG_fail
;
25607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25608 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25609 wxPyEndAllowThreads(__tstate
);
25610 if (PyErr_Occurred()) SWIG_fail
;
25613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25629 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25630 PyObject
*resultobj
= 0;
25631 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25632 SwigValueWrapper
<wxVisualAttributes
> result
;
25635 PyObject
* obj0
= 0 ;
25636 char * kwnames
[] = {
25637 (char *) "variant", NULL
25640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25642 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25643 if (!SWIG_IsOK(ecode1
)) {
25644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25646 arg1
= static_cast< wxWindowVariant
>(val1
);
25649 if (!wxPyCheckForApp()) SWIG_fail
;
25650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25651 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
25662 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25665 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
25666 return SWIG_Py_Void();
25669 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25670 return SWIG_Python_InitShadowInstance(args
);
25673 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
25674 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
25679 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
25680 PyObject
*pyobj
= 0;
25684 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25686 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
25693 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
= 0;
25695 wxColour
const &arg1_defvalue
= wxNullColour
;
25696 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
25697 wxColour
const &arg2_defvalue
= wxNullColour
;
25698 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
25699 wxFont
const &arg3_defvalue
= wxNullFont
;
25700 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
25701 wxListItemAttr
*result
= 0 ;
25706 PyObject
* obj0
= 0 ;
25707 PyObject
* obj1
= 0 ;
25708 PyObject
* obj2
= 0 ;
25709 char * kwnames
[] = {
25710 (char *) "colText",(char *) "colBack",(char *) "font", NULL
25713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25717 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
25723 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25727 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
25728 if (!SWIG_IsOK(res3
)) {
25729 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
25734 arg3
= reinterpret_cast< wxFont
* >(argp3
);
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
25749 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25750 PyObject
*resultobj
= 0;
25751 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25754 PyObject
*swig_obj
[1] ;
25756 if (!args
) SWIG_fail
;
25757 swig_obj
[0] = args
;
25758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
25759 if (!SWIG_IsOK(res1
)) {
25760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25762 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= SWIG_Py_Void();
25777 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25778 PyObject
*resultobj
= 0;
25779 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25780 wxColour
*arg2
= 0 ;
25784 PyObject
* obj0
= 0 ;
25785 PyObject
* obj1
= 0 ;
25786 char * kwnames
[] = {
25787 (char *) "self",(char *) "colText", NULL
25790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25792 if (!SWIG_IsOK(res1
)) {
25793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25795 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25798 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25802 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
25803 wxPyEndAllowThreads(__tstate
);
25804 if (PyErr_Occurred()) SWIG_fail
;
25806 resultobj
= SWIG_Py_Void();
25813 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25814 PyObject
*resultobj
= 0;
25815 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25816 wxColour
*arg2
= 0 ;
25820 PyObject
* obj0
= 0 ;
25821 PyObject
* obj1
= 0 ;
25822 char * kwnames
[] = {
25823 (char *) "self",(char *) "colBack", NULL
25826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25828 if (!SWIG_IsOK(res1
)) {
25829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25831 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25834 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25839 wxPyEndAllowThreads(__tstate
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= SWIG_Py_Void();
25849 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25850 PyObject
*resultobj
= 0;
25851 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25857 PyObject
* obj0
= 0 ;
25858 PyObject
* obj1
= 0 ;
25859 char * kwnames
[] = {
25860 (char *) "self",(char *) "font", NULL
25863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25865 if (!SWIG_IsOK(res1
)) {
25866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25868 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25869 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
25870 if (!SWIG_IsOK(res2
)) {
25871 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25874 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
25876 arg2
= reinterpret_cast< wxFont
* >(argp2
);
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 (arg1
)->SetFont((wxFont
const &)*arg2
);
25880 wxPyEndAllowThreads(__tstate
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 resultobj
= SWIG_Py_Void();
25890 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25891 PyObject
*resultobj
= 0;
25892 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25896 PyObject
*swig_obj
[1] ;
25898 if (!args
) SWIG_fail
;
25899 swig_obj
[0] = args
;
25900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25901 if (!SWIG_IsOK(res1
)) {
25902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25904 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 result
= (bool)(arg1
)->HasTextColour();
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25920 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25921 PyObject
*resultobj
= 0;
25922 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25926 PyObject
*swig_obj
[1] ;
25928 if (!args
) SWIG_fail
;
25929 swig_obj
[0] = args
;
25930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25931 if (!SWIG_IsOK(res1
)) {
25932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25934 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25937 result
= (bool)(arg1
)->HasBackgroundColour();
25938 wxPyEndAllowThreads(__tstate
);
25939 if (PyErr_Occurred()) SWIG_fail
;
25942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25950 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25951 PyObject
*resultobj
= 0;
25952 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25956 PyObject
*swig_obj
[1] ;
25958 if (!args
) SWIG_fail
;
25959 swig_obj
[0] = args
;
25960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25961 if (!SWIG_IsOK(res1
)) {
25962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25964 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 result
= (bool)(arg1
)->HasFont();
25968 wxPyEndAllowThreads(__tstate
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25980 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25981 PyObject
*resultobj
= 0;
25982 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
25986 PyObject
*swig_obj
[1] ;
25988 if (!args
) SWIG_fail
;
25989 swig_obj
[0] = args
;
25990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
25991 if (!SWIG_IsOK(res1
)) {
25992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
25994 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
25996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25997 result
= (arg1
)->GetTextColour();
25998 wxPyEndAllowThreads(__tstate
);
25999 if (PyErr_Occurred()) SWIG_fail
;
26001 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26008 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26009 PyObject
*resultobj
= 0;
26010 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26014 PyObject
*swig_obj
[1] ;
26016 if (!args
) SWIG_fail
;
26017 swig_obj
[0] = args
;
26018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26019 if (!SWIG_IsOK(res1
)) {
26020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26022 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 result
= (arg1
)->GetBackgroundColour();
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26036 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26037 PyObject
*resultobj
= 0;
26038 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26042 PyObject
*swig_obj
[1] ;
26044 if (!args
) SWIG_fail
;
26045 swig_obj
[0] = args
;
26046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26047 if (!SWIG_IsOK(res1
)) {
26048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26050 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26053 result
= (arg1
)->GetFont();
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26057 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26064 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26065 PyObject
*resultobj
= 0;
26066 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26067 wxListItemAttr
*arg2
= 0 ;
26072 PyObject
* obj0
= 0 ;
26073 PyObject
* obj1
= 0 ;
26074 char * kwnames
[] = {
26075 (char *) "self",(char *) "source", NULL
26078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26080 if (!SWIG_IsOK(res1
)) {
26081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26083 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26084 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26085 if (!SWIG_IsOK(res2
)) {
26086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26089 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26091 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_Py_Void();
26105 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26106 PyObject
*resultobj
= 0;
26107 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26110 PyObject
*swig_obj
[1] ;
26112 if (!args
) SWIG_fail
;
26113 swig_obj
[0] = args
;
26114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26115 if (!SWIG_IsOK(res1
)) {
26116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26118 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26121 wxListItemAttr_Destroy(arg1
);
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26125 resultobj
= SWIG_Py_Void();
26132 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26134 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26135 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26136 return SWIG_Py_Void();
26139 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26140 return SWIG_Python_InitShadowInstance(args
);
26143 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26144 PyObject
*resultobj
= 0;
26145 wxListItem
*result
= 0 ;
26147 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26150 result
= (wxListItem
*)new wxListItem();
26151 wxPyEndAllowThreads(__tstate
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26155 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
26163 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26164 PyObject
*resultobj
= 0;
26165 wxListItem
*arg1
= (wxListItem
*) 0 ;
26168 PyObject
*swig_obj
[1] ;
26170 if (!args
) SWIG_fail
;
26171 swig_obj
[0] = args
;
26172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26173 if (!SWIG_IsOK(res1
)) {
26174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26176 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= SWIG_Py_Void();
26191 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26192 PyObject
*resultobj
= 0;
26193 wxListItem
*arg1
= (wxListItem
*) 0 ;
26196 PyObject
*swig_obj
[1] ;
26198 if (!args
) SWIG_fail
;
26199 swig_obj
[0] = args
;
26200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26201 if (!SWIG_IsOK(res1
)) {
26202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26204 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 wxPyEndAllowThreads(__tstate
);
26209 if (PyErr_Occurred()) SWIG_fail
;
26211 resultobj
= SWIG_Py_Void();
26218 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26219 PyObject
*resultobj
= 0;
26220 wxListItem
*arg1
= (wxListItem
*) 0 ;
26223 PyObject
*swig_obj
[1] ;
26225 if (!args
) SWIG_fail
;
26226 swig_obj
[0] = args
;
26227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26228 if (!SWIG_IsOK(res1
)) {
26229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26231 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 (arg1
)->ClearAttributes();
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= SWIG_Py_Void();
26245 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
= 0;
26247 wxListItem
*arg1
= (wxListItem
*) 0 ;
26253 PyObject
* obj0
= 0 ;
26254 PyObject
* obj1
= 0 ;
26255 char * kwnames
[] = {
26256 (char *) "self",(char *) "mask", NULL
26259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26261 if (!SWIG_IsOK(res1
)) {
26262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26264 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26265 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26266 if (!SWIG_IsOK(ecode2
)) {
26267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26269 arg2
= static_cast< long >(val2
);
26271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26272 (arg1
)->SetMask(arg2
);
26273 wxPyEndAllowThreads(__tstate
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26276 resultobj
= SWIG_Py_Void();
26283 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
= 0;
26285 wxListItem
*arg1
= (wxListItem
*) 0 ;
26291 PyObject
* obj0
= 0 ;
26292 PyObject
* obj1
= 0 ;
26293 char * kwnames
[] = {
26294 (char *) "self",(char *) "id", NULL
26297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26299 if (!SWIG_IsOK(res1
)) {
26300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26302 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26303 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26304 if (!SWIG_IsOK(ecode2
)) {
26305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26307 arg2
= static_cast< long >(val2
);
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 (arg1
)->SetId(arg2
);
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26314 resultobj
= SWIG_Py_Void();
26321 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26322 PyObject
*resultobj
= 0;
26323 wxListItem
*arg1
= (wxListItem
*) 0 ;
26329 PyObject
* obj0
= 0 ;
26330 PyObject
* obj1
= 0 ;
26331 char * kwnames
[] = {
26332 (char *) "self",(char *) "col", NULL
26335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26337 if (!SWIG_IsOK(res1
)) {
26338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26340 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26342 if (!SWIG_IsOK(ecode2
)) {
26343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26345 arg2
= static_cast< int >(val2
);
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 (arg1
)->SetColumn(arg2
);
26349 wxPyEndAllowThreads(__tstate
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26352 resultobj
= SWIG_Py_Void();
26359 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26360 PyObject
*resultobj
= 0;
26361 wxListItem
*arg1
= (wxListItem
*) 0 ;
26367 PyObject
* obj0
= 0 ;
26368 PyObject
* obj1
= 0 ;
26369 char * kwnames
[] = {
26370 (char *) "self",(char *) "state", NULL
26373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26375 if (!SWIG_IsOK(res1
)) {
26376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26378 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26379 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26380 if (!SWIG_IsOK(ecode2
)) {
26381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26383 arg2
= static_cast< long >(val2
);
26385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26386 (arg1
)->SetState(arg2
);
26387 wxPyEndAllowThreads(__tstate
);
26388 if (PyErr_Occurred()) SWIG_fail
;
26390 resultobj
= SWIG_Py_Void();
26397 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26398 PyObject
*resultobj
= 0;
26399 wxListItem
*arg1
= (wxListItem
*) 0 ;
26405 PyObject
* obj0
= 0 ;
26406 PyObject
* obj1
= 0 ;
26407 char * kwnames
[] = {
26408 (char *) "self",(char *) "stateMask", NULL
26411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26413 if (!SWIG_IsOK(res1
)) {
26414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26416 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26417 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26418 if (!SWIG_IsOK(ecode2
)) {
26419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26421 arg2
= static_cast< long >(val2
);
26423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26424 (arg1
)->SetStateMask(arg2
);
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= SWIG_Py_Void();
26435 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
= 0;
26437 wxListItem
*arg1
= (wxListItem
*) 0 ;
26438 wxString
*arg2
= 0 ;
26441 bool temp2
= false ;
26442 PyObject
* obj0
= 0 ;
26443 PyObject
* obj1
= 0 ;
26444 char * kwnames
[] = {
26445 (char *) "self",(char *) "text", NULL
26448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26450 if (!SWIG_IsOK(res1
)) {
26451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26453 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26455 arg2
= wxString_in_helper(obj1
);
26456 if (arg2
== NULL
) SWIG_fail
;
26460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26461 (arg1
)->SetText((wxString
const &)*arg2
);
26462 wxPyEndAllowThreads(__tstate
);
26463 if (PyErr_Occurred()) SWIG_fail
;
26465 resultobj
= SWIG_Py_Void();
26480 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26481 PyObject
*resultobj
= 0;
26482 wxListItem
*arg1
= (wxListItem
*) 0 ;
26488 PyObject
* obj0
= 0 ;
26489 PyObject
* obj1
= 0 ;
26490 char * kwnames
[] = {
26491 (char *) "self",(char *) "image", NULL
26494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26496 if (!SWIG_IsOK(res1
)) {
26497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26499 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26501 if (!SWIG_IsOK(ecode2
)) {
26502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26504 arg2
= static_cast< int >(val2
);
26506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26507 (arg1
)->SetImage(arg2
);
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 resultobj
= SWIG_Py_Void();
26518 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
= 0;
26520 wxListItem
*arg1
= (wxListItem
*) 0 ;
26526 PyObject
* obj0
= 0 ;
26527 PyObject
* obj1
= 0 ;
26528 char * kwnames
[] = {
26529 (char *) "self",(char *) "data", NULL
26532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26534 if (!SWIG_IsOK(res1
)) {
26535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26537 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26538 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26539 if (!SWIG_IsOK(ecode2
)) {
26540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26542 arg2
= static_cast< long >(val2
);
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 (arg1
)->SetData(arg2
);
26546 wxPyEndAllowThreads(__tstate
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26549 resultobj
= SWIG_Py_Void();
26556 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26557 PyObject
*resultobj
= 0;
26558 wxListItem
*arg1
= (wxListItem
*) 0 ;
26564 PyObject
* obj0
= 0 ;
26565 PyObject
* obj1
= 0 ;
26566 char * kwnames
[] = {
26567 (char *) "self",(char *) "width", NULL
26570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26572 if (!SWIG_IsOK(res1
)) {
26573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26575 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26577 if (!SWIG_IsOK(ecode2
)) {
26578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26580 arg2
= static_cast< int >(val2
);
26582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 (arg1
)->SetWidth(arg2
);
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 resultobj
= SWIG_Py_Void();
26594 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26595 PyObject
*resultobj
= 0;
26596 wxListItem
*arg1
= (wxListItem
*) 0 ;
26597 wxListColumnFormat arg2
;
26602 PyObject
* obj0
= 0 ;
26603 PyObject
* obj1
= 0 ;
26604 char * kwnames
[] = {
26605 (char *) "self",(char *) "align", NULL
26608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26610 if (!SWIG_IsOK(res1
)) {
26611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26613 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26614 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26615 if (!SWIG_IsOK(ecode2
)) {
26616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26618 arg2
= static_cast< wxListColumnFormat
>(val2
);
26620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26621 (arg1
)->SetAlign(arg2
);
26622 wxPyEndAllowThreads(__tstate
);
26623 if (PyErr_Occurred()) SWIG_fail
;
26625 resultobj
= SWIG_Py_Void();
26632 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26633 PyObject
*resultobj
= 0;
26634 wxListItem
*arg1
= (wxListItem
*) 0 ;
26635 wxColour
*arg2
= 0 ;
26639 PyObject
* obj0
= 0 ;
26640 PyObject
* obj1
= 0 ;
26641 char * kwnames
[] = {
26642 (char *) "self",(char *) "colText", NULL
26645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26647 if (!SWIG_IsOK(res1
)) {
26648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26650 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26653 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26658 wxPyEndAllowThreads(__tstate
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26661 resultobj
= SWIG_Py_Void();
26668 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26669 PyObject
*resultobj
= 0;
26670 wxListItem
*arg1
= (wxListItem
*) 0 ;
26671 wxColour
*arg2
= 0 ;
26675 PyObject
* obj0
= 0 ;
26676 PyObject
* obj1
= 0 ;
26677 char * kwnames
[] = {
26678 (char *) "self",(char *) "colBack", NULL
26681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26683 if (!SWIG_IsOK(res1
)) {
26684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
26686 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26689 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26694 wxPyEndAllowThreads(__tstate
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26697 resultobj
= SWIG_Py_Void();
26704 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26705 PyObject
*resultobj
= 0;
26706 wxListItem
*arg1
= (wxListItem
*) 0 ;
26712 PyObject
* obj0
= 0 ;
26713 PyObject
* obj1
= 0 ;
26714 char * kwnames
[] = {
26715 (char *) "self",(char *) "font", NULL
26718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26720 if (!SWIG_IsOK(res1
)) {
26721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
26723 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26724 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26725 if (!SWIG_IsOK(res2
)) {
26726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26731 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 (arg1
)->SetFont((wxFont
const &)*arg2
);
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26738 resultobj
= SWIG_Py_Void();
26745 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26746 PyObject
*resultobj
= 0;
26747 wxListItem
*arg1
= (wxListItem
*) 0 ;
26751 PyObject
*swig_obj
[1] ;
26753 if (!args
) SWIG_fail
;
26754 swig_obj
[0] = args
;
26755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26756 if (!SWIG_IsOK(res1
)) {
26757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26759 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26762 result
= (long)(arg1
)->GetMask();
26763 wxPyEndAllowThreads(__tstate
);
26764 if (PyErr_Occurred()) SWIG_fail
;
26766 resultobj
= SWIG_From_long(static_cast< long >(result
));
26773 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26774 PyObject
*resultobj
= 0;
26775 wxListItem
*arg1
= (wxListItem
*) 0 ;
26779 PyObject
*swig_obj
[1] ;
26781 if (!args
) SWIG_fail
;
26782 swig_obj
[0] = args
;
26783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26784 if (!SWIG_IsOK(res1
)) {
26785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26787 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= (long)(arg1
)->GetId();
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 resultobj
= SWIG_From_long(static_cast< long >(result
));
26801 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26802 PyObject
*resultobj
= 0;
26803 wxListItem
*arg1
= (wxListItem
*) 0 ;
26807 PyObject
*swig_obj
[1] ;
26809 if (!args
) SWIG_fail
;
26810 swig_obj
[0] = args
;
26811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26812 if (!SWIG_IsOK(res1
)) {
26813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26815 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 result
= (int)(arg1
)->GetColumn();
26819 wxPyEndAllowThreads(__tstate
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 resultobj
= SWIG_From_int(static_cast< int >(result
));
26829 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26830 PyObject
*resultobj
= 0;
26831 wxListItem
*arg1
= (wxListItem
*) 0 ;
26835 PyObject
*swig_obj
[1] ;
26837 if (!args
) SWIG_fail
;
26838 swig_obj
[0] = args
;
26839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26840 if (!SWIG_IsOK(res1
)) {
26841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26843 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 result
= (long)(arg1
)->GetState();
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26850 resultobj
= SWIG_From_long(static_cast< long >(result
));
26857 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26858 PyObject
*resultobj
= 0;
26859 wxListItem
*arg1
= (wxListItem
*) 0 ;
26860 wxString
*result
= 0 ;
26863 PyObject
*swig_obj
[1] ;
26865 if (!args
) SWIG_fail
;
26866 swig_obj
[0] = args
;
26867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26868 if (!SWIG_IsOK(res1
)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26871 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26875 wxString
const &_result_ref
= (arg1
)->GetText();
26876 result
= (wxString
*) &_result_ref
;
26878 wxPyEndAllowThreads(__tstate
);
26879 if (PyErr_Occurred()) SWIG_fail
;
26883 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
26885 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
26894 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26895 PyObject
*resultobj
= 0;
26896 wxListItem
*arg1
= (wxListItem
*) 0 ;
26900 PyObject
*swig_obj
[1] ;
26902 if (!args
) SWIG_fail
;
26903 swig_obj
[0] = args
;
26904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26905 if (!SWIG_IsOK(res1
)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26908 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= (int)(arg1
)->GetImage();
26912 wxPyEndAllowThreads(__tstate
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26915 resultobj
= SWIG_From_int(static_cast< int >(result
));
26922 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26923 PyObject
*resultobj
= 0;
26924 wxListItem
*arg1
= (wxListItem
*) 0 ;
26928 PyObject
*swig_obj
[1] ;
26930 if (!args
) SWIG_fail
;
26931 swig_obj
[0] = args
;
26932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26933 if (!SWIG_IsOK(res1
)) {
26934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26936 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26939 result
= (long)(arg1
)->GetData();
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26943 resultobj
= SWIG_From_long(static_cast< long >(result
));
26950 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26951 PyObject
*resultobj
= 0;
26952 wxListItem
*arg1
= (wxListItem
*) 0 ;
26956 PyObject
*swig_obj
[1] ;
26958 if (!args
) SWIG_fail
;
26959 swig_obj
[0] = args
;
26960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26961 if (!SWIG_IsOK(res1
)) {
26962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26964 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 result
= (int)(arg1
)->GetWidth();
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= SWIG_From_int(static_cast< int >(result
));
26978 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26979 PyObject
*resultobj
= 0;
26980 wxListItem
*arg1
= (wxListItem
*) 0 ;
26981 wxListColumnFormat result
;
26984 PyObject
*swig_obj
[1] ;
26986 if (!args
) SWIG_fail
;
26987 swig_obj
[0] = args
;
26988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26989 if (!SWIG_IsOK(res1
)) {
26990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26992 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
26996 wxPyEndAllowThreads(__tstate
);
26997 if (PyErr_Occurred()) SWIG_fail
;
26999 resultobj
= SWIG_From_int(static_cast< int >(result
));
27006 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27007 PyObject
*resultobj
= 0;
27008 wxListItem
*arg1
= (wxListItem
*) 0 ;
27009 wxListItemAttr
*result
= 0 ;
27012 PyObject
*swig_obj
[1] ;
27014 if (!args
) SWIG_fail
;
27015 swig_obj
[0] = args
;
27016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27017 if (!SWIG_IsOK(res1
)) {
27018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27020 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27023 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27024 wxPyEndAllowThreads(__tstate
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27034 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27035 PyObject
*resultobj
= 0;
27036 wxListItem
*arg1
= (wxListItem
*) 0 ;
27040 PyObject
*swig_obj
[1] ;
27042 if (!args
) SWIG_fail
;
27043 swig_obj
[0] = args
;
27044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27045 if (!SWIG_IsOK(res1
)) {
27046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27048 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27051 result
= (bool)(arg1
)->HasAttributes();
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27064 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27065 PyObject
*resultobj
= 0;
27066 wxListItem
*arg1
= (wxListItem
*) 0 ;
27070 PyObject
*swig_obj
[1] ;
27072 if (!args
) SWIG_fail
;
27073 swig_obj
[0] = args
;
27074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27075 if (!SWIG_IsOK(res1
)) {
27076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27078 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27085 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27092 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27093 PyObject
*resultobj
= 0;
27094 wxListItem
*arg1
= (wxListItem
*) 0 ;
27098 PyObject
*swig_obj
[1] ;
27100 if (!args
) SWIG_fail
;
27101 swig_obj
[0] = args
;
27102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27103 if (!SWIG_IsOK(res1
)) {
27104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27106 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27120 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27121 PyObject
*resultobj
= 0;
27122 wxListItem
*arg1
= (wxListItem
*) 0 ;
27126 PyObject
*swig_obj
[1] ;
27128 if (!args
) SWIG_fail
;
27129 swig_obj
[0] = args
;
27130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27131 if (!SWIG_IsOK(res1
)) {
27132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27134 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 result
= ((wxListItem
const *)arg1
)->GetFont();
27138 wxPyEndAllowThreads(__tstate
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27141 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27148 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27149 PyObject
*resultobj
= 0;
27150 wxListItem
*arg1
= (wxListItem
*) 0 ;
27156 PyObject
*swig_obj
[2] ;
27158 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27160 if (!SWIG_IsOK(res1
)) {
27161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27163 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27164 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27165 if (!SWIG_IsOK(ecode2
)) {
27166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27168 arg2
= static_cast< long >(val2
);
27169 if (arg1
) (arg1
)->m_mask
= arg2
;
27171 resultobj
= SWIG_Py_Void();
27178 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27179 PyObject
*resultobj
= 0;
27180 wxListItem
*arg1
= (wxListItem
*) 0 ;
27184 PyObject
*swig_obj
[1] ;
27186 if (!args
) SWIG_fail
;
27187 swig_obj
[0] = args
;
27188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27189 if (!SWIG_IsOK(res1
)) {
27190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27192 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27193 result
= (long) ((arg1
)->m_mask
);
27194 resultobj
= SWIG_From_long(static_cast< long >(result
));
27201 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27202 PyObject
*resultobj
= 0;
27203 wxListItem
*arg1
= (wxListItem
*) 0 ;
27209 PyObject
*swig_obj
[2] ;
27211 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27213 if (!SWIG_IsOK(res1
)) {
27214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27216 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27217 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27218 if (!SWIG_IsOK(ecode2
)) {
27219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27221 arg2
= static_cast< long >(val2
);
27222 if (arg1
) (arg1
)->m_itemId
= arg2
;
27224 resultobj
= SWIG_Py_Void();
27231 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27232 PyObject
*resultobj
= 0;
27233 wxListItem
*arg1
= (wxListItem
*) 0 ;
27237 PyObject
*swig_obj
[1] ;
27239 if (!args
) SWIG_fail
;
27240 swig_obj
[0] = args
;
27241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27242 if (!SWIG_IsOK(res1
)) {
27243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27245 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27246 result
= (long) ((arg1
)->m_itemId
);
27247 resultobj
= SWIG_From_long(static_cast< long >(result
));
27254 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27255 PyObject
*resultobj
= 0;
27256 wxListItem
*arg1
= (wxListItem
*) 0 ;
27262 PyObject
*swig_obj
[2] ;
27264 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27266 if (!SWIG_IsOK(res1
)) {
27267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27269 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27270 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27271 if (!SWIG_IsOK(ecode2
)) {
27272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27274 arg2
= static_cast< int >(val2
);
27275 if (arg1
) (arg1
)->m_col
= arg2
;
27277 resultobj
= SWIG_Py_Void();
27284 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27285 PyObject
*resultobj
= 0;
27286 wxListItem
*arg1
= (wxListItem
*) 0 ;
27290 PyObject
*swig_obj
[1] ;
27292 if (!args
) SWIG_fail
;
27293 swig_obj
[0] = args
;
27294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27295 if (!SWIG_IsOK(res1
)) {
27296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27298 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27299 result
= (int) ((arg1
)->m_col
);
27300 resultobj
= SWIG_From_int(static_cast< int >(result
));
27307 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27308 PyObject
*resultobj
= 0;
27309 wxListItem
*arg1
= (wxListItem
*) 0 ;
27315 PyObject
*swig_obj
[2] ;
27317 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27319 if (!SWIG_IsOK(res1
)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27322 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27323 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27324 if (!SWIG_IsOK(ecode2
)) {
27325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27327 arg2
= static_cast< long >(val2
);
27328 if (arg1
) (arg1
)->m_state
= arg2
;
27330 resultobj
= SWIG_Py_Void();
27337 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27338 PyObject
*resultobj
= 0;
27339 wxListItem
*arg1
= (wxListItem
*) 0 ;
27343 PyObject
*swig_obj
[1] ;
27345 if (!args
) SWIG_fail
;
27346 swig_obj
[0] = args
;
27347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27348 if (!SWIG_IsOK(res1
)) {
27349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27351 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27352 result
= (long) ((arg1
)->m_state
);
27353 resultobj
= SWIG_From_long(static_cast< long >(result
));
27360 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27361 PyObject
*resultobj
= 0;
27362 wxListItem
*arg1
= (wxListItem
*) 0 ;
27368 PyObject
*swig_obj
[2] ;
27370 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27372 if (!SWIG_IsOK(res1
)) {
27373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27375 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27376 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27377 if (!SWIG_IsOK(ecode2
)) {
27378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27380 arg2
= static_cast< long >(val2
);
27381 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27383 resultobj
= SWIG_Py_Void();
27390 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27391 PyObject
*resultobj
= 0;
27392 wxListItem
*arg1
= (wxListItem
*) 0 ;
27396 PyObject
*swig_obj
[1] ;
27398 if (!args
) SWIG_fail
;
27399 swig_obj
[0] = args
;
27400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27401 if (!SWIG_IsOK(res1
)) {
27402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27404 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27405 result
= (long) ((arg1
)->m_stateMask
);
27406 resultobj
= SWIG_From_long(static_cast< long >(result
));
27413 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27414 PyObject
*resultobj
= 0;
27415 wxListItem
*arg1
= (wxListItem
*) 0 ;
27416 wxString
*arg2
= (wxString
*) 0 ;
27419 bool temp2
= false ;
27420 PyObject
*swig_obj
[2] ;
27422 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27424 if (!SWIG_IsOK(res1
)) {
27425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27427 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27429 arg2
= wxString_in_helper(swig_obj
[1]);
27430 if (arg2
== NULL
) SWIG_fail
;
27433 if (arg1
) (arg1
)->m_text
= *arg2
;
27435 resultobj
= SWIG_Py_Void();
27450 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27451 PyObject
*resultobj
= 0;
27452 wxListItem
*arg1
= (wxListItem
*) 0 ;
27453 wxString
*result
= 0 ;
27456 PyObject
*swig_obj
[1] ;
27458 if (!args
) SWIG_fail
;
27459 swig_obj
[0] = args
;
27460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27461 if (!SWIG_IsOK(res1
)) {
27462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27464 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27465 result
= (wxString
*)& ((arg1
)->m_text
);
27468 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27470 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27479 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27480 PyObject
*resultobj
= 0;
27481 wxListItem
*arg1
= (wxListItem
*) 0 ;
27487 PyObject
*swig_obj
[2] ;
27489 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27491 if (!SWIG_IsOK(res1
)) {
27492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27494 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27495 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27496 if (!SWIG_IsOK(ecode2
)) {
27497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27499 arg2
= static_cast< int >(val2
);
27500 if (arg1
) (arg1
)->m_image
= arg2
;
27502 resultobj
= SWIG_Py_Void();
27509 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27510 PyObject
*resultobj
= 0;
27511 wxListItem
*arg1
= (wxListItem
*) 0 ;
27515 PyObject
*swig_obj
[1] ;
27517 if (!args
) SWIG_fail
;
27518 swig_obj
[0] = args
;
27519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27520 if (!SWIG_IsOK(res1
)) {
27521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27523 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27524 result
= (int) ((arg1
)->m_image
);
27525 resultobj
= SWIG_From_int(static_cast< int >(result
));
27532 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27533 PyObject
*resultobj
= 0;
27534 wxListItem
*arg1
= (wxListItem
*) 0 ;
27540 PyObject
*swig_obj
[2] ;
27542 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27544 if (!SWIG_IsOK(res1
)) {
27545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27547 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27548 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27549 if (!SWIG_IsOK(ecode2
)) {
27550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27552 arg2
= static_cast< long >(val2
);
27553 if (arg1
) (arg1
)->m_data
= arg2
;
27555 resultobj
= SWIG_Py_Void();
27562 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27563 PyObject
*resultobj
= 0;
27564 wxListItem
*arg1
= (wxListItem
*) 0 ;
27568 PyObject
*swig_obj
[1] ;
27570 if (!args
) SWIG_fail
;
27571 swig_obj
[0] = args
;
27572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27573 if (!SWIG_IsOK(res1
)) {
27574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27576 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27577 result
= (long) ((arg1
)->m_data
);
27578 resultobj
= SWIG_From_long(static_cast< long >(result
));
27585 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27586 PyObject
*resultobj
= 0;
27587 wxListItem
*arg1
= (wxListItem
*) 0 ;
27593 PyObject
*swig_obj
[2] ;
27595 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27597 if (!SWIG_IsOK(res1
)) {
27598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27600 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27601 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27602 if (!SWIG_IsOK(ecode2
)) {
27603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27605 arg2
= static_cast< int >(val2
);
27606 if (arg1
) (arg1
)->m_format
= arg2
;
27608 resultobj
= SWIG_Py_Void();
27615 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27616 PyObject
*resultobj
= 0;
27617 wxListItem
*arg1
= (wxListItem
*) 0 ;
27621 PyObject
*swig_obj
[1] ;
27623 if (!args
) SWIG_fail
;
27624 swig_obj
[0] = args
;
27625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27626 if (!SWIG_IsOK(res1
)) {
27627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27629 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27630 result
= (int) ((arg1
)->m_format
);
27631 resultobj
= SWIG_From_int(static_cast< int >(result
));
27638 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27639 PyObject
*resultobj
= 0;
27640 wxListItem
*arg1
= (wxListItem
*) 0 ;
27646 PyObject
*swig_obj
[2] ;
27648 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27650 if (!SWIG_IsOK(res1
)) {
27651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27653 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27654 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27655 if (!SWIG_IsOK(ecode2
)) {
27656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
27658 arg2
= static_cast< int >(val2
);
27659 if (arg1
) (arg1
)->m_width
= arg2
;
27661 resultobj
= SWIG_Py_Void();
27668 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27669 PyObject
*resultobj
= 0;
27670 wxListItem
*arg1
= (wxListItem
*) 0 ;
27674 PyObject
*swig_obj
[1] ;
27676 if (!args
) SWIG_fail
;
27677 swig_obj
[0] = args
;
27678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27679 if (!SWIG_IsOK(res1
)) {
27680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27682 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27683 result
= (int) ((arg1
)->m_width
);
27684 resultobj
= SWIG_From_int(static_cast< int >(result
));
27691 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27693 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27694 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
27695 return SWIG_Py_Void();
27698 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27699 return SWIG_Python_InitShadowInstance(args
);
27702 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27703 PyObject
*resultobj
= 0;
27704 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
27705 int arg2
= (int) 0 ;
27706 wxListEvent
*result
= 0 ;
27711 PyObject
* obj0
= 0 ;
27712 PyObject
* obj1
= 0 ;
27713 char * kwnames
[] = {
27714 (char *) "commandType",(char *) "id", NULL
27717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27719 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
27720 if (!SWIG_IsOK(ecode1
)) {
27721 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
27723 arg1
= static_cast< wxEventType
>(val1
);
27726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27727 if (!SWIG_IsOK(ecode2
)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
27730 arg2
= static_cast< int >(val2
);
27733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27734 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
27735 wxPyEndAllowThreads(__tstate
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
27745 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27746 PyObject
*resultobj
= 0;
27747 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27753 PyObject
*swig_obj
[2] ;
27755 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
27756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27757 if (!SWIG_IsOK(res1
)) {
27758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27760 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27761 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27762 if (!SWIG_IsOK(ecode2
)) {
27763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
27765 arg2
= static_cast< int >(val2
);
27766 if (arg1
) (arg1
)->m_code
= arg2
;
27768 resultobj
= SWIG_Py_Void();
27775 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27776 PyObject
*resultobj
= 0;
27777 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27781 PyObject
*swig_obj
[1] ;
27783 if (!args
) SWIG_fail
;
27784 swig_obj
[0] = args
;
27785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27786 if (!SWIG_IsOK(res1
)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27789 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27790 result
= (int) ((arg1
)->m_code
);
27791 resultobj
= SWIG_From_int(static_cast< int >(result
));
27798 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27799 PyObject
*resultobj
= 0;
27800 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27806 PyObject
*swig_obj
[2] ;
27808 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27810 if (!SWIG_IsOK(res1
)) {
27811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27813 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27814 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27815 if (!SWIG_IsOK(ecode2
)) {
27816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
27818 arg2
= static_cast< long >(val2
);
27819 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
27821 resultobj
= SWIG_Py_Void();
27828 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27829 PyObject
*resultobj
= 0;
27830 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27834 PyObject
*swig_obj
[1] ;
27836 if (!args
) SWIG_fail
;
27837 swig_obj
[0] = args
;
27838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27839 if (!SWIG_IsOK(res1
)) {
27840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27842 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27843 result
= (long) ((arg1
)->m_oldItemIndex
);
27844 resultobj
= SWIG_From_long(static_cast< long >(result
));
27851 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27852 PyObject
*resultobj
= 0;
27853 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27859 PyObject
*swig_obj
[2] ;
27861 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
27862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27863 if (!SWIG_IsOK(res1
)) {
27864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27866 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27867 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27868 if (!SWIG_IsOK(ecode2
)) {
27869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
27871 arg2
= static_cast< long >(val2
);
27872 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
27874 resultobj
= SWIG_Py_Void();
27881 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27882 PyObject
*resultobj
= 0;
27883 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27887 PyObject
*swig_obj
[1] ;
27889 if (!args
) SWIG_fail
;
27890 swig_obj
[0] = args
;
27891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27892 if (!SWIG_IsOK(res1
)) {
27893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27895 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27896 result
= (long) ((arg1
)->m_itemIndex
);
27897 resultobj
= SWIG_From_long(static_cast< long >(result
));
27904 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27905 PyObject
*resultobj
= 0;
27906 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27912 PyObject
*swig_obj
[2] ;
27914 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27916 if (!SWIG_IsOK(res1
)) {
27917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27919 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27920 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27921 if (!SWIG_IsOK(ecode2
)) {
27922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
27924 arg2
= static_cast< int >(val2
);
27925 if (arg1
) (arg1
)->m_col
= arg2
;
27927 resultobj
= SWIG_Py_Void();
27934 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27935 PyObject
*resultobj
= 0;
27936 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27940 PyObject
*swig_obj
[1] ;
27942 if (!args
) SWIG_fail
;
27943 swig_obj
[0] = args
;
27944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27945 if (!SWIG_IsOK(res1
)) {
27946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
27948 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27949 result
= (int) ((arg1
)->m_col
);
27950 resultobj
= SWIG_From_int(static_cast< int >(result
));
27957 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27958 PyObject
*resultobj
= 0;
27959 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27960 wxPoint
*arg2
= (wxPoint
*) 0 ;
27965 PyObject
*swig_obj
[2] ;
27967 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
27968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27969 if (!SWIG_IsOK(res1
)) {
27970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
27972 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
27973 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
27974 if (!SWIG_IsOK(res2
)) {
27975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
27977 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
27978 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
27980 resultobj
= SWIG_Py_Void();
27987 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27988 PyObject
*resultobj
= 0;
27989 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
27990 wxPoint
*result
= 0 ;
27993 PyObject
*swig_obj
[1] ;
27995 if (!args
) SWIG_fail
;
27996 swig_obj
[0] = args
;
27997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
27998 if (!SWIG_IsOK(res1
)) {
27999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28001 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28002 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28003 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28010 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28011 PyObject
*resultobj
= 0;
28012 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28013 wxListItem
*result
= 0 ;
28016 PyObject
*swig_obj
[1] ;
28018 if (!args
) SWIG_fail
;
28019 swig_obj
[0] = args
;
28020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28021 if (!SWIG_IsOK(res1
)) {
28022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28024 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28025 result
= (wxListItem
*)& ((arg1
)->m_item
);
28027 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28035 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28036 PyObject
*resultobj
= 0;
28037 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28041 PyObject
*swig_obj
[1] ;
28043 if (!args
) SWIG_fail
;
28044 swig_obj
[0] = args
;
28045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28046 if (!SWIG_IsOK(res1
)) {
28047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28049 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28052 result
= (int)(arg1
)->GetKeyCode();
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 resultobj
= SWIG_From_int(static_cast< int >(result
));
28063 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28064 PyObject
*resultobj
= 0;
28065 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28069 PyObject
*swig_obj
[1] ;
28071 if (!args
) SWIG_fail
;
28072 swig_obj
[0] = args
;
28073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28074 if (!SWIG_IsOK(res1
)) {
28075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28077 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 result
= (long)(arg1
)->GetIndex();
28081 wxPyEndAllowThreads(__tstate
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28084 resultobj
= SWIG_From_long(static_cast< long >(result
));
28091 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28092 PyObject
*resultobj
= 0;
28093 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28097 PyObject
*swig_obj
[1] ;
28099 if (!args
) SWIG_fail
;
28100 swig_obj
[0] = args
;
28101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28102 if (!SWIG_IsOK(res1
)) {
28103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28105 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 result
= (int)(arg1
)->GetColumn();
28109 wxPyEndAllowThreads(__tstate
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28112 resultobj
= SWIG_From_int(static_cast< int >(result
));
28119 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28120 PyObject
*resultobj
= 0;
28121 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28125 PyObject
*swig_obj
[1] ;
28127 if (!args
) SWIG_fail
;
28128 swig_obj
[0] = args
;
28129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28130 if (!SWIG_IsOK(res1
)) {
28131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28133 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28136 result
= (arg1
)->GetPoint();
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28140 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28147 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28148 PyObject
*resultobj
= 0;
28149 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28150 wxString
*result
= 0 ;
28153 PyObject
*swig_obj
[1] ;
28155 if (!args
) SWIG_fail
;
28156 swig_obj
[0] = args
;
28157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28158 if (!SWIG_IsOK(res1
)) {
28159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28161 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28165 wxString
const &_result_ref
= (arg1
)->GetLabel();
28166 result
= (wxString
*) &_result_ref
;
28168 wxPyEndAllowThreads(__tstate
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28175 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28184 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28185 PyObject
*resultobj
= 0;
28186 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28187 wxString
*result
= 0 ;
28190 PyObject
*swig_obj
[1] ;
28192 if (!args
) SWIG_fail
;
28193 swig_obj
[0] = args
;
28194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28195 if (!SWIG_IsOK(res1
)) {
28196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28198 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28202 wxString
const &_result_ref
= (arg1
)->GetText();
28203 result
= (wxString
*) &_result_ref
;
28205 wxPyEndAllowThreads(__tstate
);
28206 if (PyErr_Occurred()) SWIG_fail
;
28210 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28212 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28221 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28222 PyObject
*resultobj
= 0;
28223 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28227 PyObject
*swig_obj
[1] ;
28229 if (!args
) SWIG_fail
;
28230 swig_obj
[0] = args
;
28231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28232 if (!SWIG_IsOK(res1
)) {
28233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28235 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28238 result
= (int)(arg1
)->GetImage();
28239 wxPyEndAllowThreads(__tstate
);
28240 if (PyErr_Occurred()) SWIG_fail
;
28242 resultobj
= SWIG_From_int(static_cast< int >(result
));
28249 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28250 PyObject
*resultobj
= 0;
28251 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28255 PyObject
*swig_obj
[1] ;
28257 if (!args
) SWIG_fail
;
28258 swig_obj
[0] = args
;
28259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28260 if (!SWIG_IsOK(res1
)) {
28261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28263 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 result
= (long)(arg1
)->GetData();
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28270 resultobj
= SWIG_From_long(static_cast< long >(result
));
28277 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28278 PyObject
*resultobj
= 0;
28279 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28283 PyObject
*swig_obj
[1] ;
28285 if (!args
) SWIG_fail
;
28286 swig_obj
[0] = args
;
28287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28288 if (!SWIG_IsOK(res1
)) {
28289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28291 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28294 result
= (long)(arg1
)->GetMask();
28295 wxPyEndAllowThreads(__tstate
);
28296 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= SWIG_From_long(static_cast< long >(result
));
28305 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28306 PyObject
*resultobj
= 0;
28307 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28308 wxListItem
*result
= 0 ;
28311 PyObject
*swig_obj
[1] ;
28313 if (!args
) SWIG_fail
;
28314 swig_obj
[0] = args
;
28315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28316 if (!SWIG_IsOK(res1
)) {
28317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28319 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28323 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28324 result
= (wxListItem
*) &_result_ref
;
28326 wxPyEndAllowThreads(__tstate
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28336 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28337 PyObject
*resultobj
= 0;
28338 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28342 PyObject
*swig_obj
[1] ;
28344 if (!args
) SWIG_fail
;
28345 swig_obj
[0] = args
;
28346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28347 if (!SWIG_IsOK(res1
)) {
28348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28350 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 result
= (long)(arg1
)->GetCacheFrom();
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28357 resultobj
= SWIG_From_long(static_cast< long >(result
));
28364 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28365 PyObject
*resultobj
= 0;
28366 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28370 PyObject
*swig_obj
[1] ;
28372 if (!args
) SWIG_fail
;
28373 swig_obj
[0] = args
;
28374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28375 if (!SWIG_IsOK(res1
)) {
28376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28378 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 result
= (long)(arg1
)->GetCacheTo();
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28385 resultobj
= SWIG_From_long(static_cast< long >(result
));
28392 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28393 PyObject
*resultobj
= 0;
28394 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28398 PyObject
*swig_obj
[1] ;
28400 if (!args
) SWIG_fail
;
28401 swig_obj
[0] = args
;
28402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28403 if (!SWIG_IsOK(res1
)) {
28404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28406 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28409 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28410 wxPyEndAllowThreads(__tstate
);
28411 if (PyErr_Occurred()) SWIG_fail
;
28414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28422 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
= 0;
28424 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28430 PyObject
* obj0
= 0 ;
28431 PyObject
* obj1
= 0 ;
28432 char * kwnames
[] = {
28433 (char *) "self",(char *) "editCancelled", NULL
28436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28438 if (!SWIG_IsOK(res1
)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28441 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28442 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28443 if (!SWIG_IsOK(ecode2
)) {
28444 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28446 arg2
= static_cast< bool >(val2
);
28448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28449 (arg1
)->SetEditCanceled(arg2
);
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 resultobj
= SWIG_Py_Void();
28460 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28463 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28464 return SWIG_Py_Void();
28467 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28468 return SWIG_Python_InitShadowInstance(args
);
28471 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28472 PyObject
*resultobj
= 0;
28473 wxWindow
*arg1
= (wxWindow
*) 0 ;
28474 int arg2
= (int) -1 ;
28475 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28476 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28477 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28478 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28479 long arg5
= (long) wxLC_ICON
;
28480 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28481 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28482 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28483 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28484 wxPyListCtrl
*result
= 0 ;
28495 bool temp7
= false ;
28496 PyObject
* obj0
= 0 ;
28497 PyObject
* obj1
= 0 ;
28498 PyObject
* obj2
= 0 ;
28499 PyObject
* obj3
= 0 ;
28500 PyObject
* obj4
= 0 ;
28501 PyObject
* obj5
= 0 ;
28502 PyObject
* obj6
= 0 ;
28503 char * kwnames
[] = {
28504 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28509 if (!SWIG_IsOK(res1
)) {
28510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28512 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28515 if (!SWIG_IsOK(ecode2
)) {
28516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28518 arg2
= static_cast< int >(val2
);
28523 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28529 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28533 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28534 if (!SWIG_IsOK(ecode5
)) {
28535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28537 arg5
= static_cast< long >(val5
);
28540 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28541 if (!SWIG_IsOK(res6
)) {
28542 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28547 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28551 arg7
= wxString_in_helper(obj6
);
28552 if (arg7
== NULL
) SWIG_fail
;
28557 if (!wxPyCheckForApp()) SWIG_fail
;
28558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28559 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28560 wxPyEndAllowThreads(__tstate
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28578 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28579 PyObject
*resultobj
= 0;
28580 wxPyListCtrl
*result
= 0 ;
28582 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28584 if (!wxPyCheckForApp()) SWIG_fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28587 wxPyEndAllowThreads(__tstate
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28597 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
= 0;
28599 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28600 wxWindow
*arg2
= (wxWindow
*) 0 ;
28601 int arg3
= (int) -1 ;
28602 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28603 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28604 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28605 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28606 long arg6
= (long) wxLC_ICON
;
28607 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28608 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28609 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28610 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28624 bool temp8
= false ;
28625 PyObject
* obj0
= 0 ;
28626 PyObject
* obj1
= 0 ;
28627 PyObject
* obj2
= 0 ;
28628 PyObject
* obj3
= 0 ;
28629 PyObject
* obj4
= 0 ;
28630 PyObject
* obj5
= 0 ;
28631 PyObject
* obj6
= 0 ;
28632 PyObject
* obj7
= 0 ;
28633 char * kwnames
[] = {
28634 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28639 if (!SWIG_IsOK(res1
)) {
28640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28642 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28644 if (!SWIG_IsOK(res2
)) {
28645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28647 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28649 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28650 if (!SWIG_IsOK(ecode3
)) {
28651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
28653 arg3
= static_cast< int >(val3
);
28658 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28664 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28668 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28669 if (!SWIG_IsOK(ecode6
)) {
28670 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
28672 arg6
= static_cast< long >(val6
);
28675 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
28676 if (!SWIG_IsOK(res7
)) {
28677 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28680 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
28682 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
28686 arg8
= wxString_in_helper(obj7
);
28687 if (arg8
== NULL
) SWIG_fail
;
28692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28694 wxPyEndAllowThreads(__tstate
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28714 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28715 PyObject
*resultobj
= 0;
28716 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28717 PyObject
*arg2
= (PyObject
*) 0 ;
28718 PyObject
*arg3
= (PyObject
*) 0 ;
28721 PyObject
* obj0
= 0 ;
28722 PyObject
* obj1
= 0 ;
28723 PyObject
* obj2
= 0 ;
28724 char * kwnames
[] = {
28725 (char *) "self",(char *) "self",(char *) "_class", NULL
28728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28730 if (!SWIG_IsOK(res1
)) {
28731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28733 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 (arg1
)->_setCallbackInfo(arg2
,arg3
);
28739 wxPyEndAllowThreads(__tstate
);
28740 if (PyErr_Occurred()) SWIG_fail
;
28742 resultobj
= SWIG_Py_Void();
28749 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28750 PyObject
*resultobj
= 0;
28751 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28753 wxListItem
*result
= 0 ;
28758 PyObject
* obj0
= 0 ;
28759 PyObject
* obj1
= 0 ;
28760 char * kwnames
[] = {
28761 (char *) "self",(char *) "col", NULL
28764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28766 if (!SWIG_IsOK(res1
)) {
28767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28769 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28771 if (!SWIG_IsOK(ecode2
)) {
28772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
28774 arg2
= static_cast< int >(val2
);
28776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28777 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
28778 wxPyEndAllowThreads(__tstate
);
28779 if (PyErr_Occurred()) SWIG_fail
;
28782 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28790 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28791 PyObject
*resultobj
= 0;
28792 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28794 wxListItem
*arg3
= 0 ;
28802 PyObject
* obj0
= 0 ;
28803 PyObject
* obj1
= 0 ;
28804 PyObject
* obj2
= 0 ;
28805 char * kwnames
[] = {
28806 (char *) "self",(char *) "col",(char *) "item", NULL
28809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28811 if (!SWIG_IsOK(res1
)) {
28812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28814 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28816 if (!SWIG_IsOK(ecode2
)) {
28817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
28819 arg2
= static_cast< int >(val2
);
28820 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
28821 if (!SWIG_IsOK(res3
)) {
28822 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
28827 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
28829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28830 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
28831 wxPyEndAllowThreads(__tstate
);
28832 if (PyErr_Occurred()) SWIG_fail
;
28835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28843 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28844 PyObject
*resultobj
= 0;
28845 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28852 PyObject
* obj0
= 0 ;
28853 PyObject
* obj1
= 0 ;
28854 char * kwnames
[] = {
28855 (char *) "self",(char *) "col", NULL
28858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28860 if (!SWIG_IsOK(res1
)) {
28861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28863 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28865 if (!SWIG_IsOK(ecode2
)) {
28866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28868 arg2
= static_cast< int >(val2
);
28870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28871 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
28872 wxPyEndAllowThreads(__tstate
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 resultobj
= SWIG_From_int(static_cast< int >(result
));
28882 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28883 PyObject
*resultobj
= 0;
28884 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28894 PyObject
* obj0
= 0 ;
28895 PyObject
* obj1
= 0 ;
28896 PyObject
* obj2
= 0 ;
28897 char * kwnames
[] = {
28898 (char *) "self",(char *) "col",(char *) "width", NULL
28901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28903 if (!SWIG_IsOK(res1
)) {
28904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28906 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28908 if (!SWIG_IsOK(ecode2
)) {
28909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
28911 arg2
= static_cast< int >(val2
);
28912 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28913 if (!SWIG_IsOK(ecode3
)) {
28914 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
28916 arg3
= static_cast< int >(val3
);
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
28920 wxPyEndAllowThreads(__tstate
);
28921 if (PyErr_Occurred()) SWIG_fail
;
28924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28932 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28933 PyObject
*resultobj
= 0;
28934 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28938 PyObject
*swig_obj
[1] ;
28940 if (!args
) SWIG_fail
;
28941 swig_obj
[0] = args
;
28942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28943 if (!SWIG_IsOK(res1
)) {
28944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28946 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28949 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
28950 wxPyEndAllowThreads(__tstate
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28953 resultobj
= SWIG_From_int(static_cast< int >(result
));
28960 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28961 PyObject
*resultobj
= 0;
28962 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28966 PyObject
*swig_obj
[1] ;
28968 if (!args
) SWIG_fail
;
28969 swig_obj
[0] = args
;
28970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28971 if (!SWIG_IsOK(res1
)) {
28972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
28974 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28977 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28981 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28988 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28989 PyObject
*resultobj
= 0;
28990 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28991 wxTextCtrl
*result
= 0 ;
28994 PyObject
*swig_obj
[1] ;
28996 if (!args
) SWIG_fail
;
28997 swig_obj
[0] = args
;
28998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28999 if (!SWIG_IsOK(res1
)) {
29000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29002 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29010 resultobj
= wxPyMake_wxObject(result
, 0);
29018 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29019 PyObject
*resultobj
= 0;
29020 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29022 int arg3
= (int) 0 ;
29023 wxListItem
*result
= 0 ;
29030 PyObject
* obj0
= 0 ;
29031 PyObject
* obj1
= 0 ;
29032 PyObject
* obj2
= 0 ;
29033 char * kwnames
[] = {
29034 (char *) "self",(char *) "itemId",(char *) "col", NULL
29037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29039 if (!SWIG_IsOK(res1
)) {
29040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29042 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29043 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29044 if (!SWIG_IsOK(ecode2
)) {
29045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29047 arg2
= static_cast< long >(val2
);
29049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29050 if (!SWIG_IsOK(ecode3
)) {
29051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29053 arg3
= static_cast< int >(val3
);
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29058 wxPyEndAllowThreads(__tstate
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29062 resultobj
= wxPyMake_wxObject(result
, (bool)0);
29070 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29071 PyObject
*resultobj
= 0;
29072 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29073 wxListItem
*arg2
= 0 ;
29079 PyObject
* obj0
= 0 ;
29080 PyObject
* obj1
= 0 ;
29081 char * kwnames
[] = {
29082 (char *) "self",(char *) "info", NULL
29085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29087 if (!SWIG_IsOK(res1
)) {
29088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29090 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29092 if (!SWIG_IsOK(res2
)) {
29093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29098 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29101 result
= (bool)(arg1
)->SetItem(*arg2
);
29102 wxPyEndAllowThreads(__tstate
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29114 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29115 PyObject
*resultobj
= 0;
29116 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29119 wxString
*arg4
= 0 ;
29120 int arg5
= (int) -1 ;
29128 bool temp4
= false ;
29131 PyObject
* obj0
= 0 ;
29132 PyObject
* obj1
= 0 ;
29133 PyObject
* obj2
= 0 ;
29134 PyObject
* obj3
= 0 ;
29135 PyObject
* obj4
= 0 ;
29136 char * kwnames
[] = {
29137 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29142 if (!SWIG_IsOK(res1
)) {
29143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29145 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29146 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29147 if (!SWIG_IsOK(ecode2
)) {
29148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29150 arg2
= static_cast< long >(val2
);
29151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29152 if (!SWIG_IsOK(ecode3
)) {
29153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29155 arg3
= static_cast< int >(val3
);
29157 arg4
= wxString_in_helper(obj3
);
29158 if (arg4
== NULL
) SWIG_fail
;
29162 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29163 if (!SWIG_IsOK(ecode5
)) {
29164 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29166 arg5
= static_cast< int >(val5
);
29169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29170 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29174 resultobj
= SWIG_From_long(static_cast< long >(result
));
29189 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29190 PyObject
*resultobj
= 0;
29191 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29201 PyObject
* obj0
= 0 ;
29202 PyObject
* obj1
= 0 ;
29203 PyObject
* obj2
= 0 ;
29204 char * kwnames
[] = {
29205 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29210 if (!SWIG_IsOK(res1
)) {
29211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29213 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29214 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29215 if (!SWIG_IsOK(ecode2
)) {
29216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29218 arg2
= static_cast< long >(val2
);
29219 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29220 if (!SWIG_IsOK(ecode3
)) {
29221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29223 arg3
= static_cast< long >(val3
);
29225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29226 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29227 wxPyEndAllowThreads(__tstate
);
29228 if (PyErr_Occurred()) SWIG_fail
;
29230 resultobj
= SWIG_From_int(static_cast< int >(result
));
29237 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29238 PyObject
*resultobj
= 0;
29239 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29252 PyObject
* obj0
= 0 ;
29253 PyObject
* obj1
= 0 ;
29254 PyObject
* obj2
= 0 ;
29255 PyObject
* obj3
= 0 ;
29256 char * kwnames
[] = {
29257 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29262 if (!SWIG_IsOK(res1
)) {
29263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29265 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29266 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29267 if (!SWIG_IsOK(ecode2
)) {
29268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29270 arg2
= static_cast< long >(val2
);
29271 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29272 if (!SWIG_IsOK(ecode3
)) {
29273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29275 arg3
= static_cast< long >(val3
);
29276 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29277 if (!SWIG_IsOK(ecode4
)) {
29278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29280 arg4
= static_cast< long >(val4
);
29282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29283 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29296 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29297 PyObject
*resultobj
= 0;
29298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29301 int arg4
= (int) -1 ;
29311 PyObject
* obj0
= 0 ;
29312 PyObject
* obj1
= 0 ;
29313 PyObject
* obj2
= 0 ;
29314 PyObject
* obj3
= 0 ;
29315 char * kwnames
[] = {
29316 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29321 if (!SWIG_IsOK(res1
)) {
29322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29324 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29325 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29326 if (!SWIG_IsOK(ecode2
)) {
29327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29329 arg2
= static_cast< long >(val2
);
29330 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29331 if (!SWIG_IsOK(ecode3
)) {
29332 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29334 arg3
= static_cast< int >(val3
);
29336 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29337 if (!SWIG_IsOK(ecode4
)) {
29338 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29340 arg4
= static_cast< int >(val4
);
29343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29345 wxPyEndAllowThreads(__tstate
);
29346 if (PyErr_Occurred()) SWIG_fail
;
29349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29357 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
= 0;
29359 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29372 PyObject
* obj0
= 0 ;
29373 PyObject
* obj1
= 0 ;
29374 PyObject
* obj2
= 0 ;
29375 PyObject
* obj3
= 0 ;
29376 char * kwnames
[] = {
29377 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29382 if (!SWIG_IsOK(res1
)) {
29383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29385 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29386 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29387 if (!SWIG_IsOK(ecode2
)) {
29388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29390 arg2
= static_cast< long >(val2
);
29391 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29392 if (!SWIG_IsOK(ecode3
)) {
29393 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29395 arg3
= static_cast< long >(val3
);
29396 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29397 if (!SWIG_IsOK(ecode4
)) {
29398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29400 arg4
= static_cast< int >(val4
);
29402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29403 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29404 wxPyEndAllowThreads(__tstate
);
29405 if (PyErr_Occurred()) SWIG_fail
;
29408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29416 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29417 PyObject
*resultobj
= 0;
29418 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29425 PyObject
* obj0
= 0 ;
29426 PyObject
* obj1
= 0 ;
29427 char * kwnames
[] = {
29428 (char *) "self",(char *) "item", NULL
29431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29433 if (!SWIG_IsOK(res1
)) {
29434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29436 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29437 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29438 if (!SWIG_IsOK(ecode2
)) {
29439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29441 arg2
= static_cast< long >(val2
);
29443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29444 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29445 wxPyEndAllowThreads(__tstate
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29450 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29452 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29461 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
= 0;
29463 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29465 wxString
*arg3
= 0 ;
29470 bool temp3
= false ;
29471 PyObject
* obj0
= 0 ;
29472 PyObject
* obj1
= 0 ;
29473 PyObject
* obj2
= 0 ;
29474 char * kwnames
[] = {
29475 (char *) "self",(char *) "item",(char *) "str", NULL
29478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29480 if (!SWIG_IsOK(res1
)) {
29481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29483 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29484 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29485 if (!SWIG_IsOK(ecode2
)) {
29486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29488 arg2
= static_cast< long >(val2
);
29490 arg3
= wxString_in_helper(obj2
);
29491 if (arg3
== NULL
) SWIG_fail
;
29495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29496 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29497 wxPyEndAllowThreads(__tstate
);
29498 if (PyErr_Occurred()) SWIG_fail
;
29500 resultobj
= SWIG_Py_Void();
29515 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29516 PyObject
*resultobj
= 0;
29517 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29524 PyObject
* obj0
= 0 ;
29525 PyObject
* obj1
= 0 ;
29526 char * kwnames
[] = {
29527 (char *) "self",(char *) "item", NULL
29530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29532 if (!SWIG_IsOK(res1
)) {
29533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29535 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29536 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29537 if (!SWIG_IsOK(ecode2
)) {
29538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29540 arg2
= static_cast< long >(val2
);
29542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29543 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29547 resultobj
= SWIG_From_long(static_cast< long >(result
));
29554 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29555 PyObject
*resultobj
= 0;
29556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29566 PyObject
* obj0
= 0 ;
29567 PyObject
* obj1
= 0 ;
29568 PyObject
* obj2
= 0 ;
29569 char * kwnames
[] = {
29570 (char *) "self",(char *) "item",(char *) "data", NULL
29573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29575 if (!SWIG_IsOK(res1
)) {
29576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29578 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29579 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29580 if (!SWIG_IsOK(ecode2
)) {
29581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29583 arg2
= static_cast< long >(val2
);
29584 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29585 if (!SWIG_IsOK(ecode3
)) {
29586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29588 arg3
= static_cast< long >(val3
);
29590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29591 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29592 wxPyEndAllowThreads(__tstate
);
29593 if (PyErr_Occurred()) SWIG_fail
;
29596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29604 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29605 PyObject
*resultobj
= 0;
29606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29613 PyObject
* obj0
= 0 ;
29614 PyObject
* obj1
= 0 ;
29615 char * kwnames
[] = {
29616 (char *) "self",(char *) "item", NULL
29619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29621 if (!SWIG_IsOK(res1
)) {
29622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29624 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29625 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29626 if (!SWIG_IsOK(ecode2
)) {
29627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29629 arg2
= static_cast< long >(val2
);
29631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29632 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29633 wxPyEndAllowThreads(__tstate
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29643 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
= 0;
29645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29647 int arg3
= (int) wxLIST_RECT_BOUNDS
;
29655 PyObject
* obj0
= 0 ;
29656 PyObject
* obj1
= 0 ;
29657 PyObject
* obj2
= 0 ;
29658 char * kwnames
[] = {
29659 (char *) "self",(char *) "item",(char *) "code", NULL
29662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29664 if (!SWIG_IsOK(res1
)) {
29665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29667 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29668 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29669 if (!SWIG_IsOK(ecode2
)) {
29670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
29672 arg2
= static_cast< long >(val2
);
29674 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29675 if (!SWIG_IsOK(ecode3
)) {
29676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
29678 arg3
= static_cast< int >(val3
);
29681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29682 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
29683 wxPyEndAllowThreads(__tstate
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29693 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29694 PyObject
*resultobj
= 0;
29695 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29697 wxPoint
*arg3
= 0 ;
29704 PyObject
* obj0
= 0 ;
29705 PyObject
* obj1
= 0 ;
29706 PyObject
* obj2
= 0 ;
29707 char * kwnames
[] = {
29708 (char *) "self",(char *) "item",(char *) "pos", NULL
29711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29713 if (!SWIG_IsOK(res1
)) {
29714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29716 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29717 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29718 if (!SWIG_IsOK(ecode2
)) {
29719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
29721 arg2
= static_cast< long >(val2
);
29724 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29741 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29742 PyObject
*resultobj
= 0;
29743 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29747 PyObject
*swig_obj
[1] ;
29749 if (!args
) SWIG_fail
;
29750 swig_obj
[0] = args
;
29751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29752 if (!SWIG_IsOK(res1
)) {
29753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29755 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29758 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
29759 wxPyEndAllowThreads(__tstate
);
29760 if (PyErr_Occurred()) SWIG_fail
;
29762 resultobj
= SWIG_From_int(static_cast< int >(result
));
29769 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29770 PyObject
*resultobj
= 0;
29771 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29775 PyObject
*swig_obj
[1] ;
29777 if (!args
) SWIG_fail
;
29778 swig_obj
[0] = args
;
29779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29780 if (!SWIG_IsOK(res1
)) {
29781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29783 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29790 resultobj
= SWIG_From_int(static_cast< int >(result
));
29797 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29798 PyObject
*resultobj
= 0;
29799 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29803 PyObject
*swig_obj
[1] ;
29805 if (!args
) SWIG_fail
;
29806 swig_obj
[0] = args
;
29807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29808 if (!SWIG_IsOK(res1
)) {
29809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29811 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
29815 wxPyEndAllowThreads(__tstate
);
29816 if (PyErr_Occurred()) SWIG_fail
;
29818 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
29825 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29826 PyObject
*resultobj
= 0;
29827 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29831 PyObject
*swig_obj
[1] ;
29833 if (!args
) SWIG_fail
;
29834 swig_obj
[0] = args
;
29835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29836 if (!SWIG_IsOK(res1
)) {
29837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29839 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
29843 wxPyEndAllowThreads(__tstate
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29846 resultobj
= SWIG_From_int(static_cast< int >(result
));
29853 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29854 PyObject
*resultobj
= 0;
29855 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29859 PyObject
*swig_obj
[1] ;
29861 if (!args
) SWIG_fail
;
29862 swig_obj
[0] = args
;
29863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29864 if (!SWIG_IsOK(res1
)) {
29865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29867 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29870 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
29871 wxPyEndAllowThreads(__tstate
);
29872 if (PyErr_Occurred()) SWIG_fail
;
29874 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
29881 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29882 PyObject
*resultobj
= 0;
29883 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29884 wxColour
*arg2
= 0 ;
29888 PyObject
* obj0
= 0 ;
29889 PyObject
* obj1
= 0 ;
29890 char * kwnames
[] = {
29891 (char *) "self",(char *) "col", NULL
29894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29896 if (!SWIG_IsOK(res1
)) {
29897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29899 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29902 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29906 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
29907 wxPyEndAllowThreads(__tstate
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29910 resultobj
= SWIG_Py_Void();
29917 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29918 PyObject
*resultobj
= 0;
29919 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29923 PyObject
*swig_obj
[1] ;
29925 if (!args
) SWIG_fail
;
29926 swig_obj
[0] = args
;
29927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29928 if (!SWIG_IsOK(res1
)) {
29929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29931 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29934 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
29935 wxPyEndAllowThreads(__tstate
);
29936 if (PyErr_Occurred()) SWIG_fail
;
29938 resultobj
= SWIG_From_long(static_cast< long >(result
));
29945 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29946 PyObject
*resultobj
= 0;
29947 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29949 bool arg3
= (bool) true ;
29956 PyObject
* obj0
= 0 ;
29957 PyObject
* obj1
= 0 ;
29958 PyObject
* obj2
= 0 ;
29959 char * kwnames
[] = {
29960 (char *) "self",(char *) "style",(char *) "add", NULL
29963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29965 if (!SWIG_IsOK(res1
)) {
29966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29968 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29969 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29970 if (!SWIG_IsOK(ecode2
)) {
29971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
29973 arg2
= static_cast< long >(val2
);
29975 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
29976 if (!SWIG_IsOK(ecode3
)) {
29977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
29979 arg3
= static_cast< bool >(val3
);
29982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29983 (arg1
)->SetSingleStyle(arg2
,arg3
);
29984 wxPyEndAllowThreads(__tstate
);
29985 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= SWIG_Py_Void();
29994 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29995 PyObject
*resultobj
= 0;
29996 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29998 int arg3
= (int) wxLIST_NEXT_ALL
;
29999 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30009 PyObject
* obj0
= 0 ;
30010 PyObject
* obj1
= 0 ;
30011 PyObject
* obj2
= 0 ;
30012 PyObject
* obj3
= 0 ;
30013 char * kwnames
[] = {
30014 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30019 if (!SWIG_IsOK(res1
)) {
30020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30022 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30023 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30024 if (!SWIG_IsOK(ecode2
)) {
30025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30027 arg2
= static_cast< long >(val2
);
30029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30030 if (!SWIG_IsOK(ecode3
)) {
30031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30033 arg3
= static_cast< int >(val3
);
30036 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30037 if (!SWIG_IsOK(ecode4
)) {
30038 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30040 arg4
= static_cast< int >(val4
);
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30045 wxPyEndAllowThreads(__tstate
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30048 resultobj
= SWIG_From_long(static_cast< long >(result
));
30055 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30056 PyObject
*resultobj
= 0;
30057 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30059 wxImageList
*result
= 0 ;
30064 PyObject
* obj0
= 0 ;
30065 PyObject
* obj1
= 0 ;
30066 char * kwnames
[] = {
30067 (char *) "self",(char *) "which", NULL
30070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30072 if (!SWIG_IsOK(res1
)) {
30073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30075 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30077 if (!SWIG_IsOK(ecode2
)) {
30078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30080 arg2
= static_cast< int >(val2
);
30082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30083 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30084 wxPyEndAllowThreads(__tstate
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30088 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30096 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30097 PyObject
*resultobj
= 0;
30098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30099 wxImageList
*arg2
= (wxImageList
*) 0 ;
30107 PyObject
* obj0
= 0 ;
30108 PyObject
* obj1
= 0 ;
30109 PyObject
* obj2
= 0 ;
30110 char * kwnames
[] = {
30111 (char *) "self",(char *) "imageList",(char *) "which", NULL
30114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",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_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30119 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30120 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30121 if (!SWIG_IsOK(res2
)) {
30122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30124 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30126 if (!SWIG_IsOK(ecode3
)) {
30127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30129 arg3
= static_cast< int >(val3
);
30131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30132 (arg1
)->SetImageList(arg2
,arg3
);
30133 wxPyEndAllowThreads(__tstate
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30136 resultobj
= SWIG_Py_Void();
30143 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30144 PyObject
*resultobj
= 0;
30145 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30146 wxImageList
*arg2
= (wxImageList
*) 0 ;
30153 PyObject
* obj0
= 0 ;
30154 PyObject
* obj1
= 0 ;
30155 PyObject
* obj2
= 0 ;
30156 char * kwnames
[] = {
30157 (char *) "self",(char *) "imageList",(char *) "which", NULL
30160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30162 if (!SWIG_IsOK(res1
)) {
30163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30165 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30166 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30167 if (!SWIG_IsOK(res2
)) {
30168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30170 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30171 if (!SWIG_IsOK(ecode3
)) {
30172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30174 arg3
= static_cast< int >(val3
);
30176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30177 (arg1
)->AssignImageList(arg2
,arg3
);
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30181 resultobj
= SWIG_Py_Void();
30188 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30189 PyObject
*resultobj
= 0;
30190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30194 PyObject
*swig_obj
[1] ;
30196 if (!args
) SWIG_fail
;
30197 swig_obj
[0] = args
;
30198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30199 if (!SWIG_IsOK(res1
)) {
30200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30202 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30205 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30218 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30219 PyObject
*resultobj
= 0;
30220 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30224 PyObject
*swig_obj
[1] ;
30226 if (!args
) SWIG_fail
;
30227 swig_obj
[0] = args
;
30228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30229 if (!SWIG_IsOK(res1
)) {
30230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30232 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30235 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30236 wxPyEndAllowThreads(__tstate
);
30237 if (PyErr_Occurred()) SWIG_fail
;
30240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30248 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30249 PyObject
*resultobj
= 0;
30250 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30256 PyObject
* obj0
= 0 ;
30257 PyObject
* obj1
= 0 ;
30258 char * kwnames
[] = {
30259 (char *) "self",(char *) "item", NULL
30262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30264 if (!SWIG_IsOK(res1
)) {
30265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30267 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30268 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30269 if (!SWIG_IsOK(ecode2
)) {
30270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30272 arg2
= static_cast< long >(val2
);
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 (arg1
)->RefreshItem(arg2
);
30276 wxPyEndAllowThreads(__tstate
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30279 resultobj
= SWIG_Py_Void();
30286 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30287 PyObject
*resultobj
= 0;
30288 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30297 PyObject
* obj0
= 0 ;
30298 PyObject
* obj1
= 0 ;
30299 PyObject
* obj2
= 0 ;
30300 char * kwnames
[] = {
30301 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30306 if (!SWIG_IsOK(res1
)) {
30307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30309 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30310 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30311 if (!SWIG_IsOK(ecode2
)) {
30312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30314 arg2
= static_cast< long >(val2
);
30315 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30316 if (!SWIG_IsOK(ecode3
)) {
30317 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30319 arg3
= static_cast< long >(val3
);
30321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30322 (arg1
)->RefreshItems(arg2
,arg3
);
30323 wxPyEndAllowThreads(__tstate
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30326 resultobj
= SWIG_Py_Void();
30333 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
= 0;
30335 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30336 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 char * kwnames
[] = {
30345 (char *) "self",(char *) "flag", NULL
30348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30350 if (!SWIG_IsOK(res1
)) {
30351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30353 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30356 if (!SWIG_IsOK(ecode2
)) {
30357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30359 arg2
= static_cast< int >(val2
);
30362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30363 result
= (bool)(arg1
)->Arrange(arg2
);
30364 wxPyEndAllowThreads(__tstate
);
30365 if (PyErr_Occurred()) SWIG_fail
;
30368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30376 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30377 PyObject
*resultobj
= 0;
30378 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30385 PyObject
* obj0
= 0 ;
30386 PyObject
* obj1
= 0 ;
30387 char * kwnames
[] = {
30388 (char *) "self",(char *) "item", NULL
30391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30393 if (!SWIG_IsOK(res1
)) {
30394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30396 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30397 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30398 if (!SWIG_IsOK(ecode2
)) {
30399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30401 arg2
= static_cast< long >(val2
);
30403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30404 result
= (bool)(arg1
)->DeleteItem(arg2
);
30405 wxPyEndAllowThreads(__tstate
);
30406 if (PyErr_Occurred()) SWIG_fail
;
30409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30417 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30418 PyObject
*resultobj
= 0;
30419 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30423 PyObject
*swig_obj
[1] ;
30425 if (!args
) SWIG_fail
;
30426 swig_obj
[0] = args
;
30427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30428 if (!SWIG_IsOK(res1
)) {
30429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30431 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30434 result
= (bool)(arg1
)->DeleteAllItems();
30435 wxPyEndAllowThreads(__tstate
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30447 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
= 0;
30449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30456 PyObject
* obj0
= 0 ;
30457 PyObject
* obj1
= 0 ;
30458 char * kwnames
[] = {
30459 (char *) "self",(char *) "col", NULL
30462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30464 if (!SWIG_IsOK(res1
)) {
30465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30467 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30469 if (!SWIG_IsOK(ecode2
)) {
30470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30472 arg2
= static_cast< int >(val2
);
30474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30475 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30488 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30489 PyObject
*resultobj
= 0;
30490 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30494 PyObject
*swig_obj
[1] ;
30496 if (!args
) SWIG_fail
;
30497 swig_obj
[0] = args
;
30498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30499 if (!SWIG_IsOK(res1
)) {
30500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30502 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30505 result
= (bool)(arg1
)->DeleteAllColumns();
30506 wxPyEndAllowThreads(__tstate
);
30507 if (PyErr_Occurred()) SWIG_fail
;
30510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30518 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30519 PyObject
*resultobj
= 0;
30520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30523 PyObject
*swig_obj
[1] ;
30525 if (!args
) SWIG_fail
;
30526 swig_obj
[0] = args
;
30527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30528 if (!SWIG_IsOK(res1
)) {
30529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30531 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30534 (arg1
)->ClearAll();
30535 wxPyEndAllowThreads(__tstate
);
30536 if (PyErr_Occurred()) SWIG_fail
;
30538 resultobj
= SWIG_Py_Void();
30545 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30546 PyObject
*resultobj
= 0;
30547 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30549 wxTextCtrl
*result
= 0 ;
30554 PyObject
* obj0
= 0 ;
30555 PyObject
* obj1
= 0 ;
30556 char * kwnames
[] = {
30557 (char *) "self",(char *) "item", NULL
30560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30562 if (!SWIG_IsOK(res1
)) {
30563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30565 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30566 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30567 if (!SWIG_IsOK(ecode2
)) {
30568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30570 arg2
= static_cast< long >(val2
);
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
30574 wxPyEndAllowThreads(__tstate
);
30575 if (PyErr_Occurred()) SWIG_fail
;
30578 resultobj
= wxPyMake_wxObject(result
, 0);
30586 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
= 0;
30588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30595 PyObject
* obj0
= 0 ;
30596 PyObject
* obj1
= 0 ;
30597 char * kwnames
[] = {
30598 (char *) "self",(char *) "cancel", NULL
30601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30603 if (!SWIG_IsOK(res1
)) {
30604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30606 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30607 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30608 if (!SWIG_IsOK(ecode2
)) {
30609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
30611 arg2
= static_cast< bool >(val2
);
30613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30614 result
= (bool)(arg1
)->EndEditLabel(arg2
);
30615 wxPyEndAllowThreads(__tstate
);
30616 if (PyErr_Occurred()) SWIG_fail
;
30619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30627 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30628 PyObject
*resultobj
= 0;
30629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30636 PyObject
* obj0
= 0 ;
30637 PyObject
* obj1
= 0 ;
30638 char * kwnames
[] = {
30639 (char *) "self",(char *) "item", NULL
30642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30644 if (!SWIG_IsOK(res1
)) {
30645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30647 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30648 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30649 if (!SWIG_IsOK(ecode2
)) {
30650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
30652 arg2
= static_cast< long >(val2
);
30654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30655 result
= (bool)(arg1
)->EnsureVisible(arg2
);
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30668 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
= 0;
30670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30672 wxString
*arg3
= 0 ;
30673 bool arg4
= (bool) false ;
30679 bool temp3
= false ;
30682 PyObject
* obj0
= 0 ;
30683 PyObject
* obj1
= 0 ;
30684 PyObject
* obj2
= 0 ;
30685 PyObject
* obj3
= 0 ;
30686 char * kwnames
[] = {
30687 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
30690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30692 if (!SWIG_IsOK(res1
)) {
30693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30695 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30696 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30697 if (!SWIG_IsOK(ecode2
)) {
30698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
30700 arg2
= static_cast< long >(val2
);
30702 arg3
= wxString_in_helper(obj2
);
30703 if (arg3
== NULL
) SWIG_fail
;
30707 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
30708 if (!SWIG_IsOK(ecode4
)) {
30709 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
30711 arg4
= static_cast< bool >(val4
);
30714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30715 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30719 resultobj
= SWIG_From_long(static_cast< long >(result
));
30734 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30735 PyObject
*resultobj
= 0;
30736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30746 PyObject
* obj0
= 0 ;
30747 PyObject
* obj1
= 0 ;
30748 PyObject
* obj2
= 0 ;
30749 char * kwnames
[] = {
30750 (char *) "self",(char *) "start",(char *) "data", NULL
30753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30755 if (!SWIG_IsOK(res1
)) {
30756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30758 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30759 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30760 if (!SWIG_IsOK(ecode2
)) {
30761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
30763 arg2
= static_cast< long >(val2
);
30764 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30765 if (!SWIG_IsOK(ecode3
)) {
30766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
30768 arg3
= static_cast< long >(val3
);
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
30772 wxPyEndAllowThreads(__tstate
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30775 resultobj
= SWIG_From_long(static_cast< long >(result
));
30782 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30783 PyObject
*resultobj
= 0;
30784 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30786 wxPoint
*arg3
= 0 ;
30796 PyObject
* obj0
= 0 ;
30797 PyObject
* obj1
= 0 ;
30798 PyObject
* obj2
= 0 ;
30799 PyObject
* obj3
= 0 ;
30800 char * kwnames
[] = {
30801 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
30804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30806 if (!SWIG_IsOK(res1
)) {
30807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30809 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30810 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30811 if (!SWIG_IsOK(ecode2
)) {
30812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
30814 arg2
= static_cast< long >(val2
);
30817 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30819 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30820 if (!SWIG_IsOK(ecode4
)) {
30821 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
30823 arg4
= static_cast< int >(val4
);
30825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30826 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
30827 wxPyEndAllowThreads(__tstate
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30830 resultobj
= SWIG_From_long(static_cast< long >(result
));
30837 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30838 PyObject
*resultobj
= 0;
30839 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30840 wxPoint
*arg2
= 0 ;
30847 int res3
= SWIG_TMPOBJ
;
30848 PyObject
* obj0
= 0 ;
30849 PyObject
* obj1
= 0 ;
30850 char * kwnames
[] = {
30851 (char *) "self",(char *) "point", NULL
30855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30857 if (!SWIG_IsOK(res1
)) {
30858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30860 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30863 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30867 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
30868 wxPyEndAllowThreads(__tstate
);
30869 if (PyErr_Occurred()) SWIG_fail
;
30871 resultobj
= SWIG_From_long(static_cast< long >(result
));
30872 if (SWIG_IsTmpObj(res3
)) {
30873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30875 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30884 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30885 PyObject
*resultobj
= 0;
30886 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30887 wxListItem
*arg2
= 0 ;
30893 PyObject
* obj0
= 0 ;
30894 PyObject
* obj1
= 0 ;
30895 char * kwnames
[] = {
30896 (char *) "self",(char *) "info", NULL
30899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30901 if (!SWIG_IsOK(res1
)) {
30902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30904 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30905 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
30906 if (!SWIG_IsOK(res2
)) {
30907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30910 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
30912 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
30914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30915 result
= (long)(arg1
)->InsertItem(*arg2
);
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30919 resultobj
= SWIG_From_long(static_cast< long >(result
));
30926 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30927 PyObject
*resultobj
= 0;
30928 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30930 wxString
*arg3
= 0 ;
30931 int arg4
= (int) -1 ;
30937 bool temp3
= false ;
30940 PyObject
* obj0
= 0 ;
30941 PyObject
* obj1
= 0 ;
30942 PyObject
* obj2
= 0 ;
30943 PyObject
* obj3
= 0 ;
30944 char * kwnames
[] = {
30945 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
30948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30950 if (!SWIG_IsOK(res1
)) {
30951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30953 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30954 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30955 if (!SWIG_IsOK(ecode2
)) {
30956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
30958 arg2
= static_cast< long >(val2
);
30960 arg3
= wxString_in_helper(obj2
);
30961 if (arg3
== NULL
) SWIG_fail
;
30965 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30966 if (!SWIG_IsOK(ecode4
)) {
30967 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
30969 arg4
= static_cast< int >(val4
);
30972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30973 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
30974 wxPyEndAllowThreads(__tstate
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30977 resultobj
= SWIG_From_long(static_cast< long >(result
));
30992 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30993 PyObject
*resultobj
= 0;
30994 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31004 PyObject
* obj0
= 0 ;
31005 PyObject
* obj1
= 0 ;
31006 PyObject
* obj2
= 0 ;
31007 char * kwnames
[] = {
31008 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31013 if (!SWIG_IsOK(res1
)) {
31014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31016 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31017 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31018 if (!SWIG_IsOK(ecode2
)) {
31019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31021 arg2
= static_cast< long >(val2
);
31022 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31023 if (!SWIG_IsOK(ecode3
)) {
31024 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31026 arg3
= static_cast< int >(val3
);
31028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31029 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31030 wxPyEndAllowThreads(__tstate
);
31031 if (PyErr_Occurred()) SWIG_fail
;
31033 resultobj
= SWIG_From_long(static_cast< long >(result
));
31040 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31041 PyObject
*resultobj
= 0;
31042 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31044 wxString
*arg3
= 0 ;
31051 bool temp3
= false ;
31054 PyObject
* obj0
= 0 ;
31055 PyObject
* obj1
= 0 ;
31056 PyObject
* obj2
= 0 ;
31057 PyObject
* obj3
= 0 ;
31058 char * kwnames
[] = {
31059 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31064 if (!SWIG_IsOK(res1
)) {
31065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31067 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31068 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31069 if (!SWIG_IsOK(ecode2
)) {
31070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31072 arg2
= static_cast< long >(val2
);
31074 arg3
= wxString_in_helper(obj2
);
31075 if (arg3
== NULL
) SWIG_fail
;
31078 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31079 if (!SWIG_IsOK(ecode4
)) {
31080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31082 arg4
= static_cast< int >(val4
);
31084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31085 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31086 wxPyEndAllowThreads(__tstate
);
31087 if (PyErr_Occurred()) SWIG_fail
;
31089 resultobj
= SWIG_From_long(static_cast< long >(result
));
31104 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31105 PyObject
*resultobj
= 0;
31106 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31108 wxListItem
*arg3
= 0 ;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 PyObject
* obj2
= 0 ;
31119 char * kwnames
[] = {
31120 (char *) "self",(char *) "col",(char *) "info", NULL
31123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31125 if (!SWIG_IsOK(res1
)) {
31126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31128 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31129 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31130 if (!SWIG_IsOK(ecode2
)) {
31131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31133 arg2
= static_cast< long >(val2
);
31134 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31135 if (!SWIG_IsOK(res3
)) {
31136 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31139 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31141 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31144 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31145 wxPyEndAllowThreads(__tstate
);
31146 if (PyErr_Occurred()) SWIG_fail
;
31148 resultobj
= SWIG_From_long(static_cast< long >(result
));
31155 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31156 PyObject
*resultobj
= 0;
31157 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31159 wxString
*arg3
= 0 ;
31160 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31161 int arg5
= (int) -1 ;
31167 bool temp3
= false ;
31172 PyObject
* obj0
= 0 ;
31173 PyObject
* obj1
= 0 ;
31174 PyObject
* obj2
= 0 ;
31175 PyObject
* obj3
= 0 ;
31176 PyObject
* obj4
= 0 ;
31177 char * kwnames
[] = {
31178 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31183 if (!SWIG_IsOK(res1
)) {
31184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31186 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31187 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31188 if (!SWIG_IsOK(ecode2
)) {
31189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31191 arg2
= static_cast< long >(val2
);
31193 arg3
= wxString_in_helper(obj2
);
31194 if (arg3
== NULL
) SWIG_fail
;
31198 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31199 if (!SWIG_IsOK(ecode4
)) {
31200 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31202 arg4
= static_cast< int >(val4
);
31205 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31206 if (!SWIG_IsOK(ecode5
)) {
31207 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31209 arg5
= static_cast< int >(val5
);
31212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31213 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31214 wxPyEndAllowThreads(__tstate
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 resultobj
= SWIG_From_long(static_cast< long >(result
));
31232 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31233 PyObject
*resultobj
= 0;
31234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31240 PyObject
* obj0
= 0 ;
31241 PyObject
* obj1
= 0 ;
31242 char * kwnames
[] = {
31243 (char *) "self",(char *) "count", NULL
31246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31248 if (!SWIG_IsOK(res1
)) {
31249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31251 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31252 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31253 if (!SWIG_IsOK(ecode2
)) {
31254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31256 arg2
= static_cast< long >(val2
);
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 (arg1
)->SetItemCount(arg2
);
31260 wxPyEndAllowThreads(__tstate
);
31261 if (PyErr_Occurred()) SWIG_fail
;
31263 resultobj
= SWIG_Py_Void();
31270 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31271 PyObject
*resultobj
= 0;
31272 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31282 PyObject
* obj0
= 0 ;
31283 PyObject
* obj1
= 0 ;
31284 PyObject
* obj2
= 0 ;
31285 char * kwnames
[] = {
31286 (char *) "self",(char *) "dx",(char *) "dy", NULL
31289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31291 if (!SWIG_IsOK(res1
)) {
31292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31294 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31296 if (!SWIG_IsOK(ecode2
)) {
31297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31299 arg2
= static_cast< int >(val2
);
31300 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31301 if (!SWIG_IsOK(ecode3
)) {
31302 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31304 arg3
= static_cast< int >(val3
);
31306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31307 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31308 wxPyEndAllowThreads(__tstate
);
31309 if (PyErr_Occurred()) SWIG_fail
;
31312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31320 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31321 PyObject
*resultobj
= 0;
31322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31324 wxColour
*arg3
= 0 ;
31330 PyObject
* obj0
= 0 ;
31331 PyObject
* obj1
= 0 ;
31332 PyObject
* obj2
= 0 ;
31333 char * kwnames
[] = {
31334 (char *) "self",(char *) "item",(char *) "col", NULL
31337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31339 if (!SWIG_IsOK(res1
)) {
31340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31342 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31343 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31344 if (!SWIG_IsOK(ecode2
)) {
31345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31347 arg2
= static_cast< long >(val2
);
31350 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31354 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31355 wxPyEndAllowThreads(__tstate
);
31356 if (PyErr_Occurred()) SWIG_fail
;
31358 resultobj
= SWIG_Py_Void();
31365 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31366 PyObject
*resultobj
= 0;
31367 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31374 PyObject
* obj0
= 0 ;
31375 PyObject
* obj1
= 0 ;
31376 char * kwnames
[] = {
31377 (char *) "self",(char *) "item", NULL
31380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31382 if (!SWIG_IsOK(res1
)) {
31383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31385 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31386 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31387 if (!SWIG_IsOK(ecode2
)) {
31388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31390 arg2
= static_cast< long >(val2
);
31392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31393 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31394 wxPyEndAllowThreads(__tstate
);
31395 if (PyErr_Occurred()) SWIG_fail
;
31397 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31404 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31405 PyObject
*resultobj
= 0;
31406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31408 wxColour
*arg3
= 0 ;
31414 PyObject
* obj0
= 0 ;
31415 PyObject
* obj1
= 0 ;
31416 PyObject
* obj2
= 0 ;
31417 char * kwnames
[] = {
31418 (char *) "self",(char *) "item",(char *) "col", NULL
31421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31423 if (!SWIG_IsOK(res1
)) {
31424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31426 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31427 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31428 if (!SWIG_IsOK(ecode2
)) {
31429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31431 arg2
= static_cast< long >(val2
);
31434 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31438 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31439 wxPyEndAllowThreads(__tstate
);
31440 if (PyErr_Occurred()) SWIG_fail
;
31442 resultobj
= SWIG_Py_Void();
31449 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31450 PyObject
*resultobj
= 0;
31451 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31458 PyObject
* obj0
= 0 ;
31459 PyObject
* obj1
= 0 ;
31460 char * kwnames
[] = {
31461 (char *) "self",(char *) "item", NULL
31464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31466 if (!SWIG_IsOK(res1
)) {
31467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31469 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31470 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31471 if (!SWIG_IsOK(ecode2
)) {
31472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31474 arg2
= static_cast< long >(val2
);
31476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31477 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31478 wxPyEndAllowThreads(__tstate
);
31479 if (PyErr_Occurred()) SWIG_fail
;
31481 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31488 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31489 PyObject
*resultobj
= 0;
31490 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31499 PyObject
* obj0
= 0 ;
31500 PyObject
* obj1
= 0 ;
31501 PyObject
* obj2
= 0 ;
31502 char * kwnames
[] = {
31503 (char *) "self",(char *) "item",(char *) "f", NULL
31506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31508 if (!SWIG_IsOK(res1
)) {
31509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31511 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31512 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31513 if (!SWIG_IsOK(ecode2
)) {
31514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31516 arg2
= static_cast< long >(val2
);
31517 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31518 if (!SWIG_IsOK(res3
)) {
31519 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31524 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31527 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31528 wxPyEndAllowThreads(__tstate
);
31529 if (PyErr_Occurred()) SWIG_fail
;
31531 resultobj
= SWIG_Py_Void();
31538 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31539 PyObject
*resultobj
= 0;
31540 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31547 PyObject
* obj0
= 0 ;
31548 PyObject
* obj1
= 0 ;
31549 char * kwnames
[] = {
31550 (char *) "self",(char *) "item", NULL
31553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31555 if (!SWIG_IsOK(res1
)) {
31556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31558 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31559 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31560 if (!SWIG_IsOK(ecode2
)) {
31561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31563 arg2
= static_cast< long >(val2
);
31565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31566 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31567 wxPyEndAllowThreads(__tstate
);
31568 if (PyErr_Occurred()) SWIG_fail
;
31570 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31577 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31578 PyObject
*resultobj
= 0;
31579 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31580 PyObject
*arg2
= (PyObject
*) 0 ;
31584 PyObject
* obj0
= 0 ;
31585 PyObject
* obj1
= 0 ;
31586 char * kwnames
[] = {
31587 (char *) "self",(char *) "func", NULL
31590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31592 if (!SWIG_IsOK(res1
)) {
31593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31595 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31599 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
31600 wxPyEndAllowThreads(__tstate
);
31601 if (PyErr_Occurred()) SWIG_fail
;
31604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31612 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31613 PyObject
*resultobj
= 0;
31614 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31615 wxWindow
*result
= 0 ;
31618 PyObject
*swig_obj
[1] ;
31620 if (!args
) SWIG_fail
;
31621 swig_obj
[0] = args
;
31622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31623 if (!SWIG_IsOK(res1
)) {
31624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31626 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31629 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
31630 wxPyEndAllowThreads(__tstate
);
31631 if (PyErr_Occurred()) SWIG_fail
;
31634 resultobj
= wxPyMake_wxObject(result
, 0);
31642 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31643 PyObject
*resultobj
= 0;
31644 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
31645 SwigValueWrapper
<wxVisualAttributes
> result
;
31648 PyObject
* obj0
= 0 ;
31649 char * kwnames
[] = {
31650 (char *) "variant", NULL
31653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
31655 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
31656 if (!SWIG_IsOK(ecode1
)) {
31657 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
31659 arg1
= static_cast< wxWindowVariant
>(val1
);
31662 if (!wxPyCheckForApp()) SWIG_fail
;
31663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31664 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
31665 wxPyEndAllowThreads(__tstate
);
31666 if (PyErr_Occurred()) SWIG_fail
;
31668 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
31675 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31677 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31678 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
31679 return SWIG_Py_Void();
31682 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31683 return SWIG_Python_InitShadowInstance(args
);
31686 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31687 PyObject
*resultobj
= 0;
31688 wxWindow
*arg1
= (wxWindow
*) 0 ;
31689 int arg2
= (int) -1 ;
31690 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31691 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31692 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31693 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31694 long arg5
= (long) wxLC_REPORT
;
31695 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31696 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31697 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
31698 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31699 wxListView
*result
= 0 ;
31710 bool temp7
= false ;
31711 PyObject
* obj0
= 0 ;
31712 PyObject
* obj1
= 0 ;
31713 PyObject
* obj2
= 0 ;
31714 PyObject
* obj3
= 0 ;
31715 PyObject
* obj4
= 0 ;
31716 PyObject
* obj5
= 0 ;
31717 PyObject
* obj6
= 0 ;
31718 char * kwnames
[] = {
31719 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31724 if (!SWIG_IsOK(res1
)) {
31725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
31727 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31730 if (!SWIG_IsOK(ecode2
)) {
31731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
31733 arg2
= static_cast< int >(val2
);
31738 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31744 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31748 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
31749 if (!SWIG_IsOK(ecode5
)) {
31750 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
31752 arg5
= static_cast< long >(val5
);
31755 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
31756 if (!SWIG_IsOK(res6
)) {
31757 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
31762 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
31766 arg7
= wxString_in_helper(obj6
);
31767 if (arg7
== NULL
) SWIG_fail
;
31772 if (!wxPyCheckForApp()) SWIG_fail
;
31773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31774 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31775 wxPyEndAllowThreads(__tstate
);
31776 if (PyErr_Occurred()) SWIG_fail
;
31778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
31793 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31794 PyObject
*resultobj
= 0;
31795 wxListView
*result
= 0 ;
31797 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
31799 if (!wxPyCheckForApp()) SWIG_fail
;
31800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31801 result
= (wxListView
*)new wxListView();
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
31812 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31813 PyObject
*resultobj
= 0;
31814 wxListView
*arg1
= (wxListView
*) 0 ;
31815 wxWindow
*arg2
= (wxWindow
*) 0 ;
31816 int arg3
= (int) -1 ;
31817 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31818 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31819 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31820 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31821 long arg6
= (long) wxLC_REPORT
;
31822 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31823 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31824 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
31825 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31839 bool temp8
= false ;
31840 PyObject
* obj0
= 0 ;
31841 PyObject
* obj1
= 0 ;
31842 PyObject
* obj2
= 0 ;
31843 PyObject
* obj3
= 0 ;
31844 PyObject
* obj4
= 0 ;
31845 PyObject
* obj5
= 0 ;
31846 PyObject
* obj6
= 0 ;
31847 PyObject
* obj7
= 0 ;
31848 char * kwnames
[] = {
31849 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
31853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31854 if (!SWIG_IsOK(res1
)) {
31855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
31857 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31858 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31859 if (!SWIG_IsOK(res2
)) {
31860 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
31862 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
31864 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31865 if (!SWIG_IsOK(ecode3
)) {
31866 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
31868 arg3
= static_cast< int >(val3
);
31873 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31879 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31883 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31884 if (!SWIG_IsOK(ecode6
)) {
31885 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
31887 arg6
= static_cast< long >(val6
);
31890 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
31891 if (!SWIG_IsOK(res7
)) {
31892 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
31897 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
31901 arg8
= wxString_in_helper(obj7
);
31902 if (arg8
== NULL
) SWIG_fail
;
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31909 wxPyEndAllowThreads(__tstate
);
31910 if (PyErr_Occurred()) SWIG_fail
;
31913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31929 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31930 PyObject
*resultobj
= 0;
31931 wxListView
*arg1
= (wxListView
*) 0 ;
31933 bool arg3
= (bool) true ;
31940 PyObject
* obj0
= 0 ;
31941 PyObject
* obj1
= 0 ;
31942 PyObject
* obj2
= 0 ;
31943 char * kwnames
[] = {
31944 (char *) "self",(char *) "n",(char *) "on", NULL
31947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31949 if (!SWIG_IsOK(res1
)) {
31950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
31952 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31953 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31954 if (!SWIG_IsOK(ecode2
)) {
31955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
31957 arg2
= static_cast< long >(val2
);
31959 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
31960 if (!SWIG_IsOK(ecode3
)) {
31961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
31963 arg3
= static_cast< bool >(val3
);
31966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31967 (arg1
)->Select(arg2
,arg3
);
31968 wxPyEndAllowThreads(__tstate
);
31969 if (PyErr_Occurred()) SWIG_fail
;
31971 resultobj
= SWIG_Py_Void();
31978 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31979 PyObject
*resultobj
= 0;
31980 wxListView
*arg1
= (wxListView
*) 0 ;
31986 PyObject
* obj0
= 0 ;
31987 PyObject
* obj1
= 0 ;
31988 char * kwnames
[] = {
31989 (char *) "self",(char *) "index", NULL
31992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
31994 if (!SWIG_IsOK(res1
)) {
31995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
31997 arg1
= reinterpret_cast< wxListView
* >(argp1
);
31998 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31999 if (!SWIG_IsOK(ecode2
)) {
32000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32002 arg2
= static_cast< long >(val2
);
32004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32005 (arg1
)->Focus(arg2
);
32006 wxPyEndAllowThreads(__tstate
);
32007 if (PyErr_Occurred()) SWIG_fail
;
32009 resultobj
= SWIG_Py_Void();
32016 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32017 PyObject
*resultobj
= 0;
32018 wxListView
*arg1
= (wxListView
*) 0 ;
32022 PyObject
*swig_obj
[1] ;
32024 if (!args
) SWIG_fail
;
32025 swig_obj
[0] = args
;
32026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32027 if (!SWIG_IsOK(res1
)) {
32028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32030 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32033 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32037 resultobj
= SWIG_From_long(static_cast< long >(result
));
32044 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32045 PyObject
*resultobj
= 0;
32046 wxListView
*arg1
= (wxListView
*) 0 ;
32053 PyObject
* obj0
= 0 ;
32054 PyObject
* obj1
= 0 ;
32055 char * kwnames
[] = {
32056 (char *) "self",(char *) "item", NULL
32059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32061 if (!SWIG_IsOK(res1
)) {
32062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32064 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32065 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32066 if (!SWIG_IsOK(ecode2
)) {
32067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32069 arg2
= static_cast< long >(val2
);
32071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32072 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32073 wxPyEndAllowThreads(__tstate
);
32074 if (PyErr_Occurred()) SWIG_fail
;
32076 resultobj
= SWIG_From_long(static_cast< long >(result
));
32083 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32084 PyObject
*resultobj
= 0;
32085 wxListView
*arg1
= (wxListView
*) 0 ;
32089 PyObject
*swig_obj
[1] ;
32091 if (!args
) SWIG_fail
;
32092 swig_obj
[0] = args
;
32093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32094 if (!SWIG_IsOK(res1
)) {
32095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32097 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32100 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32101 wxPyEndAllowThreads(__tstate
);
32102 if (PyErr_Occurred()) SWIG_fail
;
32104 resultobj
= SWIG_From_long(static_cast< long >(result
));
32111 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32112 PyObject
*resultobj
= 0;
32113 wxListView
*arg1
= (wxListView
*) 0 ;
32120 PyObject
* obj0
= 0 ;
32121 PyObject
* obj1
= 0 ;
32122 char * kwnames
[] = {
32123 (char *) "self",(char *) "index", NULL
32126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32128 if (!SWIG_IsOK(res1
)) {
32129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32131 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32132 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32133 if (!SWIG_IsOK(ecode2
)) {
32134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32136 arg2
= static_cast< long >(val2
);
32138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32139 result
= (bool)(arg1
)->IsSelected(arg2
);
32140 wxPyEndAllowThreads(__tstate
);
32141 if (PyErr_Occurred()) SWIG_fail
;
32144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32152 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32153 PyObject
*resultobj
= 0;
32154 wxListView
*arg1
= (wxListView
*) 0 ;
32163 PyObject
* obj0
= 0 ;
32164 PyObject
* obj1
= 0 ;
32165 PyObject
* obj2
= 0 ;
32166 char * kwnames
[] = {
32167 (char *) "self",(char *) "col",(char *) "image", NULL
32170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32172 if (!SWIG_IsOK(res1
)) {
32173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32175 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32177 if (!SWIG_IsOK(ecode2
)) {
32178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32180 arg2
= static_cast< int >(val2
);
32181 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32182 if (!SWIG_IsOK(ecode3
)) {
32183 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32185 arg3
= static_cast< int >(val3
);
32187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32188 (arg1
)->SetColumnImage(arg2
,arg3
);
32189 wxPyEndAllowThreads(__tstate
);
32190 if (PyErr_Occurred()) SWIG_fail
;
32192 resultobj
= SWIG_Py_Void();
32199 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32200 PyObject
*resultobj
= 0;
32201 wxListView
*arg1
= (wxListView
*) 0 ;
32207 PyObject
* obj0
= 0 ;
32208 PyObject
* obj1
= 0 ;
32209 char * kwnames
[] = {
32210 (char *) "self",(char *) "col", NULL
32213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32215 if (!SWIG_IsOK(res1
)) {
32216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32218 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32220 if (!SWIG_IsOK(ecode2
)) {
32221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32223 arg2
= static_cast< int >(val2
);
32225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32226 (arg1
)->ClearColumnImage(arg2
);
32227 wxPyEndAllowThreads(__tstate
);
32228 if (PyErr_Occurred()) SWIG_fail
;
32230 resultobj
= SWIG_Py_Void();
32237 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32240 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32241 return SWIG_Py_Void();
32244 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32245 return SWIG_Python_InitShadowInstance(args
);
32248 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32249 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32254 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32255 PyObject
*pyobj
= 0;
32259 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32261 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32268 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32269 PyObject
*resultobj
= 0;
32270 wxTreeItemId
*result
= 0 ;
32272 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32275 result
= (wxTreeItemId
*)new wxTreeItemId();
32276 wxPyEndAllowThreads(__tstate
);
32277 if (PyErr_Occurred()) SWIG_fail
;
32279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32286 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32287 PyObject
*resultobj
= 0;
32288 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32291 PyObject
*swig_obj
[1] ;
32293 if (!args
) SWIG_fail
;
32294 swig_obj
[0] = args
;
32295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32296 if (!SWIG_IsOK(res1
)) {
32297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32299 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32304 wxPyEndAllowThreads(__tstate
);
32305 if (PyErr_Occurred()) SWIG_fail
;
32307 resultobj
= SWIG_Py_Void();
32314 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32315 PyObject
*resultobj
= 0;
32316 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32320 PyObject
*swig_obj
[1] ;
32322 if (!args
) SWIG_fail
;
32323 swig_obj
[0] = args
;
32324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32325 if (!SWIG_IsOK(res1
)) {
32326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32328 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32331 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32332 wxPyEndAllowThreads(__tstate
);
32333 if (PyErr_Occurred()) SWIG_fail
;
32336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32344 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32345 PyObject
*resultobj
= 0;
32346 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32347 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32353 PyObject
* obj0
= 0 ;
32354 PyObject
* obj1
= 0 ;
32355 char * kwnames
[] = {
32356 (char *) "self",(char *) "other", NULL
32359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32361 if (!SWIG_IsOK(res1
)) {
32362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32364 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32365 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32366 if (!SWIG_IsOK(res2
)) {
32367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32369 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32372 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32373 wxPyEndAllowThreads(__tstate
);
32374 if (PyErr_Occurred()) SWIG_fail
;
32377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32385 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32386 PyObject
*resultobj
= 0;
32387 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32388 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32394 PyObject
* obj0
= 0 ;
32395 PyObject
* obj1
= 0 ;
32396 char * kwnames
[] = {
32397 (char *) "self",(char *) "other", NULL
32400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32402 if (!SWIG_IsOK(res1
)) {
32403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32405 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32406 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32407 if (!SWIG_IsOK(res2
)) {
32408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32410 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32413 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32414 wxPyEndAllowThreads(__tstate
);
32415 if (PyErr_Occurred()) SWIG_fail
;
32418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32426 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32427 PyObject
*resultobj
= 0;
32428 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32429 void *arg2
= (void *) 0 ;
32433 PyObject
*swig_obj
[2] ;
32435 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32437 if (!SWIG_IsOK(res1
)) {
32438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32440 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32441 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32442 if (!SWIG_IsOK(res2
)) {
32443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32445 if (arg1
) (arg1
)->m_pItem
= arg2
;
32447 resultobj
= SWIG_Py_Void();
32454 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32455 PyObject
*resultobj
= 0;
32456 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32460 PyObject
*swig_obj
[1] ;
32462 if (!args
) SWIG_fail
;
32463 swig_obj
[0] = args
;
32464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32465 if (!SWIG_IsOK(res1
)) {
32466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32468 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32469 result
= (void *) ((arg1
)->m_pItem
);
32470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32477 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32480 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32481 return SWIG_Py_Void();
32484 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32485 return SWIG_Python_InitShadowInstance(args
);
32488 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32489 PyObject
*resultobj
= 0;
32490 PyObject
*arg1
= (PyObject
*) NULL
;
32491 wxPyTreeItemData
*result
= 0 ;
32492 PyObject
* obj0
= 0 ;
32493 char * kwnames
[] = {
32494 (char *) "obj", NULL
32497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32503 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32504 wxPyEndAllowThreads(__tstate
);
32505 if (PyErr_Occurred()) SWIG_fail
;
32507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32514 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32515 PyObject
*resultobj
= 0;
32516 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32519 PyObject
*swig_obj
[1] ;
32521 if (!args
) SWIG_fail
;
32522 swig_obj
[0] = args
;
32523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32524 if (!SWIG_IsOK(res1
)) {
32525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32527 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32532 wxPyEndAllowThreads(__tstate
);
32533 if (PyErr_Occurred()) SWIG_fail
;
32535 resultobj
= SWIG_Py_Void();
32542 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32543 PyObject
*resultobj
= 0;
32544 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32545 PyObject
*result
= 0 ;
32548 PyObject
*swig_obj
[1] ;
32550 if (!args
) SWIG_fail
;
32551 swig_obj
[0] = args
;
32552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32553 if (!SWIG_IsOK(res1
)) {
32554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32556 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32559 result
= (PyObject
*)(arg1
)->GetData();
32560 wxPyEndAllowThreads(__tstate
);
32561 if (PyErr_Occurred()) SWIG_fail
;
32563 resultobj
= result
;
32570 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32571 PyObject
*resultobj
= 0;
32572 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32573 PyObject
*arg2
= (PyObject
*) 0 ;
32576 PyObject
* obj0
= 0 ;
32577 PyObject
* obj1
= 0 ;
32578 char * kwnames
[] = {
32579 (char *) "self",(char *) "obj", NULL
32582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32584 if (!SWIG_IsOK(res1
)) {
32585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32587 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32591 (arg1
)->SetData(arg2
);
32592 wxPyEndAllowThreads(__tstate
);
32593 if (PyErr_Occurred()) SWIG_fail
;
32595 resultobj
= SWIG_Py_Void();
32602 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32603 PyObject
*resultobj
= 0;
32604 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32605 wxTreeItemId
*result
= 0 ;
32608 PyObject
*swig_obj
[1] ;
32610 if (!args
) SWIG_fail
;
32611 swig_obj
[0] = args
;
32612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32613 if (!SWIG_IsOK(res1
)) {
32614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32616 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32620 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
32621 result
= (wxTreeItemId
*) &_result_ref
;
32623 wxPyEndAllowThreads(__tstate
);
32624 if (PyErr_Occurred()) SWIG_fail
;
32626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32633 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
= 0;
32635 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32636 wxTreeItemId
*arg2
= 0 ;
32641 PyObject
* obj0
= 0 ;
32642 PyObject
* obj1
= 0 ;
32643 char * kwnames
[] = {
32644 (char *) "self",(char *) "id", NULL
32647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32649 if (!SWIG_IsOK(res1
)) {
32650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32652 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32654 if (!SWIG_IsOK(res2
)) {
32655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32660 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32663 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
32664 wxPyEndAllowThreads(__tstate
);
32665 if (PyErr_Occurred()) SWIG_fail
;
32667 resultobj
= SWIG_Py_Void();
32674 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32675 PyObject
*resultobj
= 0;
32676 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32679 PyObject
*swig_obj
[1] ;
32681 if (!args
) SWIG_fail
;
32682 swig_obj
[0] = args
;
32683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32684 if (!SWIG_IsOK(res1
)) {
32685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32687 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32690 wxPyTreeItemData_Destroy(arg1
);
32691 wxPyEndAllowThreads(__tstate
);
32692 if (PyErr_Occurred()) SWIG_fail
;
32694 resultobj
= SWIG_Py_Void();
32701 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32704 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
32705 return SWIG_Py_Void();
32708 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32709 return SWIG_Python_InitShadowInstance(args
);
32712 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32713 PyObject
*resultobj
= 0;
32714 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
32715 int arg2
= (int) 0 ;
32716 wxTreeEvent
*result
= 0 ;
32721 PyObject
* obj0
= 0 ;
32722 PyObject
* obj1
= 0 ;
32723 char * kwnames
[] = {
32724 (char *) "commandType",(char *) "id", NULL
32727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32729 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32730 if (!SWIG_IsOK(ecode1
)) {
32731 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
32733 arg1
= static_cast< wxEventType
>(val1
);
32736 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32737 if (!SWIG_IsOK(ecode2
)) {
32738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
32740 arg2
= static_cast< int >(val2
);
32743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32744 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
32745 wxPyEndAllowThreads(__tstate
);
32746 if (PyErr_Occurred()) SWIG_fail
;
32748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
32755 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32756 PyObject
*resultobj
= 0;
32757 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32758 wxTreeItemId result
;
32761 PyObject
*swig_obj
[1] ;
32763 if (!args
) SWIG_fail
;
32764 swig_obj
[0] = args
;
32765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32766 if (!SWIG_IsOK(res1
)) {
32767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32769 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32772 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32776 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32783 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32784 PyObject
*resultobj
= 0;
32785 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32786 wxTreeItemId
*arg2
= 0 ;
32791 PyObject
* obj0
= 0 ;
32792 PyObject
* obj1
= 0 ;
32793 char * kwnames
[] = {
32794 (char *) "self",(char *) "item", NULL
32797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32799 if (!SWIG_IsOK(res1
)) {
32800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32802 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32804 if (!SWIG_IsOK(res2
)) {
32805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32810 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32813 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
32814 wxPyEndAllowThreads(__tstate
);
32815 if (PyErr_Occurred()) SWIG_fail
;
32817 resultobj
= SWIG_Py_Void();
32824 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32825 PyObject
*resultobj
= 0;
32826 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32827 wxTreeItemId result
;
32830 PyObject
*swig_obj
[1] ;
32832 if (!args
) SWIG_fail
;
32833 swig_obj
[0] = args
;
32834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32835 if (!SWIG_IsOK(res1
)) {
32836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32838 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32841 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
32842 wxPyEndAllowThreads(__tstate
);
32843 if (PyErr_Occurred()) SWIG_fail
;
32845 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
32852 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32853 PyObject
*resultobj
= 0;
32854 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32855 wxTreeItemId
*arg2
= 0 ;
32860 PyObject
* obj0
= 0 ;
32861 PyObject
* obj1
= 0 ;
32862 char * kwnames
[] = {
32863 (char *) "self",(char *) "item", NULL
32866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32868 if (!SWIG_IsOK(res1
)) {
32869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32871 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32872 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
32873 if (!SWIG_IsOK(res2
)) {
32874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32877 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
32879 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32882 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
32883 wxPyEndAllowThreads(__tstate
);
32884 if (PyErr_Occurred()) SWIG_fail
;
32886 resultobj
= SWIG_Py_Void();
32893 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32894 PyObject
*resultobj
= 0;
32895 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32899 PyObject
*swig_obj
[1] ;
32901 if (!args
) SWIG_fail
;
32902 swig_obj
[0] = args
;
32903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32904 if (!SWIG_IsOK(res1
)) {
32905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32907 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32910 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
32911 wxPyEndAllowThreads(__tstate
);
32912 if (PyErr_Occurred()) SWIG_fail
;
32914 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
32921 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32922 PyObject
*resultobj
= 0;
32923 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32924 wxPoint
*arg2
= 0 ;
32928 PyObject
* obj0
= 0 ;
32929 PyObject
* obj1
= 0 ;
32930 char * kwnames
[] = {
32931 (char *) "self",(char *) "pt", NULL
32934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32936 if (!SWIG_IsOK(res1
)) {
32937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
32939 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32942 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
32945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32946 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
32947 wxPyEndAllowThreads(__tstate
);
32948 if (PyErr_Occurred()) SWIG_fail
;
32950 resultobj
= SWIG_Py_Void();
32957 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32958 PyObject
*resultobj
= 0;
32959 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32960 wxKeyEvent
*result
= 0 ;
32963 PyObject
*swig_obj
[1] ;
32965 if (!args
) SWIG_fail
;
32966 swig_obj
[0] = args
;
32967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32968 if (!SWIG_IsOK(res1
)) {
32969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
32971 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
32973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32975 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
32976 result
= (wxKeyEvent
*) &_result_ref
;
32978 wxPyEndAllowThreads(__tstate
);
32979 if (PyErr_Occurred()) SWIG_fail
;
32981 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
32988 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32989 PyObject
*resultobj
= 0;
32990 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
32994 PyObject
*swig_obj
[1] ;
32996 if (!args
) SWIG_fail
;
32997 swig_obj
[0] = args
;
32998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
32999 if (!SWIG_IsOK(res1
)) {
33000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33002 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33005 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33006 wxPyEndAllowThreads(__tstate
);
33007 if (PyErr_Occurred()) SWIG_fail
;
33009 resultobj
= SWIG_From_int(static_cast< int >(result
));
33016 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33017 PyObject
*resultobj
= 0;
33018 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33019 wxKeyEvent
*arg2
= 0 ;
33024 PyObject
* obj0
= 0 ;
33025 PyObject
* obj1
= 0 ;
33026 char * kwnames
[] = {
33027 (char *) "self",(char *) "evt", NULL
33030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",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_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33035 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33036 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33037 if (!SWIG_IsOK(res2
)) {
33038 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33041 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33043 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33046 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33047 wxPyEndAllowThreads(__tstate
);
33048 if (PyErr_Occurred()) SWIG_fail
;
33050 resultobj
= SWIG_Py_Void();
33057 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33058 PyObject
*resultobj
= 0;
33059 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33060 wxString
*result
= 0 ;
33063 PyObject
*swig_obj
[1] ;
33065 if (!args
) SWIG_fail
;
33066 swig_obj
[0] = args
;
33067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33068 if (!SWIG_IsOK(res1
)) {
33069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33071 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33075 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33076 result
= (wxString
*) &_result_ref
;
33078 wxPyEndAllowThreads(__tstate
);
33079 if (PyErr_Occurred()) SWIG_fail
;
33083 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33085 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33094 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33095 PyObject
*resultobj
= 0;
33096 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33097 wxString
*arg2
= 0 ;
33100 bool temp2
= false ;
33101 PyObject
* obj0
= 0 ;
33102 PyObject
* obj1
= 0 ;
33103 char * kwnames
[] = {
33104 (char *) "self",(char *) "label", NULL
33107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33109 if (!SWIG_IsOK(res1
)) {
33110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33112 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33114 arg2
= wxString_in_helper(obj1
);
33115 if (arg2
== NULL
) SWIG_fail
;
33119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33120 (arg1
)->SetLabel((wxString
const &)*arg2
);
33121 wxPyEndAllowThreads(__tstate
);
33122 if (PyErr_Occurred()) SWIG_fail
;
33124 resultobj
= SWIG_Py_Void();
33139 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33140 PyObject
*resultobj
= 0;
33141 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33145 PyObject
*swig_obj
[1] ;
33147 if (!args
) SWIG_fail
;
33148 swig_obj
[0] = args
;
33149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33150 if (!SWIG_IsOK(res1
)) {
33151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33153 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33156 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33157 wxPyEndAllowThreads(__tstate
);
33158 if (PyErr_Occurred()) SWIG_fail
;
33161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33169 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33170 PyObject
*resultobj
= 0;
33171 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33177 PyObject
* obj0
= 0 ;
33178 PyObject
* obj1
= 0 ;
33179 char * kwnames
[] = {
33180 (char *) "self",(char *) "editCancelled", NULL
33183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33185 if (!SWIG_IsOK(res1
)) {
33186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33188 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33189 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33190 if (!SWIG_IsOK(ecode2
)) {
33191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33193 arg2
= static_cast< bool >(val2
);
33195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33196 (arg1
)->SetEditCanceled(arg2
);
33197 wxPyEndAllowThreads(__tstate
);
33198 if (PyErr_Occurred()) SWIG_fail
;
33200 resultobj
= SWIG_Py_Void();
33207 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33208 PyObject
*resultobj
= 0;
33209 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33210 wxString
*arg2
= 0 ;
33213 bool temp2
= false ;
33214 PyObject
* obj0
= 0 ;
33215 PyObject
* obj1
= 0 ;
33216 char * kwnames
[] = {
33217 (char *) "self",(char *) "toolTip", NULL
33220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33222 if (!SWIG_IsOK(res1
)) {
33223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33225 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33227 arg2
= wxString_in_helper(obj1
);
33228 if (arg2
== NULL
) SWIG_fail
;
33232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33233 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33234 wxPyEndAllowThreads(__tstate
);
33235 if (PyErr_Occurred()) SWIG_fail
;
33237 resultobj
= SWIG_Py_Void();
33252 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33253 PyObject
*resultobj
= 0;
33254 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33258 PyObject
*swig_obj
[1] ;
33260 if (!args
) SWIG_fail
;
33261 swig_obj
[0] = args
;
33262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33263 if (!SWIG_IsOK(res1
)) {
33264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33266 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33269 result
= (arg1
)->GetToolTip();
33270 wxPyEndAllowThreads(__tstate
);
33271 if (PyErr_Occurred()) SWIG_fail
;
33275 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33277 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33286 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33289 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33290 return SWIG_Py_Void();
33293 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33294 return SWIG_Python_InitShadowInstance(args
);
33297 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33298 PyObject
*resultobj
= 0;
33299 wxWindow
*arg1
= (wxWindow
*) 0 ;
33300 int arg2
= (int) -1 ;
33301 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33302 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33303 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33304 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33305 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33306 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33307 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33308 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33309 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33310 wxPyTreeCtrl
*result
= 0 ;
33321 bool temp7
= false ;
33322 PyObject
* obj0
= 0 ;
33323 PyObject
* obj1
= 0 ;
33324 PyObject
* obj2
= 0 ;
33325 PyObject
* obj3
= 0 ;
33326 PyObject
* obj4
= 0 ;
33327 PyObject
* obj5
= 0 ;
33328 PyObject
* obj6
= 0 ;
33329 char * kwnames
[] = {
33330 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33335 if (!SWIG_IsOK(res1
)) {
33336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33341 if (!SWIG_IsOK(ecode2
)) {
33342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33344 arg2
= static_cast< int >(val2
);
33349 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33355 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33359 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33360 if (!SWIG_IsOK(ecode5
)) {
33361 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33363 arg5
= static_cast< long >(val5
);
33366 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33367 if (!SWIG_IsOK(res6
)) {
33368 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33371 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33373 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33377 arg7
= wxString_in_helper(obj6
);
33378 if (arg7
== NULL
) SWIG_fail
;
33383 if (!wxPyCheckForApp()) SWIG_fail
;
33384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33385 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33386 wxPyEndAllowThreads(__tstate
);
33387 if (PyErr_Occurred()) SWIG_fail
;
33389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33404 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33405 PyObject
*resultobj
= 0;
33406 wxPyTreeCtrl
*result
= 0 ;
33408 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33410 if (!wxPyCheckForApp()) SWIG_fail
;
33411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33412 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33413 wxPyEndAllowThreads(__tstate
);
33414 if (PyErr_Occurred()) SWIG_fail
;
33416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33423 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33424 PyObject
*resultobj
= 0;
33425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33426 wxWindow
*arg2
= (wxWindow
*) 0 ;
33427 int arg3
= (int) -1 ;
33428 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33429 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33430 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33431 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33432 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33433 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33434 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33435 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33436 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33450 bool temp8
= false ;
33451 PyObject
* obj0
= 0 ;
33452 PyObject
* obj1
= 0 ;
33453 PyObject
* obj2
= 0 ;
33454 PyObject
* obj3
= 0 ;
33455 PyObject
* obj4
= 0 ;
33456 PyObject
* obj5
= 0 ;
33457 PyObject
* obj6
= 0 ;
33458 PyObject
* obj7
= 0 ;
33459 char * kwnames
[] = {
33460 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33465 if (!SWIG_IsOK(res1
)) {
33466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33468 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33469 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33470 if (!SWIG_IsOK(res2
)) {
33471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33473 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33476 if (!SWIG_IsOK(ecode3
)) {
33477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33479 arg3
= static_cast< int >(val3
);
33484 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33490 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33494 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
33495 if (!SWIG_IsOK(ecode6
)) {
33496 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
33498 arg6
= static_cast< long >(val6
);
33501 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
33502 if (!SWIG_IsOK(res7
)) {
33503 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
33508 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
33512 arg8
= wxString_in_helper(obj7
);
33513 if (arg8
== NULL
) SWIG_fail
;
33518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33519 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33520 wxPyEndAllowThreads(__tstate
);
33521 if (PyErr_Occurred()) SWIG_fail
;
33524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33540 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33541 PyObject
*resultobj
= 0;
33542 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33543 PyObject
*arg2
= (PyObject
*) 0 ;
33544 PyObject
*arg3
= (PyObject
*) 0 ;
33547 PyObject
* obj0
= 0 ;
33548 PyObject
* obj1
= 0 ;
33549 PyObject
* obj2
= 0 ;
33550 char * kwnames
[] = {
33551 (char *) "self",(char *) "self",(char *) "_class", NULL
33554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33556 if (!SWIG_IsOK(res1
)) {
33557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33559 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33564 (arg1
)->_setCallbackInfo(arg2
,arg3
);
33565 wxPyEndAllowThreads(__tstate
);
33566 if (PyErr_Occurred()) SWIG_fail
;
33568 resultobj
= SWIG_Py_Void();
33575 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33576 PyObject
*resultobj
= 0;
33577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33578 unsigned int result
;
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_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33589 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33592 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
33593 wxPyEndAllowThreads(__tstate
);
33594 if (PyErr_Occurred()) SWIG_fail
;
33596 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33603 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33604 PyObject
*resultobj
= 0;
33605 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33606 unsigned int result
;
33609 PyObject
*swig_obj
[1] ;
33611 if (!args
) SWIG_fail
;
33612 swig_obj
[0] = args
;
33613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33614 if (!SWIG_IsOK(res1
)) {
33615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33617 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33620 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
33621 wxPyEndAllowThreads(__tstate
);
33622 if (PyErr_Occurred()) SWIG_fail
;
33624 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33631 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33632 PyObject
*resultobj
= 0;
33633 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33634 unsigned int arg2
;
33637 unsigned int val2
;
33639 PyObject
* obj0
= 0 ;
33640 PyObject
* obj1
= 0 ;
33641 char * kwnames
[] = {
33642 (char *) "self",(char *) "indent", NULL
33645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33647 if (!SWIG_IsOK(res1
)) {
33648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33650 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33651 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33652 if (!SWIG_IsOK(ecode2
)) {
33653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
33655 arg2
= static_cast< unsigned int >(val2
);
33657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33658 (arg1
)->SetIndent(arg2
);
33659 wxPyEndAllowThreads(__tstate
);
33660 if (PyErr_Occurred()) SWIG_fail
;
33662 resultobj
= SWIG_Py_Void();
33669 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33670 PyObject
*resultobj
= 0;
33671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33672 unsigned int result
;
33675 PyObject
*swig_obj
[1] ;
33677 if (!args
) SWIG_fail
;
33678 swig_obj
[0] = args
;
33679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33680 if (!SWIG_IsOK(res1
)) {
33681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33683 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33686 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
33687 wxPyEndAllowThreads(__tstate
);
33688 if (PyErr_Occurred()) SWIG_fail
;
33690 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
33697 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33698 PyObject
*resultobj
= 0;
33699 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33700 unsigned int arg2
;
33703 unsigned int val2
;
33705 PyObject
* obj0
= 0 ;
33706 PyObject
* obj1
= 0 ;
33707 char * kwnames
[] = {
33708 (char *) "self",(char *) "spacing", NULL
33711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33713 if (!SWIG_IsOK(res1
)) {
33714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33716 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33717 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
33718 if (!SWIG_IsOK(ecode2
)) {
33719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
33721 arg2
= static_cast< unsigned int >(val2
);
33723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33724 (arg1
)->SetSpacing(arg2
);
33725 wxPyEndAllowThreads(__tstate
);
33726 if (PyErr_Occurred()) SWIG_fail
;
33728 resultobj
= SWIG_Py_Void();
33735 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33736 PyObject
*resultobj
= 0;
33737 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33738 wxImageList
*result
= 0 ;
33741 PyObject
*swig_obj
[1] ;
33743 if (!args
) SWIG_fail
;
33744 swig_obj
[0] = args
;
33745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33746 if (!SWIG_IsOK(res1
)) {
33747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33749 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33752 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
33753 wxPyEndAllowThreads(__tstate
);
33754 if (PyErr_Occurred()) SWIG_fail
;
33757 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33765 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33766 PyObject
*resultobj
= 0;
33767 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33768 wxImageList
*result
= 0 ;
33771 PyObject
*swig_obj
[1] ;
33773 if (!args
) SWIG_fail
;
33774 swig_obj
[0] = args
;
33775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33776 if (!SWIG_IsOK(res1
)) {
33777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33779 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33782 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
33783 wxPyEndAllowThreads(__tstate
);
33784 if (PyErr_Occurred()) SWIG_fail
;
33787 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33795 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33796 PyObject
*resultobj
= 0;
33797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33798 wxImageList
*arg2
= (wxImageList
*) 0 ;
33803 PyObject
* obj0
= 0 ;
33804 PyObject
* obj1
= 0 ;
33805 char * kwnames
[] = {
33806 (char *) "self",(char *) "imageList", NULL
33809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33811 if (!SWIG_IsOK(res1
)) {
33812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33814 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33816 if (!SWIG_IsOK(res2
)) {
33817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33819 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33822 (arg1
)->SetImageList(arg2
);
33823 wxPyEndAllowThreads(__tstate
);
33824 if (PyErr_Occurred()) SWIG_fail
;
33826 resultobj
= SWIG_Py_Void();
33833 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33834 PyObject
*resultobj
= 0;
33835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33836 wxImageList
*arg2
= (wxImageList
*) 0 ;
33841 PyObject
* obj0
= 0 ;
33842 PyObject
* obj1
= 0 ;
33843 char * kwnames
[] = {
33844 (char *) "self",(char *) "imageList", NULL
33847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33849 if (!SWIG_IsOK(res1
)) {
33850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33852 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
33854 if (!SWIG_IsOK(res2
)) {
33855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33857 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
33859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33860 (arg1
)->SetStateImageList(arg2
);
33861 wxPyEndAllowThreads(__tstate
);
33862 if (PyErr_Occurred()) SWIG_fail
;
33864 resultobj
= SWIG_Py_Void();
33871 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33872 PyObject
*resultobj
= 0;
33873 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33874 wxImageList
*arg2
= (wxImageList
*) 0 ;
33878 PyObject
* obj0
= 0 ;
33879 PyObject
* obj1
= 0 ;
33880 char * kwnames
[] = {
33881 (char *) "self",(char *) "imageList", NULL
33884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33886 if (!SWIG_IsOK(res1
)) {
33887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33889 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33890 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33891 if (!SWIG_IsOK(res2
)) {
33892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33896 (arg1
)->AssignImageList(arg2
);
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33900 resultobj
= SWIG_Py_Void();
33907 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33908 PyObject
*resultobj
= 0;
33909 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33910 wxImageList
*arg2
= (wxImageList
*) 0 ;
33914 PyObject
* obj0
= 0 ;
33915 PyObject
* obj1
= 0 ;
33916 char * kwnames
[] = {
33917 (char *) "self",(char *) "imageList", NULL
33920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33922 if (!SWIG_IsOK(res1
)) {
33923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33925 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33926 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
33927 if (!SWIG_IsOK(res2
)) {
33928 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
33931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33932 (arg1
)->AssignStateImageList(arg2
);
33933 wxPyEndAllowThreads(__tstate
);
33934 if (PyErr_Occurred()) SWIG_fail
;
33936 resultobj
= SWIG_Py_Void();
33943 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33944 PyObject
*resultobj
= 0;
33945 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33946 wxTreeItemId
*arg2
= 0 ;
33952 PyObject
* obj0
= 0 ;
33953 PyObject
* obj1
= 0 ;
33954 char * kwnames
[] = {
33955 (char *) "self",(char *) "item", NULL
33958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33960 if (!SWIG_IsOK(res1
)) {
33961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
33963 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33964 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33965 if (!SWIG_IsOK(res2
)) {
33966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33971 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33974 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
33975 wxPyEndAllowThreads(__tstate
);
33976 if (PyErr_Occurred()) SWIG_fail
;
33980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33991 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33992 PyObject
*resultobj
= 0;
33993 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33994 wxTreeItemId
*arg2
= 0 ;
33995 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34003 PyObject
* obj0
= 0 ;
34004 PyObject
* obj1
= 0 ;
34005 PyObject
* obj2
= 0 ;
34006 char * kwnames
[] = {
34007 (char *) "self",(char *) "item",(char *) "which", NULL
34010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34012 if (!SWIG_IsOK(res1
)) {
34013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34015 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34016 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34017 if (!SWIG_IsOK(res2
)) {
34018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34021 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34023 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34026 if (!SWIG_IsOK(ecode3
)) {
34027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34029 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34033 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34034 wxPyEndAllowThreads(__tstate
);
34035 if (PyErr_Occurred()) SWIG_fail
;
34037 resultobj
= SWIG_From_int(static_cast< int >(result
));
34044 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34045 PyObject
*resultobj
= 0;
34046 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34047 wxTreeItemId
*arg2
= 0 ;
34048 wxPyTreeItemData
*result
= 0 ;
34053 PyObject
* obj0
= 0 ;
34054 PyObject
* obj1
= 0 ;
34055 char * kwnames
[] = {
34056 (char *) "self",(char *) "item", NULL
34059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34061 if (!SWIG_IsOK(res1
)) {
34062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34064 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34066 if (!SWIG_IsOK(res2
)) {
34067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34072 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34075 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34076 wxPyEndAllowThreads(__tstate
);
34077 if (PyErr_Occurred()) SWIG_fail
;
34079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34086 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34087 PyObject
*resultobj
= 0;
34088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34089 wxTreeItemId
*arg2
= 0 ;
34090 PyObject
*result
= 0 ;
34095 PyObject
* obj0
= 0 ;
34096 PyObject
* obj1
= 0 ;
34097 char * kwnames
[] = {
34098 (char *) "self",(char *) "item", NULL
34101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34103 if (!SWIG_IsOK(res1
)) {
34104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34106 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34107 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34108 if (!SWIG_IsOK(res2
)) {
34109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34114 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34117 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34118 wxPyEndAllowThreads(__tstate
);
34119 if (PyErr_Occurred()) SWIG_fail
;
34121 resultobj
= result
;
34128 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34129 PyObject
*resultobj
= 0;
34130 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34131 wxTreeItemId
*arg2
= 0 ;
34137 PyObject
* obj0
= 0 ;
34138 PyObject
* obj1
= 0 ;
34139 char * kwnames
[] = {
34140 (char *) "self",(char *) "item", NULL
34143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) 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_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34156 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34159 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34160 wxPyEndAllowThreads(__tstate
);
34161 if (PyErr_Occurred()) SWIG_fail
;
34163 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34170 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34171 PyObject
*resultobj
= 0;
34172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34173 wxTreeItemId
*arg2
= 0 ;
34179 PyObject
* obj0
= 0 ;
34180 PyObject
* obj1
= 0 ;
34181 char * kwnames
[] = {
34182 (char *) "self",(char *) "item", NULL
34185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34187 if (!SWIG_IsOK(res1
)) {
34188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34190 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34191 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34192 if (!SWIG_IsOK(res2
)) {
34193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34196 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34198 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34201 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34202 wxPyEndAllowThreads(__tstate
);
34203 if (PyErr_Occurred()) SWIG_fail
;
34205 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34212 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34213 PyObject
*resultobj
= 0;
34214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34215 wxTreeItemId
*arg2
= 0 ;
34221 PyObject
* obj0
= 0 ;
34222 PyObject
* obj1
= 0 ;
34223 char * kwnames
[] = {
34224 (char *) "self",(char *) "item", NULL
34227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34229 if (!SWIG_IsOK(res1
)) {
34230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34232 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34233 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34234 if (!SWIG_IsOK(res2
)) {
34235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34240 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34243 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34244 wxPyEndAllowThreads(__tstate
);
34245 if (PyErr_Occurred()) SWIG_fail
;
34247 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34254 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34255 PyObject
*resultobj
= 0;
34256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34257 wxTreeItemId
*arg2
= 0 ;
34258 wxString
*arg3
= 0 ;
34263 bool temp3
= false ;
34264 PyObject
* obj0
= 0 ;
34265 PyObject
* obj1
= 0 ;
34266 PyObject
* obj2
= 0 ;
34267 char * kwnames
[] = {
34268 (char *) "self",(char *) "item",(char *) "text", NULL
34271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34273 if (!SWIG_IsOK(res1
)) {
34274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34276 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34277 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34278 if (!SWIG_IsOK(res2
)) {
34279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34282 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34284 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34286 arg3
= wxString_in_helper(obj2
);
34287 if (arg3
== NULL
) SWIG_fail
;
34291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34292 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34293 wxPyEndAllowThreads(__tstate
);
34294 if (PyErr_Occurred()) SWIG_fail
;
34296 resultobj
= SWIG_Py_Void();
34311 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34312 PyObject
*resultobj
= 0;
34313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34314 wxTreeItemId
*arg2
= 0 ;
34316 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34325 PyObject
* obj0
= 0 ;
34326 PyObject
* obj1
= 0 ;
34327 PyObject
* obj2
= 0 ;
34328 PyObject
* obj3
= 0 ;
34329 char * kwnames
[] = {
34330 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34335 if (!SWIG_IsOK(res1
)) {
34336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34338 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34339 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34340 if (!SWIG_IsOK(res2
)) {
34341 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34346 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34347 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34348 if (!SWIG_IsOK(ecode3
)) {
34349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34351 arg3
= static_cast< int >(val3
);
34353 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34354 if (!SWIG_IsOK(ecode4
)) {
34355 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34357 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34361 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34362 wxPyEndAllowThreads(__tstate
);
34363 if (PyErr_Occurred()) SWIG_fail
;
34365 resultobj
= SWIG_Py_Void();
34372 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34373 PyObject
*resultobj
= 0;
34374 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34375 wxTreeItemId
*arg2
= 0 ;
34376 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34382 PyObject
* obj0
= 0 ;
34383 PyObject
* obj1
= 0 ;
34384 PyObject
* obj2
= 0 ;
34385 char * kwnames
[] = {
34386 (char *) "self",(char *) "item",(char *) "data", NULL
34389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34391 if (!SWIG_IsOK(res1
)) {
34392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34394 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34395 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34396 if (!SWIG_IsOK(res2
)) {
34397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34400 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34402 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34403 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34404 if (!SWIG_IsOK(res3
)) {
34405 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34409 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34410 wxPyEndAllowThreads(__tstate
);
34411 if (PyErr_Occurred()) SWIG_fail
;
34413 resultobj
= SWIG_Py_Void();
34420 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34421 PyObject
*resultobj
= 0;
34422 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34423 wxTreeItemId
*arg2
= 0 ;
34424 PyObject
*arg3
= (PyObject
*) 0 ;
34429 PyObject
* obj0
= 0 ;
34430 PyObject
* obj1
= 0 ;
34431 PyObject
* obj2
= 0 ;
34432 char * kwnames
[] = {
34433 (char *) "self",(char *) "item",(char *) "obj", NULL
34436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34438 if (!SWIG_IsOK(res1
)) {
34439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34441 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34443 if (!SWIG_IsOK(res2
)) {
34444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34449 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34453 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34454 wxPyEndAllowThreads(__tstate
);
34455 if (PyErr_Occurred()) SWIG_fail
;
34457 resultobj
= SWIG_Py_Void();
34464 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34465 PyObject
*resultobj
= 0;
34466 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34467 wxTreeItemId
*arg2
= 0 ;
34468 bool arg3
= (bool) true ;
34475 PyObject
* obj0
= 0 ;
34476 PyObject
* obj1
= 0 ;
34477 PyObject
* obj2
= 0 ;
34478 char * kwnames
[] = {
34479 (char *) "self",(char *) "item",(char *) "has", NULL
34482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34484 if (!SWIG_IsOK(res1
)) {
34485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34487 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34488 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34489 if (!SWIG_IsOK(res2
)) {
34490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34495 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34497 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34498 if (!SWIG_IsOK(ecode3
)) {
34499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
34501 arg3
= static_cast< bool >(val3
);
34504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34505 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
34506 wxPyEndAllowThreads(__tstate
);
34507 if (PyErr_Occurred()) SWIG_fail
;
34509 resultobj
= SWIG_Py_Void();
34516 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34517 PyObject
*resultobj
= 0;
34518 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34519 wxTreeItemId
*arg2
= 0 ;
34520 bool arg3
= (bool) true ;
34527 PyObject
* obj0
= 0 ;
34528 PyObject
* obj1
= 0 ;
34529 PyObject
* obj2
= 0 ;
34530 char * kwnames
[] = {
34531 (char *) "self",(char *) "item",(char *) "bold", NULL
34534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34536 if (!SWIG_IsOK(res1
)) {
34537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34539 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34540 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34541 if (!SWIG_IsOK(res2
)) {
34542 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34545 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34547 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34549 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34550 if (!SWIG_IsOK(ecode3
)) {
34551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
34553 arg3
= static_cast< bool >(val3
);
34556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34557 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
34558 wxPyEndAllowThreads(__tstate
);
34559 if (PyErr_Occurred()) SWIG_fail
;
34561 resultobj
= SWIG_Py_Void();
34568 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34569 PyObject
*resultobj
= 0;
34570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34571 wxTreeItemId
*arg2
= 0 ;
34572 bool arg3
= (bool) true ;
34579 PyObject
* obj0
= 0 ;
34580 PyObject
* obj1
= 0 ;
34581 PyObject
* obj2
= 0 ;
34582 char * kwnames
[] = {
34583 (char *) "self",(char *) "item",(char *) "highlight", NULL
34586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34588 if (!SWIG_IsOK(res1
)) {
34589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34591 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34592 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34593 if (!SWIG_IsOK(res2
)) {
34594 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34599 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34601 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34602 if (!SWIG_IsOK(ecode3
)) {
34603 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
34605 arg3
= static_cast< bool >(val3
);
34608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34609 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
34610 wxPyEndAllowThreads(__tstate
);
34611 if (PyErr_Occurred()) SWIG_fail
;
34613 resultobj
= SWIG_Py_Void();
34620 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34621 PyObject
*resultobj
= 0;
34622 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34623 wxTreeItemId
*arg2
= 0 ;
34624 wxColour
*arg3
= 0 ;
34630 PyObject
* obj0
= 0 ;
34631 PyObject
* obj1
= 0 ;
34632 PyObject
* obj2
= 0 ;
34633 char * kwnames
[] = {
34634 (char *) "self",(char *) "item",(char *) "col", NULL
34637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34639 if (!SWIG_IsOK(res1
)) {
34640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34642 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34643 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34644 if (!SWIG_IsOK(res2
)) {
34645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34650 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34653 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34657 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34658 wxPyEndAllowThreads(__tstate
);
34659 if (PyErr_Occurred()) SWIG_fail
;
34661 resultobj
= SWIG_Py_Void();
34668 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34669 PyObject
*resultobj
= 0;
34670 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34671 wxTreeItemId
*arg2
= 0 ;
34672 wxColour
*arg3
= 0 ;
34678 PyObject
* obj0
= 0 ;
34679 PyObject
* obj1
= 0 ;
34680 PyObject
* obj2
= 0 ;
34681 char * kwnames
[] = {
34682 (char *) "self",(char *) "item",(char *) "col", NULL
34685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34687 if (!SWIG_IsOK(res1
)) {
34688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34690 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34692 if (!SWIG_IsOK(res2
)) {
34693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34698 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34701 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
34704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34705 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
34706 wxPyEndAllowThreads(__tstate
);
34707 if (PyErr_Occurred()) SWIG_fail
;
34709 resultobj
= SWIG_Py_Void();
34716 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34717 PyObject
*resultobj
= 0;
34718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34719 wxTreeItemId
*arg2
= 0 ;
34727 PyObject
* obj0
= 0 ;
34728 PyObject
* obj1
= 0 ;
34729 PyObject
* obj2
= 0 ;
34730 char * kwnames
[] = {
34731 (char *) "self",(char *) "item",(char *) "font", NULL
34734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34736 if (!SWIG_IsOK(res1
)) {
34737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34739 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34740 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34741 if (!SWIG_IsOK(res2
)) {
34742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34747 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34748 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
34749 if (!SWIG_IsOK(res3
)) {
34750 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34753 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
34755 arg3
= reinterpret_cast< wxFont
* >(argp3
);
34757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34758 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
34759 wxPyEndAllowThreads(__tstate
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34762 resultobj
= SWIG_Py_Void();
34769 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34770 PyObject
*resultobj
= 0;
34771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34772 wxTreeItemId
*arg2
= 0 ;
34778 PyObject
* obj0
= 0 ;
34779 PyObject
* obj1
= 0 ;
34780 char * kwnames
[] = {
34781 (char *) "self",(char *) "item", NULL
34784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34786 if (!SWIG_IsOK(res1
)) {
34787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34789 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34790 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34791 if (!SWIG_IsOK(res2
)) {
34792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34797 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34800 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
34801 wxPyEndAllowThreads(__tstate
);
34802 if (PyErr_Occurred()) SWIG_fail
;
34805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34813 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34814 PyObject
*resultobj
= 0;
34815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34816 wxTreeItemId
*arg2
= 0 ;
34822 PyObject
* obj0
= 0 ;
34823 PyObject
* obj1
= 0 ;
34824 char * kwnames
[] = {
34825 (char *) "self",(char *) "item", NULL
34828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34830 if (!SWIG_IsOK(res1
)) {
34831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34833 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34834 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34835 if (!SWIG_IsOK(res2
)) {
34836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34839 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34841 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34844 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
34845 wxPyEndAllowThreads(__tstate
);
34846 if (PyErr_Occurred()) SWIG_fail
;
34849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34857 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34858 PyObject
*resultobj
= 0;
34859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34860 wxTreeItemId
*arg2
= 0 ;
34866 PyObject
* obj0
= 0 ;
34867 PyObject
* obj1
= 0 ;
34868 char * kwnames
[] = {
34869 (char *) "self",(char *) "item", NULL
34872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34874 if (!SWIG_IsOK(res1
)) {
34875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34877 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34878 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34879 if (!SWIG_IsOK(res2
)) {
34880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34883 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34885 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34888 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
34889 wxPyEndAllowThreads(__tstate
);
34890 if (PyErr_Occurred()) SWIG_fail
;
34893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34901 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34902 PyObject
*resultobj
= 0;
34903 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34904 wxTreeItemId
*arg2
= 0 ;
34910 PyObject
* obj0
= 0 ;
34911 PyObject
* obj1
= 0 ;
34912 char * kwnames
[] = {
34913 (char *) "self",(char *) "item", NULL
34916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34918 if (!SWIG_IsOK(res1
)) {
34919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34921 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34922 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34923 if (!SWIG_IsOK(res2
)) {
34924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34929 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34932 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
34933 wxPyEndAllowThreads(__tstate
);
34934 if (PyErr_Occurred()) SWIG_fail
;
34937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34945 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34946 PyObject
*resultobj
= 0;
34947 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34948 wxTreeItemId
*arg2
= 0 ;
34954 PyObject
* obj0
= 0 ;
34955 PyObject
* obj1
= 0 ;
34956 char * kwnames
[] = {
34957 (char *) "self",(char *) "item", NULL
34960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34962 if (!SWIG_IsOK(res1
)) {
34963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34965 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34966 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34967 if (!SWIG_IsOK(res2
)) {
34968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34971 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34973 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34976 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
34977 wxPyEndAllowThreads(__tstate
);
34978 if (PyErr_Occurred()) SWIG_fail
;
34981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34989 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34990 PyObject
*resultobj
= 0;
34991 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34992 wxTreeItemId
*arg2
= 0 ;
34993 bool arg3
= (bool) true ;
35001 PyObject
* obj0
= 0 ;
35002 PyObject
* obj1
= 0 ;
35003 PyObject
* obj2
= 0 ;
35004 char * kwnames
[] = {
35005 (char *) "self",(char *) "item",(char *) "recursively", NULL
35008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35010 if (!SWIG_IsOK(res1
)) {
35011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35013 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35014 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35015 if (!SWIG_IsOK(res2
)) {
35016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35019 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35021 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35023 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35024 if (!SWIG_IsOK(ecode3
)) {
35025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35027 arg3
= static_cast< bool >(val3
);
35030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35031 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35032 wxPyEndAllowThreads(__tstate
);
35033 if (PyErr_Occurred()) SWIG_fail
;
35035 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35042 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35043 PyObject
*resultobj
= 0;
35044 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35045 wxTreeItemId result
;
35048 PyObject
*swig_obj
[1] ;
35050 if (!args
) SWIG_fail
;
35051 swig_obj
[0] = args
;
35052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35053 if (!SWIG_IsOK(res1
)) {
35054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35056 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35059 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35060 wxPyEndAllowThreads(__tstate
);
35061 if (PyErr_Occurred()) SWIG_fail
;
35063 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35070 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35071 PyObject
*resultobj
= 0;
35072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35073 wxTreeItemId result
;
35076 PyObject
*swig_obj
[1] ;
35078 if (!args
) SWIG_fail
;
35079 swig_obj
[0] = args
;
35080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35081 if (!SWIG_IsOK(res1
)) {
35082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35084 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35087 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35088 wxPyEndAllowThreads(__tstate
);
35089 if (PyErr_Occurred()) SWIG_fail
;
35091 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35098 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35099 PyObject
*resultobj
= 0;
35100 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35101 PyObject
*result
= 0 ;
35104 PyObject
*swig_obj
[1] ;
35106 if (!args
) SWIG_fail
;
35107 swig_obj
[0] = args
;
35108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35109 if (!SWIG_IsOK(res1
)) {
35110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35112 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35115 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35116 wxPyEndAllowThreads(__tstate
);
35117 if (PyErr_Occurred()) SWIG_fail
;
35119 resultobj
= result
;
35126 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35127 PyObject
*resultobj
= 0;
35128 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35129 wxTreeItemId
*arg2
= 0 ;
35130 wxTreeItemId result
;
35135 PyObject
* obj0
= 0 ;
35136 PyObject
* obj1
= 0 ;
35137 char * kwnames
[] = {
35138 (char *) "self",(char *) "item", NULL
35141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35143 if (!SWIG_IsOK(res1
)) {
35144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35146 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35147 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35148 if (!SWIG_IsOK(res2
)) {
35149 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35152 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35154 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35157 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35158 wxPyEndAllowThreads(__tstate
);
35159 if (PyErr_Occurred()) SWIG_fail
;
35161 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35168 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35169 PyObject
*resultobj
= 0;
35170 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35171 wxTreeItemId
*arg2
= 0 ;
35172 PyObject
*result
= 0 ;
35177 PyObject
* obj0
= 0 ;
35178 PyObject
* obj1
= 0 ;
35179 char * kwnames
[] = {
35180 (char *) "self",(char *) "item", NULL
35183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35185 if (!SWIG_IsOK(res1
)) {
35186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35188 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35189 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35190 if (!SWIG_IsOK(res2
)) {
35191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35196 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35199 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35200 wxPyEndAllowThreads(__tstate
);
35201 if (PyErr_Occurred()) SWIG_fail
;
35203 resultobj
= result
;
35210 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35211 PyObject
*resultobj
= 0;
35212 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35213 wxTreeItemId
*arg2
= 0 ;
35214 void *arg3
= (void *) 0 ;
35215 PyObject
*result
= 0 ;
35221 PyObject
* obj0
= 0 ;
35222 PyObject
* obj1
= 0 ;
35223 PyObject
* obj2
= 0 ;
35224 char * kwnames
[] = {
35225 (char *) "self",(char *) "item",(char *) "cookie", NULL
35228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35230 if (!SWIG_IsOK(res1
)) {
35231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35233 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35234 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35235 if (!SWIG_IsOK(res2
)) {
35236 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35241 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35242 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35243 if (!SWIG_IsOK(res3
)) {
35244 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35248 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35249 wxPyEndAllowThreads(__tstate
);
35250 if (PyErr_Occurred()) SWIG_fail
;
35252 resultobj
= result
;
35259 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35260 PyObject
*resultobj
= 0;
35261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35262 wxTreeItemId
*arg2
= 0 ;
35263 wxTreeItemId result
;
35268 PyObject
* obj0
= 0 ;
35269 PyObject
* obj1
= 0 ;
35270 char * kwnames
[] = {
35271 (char *) "self",(char *) "item", NULL
35274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35276 if (!SWIG_IsOK(res1
)) {
35277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35279 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35280 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35281 if (!SWIG_IsOK(res2
)) {
35282 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35287 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35290 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35291 wxPyEndAllowThreads(__tstate
);
35292 if (PyErr_Occurred()) SWIG_fail
;
35294 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35301 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35302 PyObject
*resultobj
= 0;
35303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35304 wxTreeItemId
*arg2
= 0 ;
35305 wxTreeItemId result
;
35310 PyObject
* obj0
= 0 ;
35311 PyObject
* obj1
= 0 ;
35312 char * kwnames
[] = {
35313 (char *) "self",(char *) "item", NULL
35316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35318 if (!SWIG_IsOK(res1
)) {
35319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35321 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35322 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35323 if (!SWIG_IsOK(res2
)) {
35324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35329 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35332 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35336 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35343 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35344 PyObject
*resultobj
= 0;
35345 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35346 wxTreeItemId
*arg2
= 0 ;
35347 wxTreeItemId result
;
35352 PyObject
* obj0
= 0 ;
35353 PyObject
* obj1
= 0 ;
35354 char * kwnames
[] = {
35355 (char *) "self",(char *) "item", NULL
35358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35360 if (!SWIG_IsOK(res1
)) {
35361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35363 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35364 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35365 if (!SWIG_IsOK(res2
)) {
35366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35371 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35374 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35375 wxPyEndAllowThreads(__tstate
);
35376 if (PyErr_Occurred()) SWIG_fail
;
35378 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35385 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35386 PyObject
*resultobj
= 0;
35387 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35388 wxTreeItemId result
;
35391 PyObject
*swig_obj
[1] ;
35393 if (!args
) SWIG_fail
;
35394 swig_obj
[0] = args
;
35395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35396 if (!SWIG_IsOK(res1
)) {
35397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35399 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35402 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35403 wxPyEndAllowThreads(__tstate
);
35404 if (PyErr_Occurred()) SWIG_fail
;
35406 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35413 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35414 PyObject
*resultobj
= 0;
35415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35416 wxTreeItemId
*arg2
= 0 ;
35417 wxTreeItemId result
;
35422 PyObject
* obj0
= 0 ;
35423 PyObject
* obj1
= 0 ;
35424 char * kwnames
[] = {
35425 (char *) "self",(char *) "item", NULL
35428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35430 if (!SWIG_IsOK(res1
)) {
35431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35433 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35434 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35435 if (!SWIG_IsOK(res2
)) {
35436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35441 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35444 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35445 wxPyEndAllowThreads(__tstate
);
35446 if (PyErr_Occurred()) SWIG_fail
;
35448 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35455 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35456 PyObject
*resultobj
= 0;
35457 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35458 wxTreeItemId
*arg2
= 0 ;
35459 wxTreeItemId result
;
35464 PyObject
* obj0
= 0 ;
35465 PyObject
* obj1
= 0 ;
35466 char * kwnames
[] = {
35467 (char *) "self",(char *) "item", NULL
35470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35472 if (!SWIG_IsOK(res1
)) {
35473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35475 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35476 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35477 if (!SWIG_IsOK(res2
)) {
35478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35481 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35483 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35486 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
35487 wxPyEndAllowThreads(__tstate
);
35488 if (PyErr_Occurred()) SWIG_fail
;
35490 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35497 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35498 PyObject
*resultobj
= 0;
35499 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35500 wxString
*arg2
= 0 ;
35501 int arg3
= (int) -1 ;
35502 int arg4
= (int) -1 ;
35503 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
35504 wxTreeItemId result
;
35507 bool temp2
= false ;
35513 PyObject
* obj0
= 0 ;
35514 PyObject
* obj1
= 0 ;
35515 PyObject
* obj2
= 0 ;
35516 PyObject
* obj3
= 0 ;
35517 PyObject
* obj4
= 0 ;
35518 char * kwnames
[] = {
35519 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
35523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35524 if (!SWIG_IsOK(res1
)) {
35525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35527 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35529 arg2
= wxString_in_helper(obj1
);
35530 if (arg2
== NULL
) SWIG_fail
;
35534 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35535 if (!SWIG_IsOK(ecode3
)) {
35536 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
35538 arg3
= static_cast< int >(val3
);
35541 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35542 if (!SWIG_IsOK(ecode4
)) {
35543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
35545 arg4
= static_cast< int >(val4
);
35548 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35549 if (!SWIG_IsOK(res5
)) {
35550 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
35554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35555 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
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_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35575 PyObject
*resultobj
= 0;
35576 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35577 wxTreeItemId
*arg2
= 0 ;
35578 wxString
*arg3
= 0 ;
35579 int arg4
= (int) -1 ;
35580 int arg5
= (int) -1 ;
35581 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35582 wxTreeItemId result
;
35587 bool temp3
= false ;
35593 PyObject
* obj0
= 0 ;
35594 PyObject
* obj1
= 0 ;
35595 PyObject
* obj2
= 0 ;
35596 PyObject
* obj3
= 0 ;
35597 PyObject
* obj4
= 0 ;
35598 PyObject
* obj5
= 0 ;
35599 char * kwnames
[] = {
35600 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35605 if (!SWIG_IsOK(res1
)) {
35606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35608 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35610 if (!SWIG_IsOK(res2
)) {
35611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35616 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35618 arg3
= wxString_in_helper(obj2
);
35619 if (arg3
== NULL
) SWIG_fail
;
35623 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35624 if (!SWIG_IsOK(ecode4
)) {
35625 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
35627 arg4
= static_cast< int >(val4
);
35630 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35631 if (!SWIG_IsOK(ecode5
)) {
35632 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
35634 arg5
= static_cast< int >(val5
);
35637 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35638 if (!SWIG_IsOK(res6
)) {
35639 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35644 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35645 wxPyEndAllowThreads(__tstate
);
35646 if (PyErr_Occurred()) SWIG_fail
;
35648 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35663 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35664 PyObject
*resultobj
= 0;
35665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35666 wxTreeItemId
*arg2
= 0 ;
35667 wxTreeItemId
*arg3
= 0 ;
35668 wxString
*arg4
= 0 ;
35669 int arg5
= (int) -1 ;
35670 int arg6
= (int) -1 ;
35671 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35672 wxTreeItemId result
;
35679 bool temp4
= false ;
35685 PyObject
* obj0
= 0 ;
35686 PyObject
* obj1
= 0 ;
35687 PyObject
* obj2
= 0 ;
35688 PyObject
* obj3
= 0 ;
35689 PyObject
* obj4
= 0 ;
35690 PyObject
* obj5
= 0 ;
35691 PyObject
* obj6
= 0 ;
35692 char * kwnames
[] = {
35693 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35698 if (!SWIG_IsOK(res1
)) {
35699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35701 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35702 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35703 if (!SWIG_IsOK(res2
)) {
35704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35707 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35709 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35710 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35711 if (!SWIG_IsOK(res3
)) {
35712 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
35717 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
35719 arg4
= wxString_in_helper(obj3
);
35720 if (arg4
== NULL
) SWIG_fail
;
35724 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35725 if (!SWIG_IsOK(ecode5
)) {
35726 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
35728 arg5
= static_cast< int >(val5
);
35731 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35732 if (!SWIG_IsOK(ecode6
)) {
35733 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
35735 arg6
= static_cast< int >(val6
);
35738 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35739 if (!SWIG_IsOK(res7
)) {
35740 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35745 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35746 wxPyEndAllowThreads(__tstate
);
35747 if (PyErr_Occurred()) SWIG_fail
;
35749 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35764 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35765 PyObject
*resultobj
= 0;
35766 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35767 wxTreeItemId
*arg2
= 0 ;
35769 wxString
*arg4
= 0 ;
35770 int arg5
= (int) -1 ;
35771 int arg6
= (int) -1 ;
35772 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
35773 wxTreeItemId result
;
35780 bool temp4
= false ;
35786 PyObject
* obj0
= 0 ;
35787 PyObject
* obj1
= 0 ;
35788 PyObject
* obj2
= 0 ;
35789 PyObject
* obj3
= 0 ;
35790 PyObject
* obj4
= 0 ;
35791 PyObject
* obj5
= 0 ;
35792 PyObject
* obj6
= 0 ;
35793 char * kwnames
[] = {
35794 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
35798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35799 if (!SWIG_IsOK(res1
)) {
35800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35802 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35803 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35804 if (!SWIG_IsOK(res2
)) {
35805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35808 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35810 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35811 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
35812 if (!SWIG_IsOK(ecode3
)) {
35813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
35815 arg3
= static_cast< size_t >(val3
);
35817 arg4
= wxString_in_helper(obj3
);
35818 if (arg4
== NULL
) SWIG_fail
;
35822 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35823 if (!SWIG_IsOK(ecode5
)) {
35824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
35826 arg5
= static_cast< int >(val5
);
35829 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
35830 if (!SWIG_IsOK(ecode6
)) {
35831 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
35833 arg6
= static_cast< int >(val6
);
35836 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35837 if (!SWIG_IsOK(res7
)) {
35838 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
35842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35843 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
35844 wxPyEndAllowThreads(__tstate
);
35845 if (PyErr_Occurred()) SWIG_fail
;
35847 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35862 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35863 PyObject
*resultobj
= 0;
35864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35865 wxTreeItemId
*arg2
= 0 ;
35866 wxString
*arg3
= 0 ;
35867 int arg4
= (int) -1 ;
35868 int arg5
= (int) -1 ;
35869 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
35870 wxTreeItemId result
;
35875 bool temp3
= false ;
35881 PyObject
* obj0
= 0 ;
35882 PyObject
* obj1
= 0 ;
35883 PyObject
* obj2
= 0 ;
35884 PyObject
* obj3
= 0 ;
35885 PyObject
* obj4
= 0 ;
35886 PyObject
* obj5
= 0 ;
35887 char * kwnames
[] = {
35888 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
35891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
35892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35893 if (!SWIG_IsOK(res1
)) {
35894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35896 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35897 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35898 if (!SWIG_IsOK(res2
)) {
35899 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35902 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35904 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35906 arg3
= wxString_in_helper(obj2
);
35907 if (arg3
== NULL
) SWIG_fail
;
35911 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35912 if (!SWIG_IsOK(ecode4
)) {
35913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
35915 arg4
= static_cast< int >(val4
);
35918 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
35919 if (!SWIG_IsOK(ecode5
)) {
35920 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
35922 arg5
= static_cast< int >(val5
);
35925 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35926 if (!SWIG_IsOK(res6
)) {
35927 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
35931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35932 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
35933 wxPyEndAllowThreads(__tstate
);
35934 if (PyErr_Occurred()) SWIG_fail
;
35936 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35951 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35952 PyObject
*resultobj
= 0;
35953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35954 wxTreeItemId
*arg2
= 0 ;
35959 PyObject
* obj0
= 0 ;
35960 PyObject
* obj1
= 0 ;
35961 char * kwnames
[] = {
35962 (char *) "self",(char *) "item", NULL
35965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35967 if (!SWIG_IsOK(res1
)) {
35968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35970 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35971 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35972 if (!SWIG_IsOK(res2
)) {
35973 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35978 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35981 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
35982 wxPyEndAllowThreads(__tstate
);
35983 if (PyErr_Occurred()) SWIG_fail
;
35985 resultobj
= SWIG_Py_Void();
35992 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35993 PyObject
*resultobj
= 0;
35994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35995 wxTreeItemId
*arg2
= 0 ;
36000 PyObject
* obj0
= 0 ;
36001 PyObject
* obj1
= 0 ;
36002 char * kwnames
[] = {
36003 (char *) "self",(char *) "item", NULL
36006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36008 if (!SWIG_IsOK(res1
)) {
36009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36011 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36012 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36013 if (!SWIG_IsOK(res2
)) {
36014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36017 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36019 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36022 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36023 wxPyEndAllowThreads(__tstate
);
36024 if (PyErr_Occurred()) SWIG_fail
;
36026 resultobj
= SWIG_Py_Void();
36033 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36034 PyObject
*resultobj
= 0;
36035 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36038 PyObject
*swig_obj
[1] ;
36040 if (!args
) SWIG_fail
;
36041 swig_obj
[0] = args
;
36042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36043 if (!SWIG_IsOK(res1
)) {
36044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36046 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36049 (arg1
)->DeleteAllItems();
36050 wxPyEndAllowThreads(__tstate
);
36051 if (PyErr_Occurred()) SWIG_fail
;
36053 resultobj
= SWIG_Py_Void();
36060 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36061 PyObject
*resultobj
= 0;
36062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36063 wxTreeItemId
*arg2
= 0 ;
36068 PyObject
* obj0
= 0 ;
36069 PyObject
* obj1
= 0 ;
36070 char * kwnames
[] = {
36071 (char *) "self",(char *) "item", NULL
36074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36076 if (!SWIG_IsOK(res1
)) {
36077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36079 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36080 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36081 if (!SWIG_IsOK(res2
)) {
36082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36085 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36087 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36090 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36091 wxPyEndAllowThreads(__tstate
);
36092 if (PyErr_Occurred()) SWIG_fail
;
36094 resultobj
= SWIG_Py_Void();
36101 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36102 PyObject
*resultobj
= 0;
36103 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36104 wxTreeItemId
*arg2
= 0 ;
36109 PyObject
* obj0
= 0 ;
36110 PyObject
* obj1
= 0 ;
36111 char * kwnames
[] = {
36112 (char *) "self",(char *) "item", NULL
36115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36117 if (!SWIG_IsOK(res1
)) {
36118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36120 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36121 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36122 if (!SWIG_IsOK(res2
)) {
36123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36126 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36128 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36131 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36132 wxPyEndAllowThreads(__tstate
);
36133 if (PyErr_Occurred()) SWIG_fail
;
36135 resultobj
= SWIG_Py_Void();
36142 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36143 PyObject
*resultobj
= 0;
36144 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36145 wxTreeItemId
*arg2
= 0 ;
36150 PyObject
* obj0
= 0 ;
36151 PyObject
* obj1
= 0 ;
36152 char * kwnames
[] = {
36153 (char *) "self",(char *) "item", NULL
36156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36158 if (!SWIG_IsOK(res1
)) {
36159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36161 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36162 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36163 if (!SWIG_IsOK(res2
)) {
36164 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36167 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36169 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36172 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36173 wxPyEndAllowThreads(__tstate
);
36174 if (PyErr_Occurred()) SWIG_fail
;
36176 resultobj
= SWIG_Py_Void();
36183 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36184 PyObject
*resultobj
= 0;
36185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36186 wxTreeItemId
*arg2
= 0 ;
36191 PyObject
* obj0
= 0 ;
36192 PyObject
* obj1
= 0 ;
36193 char * kwnames
[] = {
36194 (char *) "self",(char *) "item", NULL
36197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36199 if (!SWIG_IsOK(res1
)) {
36200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36202 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36203 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36204 if (!SWIG_IsOK(res2
)) {
36205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36208 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36210 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36213 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36214 wxPyEndAllowThreads(__tstate
);
36215 if (PyErr_Occurred()) SWIG_fail
;
36217 resultobj
= SWIG_Py_Void();
36224 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36225 PyObject
*resultobj
= 0;
36226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36229 PyObject
*swig_obj
[1] ;
36231 if (!args
) SWIG_fail
;
36232 swig_obj
[0] = args
;
36233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36234 if (!SWIG_IsOK(res1
)) {
36235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36237 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36240 (arg1
)->Unselect();
36241 wxPyEndAllowThreads(__tstate
);
36242 if (PyErr_Occurred()) SWIG_fail
;
36244 resultobj
= SWIG_Py_Void();
36251 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36252 PyObject
*resultobj
= 0;
36253 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36254 wxTreeItemId
*arg2
= 0 ;
36259 PyObject
* obj0
= 0 ;
36260 PyObject
* obj1
= 0 ;
36261 char * kwnames
[] = {
36262 (char *) "self",(char *) "item", NULL
36265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36267 if (!SWIG_IsOK(res1
)) {
36268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36270 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36271 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36272 if (!SWIG_IsOK(res2
)) {
36273 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36278 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36281 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36282 wxPyEndAllowThreads(__tstate
);
36283 if (PyErr_Occurred()) SWIG_fail
;
36285 resultobj
= SWIG_Py_Void();
36292 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36293 PyObject
*resultobj
= 0;
36294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36297 PyObject
*swig_obj
[1] ;
36299 if (!args
) SWIG_fail
;
36300 swig_obj
[0] = args
;
36301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36302 if (!SWIG_IsOK(res1
)) {
36303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36305 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36308 (arg1
)->UnselectAll();
36309 wxPyEndAllowThreads(__tstate
);
36310 if (PyErr_Occurred()) SWIG_fail
;
36312 resultobj
= SWIG_Py_Void();
36319 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36320 PyObject
*resultobj
= 0;
36321 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36322 wxTreeItemId
*arg2
= 0 ;
36323 bool arg3
= (bool) true ;
36330 PyObject
* obj0
= 0 ;
36331 PyObject
* obj1
= 0 ;
36332 PyObject
* obj2
= 0 ;
36333 char * kwnames
[] = {
36334 (char *) "self",(char *) "item",(char *) "select", NULL
36337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36339 if (!SWIG_IsOK(res1
)) {
36340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36342 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36343 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36344 if (!SWIG_IsOK(res2
)) {
36345 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36350 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36352 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36353 if (!SWIG_IsOK(ecode3
)) {
36354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
36356 arg3
= static_cast< bool >(val3
);
36359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36360 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
36361 wxPyEndAllowThreads(__tstate
);
36362 if (PyErr_Occurred()) SWIG_fail
;
36364 resultobj
= SWIG_Py_Void();
36371 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36372 PyObject
*resultobj
= 0;
36373 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36374 wxTreeItemId
*arg2
= 0 ;
36379 PyObject
* obj0
= 0 ;
36380 PyObject
* obj1
= 0 ;
36381 char * kwnames
[] = {
36382 (char *) "self",(char *) "item", NULL
36385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36387 if (!SWIG_IsOK(res1
)) {
36388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36390 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36391 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36392 if (!SWIG_IsOK(res2
)) {
36393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36396 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36398 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36401 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
36402 wxPyEndAllowThreads(__tstate
);
36403 if (PyErr_Occurred()) SWIG_fail
;
36405 resultobj
= SWIG_Py_Void();
36412 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36413 PyObject
*resultobj
= 0;
36414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36415 wxTreeItemId
*arg2
= 0 ;
36420 PyObject
* obj0
= 0 ;
36421 PyObject
* obj1
= 0 ;
36422 char * kwnames
[] = {
36423 (char *) "self",(char *) "item", NULL
36426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36428 if (!SWIG_IsOK(res1
)) {
36429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36431 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36432 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36433 if (!SWIG_IsOK(res2
)) {
36434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36437 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36439 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36442 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
36443 wxPyEndAllowThreads(__tstate
);
36444 if (PyErr_Occurred()) SWIG_fail
;
36446 resultobj
= SWIG_Py_Void();
36453 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36454 PyObject
*resultobj
= 0;
36455 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36456 wxTreeItemId
*arg2
= 0 ;
36461 PyObject
* obj0
= 0 ;
36462 PyObject
* obj1
= 0 ;
36463 char * kwnames
[] = {
36464 (char *) "self",(char *) "item", NULL
36467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36469 if (!SWIG_IsOK(res1
)) {
36470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36472 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36473 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36474 if (!SWIG_IsOK(res2
)) {
36475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36480 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36483 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
36484 wxPyEndAllowThreads(__tstate
);
36485 if (PyErr_Occurred()) SWIG_fail
;
36487 resultobj
= SWIG_Py_Void();
36494 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36495 PyObject
*resultobj
= 0;
36496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36497 wxTreeItemId
*arg2
= 0 ;
36502 PyObject
* obj0
= 0 ;
36503 PyObject
* obj1
= 0 ;
36504 char * kwnames
[] = {
36505 (char *) "self",(char *) "item", NULL
36508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36510 if (!SWIG_IsOK(res1
)) {
36511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36513 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36514 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36515 if (!SWIG_IsOK(res2
)) {
36516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36519 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36521 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36524 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
36525 wxPyEndAllowThreads(__tstate
);
36526 if (PyErr_Occurred()) SWIG_fail
;
36528 resultobj
= SWIG_Py_Void();
36535 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36536 PyObject
*resultobj
= 0;
36537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36538 wxTextCtrl
*result
= 0 ;
36541 PyObject
*swig_obj
[1] ;
36543 if (!args
) SWIG_fail
;
36544 swig_obj
[0] = args
;
36545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36546 if (!SWIG_IsOK(res1
)) {
36547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36549 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36552 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
36553 wxPyEndAllowThreads(__tstate
);
36554 if (PyErr_Occurred()) SWIG_fail
;
36557 resultobj
= wxPyMake_wxObject(result
, 0);
36565 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36566 PyObject
*resultobj
= 0;
36567 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36568 wxTreeItemId
*arg2
= 0 ;
36569 bool arg3
= (bool) false ;
36576 PyObject
* obj0
= 0 ;
36577 PyObject
* obj1
= 0 ;
36578 PyObject
* obj2
= 0 ;
36579 char * kwnames
[] = {
36580 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
36583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36585 if (!SWIG_IsOK(res1
)) {
36586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36588 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36589 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36590 if (!SWIG_IsOK(res2
)) {
36591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36596 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36598 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36599 if (!SWIG_IsOK(ecode3
)) {
36600 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
36602 arg3
= static_cast< bool >(val3
);
36605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36606 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
36607 wxPyEndAllowThreads(__tstate
);
36608 if (PyErr_Occurred()) SWIG_fail
;
36610 resultobj
= SWIG_Py_Void();
36617 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36618 PyObject
*resultobj
= 0;
36619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36620 wxTreeItemId
*arg2
= 0 ;
36625 PyObject
* obj0
= 0 ;
36626 PyObject
* obj1
= 0 ;
36627 char * kwnames
[] = {
36628 (char *) "self",(char *) "item", NULL
36631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36633 if (!SWIG_IsOK(res1
)) {
36634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36636 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36637 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36638 if (!SWIG_IsOK(res2
)) {
36639 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36644 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36647 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
36648 wxPyEndAllowThreads(__tstate
);
36649 if (PyErr_Occurred()) SWIG_fail
;
36651 resultobj
= SWIG_Py_Void();
36658 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36659 PyObject
*resultobj
= 0;
36660 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36661 wxPoint
*arg2
= 0 ;
36663 wxTreeItemId result
;
36668 int res3
= SWIG_TMPOBJ
;
36669 PyObject
* obj0
= 0 ;
36670 PyObject
* obj1
= 0 ;
36671 char * kwnames
[] = {
36672 (char *) "self",(char *) "point", NULL
36676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36678 if (!SWIG_IsOK(res1
)) {
36679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36681 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36684 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36688 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
36689 wxPyEndAllowThreads(__tstate
);
36690 if (PyErr_Occurred()) SWIG_fail
;
36692 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36693 if (SWIG_IsTmpObj(res3
)) {
36694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
36696 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
36697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
36705 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36706 PyObject
*resultobj
= 0;
36707 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36708 wxTreeItemId
*arg2
= 0 ;
36709 bool arg3
= (bool) false ;
36710 PyObject
*result
= 0 ;
36717 PyObject
* obj0
= 0 ;
36718 PyObject
* obj1
= 0 ;
36719 PyObject
* obj2
= 0 ;
36720 char * kwnames
[] = {
36721 (char *) "self",(char *) "item",(char *) "textOnly", NULL
36724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36726 if (!SWIG_IsOK(res1
)) {
36727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36729 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36730 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36731 if (!SWIG_IsOK(res2
)) {
36732 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36735 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36737 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36739 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
36740 if (!SWIG_IsOK(ecode3
)) {
36741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
36743 arg3
= static_cast< bool >(val3
);
36746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36747 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36748 wxPyEndAllowThreads(__tstate
);
36749 if (PyErr_Occurred()) SWIG_fail
;
36751 resultobj
= result
;
36758 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36759 PyObject
*resultobj
= 0;
36760 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36761 wxTreeItemId
*arg2
= 0 ;
36769 PyObject
* obj0
= 0 ;
36770 PyObject
* obj1
= 0 ;
36771 PyObject
* obj2
= 0 ;
36772 char * kwnames
[] = {
36773 (char *) "self",(char *) "node",(char *) "state", NULL
36776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36778 if (!SWIG_IsOK(res1
)) {
36779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36781 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36783 if (!SWIG_IsOK(res2
)) {
36784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36789 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36791 if (!SWIG_IsOK(ecode3
)) {
36792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
36794 arg3
= static_cast< int >(val3
);
36796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36797 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
36798 wxPyEndAllowThreads(__tstate
);
36799 if (PyErr_Occurred()) SWIG_fail
;
36801 resultobj
= SWIG_Py_Void();
36808 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36809 PyObject
*resultobj
= 0;
36810 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36811 wxTreeItemId
*arg2
= 0 ;
36817 PyObject
* obj0
= 0 ;
36818 PyObject
* obj1
= 0 ;
36819 char * kwnames
[] = {
36820 (char *) "self",(char *) "node", NULL
36823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36825 if (!SWIG_IsOK(res1
)) {
36826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36828 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36829 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36830 if (!SWIG_IsOK(res2
)) {
36831 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36836 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36839 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
36840 wxPyEndAllowThreads(__tstate
);
36841 if (PyErr_Occurred()) SWIG_fail
;
36843 resultobj
= SWIG_From_int(static_cast< int >(result
));
36850 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36851 PyObject
*resultobj
= 0;
36852 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
36853 SwigValueWrapper
<wxVisualAttributes
> result
;
36856 PyObject
* obj0
= 0 ;
36857 char * kwnames
[] = {
36858 (char *) "variant", NULL
36861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
36863 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
36864 if (!SWIG_IsOK(ecode1
)) {
36865 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
36867 arg1
= static_cast< wxWindowVariant
>(val1
);
36870 if (!wxPyCheckForApp()) SWIG_fail
;
36871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36872 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
36883 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36885 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
36886 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
36887 return SWIG_Py_Void();
36890 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36891 return SWIG_Python_InitShadowInstance(args
);
36894 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
36895 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
36900 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
36901 PyObject
*pyobj
= 0;
36905 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36907 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
36914 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36915 PyObject
*resultobj
= 0;
36916 wxWindow
*arg1
= (wxWindow
*) 0 ;
36917 int arg2
= (int) (int)-1 ;
36918 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
36919 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
36920 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
36921 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
36922 wxSize
const &arg5_defvalue
= wxDefaultSize
;
36923 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
36924 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
36925 wxString
const &arg7_defvalue
= wxPyEmptyString
;
36926 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
36927 int arg8
= (int) 0 ;
36928 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
36929 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
36930 wxGenericDirCtrl
*result
= 0 ;
36935 bool temp3
= false ;
36940 bool temp7
= false ;
36943 bool temp9
= false ;
36944 PyObject
* obj0
= 0 ;
36945 PyObject
* obj1
= 0 ;
36946 PyObject
* obj2
= 0 ;
36947 PyObject
* obj3
= 0 ;
36948 PyObject
* obj4
= 0 ;
36949 PyObject
* obj5
= 0 ;
36950 PyObject
* obj6
= 0 ;
36951 PyObject
* obj7
= 0 ;
36952 PyObject
* obj8
= 0 ;
36953 char * kwnames
[] = {
36954 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
36957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
36958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36959 if (!SWIG_IsOK(res1
)) {
36960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
36962 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36965 if (!SWIG_IsOK(ecode2
)) {
36966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
36968 arg2
= static_cast< int >(val2
);
36972 arg3
= wxString_in_helper(obj2
);
36973 if (arg3
== NULL
) SWIG_fail
;
36980 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
36986 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
36990 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
36991 if (!SWIG_IsOK(ecode6
)) {
36992 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
36994 arg6
= static_cast< long >(val6
);
36998 arg7
= wxString_in_helper(obj6
);
36999 if (arg7
== NULL
) SWIG_fail
;
37004 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37005 if (!SWIG_IsOK(ecode8
)) {
37006 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37008 arg8
= static_cast< int >(val8
);
37012 arg9
= wxString_in_helper(obj8
);
37013 if (arg9
== NULL
) SWIG_fail
;
37018 if (!wxPyCheckForApp()) SWIG_fail
;
37019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37020 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37021 wxPyEndAllowThreads(__tstate
);
37022 if (PyErr_Occurred()) SWIG_fail
;
37024 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37055 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37056 PyObject
*resultobj
= 0;
37057 wxGenericDirCtrl
*result
= 0 ;
37059 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37061 if (!wxPyCheckForApp()) SWIG_fail
;
37062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37063 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37064 wxPyEndAllowThreads(__tstate
);
37065 if (PyErr_Occurred()) SWIG_fail
;
37067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37074 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37075 PyObject
*resultobj
= 0;
37076 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37077 wxWindow
*arg2
= (wxWindow
*) 0 ;
37078 int arg3
= (int) (int)-1 ;
37079 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37080 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37081 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37082 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37083 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37084 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37085 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37086 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37087 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37088 int arg9
= (int) 0 ;
37089 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37090 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37098 bool temp4
= false ;
37103 bool temp8
= false ;
37106 bool temp10
= false ;
37107 PyObject
* obj0
= 0 ;
37108 PyObject
* obj1
= 0 ;
37109 PyObject
* obj2
= 0 ;
37110 PyObject
* obj3
= 0 ;
37111 PyObject
* obj4
= 0 ;
37112 PyObject
* obj5
= 0 ;
37113 PyObject
* obj6
= 0 ;
37114 PyObject
* obj7
= 0 ;
37115 PyObject
* obj8
= 0 ;
37116 PyObject
* obj9
= 0 ;
37117 char * kwnames
[] = {
37118 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37123 if (!SWIG_IsOK(res1
)) {
37124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37126 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37128 if (!SWIG_IsOK(res2
)) {
37129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37131 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37134 if (!SWIG_IsOK(ecode3
)) {
37135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37137 arg3
= static_cast< int >(val3
);
37141 arg4
= wxString_in_helper(obj3
);
37142 if (arg4
== NULL
) SWIG_fail
;
37149 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37155 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37159 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37160 if (!SWIG_IsOK(ecode7
)) {
37161 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37163 arg7
= static_cast< long >(val7
);
37167 arg8
= wxString_in_helper(obj7
);
37168 if (arg8
== NULL
) SWIG_fail
;
37173 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37174 if (!SWIG_IsOK(ecode9
)) {
37175 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37177 arg9
= static_cast< int >(val9
);
37181 arg10
= wxString_in_helper(obj9
);
37182 if (arg10
== NULL
) SWIG_fail
;
37187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37188 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37189 wxPyEndAllowThreads(__tstate
);
37190 if (PyErr_Occurred()) SWIG_fail
;
37193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37225 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37226 PyObject
*resultobj
= 0;
37227 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37228 wxString
*arg2
= 0 ;
37232 bool temp2
= false ;
37233 PyObject
* obj0
= 0 ;
37234 PyObject
* obj1
= 0 ;
37235 char * kwnames
[] = {
37236 (char *) "self",(char *) "path", NULL
37239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37241 if (!SWIG_IsOK(res1
)) {
37242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37244 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37246 arg2
= wxString_in_helper(obj1
);
37247 if (arg2
== NULL
) SWIG_fail
;
37251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37252 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37253 wxPyEndAllowThreads(__tstate
);
37254 if (PyErr_Occurred()) SWIG_fail
;
37257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37273 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37274 PyObject
*resultobj
= 0;
37275 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37279 PyObject
*swig_obj
[1] ;
37281 if (!args
) SWIG_fail
;
37282 swig_obj
[0] = args
;
37283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37284 if (!SWIG_IsOK(res1
)) {
37285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37287 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37290 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37291 wxPyEndAllowThreads(__tstate
);
37292 if (PyErr_Occurred()) SWIG_fail
;
37296 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37298 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37307 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37308 PyObject
*resultobj
= 0;
37309 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37310 wxString
*arg2
= 0 ;
37313 bool temp2
= false ;
37314 PyObject
* obj0
= 0 ;
37315 PyObject
* obj1
= 0 ;
37316 char * kwnames
[] = {
37317 (char *) "self",(char *) "path", NULL
37320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37322 if (!SWIG_IsOK(res1
)) {
37323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37325 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37327 arg2
= wxString_in_helper(obj1
);
37328 if (arg2
== NULL
) SWIG_fail
;
37332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37333 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37334 wxPyEndAllowThreads(__tstate
);
37335 if (PyErr_Occurred()) SWIG_fail
;
37337 resultobj
= SWIG_Py_Void();
37352 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37353 PyObject
*resultobj
= 0;
37354 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37358 PyObject
*swig_obj
[1] ;
37360 if (!args
) SWIG_fail
;
37361 swig_obj
[0] = args
;
37362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37363 if (!SWIG_IsOK(res1
)) {
37364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37366 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37369 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
37370 wxPyEndAllowThreads(__tstate
);
37371 if (PyErr_Occurred()) SWIG_fail
;
37375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37386 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37387 PyObject
*resultobj
= 0;
37388 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37392 PyObject
*swig_obj
[1] ;
37394 if (!args
) SWIG_fail
;
37395 swig_obj
[0] = args
;
37396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37397 if (!SWIG_IsOK(res1
)) {
37398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37400 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37403 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
37404 wxPyEndAllowThreads(__tstate
);
37405 if (PyErr_Occurred()) SWIG_fail
;
37409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37420 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37421 PyObject
*resultobj
= 0;
37422 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37423 wxString
*arg2
= 0 ;
37426 bool temp2
= false ;
37427 PyObject
* obj0
= 0 ;
37428 PyObject
* obj1
= 0 ;
37429 char * kwnames
[] = {
37430 (char *) "self",(char *) "path", NULL
37433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37435 if (!SWIG_IsOK(res1
)) {
37436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37438 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37440 arg2
= wxString_in_helper(obj1
);
37441 if (arg2
== NULL
) SWIG_fail
;
37445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37446 (arg1
)->SetPath((wxString
const &)*arg2
);
37447 wxPyEndAllowThreads(__tstate
);
37448 if (PyErr_Occurred()) SWIG_fail
;
37450 resultobj
= SWIG_Py_Void();
37465 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37466 PyObject
*resultobj
= 0;
37467 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37473 PyObject
* obj0
= 0 ;
37474 PyObject
* obj1
= 0 ;
37475 char * kwnames
[] = {
37476 (char *) "self",(char *) "show", NULL
37479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37481 if (!SWIG_IsOK(res1
)) {
37482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37484 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37485 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37486 if (!SWIG_IsOK(ecode2
)) {
37487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
37489 arg2
= static_cast< bool >(val2
);
37491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37492 (arg1
)->ShowHidden(arg2
);
37493 wxPyEndAllowThreads(__tstate
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37496 resultobj
= SWIG_Py_Void();
37503 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37504 PyObject
*resultobj
= 0;
37505 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37509 PyObject
*swig_obj
[1] ;
37511 if (!args
) SWIG_fail
;
37512 swig_obj
[0] = args
;
37513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37514 if (!SWIG_IsOK(res1
)) {
37515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37517 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37520 result
= (bool)(arg1
)->GetShowHidden();
37521 wxPyEndAllowThreads(__tstate
);
37522 if (PyErr_Occurred()) SWIG_fail
;
37525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37533 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37534 PyObject
*resultobj
= 0;
37535 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37539 PyObject
*swig_obj
[1] ;
37541 if (!args
) SWIG_fail
;
37542 swig_obj
[0] = args
;
37543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37544 if (!SWIG_IsOK(res1
)) {
37545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37547 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37550 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
37551 wxPyEndAllowThreads(__tstate
);
37552 if (PyErr_Occurred()) SWIG_fail
;
37556 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37558 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37567 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37568 PyObject
*resultobj
= 0;
37569 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37570 wxString
*arg2
= 0 ;
37573 bool temp2
= false ;
37574 PyObject
* obj0
= 0 ;
37575 PyObject
* obj1
= 0 ;
37576 char * kwnames
[] = {
37577 (char *) "self",(char *) "filter", NULL
37580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37582 if (!SWIG_IsOK(res1
)) {
37583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37585 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37587 arg2
= wxString_in_helper(obj1
);
37588 if (arg2
== NULL
) SWIG_fail
;
37592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37593 (arg1
)->SetFilter((wxString
const &)*arg2
);
37594 wxPyEndAllowThreads(__tstate
);
37595 if (PyErr_Occurred()) SWIG_fail
;
37597 resultobj
= SWIG_Py_Void();
37612 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37613 PyObject
*resultobj
= 0;
37614 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37618 PyObject
*swig_obj
[1] ;
37620 if (!args
) SWIG_fail
;
37621 swig_obj
[0] = args
;
37622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37623 if (!SWIG_IsOK(res1
)) {
37624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37626 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37629 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
37630 wxPyEndAllowThreads(__tstate
);
37631 if (PyErr_Occurred()) SWIG_fail
;
37633 resultobj
= SWIG_From_int(static_cast< int >(result
));
37640 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37641 PyObject
*resultobj
= 0;
37642 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37648 PyObject
* obj0
= 0 ;
37649 PyObject
* obj1
= 0 ;
37650 char * kwnames
[] = {
37651 (char *) "self",(char *) "n", NULL
37654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37656 if (!SWIG_IsOK(res1
)) {
37657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37659 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37661 if (!SWIG_IsOK(ecode2
)) {
37662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
37664 arg2
= static_cast< int >(val2
);
37666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37667 (arg1
)->SetFilterIndex(arg2
);
37668 wxPyEndAllowThreads(__tstate
);
37669 if (PyErr_Occurred()) SWIG_fail
;
37671 resultobj
= SWIG_Py_Void();
37678 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37679 PyObject
*resultobj
= 0;
37680 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37681 wxTreeItemId result
;
37684 PyObject
*swig_obj
[1] ;
37686 if (!args
) SWIG_fail
;
37687 swig_obj
[0] = args
;
37688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37689 if (!SWIG_IsOK(res1
)) {
37690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37692 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37695 result
= (arg1
)->GetRootId();
37696 wxPyEndAllowThreads(__tstate
);
37697 if (PyErr_Occurred()) SWIG_fail
;
37699 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37706 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37707 PyObject
*resultobj
= 0;
37708 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37709 wxPyTreeCtrl
*result
= 0 ;
37712 PyObject
*swig_obj
[1] ;
37714 if (!args
) SWIG_fail
;
37715 swig_obj
[0] = args
;
37716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37717 if (!SWIG_IsOK(res1
)) {
37718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37720 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37723 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
37724 wxPyEndAllowThreads(__tstate
);
37725 if (PyErr_Occurred()) SWIG_fail
;
37728 resultobj
= wxPyMake_wxObject(result
, 0);
37736 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37737 PyObject
*resultobj
= 0;
37738 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37739 wxDirFilterListCtrl
*result
= 0 ;
37742 PyObject
*swig_obj
[1] ;
37744 if (!args
) SWIG_fail
;
37745 swig_obj
[0] = args
;
37746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37747 if (!SWIG_IsOK(res1
)) {
37748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37750 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37753 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
37754 wxPyEndAllowThreads(__tstate
);
37755 if (PyErr_Occurred()) SWIG_fail
;
37757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
37764 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37765 PyObject
*resultobj
= 0;
37766 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37767 wxTreeItemId arg2
;
37768 wxString
*arg3
= 0 ;
37770 wxTreeItemId result
;
37775 bool temp3
= false ;
37777 int res4
= SWIG_TMPOBJ
;
37778 PyObject
* obj0
= 0 ;
37779 PyObject
* obj1
= 0 ;
37780 PyObject
* obj2
= 0 ;
37781 char * kwnames
[] = {
37782 (char *) "self",(char *) "parentId",(char *) "path", NULL
37786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37788 if (!SWIG_IsOK(res1
)) {
37789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37791 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37794 if (!SWIG_IsOK(res2
)) {
37795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
37800 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37802 if (SWIG_IsNewObj(res2
)) delete temp
;
37806 arg3
= wxString_in_helper(obj2
);
37807 if (arg3
== NULL
) SWIG_fail
;
37811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37812 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
37813 wxPyEndAllowThreads(__tstate
);
37814 if (PyErr_Occurred()) SWIG_fail
;
37816 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37817 if (SWIG_IsTmpObj(res4
)) {
37818 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
37820 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37821 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
37837 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37838 PyObject
*resultobj
= 0;
37839 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37842 PyObject
*swig_obj
[1] ;
37844 if (!args
) SWIG_fail
;
37845 swig_obj
[0] = args
;
37846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37847 if (!SWIG_IsOK(res1
)) {
37848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37850 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37853 (arg1
)->DoResize();
37854 wxPyEndAllowThreads(__tstate
);
37855 if (PyErr_Occurred()) SWIG_fail
;
37857 resultobj
= SWIG_Py_Void();
37864 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37865 PyObject
*resultobj
= 0;
37866 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37869 PyObject
*swig_obj
[1] ;
37871 if (!args
) SWIG_fail
;
37872 swig_obj
[0] = args
;
37873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37874 if (!SWIG_IsOK(res1
)) {
37875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37877 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37880 (arg1
)->ReCreateTree();
37881 wxPyEndAllowThreads(__tstate
);
37882 if (PyErr_Occurred()) SWIG_fail
;
37884 resultobj
= SWIG_Py_Void();
37891 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37893 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37894 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
37895 return SWIG_Py_Void();
37898 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37899 return SWIG_Python_InitShadowInstance(args
);
37902 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37903 PyObject
*resultobj
= 0;
37904 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37905 int arg2
= (int) (int)-1 ;
37906 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
37907 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
37908 wxSize
const &arg4_defvalue
= wxDefaultSize
;
37909 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
37910 long arg5
= (long) 0 ;
37911 wxDirFilterListCtrl
*result
= 0 ;
37920 PyObject
* obj0
= 0 ;
37921 PyObject
* obj1
= 0 ;
37922 PyObject
* obj2
= 0 ;
37923 PyObject
* obj3
= 0 ;
37924 PyObject
* obj4
= 0 ;
37925 char * kwnames
[] = {
37926 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
37929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
37930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37931 if (!SWIG_IsOK(res1
)) {
37932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37934 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37937 if (!SWIG_IsOK(ecode2
)) {
37938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
37940 arg2
= static_cast< int >(val2
);
37945 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
37951 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
37955 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
37956 if (!SWIG_IsOK(ecode5
)) {
37957 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
37959 arg5
= static_cast< long >(val5
);
37962 if (!wxPyCheckForApp()) SWIG_fail
;
37963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37964 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
37965 wxPyEndAllowThreads(__tstate
);
37966 if (PyErr_Occurred()) SWIG_fail
;
37968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
37975 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37976 PyObject
*resultobj
= 0;
37977 wxDirFilterListCtrl
*result
= 0 ;
37979 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
37981 if (!wxPyCheckForApp()) SWIG_fail
;
37982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37983 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
37984 wxPyEndAllowThreads(__tstate
);
37985 if (PyErr_Occurred()) SWIG_fail
;
37987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
37994 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37995 PyObject
*resultobj
= 0;
37996 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
37997 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
37998 int arg3
= (int) (int)-1 ;
37999 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38000 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38001 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38002 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38003 long arg6
= (long) 0 ;
38015 PyObject
* obj0
= 0 ;
38016 PyObject
* obj1
= 0 ;
38017 PyObject
* obj2
= 0 ;
38018 PyObject
* obj3
= 0 ;
38019 PyObject
* obj4
= 0 ;
38020 PyObject
* obj5
= 0 ;
38021 char * kwnames
[] = {
38022 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38027 if (!SWIG_IsOK(res1
)) {
38028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38030 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38031 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38032 if (!SWIG_IsOK(res2
)) {
38033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38035 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38037 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38038 if (!SWIG_IsOK(ecode3
)) {
38039 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38041 arg3
= static_cast< int >(val3
);
38046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38056 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38057 if (!SWIG_IsOK(ecode6
)) {
38058 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38060 arg6
= static_cast< long >(val6
);
38063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38064 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38065 wxPyEndAllowThreads(__tstate
);
38066 if (PyErr_Occurred()) SWIG_fail
;
38069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38077 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38078 PyObject
*resultobj
= 0;
38079 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38080 wxString
*arg2
= 0 ;
38084 bool temp2
= false ;
38087 PyObject
* obj0
= 0 ;
38088 PyObject
* obj1
= 0 ;
38089 PyObject
* obj2
= 0 ;
38090 char * kwnames
[] = {
38091 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38096 if (!SWIG_IsOK(res1
)) {
38097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38099 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38101 arg2
= wxString_in_helper(obj1
);
38102 if (arg2
== NULL
) SWIG_fail
;
38105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38106 if (!SWIG_IsOK(ecode3
)) {
38107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38109 arg3
= static_cast< int >(val3
);
38111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38112 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38113 wxPyEndAllowThreads(__tstate
);
38114 if (PyErr_Occurred()) SWIG_fail
;
38116 resultobj
= SWIG_Py_Void();
38131 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38134 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38135 return SWIG_Py_Void();
38138 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38139 return SWIG_Python_InitShadowInstance(args
);
38142 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38143 PyObject
*resultobj
= 0;
38144 wxWindow
*arg1
= (wxWindow
*) 0 ;
38145 int arg2
= (int) (int)-1 ;
38146 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38147 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38148 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38149 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38150 long arg5
= (long) 0 ;
38151 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38152 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38153 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38154 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38155 wxPyControl
*result
= 0 ;
38166 bool temp7
= false ;
38167 PyObject
* obj0
= 0 ;
38168 PyObject
* obj1
= 0 ;
38169 PyObject
* obj2
= 0 ;
38170 PyObject
* obj3
= 0 ;
38171 PyObject
* obj4
= 0 ;
38172 PyObject
* obj5
= 0 ;
38173 PyObject
* obj6
= 0 ;
38174 char * kwnames
[] = {
38175 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38180 if (!SWIG_IsOK(res1
)) {
38181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38183 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38185 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38186 if (!SWIG_IsOK(ecode2
)) {
38187 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38189 arg2
= static_cast< int >(val2
);
38194 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38200 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38204 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38205 if (!SWIG_IsOK(ecode5
)) {
38206 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38208 arg5
= static_cast< long >(val5
);
38211 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38212 if (!SWIG_IsOK(res6
)) {
38213 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38216 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38218 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38222 arg7
= wxString_in_helper(obj6
);
38223 if (arg7
== NULL
) SWIG_fail
;
38228 if (!wxPyCheckForApp()) SWIG_fail
;
38229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38230 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38231 wxPyEndAllowThreads(__tstate
);
38232 if (PyErr_Occurred()) SWIG_fail
;
38234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38249 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38250 PyObject
*resultobj
= 0;
38251 wxPyControl
*result
= 0 ;
38253 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38255 if (!wxPyCheckForApp()) SWIG_fail
;
38256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38257 result
= (wxPyControl
*)new wxPyControl();
38258 wxPyEndAllowThreads(__tstate
);
38259 if (PyErr_Occurred()) SWIG_fail
;
38261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38268 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38269 PyObject
*resultobj
= 0;
38270 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38271 PyObject
*arg2
= (PyObject
*) 0 ;
38272 PyObject
*arg3
= (PyObject
*) 0 ;
38275 PyObject
* obj0
= 0 ;
38276 PyObject
* obj1
= 0 ;
38277 PyObject
* obj2
= 0 ;
38278 char * kwnames
[] = {
38279 (char *) "self",(char *) "self",(char *) "_class", NULL
38282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38284 if (!SWIG_IsOK(res1
)) {
38285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38287 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38292 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38293 wxPyEndAllowThreads(__tstate
);
38294 if (PyErr_Occurred()) SWIG_fail
;
38296 resultobj
= SWIG_Py_Void();
38303 SWIGINTERN PyObject
*_wrap_PyControl_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38304 PyObject
*resultobj
= 0;
38305 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38310 PyObject
* obj0
= 0 ;
38311 PyObject
* obj1
= 0 ;
38312 char * kwnames
[] = {
38313 (char *) "self",(char *) "size", NULL
38316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38318 if (!SWIG_IsOK(res1
)) {
38319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_SetBestSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38321 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38324 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38328 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
38329 wxPyEndAllowThreads(__tstate
);
38330 if (PyErr_Occurred()) SWIG_fail
;
38332 resultobj
= SWIG_Py_Void();
38339 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38340 PyObject
*resultobj
= 0;
38341 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38342 wxDC
*arg2
= (wxDC
*) 0 ;
38348 PyObject
* obj0
= 0 ;
38349 PyObject
* obj1
= 0 ;
38350 char * kwnames
[] = {
38351 (char *) "self",(char *) "dc", NULL
38354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38356 if (!SWIG_IsOK(res1
)) {
38357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38359 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38361 if (!SWIG_IsOK(res2
)) {
38362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38364 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38367 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38368 wxPyEndAllowThreads(__tstate
);
38369 if (PyErr_Occurred()) SWIG_fail
;
38372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38380 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38381 PyObject
*resultobj
= 0;
38382 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38397 PyObject
* obj0
= 0 ;
38398 PyObject
* obj1
= 0 ;
38399 PyObject
* obj2
= 0 ;
38400 PyObject
* obj3
= 0 ;
38401 PyObject
* obj4
= 0 ;
38402 char * kwnames
[] = {
38403 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
38406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38408 if (!SWIG_IsOK(res1
)) {
38409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
38411 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38413 if (!SWIG_IsOK(ecode2
)) {
38414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
38416 arg2
= static_cast< int >(val2
);
38417 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38418 if (!SWIG_IsOK(ecode3
)) {
38419 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
38421 arg3
= static_cast< int >(val3
);
38422 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38423 if (!SWIG_IsOK(ecode4
)) {
38424 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
38426 arg4
= static_cast< int >(val4
);
38427 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38428 if (!SWIG_IsOK(ecode5
)) {
38429 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
38431 arg5
= static_cast< int >(val5
);
38433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38434 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
38435 wxPyEndAllowThreads(__tstate
);
38436 if (PyErr_Occurred()) SWIG_fail
;
38438 resultobj
= SWIG_Py_Void();
38445 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38446 PyObject
*resultobj
= 0;
38447 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38452 int arg6
= (int) wxSIZE_AUTO
;
38465 PyObject
* obj0
= 0 ;
38466 PyObject
* obj1
= 0 ;
38467 PyObject
* obj2
= 0 ;
38468 PyObject
* obj3
= 0 ;
38469 PyObject
* obj4
= 0 ;
38470 PyObject
* obj5
= 0 ;
38471 char * kwnames
[] = {
38472 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
38475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38477 if (!SWIG_IsOK(res1
)) {
38478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38480 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38482 if (!SWIG_IsOK(ecode2
)) {
38483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
38485 arg2
= static_cast< int >(val2
);
38486 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38487 if (!SWIG_IsOK(ecode3
)) {
38488 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
38490 arg3
= static_cast< int >(val3
);
38491 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38492 if (!SWIG_IsOK(ecode4
)) {
38493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
38495 arg4
= static_cast< int >(val4
);
38496 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38497 if (!SWIG_IsOK(ecode5
)) {
38498 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
38500 arg5
= static_cast< int >(val5
);
38502 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38503 if (!SWIG_IsOK(ecode6
)) {
38504 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
38506 arg6
= static_cast< int >(val6
);
38509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38510 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
38511 wxPyEndAllowThreads(__tstate
);
38512 if (PyErr_Occurred()) SWIG_fail
;
38514 resultobj
= SWIG_Py_Void();
38521 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38522 PyObject
*resultobj
= 0;
38523 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38532 PyObject
* obj0
= 0 ;
38533 PyObject
* obj1
= 0 ;
38534 PyObject
* obj2
= 0 ;
38535 char * kwnames
[] = {
38536 (char *) "self",(char *) "width",(char *) "height", NULL
38539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38541 if (!SWIG_IsOK(res1
)) {
38542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38544 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38545 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38546 if (!SWIG_IsOK(ecode2
)) {
38547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
38549 arg2
= static_cast< int >(val2
);
38550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38551 if (!SWIG_IsOK(ecode3
)) {
38552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
38554 arg3
= static_cast< int >(val3
);
38556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38557 (arg1
)->DoSetClientSize(arg2
,arg3
);
38558 wxPyEndAllowThreads(__tstate
);
38559 if (PyErr_Occurred()) SWIG_fail
;
38561 resultobj
= SWIG_Py_Void();
38568 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38569 PyObject
*resultobj
= 0;
38570 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38579 PyObject
* obj0
= 0 ;
38580 PyObject
* obj1
= 0 ;
38581 PyObject
* obj2
= 0 ;
38582 char * kwnames
[] = {
38583 (char *) "self",(char *) "x",(char *) "y", NULL
38586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38588 if (!SWIG_IsOK(res1
)) {
38589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
38591 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38593 if (!SWIG_IsOK(ecode2
)) {
38594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
38596 arg2
= static_cast< int >(val2
);
38597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38598 if (!SWIG_IsOK(ecode3
)) {
38599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
38601 arg3
= static_cast< int >(val3
);
38603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38604 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
38605 wxPyEndAllowThreads(__tstate
);
38606 if (PyErr_Occurred()) SWIG_fail
;
38608 resultobj
= SWIG_Py_Void();
38615 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38616 PyObject
*resultobj
= 0;
38617 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38618 int *arg2
= (int *) 0 ;
38619 int *arg3
= (int *) 0 ;
38623 int res2
= SWIG_TMPOBJ
;
38625 int res3
= SWIG_TMPOBJ
;
38626 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_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38636 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38639 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
38640 wxPyEndAllowThreads(__tstate
);
38641 if (PyErr_Occurred()) SWIG_fail
;
38643 resultobj
= SWIG_Py_Void();
38644 if (SWIG_IsTmpObj(res2
)) {
38645 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38647 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38650 if (SWIG_IsTmpObj(res3
)) {
38651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38653 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38662 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38663 PyObject
*resultobj
= 0;
38664 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38665 int *arg2
= (int *) 0 ;
38666 int *arg3
= (int *) 0 ;
38670 int res2
= SWIG_TMPOBJ
;
38672 int res3
= SWIG_TMPOBJ
;
38673 PyObject
*swig_obj
[1] ;
38677 if (!args
) SWIG_fail
;
38678 swig_obj
[0] = args
;
38679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38680 if (!SWIG_IsOK(res1
)) {
38681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38683 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38686 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
38687 wxPyEndAllowThreads(__tstate
);
38688 if (PyErr_Occurred()) SWIG_fail
;
38690 resultobj
= SWIG_Py_Void();
38691 if (SWIG_IsTmpObj(res2
)) {
38692 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38694 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38695 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38697 if (SWIG_IsTmpObj(res3
)) {
38698 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38700 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38701 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38709 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38710 PyObject
*resultobj
= 0;
38711 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38712 int *arg2
= (int *) 0 ;
38713 int *arg3
= (int *) 0 ;
38717 int res2
= SWIG_TMPOBJ
;
38719 int res3
= SWIG_TMPOBJ
;
38720 PyObject
*swig_obj
[1] ;
38724 if (!args
) SWIG_fail
;
38725 swig_obj
[0] = args
;
38726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38727 if (!SWIG_IsOK(res1
)) {
38728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38730 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38733 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
38734 wxPyEndAllowThreads(__tstate
);
38735 if (PyErr_Occurred()) SWIG_fail
;
38737 resultobj
= SWIG_Py_Void();
38738 if (SWIG_IsTmpObj(res2
)) {
38739 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
38741 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38742 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
38744 if (SWIG_IsTmpObj(res3
)) {
38745 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
38747 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38748 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
38756 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38757 PyObject
*resultobj
= 0;
38758 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38762 PyObject
*swig_obj
[1] ;
38764 if (!args
) SWIG_fail
;
38765 swig_obj
[0] = args
;
38766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38767 if (!SWIG_IsOK(res1
)) {
38768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38770 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38773 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
38774 wxPyEndAllowThreads(__tstate
);
38775 if (PyErr_Occurred()) SWIG_fail
;
38777 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38784 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38785 PyObject
*resultobj
= 0;
38786 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38790 PyObject
*swig_obj
[1] ;
38792 if (!args
) SWIG_fail
;
38793 swig_obj
[0] = args
;
38794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38795 if (!SWIG_IsOK(res1
)) {
38796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
38798 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38801 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
38802 wxPyEndAllowThreads(__tstate
);
38803 if (PyErr_Occurred()) SWIG_fail
;
38805 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
38812 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38813 PyObject
*resultobj
= 0;
38814 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38815 SwigValueWrapper
<wxVisualAttributes
> result
;
38818 PyObject
*swig_obj
[1] ;
38820 if (!args
) SWIG_fail
;
38821 swig_obj
[0] = args
;
38822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38823 if (!SWIG_IsOK(res1
)) {
38824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
38826 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38829 result
= (arg1
)->GetDefaultAttributes();
38830 wxPyEndAllowThreads(__tstate
);
38831 if (PyErr_Occurred()) SWIG_fail
;
38833 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
38840 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38841 PyObject
*resultobj
= 0;
38842 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38845 PyObject
*swig_obj
[1] ;
38847 if (!args
) SWIG_fail
;
38848 swig_obj
[0] = args
;
38849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38850 if (!SWIG_IsOK(res1
)) {
38851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
38853 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38856 (arg1
)->OnInternalIdle();
38857 wxPyEndAllowThreads(__tstate
);
38858 if (PyErr_Occurred()) SWIG_fail
;
38860 resultobj
= SWIG_Py_Void();
38867 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38869 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38870 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
38871 return SWIG_Py_Void();
38874 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38875 return SWIG_Python_InitShadowInstance(args
);
38878 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38879 PyObject
*resultobj
= 0;
38880 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
38881 int arg2
= (int) 0 ;
38882 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38883 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38884 wxHelpEvent
*result
= 0 ;
38890 PyObject
* obj0
= 0 ;
38891 PyObject
* obj1
= 0 ;
38892 PyObject
* obj2
= 0 ;
38893 char * kwnames
[] = {
38894 (char *) "type",(char *) "winid",(char *) "pt", NULL
38897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38899 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38900 if (!SWIG_IsOK(ecode1
)) {
38901 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
38903 arg1
= static_cast< wxEventType
>(val1
);
38906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38907 if (!SWIG_IsOK(ecode2
)) {
38908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
38910 arg2
= static_cast< int >(val2
);
38915 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38920 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
38921 wxPyEndAllowThreads(__tstate
);
38922 if (PyErr_Occurred()) SWIG_fail
;
38924 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
38931 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38932 PyObject
*resultobj
= 0;
38933 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38937 PyObject
*swig_obj
[1] ;
38939 if (!args
) SWIG_fail
;
38940 swig_obj
[0] = args
;
38941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38942 if (!SWIG_IsOK(res1
)) {
38943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
38945 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38948 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
38949 wxPyEndAllowThreads(__tstate
);
38950 if (PyErr_Occurred()) SWIG_fail
;
38952 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
38959 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38960 PyObject
*resultobj
= 0;
38961 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38962 wxPoint
*arg2
= 0 ;
38966 PyObject
* obj0
= 0 ;
38967 PyObject
* obj1
= 0 ;
38968 char * kwnames
[] = {
38969 (char *) "self",(char *) "pos", NULL
38972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
38974 if (!SWIG_IsOK(res1
)) {
38975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
38977 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
38980 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38984 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
38985 wxPyEndAllowThreads(__tstate
);
38986 if (PyErr_Occurred()) SWIG_fail
;
38988 resultobj
= SWIG_Py_Void();
38995 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38996 PyObject
*resultobj
= 0;
38997 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
38998 wxString
*result
= 0 ;
39001 PyObject
*swig_obj
[1] ;
39003 if (!args
) SWIG_fail
;
39004 swig_obj
[0] = args
;
39005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39006 if (!SWIG_IsOK(res1
)) {
39007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39009 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39013 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39014 result
= (wxString
*) &_result_ref
;
39016 wxPyEndAllowThreads(__tstate
);
39017 if (PyErr_Occurred()) SWIG_fail
;
39021 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39023 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39032 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39033 PyObject
*resultobj
= 0;
39034 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39035 wxString
*arg2
= 0 ;
39038 bool temp2
= false ;
39039 PyObject
* obj0
= 0 ;
39040 PyObject
* obj1
= 0 ;
39041 char * kwnames
[] = {
39042 (char *) "self",(char *) "link", NULL
39045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39047 if (!SWIG_IsOK(res1
)) {
39048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39050 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39052 arg2
= wxString_in_helper(obj1
);
39053 if (arg2
== NULL
) SWIG_fail
;
39057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39058 (arg1
)->SetLink((wxString
const &)*arg2
);
39059 wxPyEndAllowThreads(__tstate
);
39060 if (PyErr_Occurred()) SWIG_fail
;
39062 resultobj
= SWIG_Py_Void();
39077 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39078 PyObject
*resultobj
= 0;
39079 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39080 wxString
*result
= 0 ;
39083 PyObject
*swig_obj
[1] ;
39085 if (!args
) SWIG_fail
;
39086 swig_obj
[0] = args
;
39087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39088 if (!SWIG_IsOK(res1
)) {
39089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39091 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39095 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39096 result
= (wxString
*) &_result_ref
;
39098 wxPyEndAllowThreads(__tstate
);
39099 if (PyErr_Occurred()) SWIG_fail
;
39103 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39105 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39114 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39115 PyObject
*resultobj
= 0;
39116 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39117 wxString
*arg2
= 0 ;
39120 bool temp2
= false ;
39121 PyObject
* obj0
= 0 ;
39122 PyObject
* obj1
= 0 ;
39123 char * kwnames
[] = {
39124 (char *) "self",(char *) "target", NULL
39127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39129 if (!SWIG_IsOK(res1
)) {
39130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39132 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39134 arg2
= wxString_in_helper(obj1
);
39135 if (arg2
== NULL
) SWIG_fail
;
39139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39140 (arg1
)->SetTarget((wxString
const &)*arg2
);
39141 wxPyEndAllowThreads(__tstate
);
39142 if (PyErr_Occurred()) SWIG_fail
;
39144 resultobj
= SWIG_Py_Void();
39159 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39161 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39162 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39163 return SWIG_Py_Void();
39166 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39167 return SWIG_Python_InitShadowInstance(args
);
39170 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39171 PyObject
*resultobj
= 0;
39172 wxWindow
*arg1
= (wxWindow
*) NULL
;
39173 bool arg2
= (bool) true ;
39174 wxContextHelp
*result
= 0 ;
39179 PyObject
* obj0
= 0 ;
39180 PyObject
* obj1
= 0 ;
39181 char * kwnames
[] = {
39182 (char *) "window",(char *) "doNow", NULL
39185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39188 if (!SWIG_IsOK(res1
)) {
39189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39191 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39194 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39195 if (!SWIG_IsOK(ecode2
)) {
39196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39198 arg2
= static_cast< bool >(val2
);
39201 if (!wxPyCheckForApp()) SWIG_fail
;
39202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39203 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39204 wxPyEndAllowThreads(__tstate
);
39205 if (PyErr_Occurred()) SWIG_fail
;
39207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39214 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39215 PyObject
*resultobj
= 0;
39216 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39219 PyObject
*swig_obj
[1] ;
39221 if (!args
) SWIG_fail
;
39222 swig_obj
[0] = args
;
39223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39224 if (!SWIG_IsOK(res1
)) {
39225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39227 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39232 wxPyEndAllowThreads(__tstate
);
39233 if (PyErr_Occurred()) SWIG_fail
;
39235 resultobj
= SWIG_Py_Void();
39242 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39243 PyObject
*resultobj
= 0;
39244 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39245 wxWindow
*arg2
= (wxWindow
*) NULL
;
39251 PyObject
* obj0
= 0 ;
39252 PyObject
* obj1
= 0 ;
39253 char * kwnames
[] = {
39254 (char *) "self",(char *) "window", NULL
39257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39259 if (!SWIG_IsOK(res1
)) {
39260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39262 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39265 if (!SWIG_IsOK(res2
)) {
39266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39268 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39272 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39273 wxPyEndAllowThreads(__tstate
);
39274 if (PyErr_Occurred()) SWIG_fail
;
39277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39285 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39286 PyObject
*resultobj
= 0;
39287 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39291 PyObject
*swig_obj
[1] ;
39293 if (!args
) SWIG_fail
;
39294 swig_obj
[0] = args
;
39295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39296 if (!SWIG_IsOK(res1
)) {
39297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39299 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39302 result
= (bool)(arg1
)->EndContextHelp();
39303 wxPyEndAllowThreads(__tstate
);
39304 if (PyErr_Occurred()) SWIG_fail
;
39307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39315 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39318 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
39319 return SWIG_Py_Void();
39322 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39323 return SWIG_Python_InitShadowInstance(args
);
39326 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39327 PyObject
*resultobj
= 0;
39328 wxWindow
*arg1
= (wxWindow
*) 0 ;
39329 int arg2
= (int) wxID_CONTEXT_HELP
;
39330 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39331 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39332 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39333 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39334 long arg5
= (long) wxBU_AUTODRAW
;
39335 wxContextHelpButton
*result
= 0 ;
39344 PyObject
* obj0
= 0 ;
39345 PyObject
* obj1
= 0 ;
39346 PyObject
* obj2
= 0 ;
39347 PyObject
* obj3
= 0 ;
39348 PyObject
* obj4
= 0 ;
39349 char * kwnames
[] = {
39350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39355 if (!SWIG_IsOK(res1
)) {
39356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
39358 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39361 if (!SWIG_IsOK(ecode2
)) {
39362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
39364 arg2
= static_cast< int >(val2
);
39369 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39375 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39379 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39380 if (!SWIG_IsOK(ecode5
)) {
39381 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
39383 arg5
= static_cast< long >(val5
);
39386 if (!wxPyCheckForApp()) SWIG_fail
;
39387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39388 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
39389 wxPyEndAllowThreads(__tstate
);
39390 if (PyErr_Occurred()) SWIG_fail
;
39392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
39399 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39401 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39402 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
39403 return SWIG_Py_Void();
39406 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39407 return SWIG_Python_InitShadowInstance(args
);
39410 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39411 PyObject
*resultobj
= 0;
39412 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39415 PyObject
*swig_obj
[1] ;
39417 if (!args
) SWIG_fail
;
39418 swig_obj
[0] = args
;
39419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39420 if (!SWIG_IsOK(res1
)) {
39421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39423 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39428 wxPyEndAllowThreads(__tstate
);
39429 if (PyErr_Occurred()) SWIG_fail
;
39431 resultobj
= SWIG_Py_Void();
39438 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39439 PyObject
*resultobj
= 0;
39440 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39441 wxHelpProvider
*result
= 0 ;
39443 PyObject
* obj0
= 0 ;
39444 char * kwnames
[] = {
39445 (char *) "helpProvider", NULL
39448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
39449 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
39450 if (!SWIG_IsOK(res1
)) {
39451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39455 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
39456 wxPyEndAllowThreads(__tstate
);
39457 if (PyErr_Occurred()) SWIG_fail
;
39459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
39466 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39467 PyObject
*resultobj
= 0;
39468 wxHelpProvider
*result
= 0 ;
39470 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
39472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39473 result
= (wxHelpProvider
*)wxHelpProvider::Get();
39474 wxPyEndAllowThreads(__tstate
);
39475 if (PyErr_Occurred()) SWIG_fail
;
39477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39484 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39485 PyObject
*resultobj
= 0;
39486 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39487 wxWindow
*arg2
= (wxWindow
*) 0 ;
39493 PyObject
* obj0
= 0 ;
39494 PyObject
* obj1
= 0 ;
39495 char * kwnames
[] = {
39496 (char *) "self",(char *) "window", NULL
39499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39501 if (!SWIG_IsOK(res1
)) {
39502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39504 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39505 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39506 if (!SWIG_IsOK(res2
)) {
39507 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
39509 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39512 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
39513 wxPyEndAllowThreads(__tstate
);
39514 if (PyErr_Occurred()) SWIG_fail
;
39518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39529 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39530 PyObject
*resultobj
= 0;
39531 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39532 wxWindow
*arg2
= (wxWindow
*) 0 ;
39538 PyObject
* obj0
= 0 ;
39539 PyObject
* obj1
= 0 ;
39540 char * kwnames
[] = {
39541 (char *) "self",(char *) "window", NULL
39544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39546 if (!SWIG_IsOK(res1
)) {
39547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39549 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39550 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39551 if (!SWIG_IsOK(res2
)) {
39552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39554 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39557 result
= (bool)(arg1
)->ShowHelp(arg2
);
39558 wxPyEndAllowThreads(__tstate
);
39559 if (PyErr_Occurred()) SWIG_fail
;
39562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39570 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39571 PyObject
*resultobj
= 0;
39572 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39573 wxWindow
*arg2
= (wxWindow
*) 0 ;
39574 wxString
*arg3
= 0 ;
39579 bool temp3
= false ;
39580 PyObject
* obj0
= 0 ;
39581 PyObject
* obj1
= 0 ;
39582 PyObject
* obj2
= 0 ;
39583 char * kwnames
[] = {
39584 (char *) "self",(char *) "window",(char *) "text", NULL
39587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39589 if (!SWIG_IsOK(res1
)) {
39590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39592 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39593 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39594 if (!SWIG_IsOK(res2
)) {
39595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39597 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39599 arg3
= wxString_in_helper(obj2
);
39600 if (arg3
== NULL
) SWIG_fail
;
39604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39605 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39606 wxPyEndAllowThreads(__tstate
);
39607 if (PyErr_Occurred()) SWIG_fail
;
39609 resultobj
= SWIG_Py_Void();
39624 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39625 PyObject
*resultobj
= 0;
39626 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39628 wxString
*arg3
= 0 ;
39633 bool temp3
= false ;
39634 PyObject
* obj0
= 0 ;
39635 PyObject
* obj1
= 0 ;
39636 PyObject
* obj2
= 0 ;
39637 char * kwnames
[] = {
39638 (char *) "self",(char *) "id",(char *) "text", NULL
39641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39643 if (!SWIG_IsOK(res1
)) {
39644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39646 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39648 if (!SWIG_IsOK(ecode2
)) {
39649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
39651 arg2
= static_cast< int >(val2
);
39653 arg3
= wxString_in_helper(obj2
);
39654 if (arg3
== NULL
) SWIG_fail
;
39658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39659 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
39660 wxPyEndAllowThreads(__tstate
);
39661 if (PyErr_Occurred()) SWIG_fail
;
39663 resultobj
= SWIG_Py_Void();
39678 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39679 PyObject
*resultobj
= 0;
39680 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39681 wxWindow
*arg2
= (wxWindow
*) 0 ;
39686 PyObject
* obj0
= 0 ;
39687 PyObject
* obj1
= 0 ;
39688 char * kwnames
[] = {
39689 (char *) "self",(char *) "window", NULL
39692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39694 if (!SWIG_IsOK(res1
)) {
39695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39697 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39698 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39699 if (!SWIG_IsOK(res2
)) {
39700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39702 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39705 (arg1
)->RemoveHelp(arg2
);
39706 wxPyEndAllowThreads(__tstate
);
39707 if (PyErr_Occurred()) SWIG_fail
;
39709 resultobj
= SWIG_Py_Void();
39716 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39717 PyObject
*resultobj
= 0;
39718 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
39721 PyObject
*swig_obj
[1] ;
39723 if (!args
) SWIG_fail
;
39724 swig_obj
[0] = args
;
39725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
39726 if (!SWIG_IsOK(res1
)) {
39727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
39729 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
39731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39732 wxHelpProvider_Destroy(arg1
);
39733 wxPyEndAllowThreads(__tstate
);
39734 if (PyErr_Occurred()) SWIG_fail
;
39736 resultobj
= SWIG_Py_Void();
39743 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39745 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39746 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
39747 return SWIG_Py_Void();
39750 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39751 PyObject
*resultobj
= 0;
39752 wxSimpleHelpProvider
*result
= 0 ;
39754 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
39756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39757 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
39758 wxPyEndAllowThreads(__tstate
);
39759 if (PyErr_Occurred()) SWIG_fail
;
39761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
39768 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39771 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
39772 return SWIG_Py_Void();
39775 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39776 return SWIG_Python_InitShadowInstance(args
);
39779 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39780 PyObject
*resultobj
= 0;
39781 wxBitmap
*arg1
= 0 ;
39782 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39783 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39784 wxGenericDragImage
*result
= 0 ;
39789 PyObject
* obj0
= 0 ;
39790 PyObject
* obj1
= 0 ;
39791 char * kwnames
[] = {
39792 (char *) "image",(char *) "cursor", NULL
39795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39796 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
39797 if (!SWIG_IsOK(res1
)) {
39798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39801 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
39803 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
39805 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39806 if (!SWIG_IsOK(res2
)) {
39807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39810 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
39812 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39815 if (!wxPyCheckForApp()) SWIG_fail
;
39816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39817 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
39818 wxPyEndAllowThreads(__tstate
);
39819 if (PyErr_Occurred()) SWIG_fail
;
39821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
39828 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39829 PyObject
*resultobj
= 0;
39831 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39832 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39833 wxGenericDragImage
*result
= 0 ;
39838 PyObject
* obj0
= 0 ;
39839 PyObject
* obj1
= 0 ;
39840 char * kwnames
[] = {
39841 (char *) "image",(char *) "cursor", NULL
39844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39845 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
39846 if (!SWIG_IsOK(res1
)) {
39847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
39852 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
39854 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39855 if (!SWIG_IsOK(res2
)) {
39856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
39861 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39864 if (!wxPyCheckForApp()) SWIG_fail
;
39865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39866 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
39867 wxPyEndAllowThreads(__tstate
);
39868 if (PyErr_Occurred()) SWIG_fail
;
39870 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39877 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39878 PyObject
*resultobj
= 0;
39879 wxString
*arg1
= 0 ;
39880 wxCursor
const &arg2_defvalue
= wxNullCursor
;
39881 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
39882 wxGenericDragImage
*result
= 0 ;
39883 bool temp1
= false ;
39886 PyObject
* obj0
= 0 ;
39887 PyObject
* obj1
= 0 ;
39888 char * kwnames
[] = {
39889 (char *) "str",(char *) "cursor", NULL
39892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39894 arg1
= wxString_in_helper(obj0
);
39895 if (arg1
== NULL
) SWIG_fail
;
39899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
39900 if (!SWIG_IsOK(res2
)) {
39901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
39906 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
39909 if (!wxPyCheckForApp()) SWIG_fail
;
39910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39911 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
39912 wxPyEndAllowThreads(__tstate
);
39913 if (PyErr_Occurred()) SWIG_fail
;
39915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39930 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39931 PyObject
*resultobj
= 0;
39932 wxPyTreeCtrl
*arg1
= 0 ;
39933 wxTreeItemId
*arg2
= 0 ;
39934 wxGenericDragImage
*result
= 0 ;
39939 PyObject
* obj0
= 0 ;
39940 PyObject
* obj1
= 0 ;
39941 char * kwnames
[] = {
39942 (char *) "treeCtrl",(char *) "id", NULL
39945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39946 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
39947 if (!SWIG_IsOK(res1
)) {
39948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
39953 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
39954 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
39955 if (!SWIG_IsOK(res2
)) {
39956 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39959 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
39961 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
39963 if (!wxPyCheckForApp()) SWIG_fail
;
39964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39965 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
39966 wxPyEndAllowThreads(__tstate
);
39967 if (PyErr_Occurred()) SWIG_fail
;
39969 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
39976 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39977 PyObject
*resultobj
= 0;
39978 wxPyListCtrl
*arg1
= 0 ;
39980 wxGenericDragImage
*result
= 0 ;
39985 PyObject
* obj0
= 0 ;
39986 PyObject
* obj1
= 0 ;
39987 char * kwnames
[] = {
39988 (char *) "listCtrl",(char *) "id", NULL
39991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39992 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
39993 if (!SWIG_IsOK(res1
)) {
39994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39997 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
39999 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40000 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40001 if (!SWIG_IsOK(ecode2
)) {
40002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40004 arg2
= static_cast< long >(val2
);
40006 if (!wxPyCheckForApp()) SWIG_fail
;
40007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40008 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40009 wxPyEndAllowThreads(__tstate
);
40010 if (PyErr_Occurred()) SWIG_fail
;
40012 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40019 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40020 PyObject
*resultobj
= 0;
40021 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40024 PyObject
*swig_obj
[1] ;
40026 if (!args
) SWIG_fail
;
40027 swig_obj
[0] = args
;
40028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40029 if (!SWIG_IsOK(res1
)) {
40030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40032 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40037 wxPyEndAllowThreads(__tstate
);
40038 if (PyErr_Occurred()) SWIG_fail
;
40040 resultobj
= SWIG_Py_Void();
40047 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40048 PyObject
*resultobj
= 0;
40049 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40050 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40055 PyObject
* obj0
= 0 ;
40056 PyObject
* obj1
= 0 ;
40057 char * kwnames
[] = {
40058 (char *) "self",(char *) "bitmap", NULL
40061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40063 if (!SWIG_IsOK(res1
)) {
40064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40066 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40067 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40068 if (!SWIG_IsOK(res2
)) {
40069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40071 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40074 (arg1
)->SetBackingBitmap(arg2
);
40075 wxPyEndAllowThreads(__tstate
);
40076 if (PyErr_Occurred()) SWIG_fail
;
40078 resultobj
= SWIG_Py_Void();
40085 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40086 PyObject
*resultobj
= 0;
40087 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40088 wxPoint
*arg2
= 0 ;
40089 wxWindow
*arg3
= (wxWindow
*) 0 ;
40090 bool arg4
= (bool) false ;
40091 wxRect
*arg5
= (wxRect
*) NULL
;
40102 PyObject
* obj0
= 0 ;
40103 PyObject
* obj1
= 0 ;
40104 PyObject
* obj2
= 0 ;
40105 PyObject
* obj3
= 0 ;
40106 PyObject
* obj4
= 0 ;
40107 char * kwnames
[] = {
40108 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40113 if (!SWIG_IsOK(res1
)) {
40114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40116 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40121 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40122 if (!SWIG_IsOK(res3
)) {
40123 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40125 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40127 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40128 if (!SWIG_IsOK(ecode4
)) {
40129 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40131 arg4
= static_cast< bool >(val4
);
40134 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40135 if (!SWIG_IsOK(res5
)) {
40136 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40138 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40142 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40143 wxPyEndAllowThreads(__tstate
);
40144 if (PyErr_Occurred()) SWIG_fail
;
40147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40155 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40156 PyObject
*resultobj
= 0;
40157 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40158 wxPoint
*arg2
= 0 ;
40159 wxWindow
*arg3
= (wxWindow
*) 0 ;
40160 wxWindow
*arg4
= (wxWindow
*) 0 ;
40169 PyObject
* obj0
= 0 ;
40170 PyObject
* obj1
= 0 ;
40171 PyObject
* obj2
= 0 ;
40172 PyObject
* obj3
= 0 ;
40173 char * kwnames
[] = {
40174 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40179 if (!SWIG_IsOK(res1
)) {
40180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40182 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40185 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40187 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40188 if (!SWIG_IsOK(res3
)) {
40189 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40191 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40192 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40193 if (!SWIG_IsOK(res4
)) {
40194 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40196 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40199 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40200 wxPyEndAllowThreads(__tstate
);
40201 if (PyErr_Occurred()) SWIG_fail
;
40204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40212 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40213 PyObject
*resultobj
= 0;
40214 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40218 PyObject
*swig_obj
[1] ;
40220 if (!args
) SWIG_fail
;
40221 swig_obj
[0] = args
;
40222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40223 if (!SWIG_IsOK(res1
)) {
40224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40226 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40229 result
= (bool)(arg1
)->EndDrag();
40230 wxPyEndAllowThreads(__tstate
);
40231 if (PyErr_Occurred()) SWIG_fail
;
40234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40242 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40243 PyObject
*resultobj
= 0;
40244 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40245 wxPoint
*arg2
= 0 ;
40250 PyObject
* obj0
= 0 ;
40251 PyObject
* obj1
= 0 ;
40252 char * kwnames
[] = {
40253 (char *) "self",(char *) "pt", NULL
40256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40258 if (!SWIG_IsOK(res1
)) {
40259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40261 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40264 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40268 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
40269 wxPyEndAllowThreads(__tstate
);
40270 if (PyErr_Occurred()) SWIG_fail
;
40273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40281 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40282 PyObject
*resultobj
= 0;
40283 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40287 PyObject
*swig_obj
[1] ;
40289 if (!args
) SWIG_fail
;
40290 swig_obj
[0] = args
;
40291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40292 if (!SWIG_IsOK(res1
)) {
40293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40295 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40298 result
= (bool)(arg1
)->Show();
40299 wxPyEndAllowThreads(__tstate
);
40300 if (PyErr_Occurred()) SWIG_fail
;
40303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40311 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40312 PyObject
*resultobj
= 0;
40313 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40317 PyObject
*swig_obj
[1] ;
40319 if (!args
) SWIG_fail
;
40320 swig_obj
[0] = args
;
40321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40322 if (!SWIG_IsOK(res1
)) {
40323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40325 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40328 result
= (bool)(arg1
)->Hide();
40329 wxPyEndAllowThreads(__tstate
);
40330 if (PyErr_Occurred()) SWIG_fail
;
40333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40341 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40342 PyObject
*resultobj
= 0;
40343 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40344 wxPoint
*arg2
= 0 ;
40349 PyObject
* obj0
= 0 ;
40350 PyObject
* obj1
= 0 ;
40351 char * kwnames
[] = {
40352 (char *) "self",(char *) "pos", NULL
40355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40357 if (!SWIG_IsOK(res1
)) {
40358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40360 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40363 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40367 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
40368 wxPyEndAllowThreads(__tstate
);
40369 if (PyErr_Occurred()) SWIG_fail
;
40371 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
40378 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40379 PyObject
*resultobj
= 0;
40380 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40382 wxPoint
*arg3
= 0 ;
40389 PyObject
* obj0
= 0 ;
40390 PyObject
* obj1
= 0 ;
40391 PyObject
* obj2
= 0 ;
40392 char * kwnames
[] = {
40393 (char *) "self",(char *) "dc",(char *) "pos", NULL
40396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40398 if (!SWIG_IsOK(res1
)) {
40399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40401 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40402 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40403 if (!SWIG_IsOK(res2
)) {
40404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
40409 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40412 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40416 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
40417 wxPyEndAllowThreads(__tstate
);
40418 if (PyErr_Occurred()) SWIG_fail
;
40421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40429 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40430 PyObject
*resultobj
= 0;
40431 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40433 wxMemoryDC
*arg3
= 0 ;
40445 PyObject
* obj0
= 0 ;
40446 PyObject
* obj1
= 0 ;
40447 PyObject
* obj2
= 0 ;
40448 PyObject
* obj3
= 0 ;
40449 PyObject
* obj4
= 0 ;
40450 char * kwnames
[] = {
40451 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
40454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40456 if (!SWIG_IsOK(res1
)) {
40457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
40459 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40460 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
40461 if (!SWIG_IsOK(res2
)) {
40462 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40465 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
40467 arg2
= reinterpret_cast< wxDC
* >(argp2
);
40468 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
40469 if (!SWIG_IsOK(res3
)) {
40470 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40473 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
40475 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
40478 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
40482 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
40485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40486 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
40487 wxPyEndAllowThreads(__tstate
);
40488 if (PyErr_Occurred()) SWIG_fail
;
40491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40499 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40500 PyObject
*resultobj
= 0;
40501 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40502 wxPoint
*arg2
= 0 ;
40503 wxPoint
*arg3
= 0 ;
40515 PyObject
* obj0
= 0 ;
40516 PyObject
* obj1
= 0 ;
40517 PyObject
* obj2
= 0 ;
40518 PyObject
* obj3
= 0 ;
40519 PyObject
* obj4
= 0 ;
40520 char * kwnames
[] = {
40521 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
40524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40526 if (!SWIG_IsOK(res1
)) {
40527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40529 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40536 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40538 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40539 if (!SWIG_IsOK(ecode4
)) {
40540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
40542 arg4
= static_cast< bool >(val4
);
40543 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
40544 if (!SWIG_IsOK(ecode5
)) {
40545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
40547 arg5
= static_cast< bool >(val5
);
40549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40550 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
40551 wxPyEndAllowThreads(__tstate
);
40552 if (PyErr_Occurred()) SWIG_fail
;
40555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40563 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40566 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
40567 return SWIG_Py_Void();
40570 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40571 return SWIG_Python_InitShadowInstance(args
);
40574 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
40575 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
40580 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
40581 PyObject
*pyobj
= 0;
40585 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40587 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
40594 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40595 PyObject
*resultobj
= 0;
40596 wxWindow
*arg1
= (wxWindow
*) 0 ;
40597 int arg2
= (int) -1 ;
40598 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
40599 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
40600 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
40601 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
40602 wxSize
const &arg5_defvalue
= wxDefaultSize
;
40603 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
40604 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40605 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
40606 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
40607 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
40608 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
40609 wxDatePickerCtrl
*result
= 0 ;
40622 bool temp8
= false ;
40623 PyObject
* obj0
= 0 ;
40624 PyObject
* obj1
= 0 ;
40625 PyObject
* obj2
= 0 ;
40626 PyObject
* obj3
= 0 ;
40627 PyObject
* obj4
= 0 ;
40628 PyObject
* obj5
= 0 ;
40629 PyObject
* obj6
= 0 ;
40630 PyObject
* obj7
= 0 ;
40631 char * kwnames
[] = {
40632 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
40636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40637 if (!SWIG_IsOK(res1
)) {
40638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
40640 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40643 if (!SWIG_IsOK(ecode2
)) {
40644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
40646 arg2
= static_cast< int >(val2
);
40649 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40650 if (!SWIG_IsOK(res3
)) {
40651 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40654 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40656 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40661 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
40667 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
40671 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
40672 if (!SWIG_IsOK(ecode6
)) {
40673 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
40675 arg6
= static_cast< long >(val6
);
40678 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
40679 if (!SWIG_IsOK(res7
)) {
40680 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
40685 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
40689 arg8
= wxString_in_helper(obj7
);
40690 if (arg8
== NULL
) SWIG_fail
;
40695 if (!wxPyCheckForApp()) SWIG_fail
;
40696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40697 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
40698 wxPyEndAllowThreads(__tstate
);
40699 if (PyErr_Occurred()) SWIG_fail
;
40701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
40716 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40717 PyObject
*resultobj
= 0;
40718 wxDatePickerCtrl
*result
= 0 ;
40720 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
40722 if (!wxPyCheckForApp()) SWIG_fail
;
40723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40724 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
40725 wxPyEndAllowThreads(__tstate
);
40726 if (PyErr_Occurred()) SWIG_fail
;
40728 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
40735 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40736 PyObject
*resultobj
= 0;
40737 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40738 wxWindow
*arg2
= (wxWindow
*) 0 ;
40739 int arg3
= (int) -1 ;
40740 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
40741 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
40742 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
40743 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
40744 wxSize
const &arg6_defvalue
= wxDefaultSize
;
40745 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
40746 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
40747 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
40748 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
40749 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
40750 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
40766 bool temp9
= false ;
40767 PyObject
* obj0
= 0 ;
40768 PyObject
* obj1
= 0 ;
40769 PyObject
* obj2
= 0 ;
40770 PyObject
* obj3
= 0 ;
40771 PyObject
* obj4
= 0 ;
40772 PyObject
* obj5
= 0 ;
40773 PyObject
* obj6
= 0 ;
40774 PyObject
* obj7
= 0 ;
40775 PyObject
* obj8
= 0 ;
40776 char * kwnames
[] = {
40777 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
40780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
40781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40782 if (!SWIG_IsOK(res1
)) {
40783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40785 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40787 if (!SWIG_IsOK(res2
)) {
40788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
40790 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
40793 if (!SWIG_IsOK(ecode3
)) {
40794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
40796 arg3
= static_cast< int >(val3
);
40799 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40800 if (!SWIG_IsOK(res4
)) {
40801 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40804 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
40806 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
40811 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
40817 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
40821 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
40822 if (!SWIG_IsOK(ecode7
)) {
40823 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
40825 arg7
= static_cast< long >(val7
);
40828 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
40829 if (!SWIG_IsOK(res8
)) {
40830 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40833 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
40835 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
40839 arg9
= wxString_in_helper(obj8
);
40840 if (arg9
== NULL
) SWIG_fail
;
40845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40846 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
40847 wxPyEndAllowThreads(__tstate
);
40848 if (PyErr_Occurred()) SWIG_fail
;
40851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40867 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40868 PyObject
*resultobj
= 0;
40869 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40870 wxDateTime
*arg2
= 0 ;
40875 PyObject
* obj0
= 0 ;
40876 PyObject
* obj1
= 0 ;
40877 char * kwnames
[] = {
40878 (char *) "self",(char *) "dt", NULL
40881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40883 if (!SWIG_IsOK(res1
)) {
40884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40886 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40887 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40888 if (!SWIG_IsOK(res2
)) {
40889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40892 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40894 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40897 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
40898 wxPyEndAllowThreads(__tstate
);
40899 if (PyErr_Occurred()) SWIG_fail
;
40901 resultobj
= SWIG_Py_Void();
40908 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40909 PyObject
*resultobj
= 0;
40910 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40914 PyObject
*swig_obj
[1] ;
40916 if (!args
) SWIG_fail
;
40917 swig_obj
[0] = args
;
40918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40919 if (!SWIG_IsOK(res1
)) {
40920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
40922 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40925 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
40926 wxPyEndAllowThreads(__tstate
);
40927 if (PyErr_Occurred()) SWIG_fail
;
40929 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
40936 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40937 PyObject
*resultobj
= 0;
40938 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40939 wxDateTime
*arg2
= 0 ;
40940 wxDateTime
*arg3
= 0 ;
40947 PyObject
* obj0
= 0 ;
40948 PyObject
* obj1
= 0 ;
40949 PyObject
* obj2
= 0 ;
40950 char * kwnames
[] = {
40951 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
40954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
40956 if (!SWIG_IsOK(res1
)) {
40957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
40959 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
40960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40961 if (!SWIG_IsOK(res2
)) {
40962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
40967 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
40968 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
40969 if (!SWIG_IsOK(res3
)) {
40970 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40973 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
40975 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
40977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40978 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
40979 wxPyEndAllowThreads(__tstate
);
40980 if (PyErr_Occurred()) SWIG_fail
;
40982 resultobj
= SWIG_Py_Void();
40989 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40990 PyObject
*resultobj
= 0;
40991 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
40995 PyObject
*swig_obj
[1] ;
40997 if (!args
) SWIG_fail
;
40998 swig_obj
[0] = args
;
40999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41000 if (!SWIG_IsOK(res1
)) {
41001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41003 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41006 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41007 wxPyEndAllowThreads(__tstate
);
41008 if (PyErr_Occurred()) SWIG_fail
;
41010 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41017 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41018 PyObject
*resultobj
= 0;
41019 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41023 PyObject
*swig_obj
[1] ;
41025 if (!args
) SWIG_fail
;
41026 swig_obj
[0] = args
;
41027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41028 if (!SWIG_IsOK(res1
)) {
41029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41031 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41034 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41035 wxPyEndAllowThreads(__tstate
);
41036 if (PyErr_Occurred()) SWIG_fail
;
41038 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41045 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41047 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41048 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41049 return SWIG_Py_Void();
41052 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41053 return SWIG_Python_InitShadowInstance(args
);
41056 static PyMethodDef SwigMethods
[] = {
41057 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41058 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
41059 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41060 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
41061 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
41062 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41063 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
41064 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
41065 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41066 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
41067 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41068 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
41069 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
41070 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
41071 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
41072 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
41073 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41074 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41075 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41076 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41077 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41078 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41079 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
41080 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
41081 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
41082 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
41083 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41084 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
41085 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41086 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
41087 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
41088 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41089 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
41090 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41091 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
41092 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
41093 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41094 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
41095 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
41096 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41097 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
41098 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41099 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
41100 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41101 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
41102 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
41103 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41104 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
41105 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41106 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
41107 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41108 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
41109 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
41110 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
41111 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41112 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
41113 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
41114 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41115 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41116 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
41117 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
41118 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41119 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41120 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41121 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
41122 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41123 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
41124 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
41125 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
41126 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
41127 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
41128 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
41129 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
41130 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
41131 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
41132 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41133 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
41134 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
41135 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41136 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
41137 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41138 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41139 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
41140 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41141 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
41142 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
41143 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41144 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
41145 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41146 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
41147 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41148 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
41149 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
41150 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41151 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
41152 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41153 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41154 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
41155 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
41156 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41157 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
41158 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41159 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
41160 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
41161 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41162 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
41163 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
41164 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41165 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
41166 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41167 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41168 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41169 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
41170 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
41171 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41172 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
41173 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41174 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
41175 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41176 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41177 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41178 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
41179 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
41180 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41181 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
41182 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41183 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41184 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41185 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41186 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41187 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41188 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41189 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41190 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41191 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41192 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
41193 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41194 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41195 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41196 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41197 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
41198 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41199 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41200 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41201 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41202 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41203 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
41204 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
41205 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41206 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
41207 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41208 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41209 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41210 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
41211 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
41212 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
41213 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41214 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
41215 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
41216 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41217 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41218 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41219 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41220 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41221 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41222 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41223 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41224 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41225 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
41226 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
41227 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
41228 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
41229 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
41230 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
41231 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
41232 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41233 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
41234 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
41235 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
41236 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
41237 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
41238 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
41239 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
41240 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
41241 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
41242 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
41243 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41244 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
41245 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
41246 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41247 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
41248 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41249 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
41250 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41251 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41252 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41253 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41254 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
41255 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
41256 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
41257 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
41258 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
41259 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
41260 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
41261 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
41262 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41263 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41264 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41265 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41266 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
41267 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
41268 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41269 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41270 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41271 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41272 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41273 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41274 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41275 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
41276 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41277 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41278 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41279 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41280 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41281 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
41282 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
41283 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
41284 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
41285 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
41286 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
41287 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
41288 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
41289 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
41290 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
41291 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41292 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
41293 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
41294 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
41295 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41296 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
41297 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41298 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41299 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
41300 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41301 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41302 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41303 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
41304 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
41305 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41306 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
41307 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
41308 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
41309 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
41310 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
41311 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41312 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
41313 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41314 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
41315 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
41316 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
41317 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
41318 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
41319 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41320 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41321 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
41322 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
41323 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41324 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
41325 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41326 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
41327 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
41328 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
41329 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41330 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41331 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41332 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41333 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
41334 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41335 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
41336 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
41337 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41338 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
41339 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41340 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
41341 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41342 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41343 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41344 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
41345 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
41346 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41347 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41348 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
41349 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
41350 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41351 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
41352 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41353 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
41354 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
41355 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41356 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
41357 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41358 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41359 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
41360 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
41361 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41362 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
41363 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41364 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41365 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41366 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41367 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41368 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41369 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41370 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
41371 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
41372 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41373 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41374 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41375 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41376 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
41377 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
41378 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41379 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
41380 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41381 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
41382 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41383 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41384 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
41385 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
41386 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41387 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
41388 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41389 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
41390 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41391 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41392 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
41393 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
41394 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41395 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41396 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41397 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41398 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
41399 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
41400 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41401 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
41402 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41403 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
41404 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
41405 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41406 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
41407 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
41408 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
41409 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41410 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41411 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
41412 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
41413 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41414 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
41415 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41416 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41417 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
41418 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41419 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
41420 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
41421 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
41422 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41423 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
41424 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
41425 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41426 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41427 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41428 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41429 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
41430 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41431 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41432 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41433 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41434 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
41435 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41436 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
41437 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41438 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
41439 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41440 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
41441 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
41442 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41443 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41444 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
41445 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41446 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41447 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41448 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41449 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41450 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
41451 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41452 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
41453 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41454 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
41455 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41456 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
41457 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
41458 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41459 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
41460 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41461 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
41462 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41463 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41464 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41465 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
41466 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41467 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
41468 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
41469 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41470 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
41471 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
41472 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41473 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
41474 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41475 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
41476 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
41477 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
41478 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41479 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
41480 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
41481 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41482 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
41483 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41484 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
41485 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
41486 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
41487 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41488 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
41489 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
41490 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41491 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
41492 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41493 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41494 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41495 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41496 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41497 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41498 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41499 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
41500 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
41501 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
41502 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41503 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
41504 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
41505 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41506 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
41507 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41508 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
41509 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
41510 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
41511 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
41512 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41513 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
41514 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
41515 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
41516 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
41517 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
41518 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
41519 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
41520 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
41521 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
41522 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
41523 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
41524 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
41525 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
41526 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
41527 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
41528 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
41529 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
41530 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
41531 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
41532 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41533 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
41534 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41535 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41536 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41537 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41538 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41539 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41540 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
41541 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41542 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
41543 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41544 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
41545 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41546 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41547 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41548 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41549 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41550 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41551 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41552 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
41553 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41554 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41555 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41556 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41557 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
41558 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
41559 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41560 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41561 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41562 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41563 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41564 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41565 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41566 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41567 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41568 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41569 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41570 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41571 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41572 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41573 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41574 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41575 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
41576 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
41577 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
41578 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
41579 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41580 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41581 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
41582 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
41583 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41584 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
41585 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
41586 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41587 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41588 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
41589 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
41590 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
41591 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41592 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
41593 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41594 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41595 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
41596 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
41597 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41598 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
41599 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41600 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41601 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41602 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
41603 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
41604 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
41605 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
41606 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
41607 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
41608 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41609 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
41610 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
41611 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
41612 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
41613 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
41614 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
41615 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
41616 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41617 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41618 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41619 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41620 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41621 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41622 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41623 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41624 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41625 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41626 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41627 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41628 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41629 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
41630 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
41631 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
41632 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
41633 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
41634 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
41635 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
41636 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
41637 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
41638 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
41639 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
41640 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
41641 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
41642 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
41643 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
41644 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
41645 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
41646 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
41647 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
41648 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
41649 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
41650 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
41651 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
41652 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
41653 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
41654 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
41655 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
41656 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
41657 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
41658 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
41659 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
41660 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
41661 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
41662 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
41663 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
41664 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
41665 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41666 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
41667 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
41668 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
41669 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
41670 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
41671 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
41672 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
41673 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
41674 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
41675 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
41676 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
41677 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
41678 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
41679 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
41680 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
41681 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
41682 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
41683 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
41684 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
41685 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
41686 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
41687 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
41688 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
41689 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
41690 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41691 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
41692 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
41693 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41694 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
41695 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41696 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41697 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41698 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41699 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41700 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41701 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
41702 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
41703 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
41704 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41705 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41706 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41707 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41708 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41709 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41710 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41711 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41712 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41713 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41714 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41715 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41716 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41717 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41718 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
41719 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
41720 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
41721 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
41722 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
41723 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41724 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
41725 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41726 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41727 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41728 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41729 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41730 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
41731 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
41732 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41733 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41734 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41735 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41736 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
41737 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41738 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
41739 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
41740 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41741 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41742 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41743 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41744 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41745 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41746 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41747 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41748 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41749 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41750 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41751 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41752 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41753 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41754 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41755 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41756 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41757 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41758 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41759 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41760 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41761 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41762 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
41763 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41764 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
41765 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
41766 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41767 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
41768 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41769 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41770 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41771 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
41772 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41773 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
41774 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41775 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41776 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41777 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
41778 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
41779 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
41780 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
41781 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
41782 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41783 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41784 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
41785 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
41786 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
41787 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
41788 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41789 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
41790 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
41791 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41792 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
41793 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41794 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
41795 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
41796 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
41797 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41798 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
41799 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41800 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
41801 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41802 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
41803 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41804 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
41805 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
41806 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41807 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
41808 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41809 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
41810 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41811 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41812 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
41813 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
41814 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
41815 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41816 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
41817 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41818 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41819 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
41820 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
41821 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41822 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
41823 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41824 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
41825 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
41826 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41827 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41828 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41829 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41830 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41831 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41832 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41833 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41834 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41835 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41836 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41837 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41838 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41839 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41840 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41841 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41842 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41843 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41844 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41845 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41846 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41847 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41848 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41849 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41850 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41851 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41852 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41853 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
41854 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
41855 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
41856 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41857 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41858 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41859 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41860 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41861 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41862 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
41863 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41864 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41865 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41866 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41867 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41868 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41869 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41870 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41871 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41872 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
41873 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41874 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41875 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41876 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41877 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
41878 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41879 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
41880 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41881 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41882 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41883 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41884 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41885 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
41886 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41887 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41888 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41889 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41890 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41891 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41892 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41893 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
41894 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
41895 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41896 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
41897 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41898 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41899 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
41900 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41901 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
41902 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
41903 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41904 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41905 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
41906 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
41907 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41908 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
41909 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41910 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
41911 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
41912 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
41913 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41914 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
41915 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
41916 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
41917 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
41918 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41919 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
41920 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41921 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41922 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
41923 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
41924 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41925 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
41926 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41927 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41928 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41929 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41930 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41931 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41932 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41933 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
41934 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
41935 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
41936 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
41937 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
41938 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
41939 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
41940 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
41941 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
41942 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41943 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
41944 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41945 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
41946 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41947 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
41948 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41949 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
41950 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
41951 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41952 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
41953 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41954 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
41955 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
41956 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
41957 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41958 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
41959 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
41960 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
41961 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41962 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
41963 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41964 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41965 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41966 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41967 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41968 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
41969 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
41970 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
41971 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
41972 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
41973 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41974 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41975 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41976 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41977 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41978 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
41979 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41980 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41981 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41982 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
41983 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41984 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
41985 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
41986 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41987 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41988 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41989 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41990 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
41991 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
41992 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41993 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
41994 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41995 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41996 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
41997 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
41998 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
41999 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
42000 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
42001 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
42002 { NULL
, NULL
, 0, NULL
}
42006 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42008 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
42009 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42011 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
42012 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
42014 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
42015 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
42017 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
42018 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
42020 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
42021 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
42023 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
42024 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42026 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
42027 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42029 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
42030 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
42032 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
42033 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
42035 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
42036 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
42038 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
42039 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42041 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
42042 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
42044 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
42045 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42047 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
42048 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42050 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
42051 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42053 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
42054 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42056 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
42057 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42059 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
42060 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42062 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
42063 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42065 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
42066 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
42068 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
42069 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
42071 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
42072 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42074 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
42075 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42077 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
42078 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
42080 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
42081 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
42083 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
42084 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
42086 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
42087 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
42089 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
42090 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
42092 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
42093 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
42095 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
42096 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
42098 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
42099 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
42101 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
42102 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42104 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
42105 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42107 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
42108 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42110 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
42111 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42113 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
42114 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42116 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
42117 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
42119 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
42120 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
42122 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
42123 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42125 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
42126 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
42128 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
42129 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
42131 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
42132 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42134 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
42135 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42137 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
42138 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42140 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
42141 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
42143 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
42144 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
42146 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
42147 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42149 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
42150 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42152 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
42153 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42155 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
42156 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
42158 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
42159 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
42161 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
42162 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
42164 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
42165 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42167 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
42168 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
42170 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
42171 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
42173 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
42174 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
42176 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
42177 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
42179 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
42180 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
42182 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
42183 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
42185 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
42186 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
42188 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
42189 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42191 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
42192 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
42194 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
42195 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42197 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
42198 return (void *)((wxControl
*) ((wxPyControl
*) x
));
42200 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
42201 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
42203 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
42204 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
42206 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
42207 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
42209 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
42210 return (void *)((wxControl
*) ((wxGauge
*) x
));
42212 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
42213 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
42215 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
42216 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42218 static void *_p_wxListbookTo_p_wxControl(void *x
) {
42219 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
42221 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
42222 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
42224 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
42225 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
42227 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
42228 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
42230 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
42231 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
42233 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
42234 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
42236 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
42237 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42239 static void *_p_wxListViewTo_p_wxControl(void *x
) {
42240 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
42242 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
42243 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
42245 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
42246 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
42248 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
42249 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
42251 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
42252 return (void *)((wxControl
*) ((wxStaticText
*) x
));
42254 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
42255 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
42257 static void *_p_wxSliderTo_p_wxControl(void *x
) {
42258 return (void *)((wxControl
*) ((wxSlider
*) x
));
42260 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
42261 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
42263 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
42264 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
42266 static void *_p_wxButtonTo_p_wxControl(void *x
) {
42267 return (void *)((wxControl
*) ((wxButton
*) x
));
42269 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
42270 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
42272 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
42273 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42275 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
42276 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
42278 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
42279 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
42281 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
42282 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
42284 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
42285 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
42287 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
42288 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42290 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
42291 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42293 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
42294 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42296 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
42297 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
42299 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
42300 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42302 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
42303 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42305 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
42306 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42308 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
42309 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42311 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
42312 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42314 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
42315 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42317 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
42318 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42320 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
42321 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
42323 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
42324 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
42326 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
42327 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
42329 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
42330 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
42332 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
42333 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
42335 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
42336 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42338 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
42339 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
42341 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
42342 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
42344 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
42345 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42347 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
42348 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
42350 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
42351 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42353 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
42354 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42356 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
42357 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42359 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
42360 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
42362 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
42363 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
42365 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
42366 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42368 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
42369 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42371 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
42372 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42374 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
42375 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42377 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
42378 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42380 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
42381 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
42383 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
42384 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42386 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
42387 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42389 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
42390 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42392 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
42393 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42395 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
42396 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42398 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
42399 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42401 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
42402 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42404 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
42405 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42407 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
42408 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42410 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
42411 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42413 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
42414 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42416 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
42417 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42419 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
42420 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42422 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
42423 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42425 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
42426 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42428 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
42429 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42431 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
42432 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42434 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
42435 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42437 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
42438 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42440 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
42441 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42443 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
42444 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42446 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
42447 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42449 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
42450 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42452 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
42453 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42455 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
42456 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42458 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
42459 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42461 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
42462 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42464 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
42465 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
42467 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
42468 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
42470 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
42471 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42473 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
42474 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42476 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
42477 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
42479 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42480 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42482 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
42483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42485 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42486 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42488 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42489 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42491 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42492 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42494 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42495 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42497 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
42498 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42500 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42501 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42503 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42504 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42506 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42507 return (void *)((wxObject
*) ((wxSizer
*) x
));
42509 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42510 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42512 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
42513 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
42515 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
42516 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
42518 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42519 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42521 static void *_p_wxEventTo_p_wxObject(void *x
) {
42522 return (void *)((wxObject
*) ((wxEvent
*) x
));
42524 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42525 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42527 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42528 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42530 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42531 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42533 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
42534 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
42536 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
42537 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
42539 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
42540 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42542 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42543 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42545 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42546 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42548 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42549 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42551 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42552 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42554 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42555 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42557 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42558 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42560 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
42561 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
42563 static void *_p_wxControlTo_p_wxObject(void *x
) {
42564 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42566 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
42567 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
42569 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
42570 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
42572 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
42573 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
42575 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
42576 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
42578 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
42579 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
42581 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42582 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42584 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
42585 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42587 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42588 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42590 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42591 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42593 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
42594 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42596 static void *_p_wxListViewTo_p_wxObject(void *x
) {
42597 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42599 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
42600 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
42602 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
42603 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42605 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42606 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42608 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42609 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42611 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
42612 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42614 static void *_p_wxListbookTo_p_wxObject(void *x
) {
42615 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42617 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42618 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42620 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
42621 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
42623 static void *_p_wxSliderTo_p_wxObject(void *x
) {
42624 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
42626 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42627 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42629 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
42630 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
42632 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42633 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42635 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42636 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42638 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42639 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42641 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42642 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42644 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42645 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42647 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42648 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42650 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42651 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42653 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42654 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42656 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
42657 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
42659 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
42660 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
42662 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
42663 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
42665 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42666 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42668 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42669 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42671 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42672 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42674 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42675 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42677 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42678 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42680 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42681 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42683 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42684 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42686 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42687 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42689 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42690 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42692 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
42693 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
42695 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42696 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42698 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42699 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42701 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42702 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42704 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42705 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42707 static void *_p_wxListEventTo_p_wxObject(void *x
) {
42708 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
42710 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
42711 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42713 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
42714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42716 static void *_p_wxButtonTo_p_wxObject(void *x
) {
42717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
42719 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
42720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42722 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
42723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
42725 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
42726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42728 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
42729 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
42731 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42732 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42734 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
42735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
42737 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
42738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
42740 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
42741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42743 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
42744 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
42746 static void *_p_wxListItemTo_p_wxObject(void *x
) {
42747 return (void *)((wxObject
*) ((wxListItem
*) x
));
42749 static void *_p_wxImageTo_p_wxObject(void *x
) {
42750 return (void *)((wxObject
*) ((wxImage
*) x
));
42752 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42753 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42755 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
42756 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
42758 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
42759 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
42761 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
42762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
42764 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
42765 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42767 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
42768 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42770 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
42771 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42773 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
42774 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42776 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
42777 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42779 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42780 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42782 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42783 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42785 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42786 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42788 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42789 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42791 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42792 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42794 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42795 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42797 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42798 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42800 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42801 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42803 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42804 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42806 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42807 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42809 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42810 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42812 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42813 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42815 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42816 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42818 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
42819 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
42821 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
42822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
42824 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42825 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42827 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42828 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42830 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
42831 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
42833 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42834 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42836 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42837 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42839 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42840 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42842 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
42843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
42845 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42848 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
42849 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
42851 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
42852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42854 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42857 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42858 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42860 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42861 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42863 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
42864 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
42866 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
42867 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
42869 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
42870 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
42872 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
42873 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
42875 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
42876 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
42878 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42879 return (void *)((wxWindow
*) ((wxControl
*) x
));
42881 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
42882 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
42884 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
42885 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
42887 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
42888 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
42890 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
42891 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
42893 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
42894 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
42896 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
42897 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
42899 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
42900 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
42902 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42903 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42905 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
42906 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
42908 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
42909 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
42911 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
42912 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
42914 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
42915 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
42917 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
42918 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
42920 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
42921 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
42923 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
42924 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
42926 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
42927 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
42929 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
42930 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
42932 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
42933 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
42935 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
42936 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
42938 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
42939 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
42941 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
42942 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
42944 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
42945 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
42947 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
42948 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
42950 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
42951 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
42953 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
42954 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
42956 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
42957 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
42959 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
42960 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
42962 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
42963 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
42965 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
42966 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
42968 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
42969 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
42971 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
42972 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
42974 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
42975 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
42977 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42978 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
42980 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42981 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
42983 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42984 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
42986 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42987 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
42989 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
42990 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
42992 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42993 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42995 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
42996 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
42998 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42999 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
43001 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
43002 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
43004 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
43005 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
43007 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
43008 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
43010 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
43011 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
43013 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
43014 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
43016 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
43017 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
43019 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
43020 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
43022 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
43023 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
43025 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
43026 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
43028 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
43029 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
43031 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
43032 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
43034 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
43035 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
43037 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
43038 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
43040 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
43041 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
43043 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
43044 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
43046 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
43047 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
43049 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
43050 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
43052 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
43053 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
43055 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
43056 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
43058 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
43059 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
43061 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
43062 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
43064 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
43065 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
43067 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
43068 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
43070 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
43071 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
43072 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};
43073 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
43074 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
43075 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
43076 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
43077 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
43078 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
43079 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
43080 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
43081 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
43082 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
43083 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
43084 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
43085 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
43086 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
43087 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
43088 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
43089 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
43090 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
43091 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
43092 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
43093 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
43094 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
43095 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
43096 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
43097 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
43098 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
43099 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
43100 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
43101 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
43102 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
43103 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
43104 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
43105 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
43106 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
43107 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
43108 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
43109 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
43110 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
43111 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
43112 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
43113 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
43114 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
43115 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
43116 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
43117 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
43118 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
43119 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
43120 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
43121 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
43122 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
43123 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
43124 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
43125 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
43126 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
43127 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
43128 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
43129 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
43130 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
43131 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
43132 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
43133 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
43134 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
43135 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
43136 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
43137 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
43138 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
43139 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
43140 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
43141 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
43142 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
43143 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
43144 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
43145 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
43146 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
43147 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
43148 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
43149 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
43150 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
43151 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
43152 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
43153 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
43154 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
43155 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
43156 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
43157 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
43158 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
43159 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
43160 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
43161 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
43162 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
43163 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
43164 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
43165 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
43166 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
43167 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
43168 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
43169 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
43170 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
43171 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
43172 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
43173 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
43174 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
43175 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
43176 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
43177 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
43178 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
43179 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
43180 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
43181 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
43182 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
43183 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
43184 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
43185 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
43186 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
43187 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
43188 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
43189 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
43190 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
43191 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
43192 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
43193 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
43194 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
43195 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
43196 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
43197 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
43198 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
43199 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
43200 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
43201 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
43202 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
43203 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
43204 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
43205 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
43206 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
43207 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
43208 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
43209 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
43210 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
43211 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
43212 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
43213 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
43214 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
43215 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
43216 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
43217 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
43218 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
43219 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
43220 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
43221 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
43222 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
43223 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
43224 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
43225 static swig_type_info _swigt__p_wxTreeCtrl
= {"_p_wxTreeCtrl", "wxTreeCtrl *", 0, 0, (void*)0, 0};
43226 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
43227 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
43228 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
43229 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
43230 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
43231 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
43232 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
43234 static swig_type_info
*swig_type_initial
[] = {
43237 &_swigt__p_form_ops_t
,
43240 &_swigt__p_unsigned_char
,
43241 &_swigt__p_unsigned_int
,
43242 &_swigt__p_unsigned_long
,
43244 &_swigt__p_wxANIHandler
,
43245 &_swigt__p_wxAcceleratorTable
,
43246 &_swigt__p_wxActivateEvent
,
43247 &_swigt__p_wxArrayInt
,
43248 &_swigt__p_wxArrayString
,
43249 &_swigt__p_wxBMPHandler
,
43250 &_swigt__p_wxBitmap
,
43251 &_swigt__p_wxBitmapButton
,
43252 &_swigt__p_wxBookCtrlBase
,
43253 &_swigt__p_wxBookCtrlBaseEvent
,
43254 &_swigt__p_wxBoxSizer
,
43255 &_swigt__p_wxButton
,
43256 &_swigt__p_wxCURHandler
,
43257 &_swigt__p_wxCheckBox
,
43258 &_swigt__p_wxCheckListBox
,
43259 &_swigt__p_wxChildFocusEvent
,
43260 &_swigt__p_wxChoice
,
43261 &_swigt__p_wxChoicebook
,
43262 &_swigt__p_wxChoicebookEvent
,
43263 &_swigt__p_wxCloseEvent
,
43264 &_swigt__p_wxColour
,
43265 &_swigt__p_wxComboBox
,
43266 &_swigt__p_wxCommandEvent
,
43267 &_swigt__p_wxContextHelp
,
43268 &_swigt__p_wxContextHelpButton
,
43269 &_swigt__p_wxContextMenuEvent
,
43270 &_swigt__p_wxControl
,
43271 &_swigt__p_wxControlWithItems
,
43272 &_swigt__p_wxCursor
,
43274 &_swigt__p_wxDateEvent
,
43275 &_swigt__p_wxDatePickerCtrl
,
43276 &_swigt__p_wxDateTime
,
43277 &_swigt__p_wxDirFilterListCtrl
,
43278 &_swigt__p_wxDisplayChangedEvent
,
43279 &_swigt__p_wxDropFilesEvent
,
43280 &_swigt__p_wxDuplexMode
,
43281 &_swigt__p_wxEraseEvent
,
43282 &_swigt__p_wxEvent
,
43283 &_swigt__p_wxEvtHandler
,
43284 &_swigt__p_wxFSFile
,
43285 &_swigt__p_wxFileSystem
,
43286 &_swigt__p_wxFlexGridSizer
,
43287 &_swigt__p_wxFocusEvent
,
43289 &_swigt__p_wxGBSizerItem
,
43290 &_swigt__p_wxGIFHandler
,
43291 &_swigt__p_wxGauge
,
43292 &_swigt__p_wxGenericDirCtrl
,
43293 &_swigt__p_wxGenericDragImage
,
43294 &_swigt__p_wxGridBagSizer
,
43295 &_swigt__p_wxGridSizer
,
43296 &_swigt__p_wxHelpEvent
,
43297 &_swigt__p_wxHelpProvider
,
43298 &_swigt__p_wxICOHandler
,
43300 &_swigt__p_wxIconizeEvent
,
43301 &_swigt__p_wxIdleEvent
,
43302 &_swigt__p_wxImage
,
43303 &_swigt__p_wxImageHandler
,
43304 &_swigt__p_wxImageList
,
43305 &_swigt__p_wxIndividualLayoutConstraint
,
43306 &_swigt__p_wxInitDialogEvent
,
43307 &_swigt__p_wxItemContainer
,
43308 &_swigt__p_wxJPEGHandler
,
43309 &_swigt__p_wxKeyEvent
,
43310 &_swigt__p_wxLayoutConstraints
,
43311 &_swigt__p_wxListBox
,
43312 &_swigt__p_wxListEvent
,
43313 &_swigt__p_wxListItem
,
43314 &_swigt__p_wxListItemAttr
,
43315 &_swigt__p_wxListView
,
43316 &_swigt__p_wxListbook
,
43317 &_swigt__p_wxListbookEvent
,
43318 &_swigt__p_wxMaximizeEvent
,
43319 &_swigt__p_wxMemoryDC
,
43321 &_swigt__p_wxMenuBar
,
43322 &_swigt__p_wxMenuEvent
,
43323 &_swigt__p_wxMenuItem
,
43324 &_swigt__p_wxMouseCaptureChangedEvent
,
43325 &_swigt__p_wxMouseEvent
,
43326 &_swigt__p_wxMoveEvent
,
43327 &_swigt__p_wxNavigationKeyEvent
,
43328 &_swigt__p_wxNcPaintEvent
,
43329 &_swigt__p_wxNotebook
,
43330 &_swigt__p_wxNotebookEvent
,
43331 &_swigt__p_wxNotifyEvent
,
43332 &_swigt__p_wxObject
,
43333 &_swigt__p_wxPCXHandler
,
43334 &_swigt__p_wxPNGHandler
,
43335 &_swigt__p_wxPNMHandler
,
43336 &_swigt__p_wxPaintEvent
,
43337 &_swigt__p_wxPaletteChangedEvent
,
43338 &_swigt__p_wxPaperSize
,
43339 &_swigt__p_wxPoint
,
43340 &_swigt__p_wxPyApp
,
43341 &_swigt__p_wxPyCommandEvent
,
43342 &_swigt__p_wxPyControl
,
43343 &_swigt__p_wxPyEvent
,
43344 &_swigt__p_wxPyImageHandler
,
43345 &_swigt__p_wxPyListCtrl
,
43346 &_swigt__p_wxPySizer
,
43347 &_swigt__p_wxPyTreeCtrl
,
43348 &_swigt__p_wxPyTreeItemData
,
43349 &_swigt__p_wxPyValidator
,
43350 &_swigt__p_wxQueryNewPaletteEvent
,
43351 &_swigt__p_wxRadioBox
,
43352 &_swigt__p_wxRadioButton
,
43354 &_swigt__p_wxScrollBar
,
43355 &_swigt__p_wxScrollEvent
,
43356 &_swigt__p_wxScrollWinEvent
,
43357 &_swigt__p_wxSetCursorEvent
,
43358 &_swigt__p_wxShowEvent
,
43359 &_swigt__p_wxSimpleHelpProvider
,
43361 &_swigt__p_wxSizeEvent
,
43362 &_swigt__p_wxSizer
,
43363 &_swigt__p_wxSizerItem
,
43364 &_swigt__p_wxSlider
,
43365 &_swigt__p_wxSpinButton
,
43366 &_swigt__p_wxSpinCtrl
,
43367 &_swigt__p_wxSpinEvent
,
43368 &_swigt__p_wxStaticBitmap
,
43369 &_swigt__p_wxStaticBox
,
43370 &_swigt__p_wxStaticBoxSizer
,
43371 &_swigt__p_wxStaticLine
,
43372 &_swigt__p_wxStaticText
,
43373 &_swigt__p_wxStdDialogButtonSizer
,
43374 &_swigt__p_wxString
,
43375 &_swigt__p_wxSysColourChangedEvent
,
43376 &_swigt__p_wxTIFFHandler
,
43377 &_swigt__p_wxTextAttr
,
43378 &_swigt__p_wxTextCtrl
,
43379 &_swigt__p_wxTextUrlEvent
,
43380 &_swigt__p_wxToggleButton
,
43381 &_swigt__p_wxToolBar
,
43382 &_swigt__p_wxToolBarBase
,
43383 &_swigt__p_wxToolBarToolBase
,
43384 &_swigt__p_wxToolbook
,
43385 &_swigt__p_wxToolbookEvent
,
43386 &_swigt__p_wxTreeCtrl
,
43387 &_swigt__p_wxTreeEvent
,
43388 &_swigt__p_wxTreeItemId
,
43389 &_swigt__p_wxTreebook
,
43390 &_swigt__p_wxTreebookEvent
,
43391 &_swigt__p_wxUpdateUIEvent
,
43392 &_swigt__p_wxValidator
,
43393 &_swigt__p_wxVisualAttributes
,
43394 &_swigt__p_wxWindow
,
43395 &_swigt__p_wxWindowCreateEvent
,
43396 &_swigt__p_wxWindowDestroyEvent
,
43397 &_swigt__p_wxXPMHandler
,
43400 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
43401 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
43402 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
43403 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
43404 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
43405 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
43406 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
43407 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
43408 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
43409 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
43410 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
43411 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43412 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}};
43413 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}};
43414 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}};
43415 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}};
43416 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
43417 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
43418 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}};
43419 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
43420 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43421 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
43422 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
43423 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43424 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
43425 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
43426 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43427 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43428 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43429 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43430 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
43431 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}};
43432 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
43433 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
43434 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}};
43435 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}};
43436 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
43437 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
43438 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43439 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
43440 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43441 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
43442 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
43443 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43444 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43445 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
43446 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
43447 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43448 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
43449 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
43450 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43451 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43452 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
43453 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43454 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
43455 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43456 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
43457 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43458 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43459 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43460 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
43461 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
43462 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
43463 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
43464 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43465 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43466 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}};
43467 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
43468 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
43469 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
43470 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
43471 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}};
43472 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
43473 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
43474 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43475 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
43476 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
43477 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}};
43478 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
43479 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
43480 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}};
43481 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
43482 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}};
43483 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
43484 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
43485 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
43486 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
43487 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
43488 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43489 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
43490 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
43491 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
43492 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43493 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}};
43494 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
43495 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43496 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
43497 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
43498 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43499 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43500 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
43501 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
43502 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43503 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
43504 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
43505 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
43506 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
43507 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43508 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
43509 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
43510 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
43511 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
43512 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
43513 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43514 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43515 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
43516 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
43517 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43518 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
43519 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
43520 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
43521 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
43522 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
43523 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
43524 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}};
43525 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
43526 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
43527 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
43528 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}};
43529 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43530 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
43531 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
43532 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
43533 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
43534 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
43535 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
43536 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
43537 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
43538 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
43539 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43540 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
43541 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
43542 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
43543 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
43544 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
43545 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
43546 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
43547 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43548 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
43549 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
43550 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
43551 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}};
43552 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
43553 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
43554 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43555 static swig_cast_info _swigc__p_wxTreeCtrl
[] = { {&_swigt__p_wxTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
43556 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
43557 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
43558 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
43559 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
43560 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}};
43561 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
43562 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}};
43564 static swig_cast_info
*swig_cast_initial
[] = {
43567 _swigc__p_form_ops_t
,
43570 _swigc__p_unsigned_char
,
43571 _swigc__p_unsigned_int
,
43572 _swigc__p_unsigned_long
,
43574 _swigc__p_wxANIHandler
,
43575 _swigc__p_wxAcceleratorTable
,
43576 _swigc__p_wxActivateEvent
,
43577 _swigc__p_wxArrayInt
,
43578 _swigc__p_wxArrayString
,
43579 _swigc__p_wxBMPHandler
,
43580 _swigc__p_wxBitmap
,
43581 _swigc__p_wxBitmapButton
,
43582 _swigc__p_wxBookCtrlBase
,
43583 _swigc__p_wxBookCtrlBaseEvent
,
43584 _swigc__p_wxBoxSizer
,
43585 _swigc__p_wxButton
,
43586 _swigc__p_wxCURHandler
,
43587 _swigc__p_wxCheckBox
,
43588 _swigc__p_wxCheckListBox
,
43589 _swigc__p_wxChildFocusEvent
,
43590 _swigc__p_wxChoice
,
43591 _swigc__p_wxChoicebook
,
43592 _swigc__p_wxChoicebookEvent
,
43593 _swigc__p_wxCloseEvent
,
43594 _swigc__p_wxColour
,
43595 _swigc__p_wxComboBox
,
43596 _swigc__p_wxCommandEvent
,
43597 _swigc__p_wxContextHelp
,
43598 _swigc__p_wxContextHelpButton
,
43599 _swigc__p_wxContextMenuEvent
,
43600 _swigc__p_wxControl
,
43601 _swigc__p_wxControlWithItems
,
43602 _swigc__p_wxCursor
,
43604 _swigc__p_wxDateEvent
,
43605 _swigc__p_wxDatePickerCtrl
,
43606 _swigc__p_wxDateTime
,
43607 _swigc__p_wxDirFilterListCtrl
,
43608 _swigc__p_wxDisplayChangedEvent
,
43609 _swigc__p_wxDropFilesEvent
,
43610 _swigc__p_wxDuplexMode
,
43611 _swigc__p_wxEraseEvent
,
43613 _swigc__p_wxEvtHandler
,
43614 _swigc__p_wxFSFile
,
43615 _swigc__p_wxFileSystem
,
43616 _swigc__p_wxFlexGridSizer
,
43617 _swigc__p_wxFocusEvent
,
43619 _swigc__p_wxGBSizerItem
,
43620 _swigc__p_wxGIFHandler
,
43622 _swigc__p_wxGenericDirCtrl
,
43623 _swigc__p_wxGenericDragImage
,
43624 _swigc__p_wxGridBagSizer
,
43625 _swigc__p_wxGridSizer
,
43626 _swigc__p_wxHelpEvent
,
43627 _swigc__p_wxHelpProvider
,
43628 _swigc__p_wxICOHandler
,
43630 _swigc__p_wxIconizeEvent
,
43631 _swigc__p_wxIdleEvent
,
43633 _swigc__p_wxImageHandler
,
43634 _swigc__p_wxImageList
,
43635 _swigc__p_wxIndividualLayoutConstraint
,
43636 _swigc__p_wxInitDialogEvent
,
43637 _swigc__p_wxItemContainer
,
43638 _swigc__p_wxJPEGHandler
,
43639 _swigc__p_wxKeyEvent
,
43640 _swigc__p_wxLayoutConstraints
,
43641 _swigc__p_wxListBox
,
43642 _swigc__p_wxListEvent
,
43643 _swigc__p_wxListItem
,
43644 _swigc__p_wxListItemAttr
,
43645 _swigc__p_wxListView
,
43646 _swigc__p_wxListbook
,
43647 _swigc__p_wxListbookEvent
,
43648 _swigc__p_wxMaximizeEvent
,
43649 _swigc__p_wxMemoryDC
,
43651 _swigc__p_wxMenuBar
,
43652 _swigc__p_wxMenuEvent
,
43653 _swigc__p_wxMenuItem
,
43654 _swigc__p_wxMouseCaptureChangedEvent
,
43655 _swigc__p_wxMouseEvent
,
43656 _swigc__p_wxMoveEvent
,
43657 _swigc__p_wxNavigationKeyEvent
,
43658 _swigc__p_wxNcPaintEvent
,
43659 _swigc__p_wxNotebook
,
43660 _swigc__p_wxNotebookEvent
,
43661 _swigc__p_wxNotifyEvent
,
43662 _swigc__p_wxObject
,
43663 _swigc__p_wxPCXHandler
,
43664 _swigc__p_wxPNGHandler
,
43665 _swigc__p_wxPNMHandler
,
43666 _swigc__p_wxPaintEvent
,
43667 _swigc__p_wxPaletteChangedEvent
,
43668 _swigc__p_wxPaperSize
,
43671 _swigc__p_wxPyCommandEvent
,
43672 _swigc__p_wxPyControl
,
43673 _swigc__p_wxPyEvent
,
43674 _swigc__p_wxPyImageHandler
,
43675 _swigc__p_wxPyListCtrl
,
43676 _swigc__p_wxPySizer
,
43677 _swigc__p_wxPyTreeCtrl
,
43678 _swigc__p_wxPyTreeItemData
,
43679 _swigc__p_wxPyValidator
,
43680 _swigc__p_wxQueryNewPaletteEvent
,
43681 _swigc__p_wxRadioBox
,
43682 _swigc__p_wxRadioButton
,
43684 _swigc__p_wxScrollBar
,
43685 _swigc__p_wxScrollEvent
,
43686 _swigc__p_wxScrollWinEvent
,
43687 _swigc__p_wxSetCursorEvent
,
43688 _swigc__p_wxShowEvent
,
43689 _swigc__p_wxSimpleHelpProvider
,
43691 _swigc__p_wxSizeEvent
,
43693 _swigc__p_wxSizerItem
,
43694 _swigc__p_wxSlider
,
43695 _swigc__p_wxSpinButton
,
43696 _swigc__p_wxSpinCtrl
,
43697 _swigc__p_wxSpinEvent
,
43698 _swigc__p_wxStaticBitmap
,
43699 _swigc__p_wxStaticBox
,
43700 _swigc__p_wxStaticBoxSizer
,
43701 _swigc__p_wxStaticLine
,
43702 _swigc__p_wxStaticText
,
43703 _swigc__p_wxStdDialogButtonSizer
,
43704 _swigc__p_wxString
,
43705 _swigc__p_wxSysColourChangedEvent
,
43706 _swigc__p_wxTIFFHandler
,
43707 _swigc__p_wxTextAttr
,
43708 _swigc__p_wxTextCtrl
,
43709 _swigc__p_wxTextUrlEvent
,
43710 _swigc__p_wxToggleButton
,
43711 _swigc__p_wxToolBar
,
43712 _swigc__p_wxToolBarBase
,
43713 _swigc__p_wxToolBarToolBase
,
43714 _swigc__p_wxToolbook
,
43715 _swigc__p_wxToolbookEvent
,
43716 _swigc__p_wxTreeCtrl
,
43717 _swigc__p_wxTreeEvent
,
43718 _swigc__p_wxTreeItemId
,
43719 _swigc__p_wxTreebook
,
43720 _swigc__p_wxTreebookEvent
,
43721 _swigc__p_wxUpdateUIEvent
,
43722 _swigc__p_wxValidator
,
43723 _swigc__p_wxVisualAttributes
,
43724 _swigc__p_wxWindow
,
43725 _swigc__p_wxWindowCreateEvent
,
43726 _swigc__p_wxWindowDestroyEvent
,
43727 _swigc__p_wxXPMHandler
,
43731 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
43733 static swig_const_info swig_const_table
[] = {
43734 {0, 0, 0, 0.0, 0, 0}};
43739 /* -----------------------------------------------------------------------------
43740 * Type initialization:
43741 * This problem is tough by the requirement that no dynamic
43742 * memory is used. Also, since swig_type_info structures store pointers to
43743 * swig_cast_info structures and swig_cast_info structures store pointers back
43744 * to swig_type_info structures, we need some lookup code at initialization.
43745 * The idea is that swig generates all the structures that are needed.
43746 * The runtime then collects these partially filled structures.
43747 * The SWIG_InitializeModule function takes these initial arrays out of
43748 * swig_module, and does all the lookup, filling in the swig_module.types
43749 * array with the correct data and linking the correct swig_cast_info
43750 * structures together.
43752 * The generated swig_type_info structures are assigned staticly to an initial
43753 * array. We just loop though that array, and handle each type individually.
43754 * First we lookup if this type has been already loaded, and if so, use the
43755 * loaded structure instead of the generated one. Then we have to fill in the
43756 * cast linked list. The cast data is initially stored in something like a
43757 * two-dimensional array. Each row corresponds to a type (there are the same
43758 * number of rows as there are in the swig_type_initial array). Each entry in
43759 * a column is one of the swig_cast_info structures for that type.
43760 * The cast_initial array is actually an array of arrays, because each row has
43761 * a variable number of columns. So to actually build the cast linked list,
43762 * we find the array of casts associated with the type, and loop through it
43763 * adding the casts to the list. The one last trick we need to do is making
43764 * sure the type pointer in the swig_cast_info struct is correct.
43766 * First off, we lookup the cast->type name to see if it is already loaded.
43767 * There are three cases to handle:
43768 * 1) If the cast->type has already been loaded AND the type we are adding
43769 * casting info to has not been loaded (it is in this module), THEN we
43770 * replace the cast->type pointer with the type pointer that has already
43772 * 2) If BOTH types (the one we are adding casting info to, and the
43773 * cast->type) are loaded, THEN the cast info has already been loaded by
43774 * the previous module so we just ignore it.
43775 * 3) Finally, if cast->type has not already been loaded, then we add that
43776 * swig_cast_info to the linked list (because the cast->type) pointer will
43778 * ----------------------------------------------------------------------------- */
43788 #define SWIGRUNTIME_DEBUG
43792 SWIG_InitializeModule(void *clientdata
) {
43794 swig_module_info
*module_head
;
43795 static int init_run
= 0;
43797 clientdata
= clientdata
;
43799 if (init_run
) return;
43802 /* Initialize the swig_module */
43803 swig_module
.type_initial
= swig_type_initial
;
43804 swig_module
.cast_initial
= swig_cast_initial
;
43806 /* Try and load any already created modules */
43807 module_head
= SWIG_GetModule(clientdata
);
43809 swig_module
.next
= module_head
->next
;
43810 module_head
->next
= &swig_module
;
43812 /* This is the first module loaded */
43813 swig_module
.next
= &swig_module
;
43814 SWIG_SetModule(clientdata
, &swig_module
);
43817 /* Now work on filling in swig_module.types */
43818 #ifdef SWIGRUNTIME_DEBUG
43819 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
43821 for (i
= 0; i
< swig_module
.size
; ++i
) {
43822 swig_type_info
*type
= 0;
43823 swig_type_info
*ret
;
43824 swig_cast_info
*cast
;
43826 #ifdef SWIGRUNTIME_DEBUG
43827 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43830 /* if there is another module already loaded */
43831 if (swig_module
.next
!= &swig_module
) {
43832 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
43835 /* Overwrite clientdata field */
43836 #ifdef SWIGRUNTIME_DEBUG
43837 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
43839 if (swig_module
.type_initial
[i
]->clientdata
) {
43840 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
43841 #ifdef SWIGRUNTIME_DEBUG
43842 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
43846 type
= swig_module
.type_initial
[i
];
43849 /* Insert casting types */
43850 cast
= swig_module
.cast_initial
[i
];
43851 while (cast
->type
) {
43852 /* Don't need to add information already in the list */
43854 #ifdef SWIGRUNTIME_DEBUG
43855 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
43857 if (swig_module
.next
!= &swig_module
) {
43858 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
43859 #ifdef SWIGRUNTIME_DEBUG
43860 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
43864 if (type
== swig_module
.type_initial
[i
]) {
43865 #ifdef SWIGRUNTIME_DEBUG
43866 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
43871 /* Check for casting already in the list */
43872 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
43873 #ifdef SWIGRUNTIME_DEBUG
43874 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
43876 if (!ocast
) ret
= 0;
43881 #ifdef SWIGRUNTIME_DEBUG
43882 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
43885 type
->cast
->prev
= cast
;
43886 cast
->next
= type
->cast
;
43892 /* Set entry in modules->types array equal to the type */
43893 swig_module
.types
[i
] = type
;
43895 swig_module
.types
[i
] = 0;
43897 #ifdef SWIGRUNTIME_DEBUG
43898 printf("**** SWIG_InitializeModule: Cast List ******\n");
43899 for (i
= 0; i
< swig_module
.size
; ++i
) {
43901 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
43902 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
43903 while (cast
->type
) {
43904 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
43908 printf("---- Total casts: %d\n",j
);
43910 printf("**** SWIG_InitializeModule: Cast List ******\n");
43914 /* This function will propagate the clientdata field of type to
43915 * any new swig_type_info structures that have been added into the list
43916 * of equivalent types. It is like calling
43917 * SWIG_TypeClientData(type, clientdata) a second time.
43920 SWIG_PropagateClientData(void) {
43922 swig_cast_info
*equiv
;
43923 static int init_run
= 0;
43925 if (init_run
) return;
43928 for (i
= 0; i
< swig_module
.size
; i
++) {
43929 if (swig_module
.types
[i
]->clientdata
) {
43930 equiv
= swig_module
.types
[i
]->cast
;
43932 if (!equiv
->converter
) {
43933 if (equiv
->type
&& !equiv
->type
->clientdata
)
43934 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
43936 equiv
= equiv
->next
;
43956 /* Python-specific SWIG API */
43957 #define SWIG_newvarlink() SWIG_Python_newvarlink()
43958 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
43959 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
43961 /* -----------------------------------------------------------------------------
43962 * global variable support code.
43963 * ----------------------------------------------------------------------------- */
43965 typedef struct swig_globalvar
{
43966 char *name
; /* Name of global variable */
43967 PyObject
*(*get_attr
)(void); /* Return the current value */
43968 int (*set_attr
)(PyObject
*); /* Set the value */
43969 struct swig_globalvar
*next
;
43972 typedef struct swig_varlinkobject
{
43974 swig_globalvar
*vars
;
43975 } swig_varlinkobject
;
43977 SWIGINTERN PyObject
*
43978 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
43979 return PyString_FromString("<Swig global variables>");
43982 SWIGINTERN PyObject
*
43983 swig_varlink_str(swig_varlinkobject
*v
) {
43984 PyObject
*str
= PyString_FromString("(");
43985 swig_globalvar
*var
;
43986 for (var
= v
->vars
; var
; var
=var
->next
) {
43987 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
43988 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
43990 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
43995 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
43996 PyObject
*str
= swig_varlink_str(v
);
43997 fprintf(fp
,"Swig global variables ");
43998 fprintf(fp
,"%s\n", PyString_AsString(str
));
44004 swig_varlink_dealloc(swig_varlinkobject
*v
) {
44005 swig_globalvar
*var
= v
->vars
;
44007 swig_globalvar
*n
= var
->next
;
44014 SWIGINTERN PyObject
*
44015 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
44016 PyObject
*res
= NULL
;
44017 swig_globalvar
*var
= v
->vars
;
44019 if (strcmp(var
->name
,n
) == 0) {
44020 res
= (*var
->get_attr
)();
44025 if (res
== NULL
&& !PyErr_Occurred()) {
44026 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
44032 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
44034 swig_globalvar
*var
= v
->vars
;
44036 if (strcmp(var
->name
,n
) == 0) {
44037 res
= (*var
->set_attr
)(p
);
44042 if (res
== 1 && !PyErr_Occurred()) {
44043 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
44048 SWIGINTERN PyTypeObject
*
44049 swig_varlink_type(void) {
44050 static char varlink__doc__
[] = "Swig var link object";
44051 static PyTypeObject varlink_type
;
44052 static int type_init
= 0;
44054 const PyTypeObject tmp
44056 PyObject_HEAD_INIT(NULL
)
44057 0, /* Number of items in variable part (ob_size) */
44058 (char *)"swigvarlink", /* Type name (tp_name) */
44059 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
44060 0, /* Itemsize (tp_itemsize) */
44061 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
44062 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
44063 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
44064 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
44065 0, /* tp_compare */
44066 (reprfunc
) swig_varlink_repr
, /* tp_repr */
44067 0, /* tp_as_number */
44068 0, /* tp_as_sequence */
44069 0, /* tp_as_mapping */
44072 (reprfunc
)swig_varlink_str
, /* tp_str */
44073 0, /* tp_getattro */
44074 0, /* tp_setattro */
44075 0, /* tp_as_buffer */
44077 varlink__doc__
, /* tp_doc */
44078 0, /* tp_traverse */
44080 0, /* tp_richcompare */
44081 0, /* tp_weaklistoffset */
44082 #if PY_VERSION_HEX >= 0x02020000
44083 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
44085 #if PY_VERSION_HEX >= 0x02030000
44088 #ifdef COUNT_ALLOCS
44089 0,0,0,0 /* tp_alloc -> tp_next */
44092 varlink_type
= tmp
;
44093 varlink_type
.ob_type
= &PyType_Type
;
44096 return &varlink_type
;
44099 /* Create a variable linking object for use later */
44100 SWIGINTERN PyObject
*
44101 SWIG_Python_newvarlink(void) {
44102 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
44106 return ((PyObject
*) result
);
44110 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
44111 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
44112 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
44114 size_t size
= strlen(name
)+1;
44115 gv
->name
= (char *)malloc(size
);
44117 strncpy(gv
->name
,name
,size
);
44118 gv
->get_attr
= get_attr
;
44119 gv
->set_attr
= set_attr
;
44120 gv
->next
= v
->vars
;
44126 SWIGINTERN PyObject
*
44128 static PyObject
*_SWIG_globals
= 0;
44129 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
44130 return _SWIG_globals
;
44133 /* -----------------------------------------------------------------------------
44134 * constants/methods manipulation
44135 * ----------------------------------------------------------------------------- */
44137 /* Install Constants */
44139 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
44142 for (i
= 0; constants
[i
].type
; ++i
) {
44143 switch(constants
[i
].type
) {
44144 case SWIG_PY_POINTER
:
44145 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
44147 case SWIG_PY_BINARY
:
44148 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
44155 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
44161 /* -----------------------------------------------------------------------------*/
44162 /* Fix SwigMethods to carry the callback ptrs when needed */
44163 /* -----------------------------------------------------------------------------*/
44166 SWIG_Python_FixMethods(PyMethodDef
*methods
,
44167 swig_const_info
*const_table
,
44168 swig_type_info
**types
,
44169 swig_type_info
**types_initial
) {
44171 for (i
= 0; methods
[i
].ml_name
; ++i
) {
44172 char *c
= methods
[i
].ml_doc
;
44173 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
44175 swig_const_info
*ci
= 0;
44176 char *name
= c
+ 10;
44177 for (j
= 0; const_table
[j
].type
; ++j
) {
44178 if (strncmp(const_table
[j
].name
, name
,
44179 strlen(const_table
[j
].name
)) == 0) {
44180 ci
= &(const_table
[j
]);
44185 size_t shift
= (ci
->ptype
) - types
;
44186 swig_type_info
*ty
= types_initial
[shift
];
44187 size_t ldoc
= (c
- methods
[i
].ml_doc
);
44188 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
44189 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
44192 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
44194 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
44196 strncpy(buff
, "swig_ptr: ", 10);
44198 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
44199 methods
[i
].ml_doc
= ndoc
;
44211 /* -----------------------------------------------------------------------------*
44212 * Partial Init method
44213 * -----------------------------------------------------------------------------*/
44218 SWIGEXPORT
void SWIG_init(void) {
44221 /* Fix SwigMethods to carry the callback ptrs when needed */
44222 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
44224 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
44225 d
= PyModule_GetDict(m
);
44227 SWIG_InitializeModule(0);
44228 SWIG_InstallConstants(d
,swig_const_table
);
44231 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
44232 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
44233 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
44234 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
44235 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
44236 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
44237 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
44238 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
44239 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
44240 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
44241 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
44242 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
44243 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
44244 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
44245 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
44246 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
44247 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
44248 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
44249 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
44250 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
44251 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
44252 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
44253 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
44254 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
44255 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
44256 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
44257 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
44258 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
44259 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
44260 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
44261 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
44262 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
44263 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
44264 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
44265 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
44266 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
44267 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
44268 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
44269 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
44270 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
44271 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
44272 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
44273 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
44274 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
44275 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
44276 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
44277 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
44278 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
44279 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
44280 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
44281 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
44282 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
44283 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
44284 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
44285 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
44286 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
44287 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
44288 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
44289 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
44290 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
44291 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
44292 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
44293 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
44294 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
44295 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
44296 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
44297 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
44298 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
44299 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
44300 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
44301 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
44302 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
44303 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
44304 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
44305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
44306 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
44307 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
44308 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
44309 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
44310 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
44311 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
44312 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
44313 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
44314 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
44315 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
44316 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
44317 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
44318 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
44319 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
44320 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
44321 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
44322 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
44323 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
44324 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
44325 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
44326 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
44327 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
44328 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
44329 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
44330 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
44331 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
44332 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
44333 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
44334 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
44335 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
44336 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
44337 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
44338 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
44339 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
44340 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
44341 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
44342 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
44343 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
44344 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
44345 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
44346 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
44347 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
44348 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
44349 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
44350 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
44351 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
44352 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
44353 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
44354 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
44355 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
44356 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
44357 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
44358 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
44359 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
44360 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
44361 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
44362 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
44363 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
44364 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
44365 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
44366 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
44367 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
44368 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
44369 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
44370 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
44371 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
44372 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
44373 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
44374 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
44375 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
44376 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
44377 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
44378 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
44379 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
44380 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
44381 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
44382 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
44383 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
44384 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
44385 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
44386 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
44387 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
44388 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
44389 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
44390 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
44391 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
44392 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
44393 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
44394 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
44395 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
44396 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
44397 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
44398 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
44399 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
44400 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
44401 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
44402 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
44403 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
44404 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
44405 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
44406 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
44407 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
44408 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
44409 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
44410 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
44411 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
44412 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
44413 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
44414 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
44415 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
44416 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
44417 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
44418 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
44419 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
44420 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
44421 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
44422 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
44423 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
44424 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
44425 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
44426 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
44427 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
44428 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
44429 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
44430 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
44431 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
44432 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
44433 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
44434 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
44435 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
44436 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
44437 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
44438 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
44439 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
44440 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
44441 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
44442 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
44443 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
44444 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
44445 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
44446 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
44447 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
44448 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
44449 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
44450 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
44451 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
44452 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
44453 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
44454 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
44455 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
44456 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
44457 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
44458 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
44459 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
44460 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
44461 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
44462 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
44463 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
44464 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
44465 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
44466 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
44467 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
44468 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
44469 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
44470 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
44471 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
44472 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
44473 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
44474 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
44475 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
44476 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
44477 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
44479 // Map renamed classes back to their common name for OOR
44480 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
44482 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
44483 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
44484 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
44485 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
44486 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
44487 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
44488 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
44489 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
44490 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
44491 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
44492 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
44493 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
44494 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
44495 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
44496 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
44497 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
44498 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
44499 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
44500 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
44501 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
44502 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
44503 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
44504 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
44505 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
44506 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
44507 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
44508 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
44509 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
44510 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
44511 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
44512 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
44513 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
44514 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
44515 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
44516 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
44517 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
44518 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
44519 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
44520 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
44521 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
44522 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
44523 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
44524 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
44525 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
44526 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
44527 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
44528 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
44529 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
44530 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
44531 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
44532 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
44533 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
44534 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
44535 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
44536 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
44538 // Map renamed classes back to their common name for OOR
44539 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
44540 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
44542 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
44543 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
44544 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
44545 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
44546 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
44547 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
44548 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
44549 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
44550 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
44551 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
44553 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
44555 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
44556 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
44557 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
44558 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
44559 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
44560 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));