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 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_long swig_types[4]
2471 #define SWIGTYPE_p_unsigned_char swig_types[5]
2472 #define SWIGTYPE_p_unsigned_int swig_types[6]
2473 #define SWIGTYPE_p_unsigned_long swig_types[7]
2474 #define SWIGTYPE_p_void swig_types[8]
2475 #define SWIGTYPE_p_wxANIHandler swig_types[9]
2476 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2477 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2478 #define SWIGTYPE_p_wxArrayInt swig_types[12]
2479 #define SWIGTYPE_p_wxArrayString swig_types[13]
2480 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2481 #define SWIGTYPE_p_wxBitmap swig_types[15]
2482 #define SWIGTYPE_p_wxBitmapButton swig_types[16]
2483 #define SWIGTYPE_p_wxBookCtrlBase swig_types[17]
2484 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxBoxSizer swig_types[19]
2486 #define SWIGTYPE_p_wxButton swig_types[20]
2487 #define SWIGTYPE_p_wxCURHandler swig_types[21]
2488 #define SWIGTYPE_p_wxCheckBox swig_types[22]
2489 #define SWIGTYPE_p_wxCheckListBox swig_types[23]
2490 #define SWIGTYPE_p_wxChildFocusEvent swig_types[24]
2491 #define SWIGTYPE_p_wxChoice swig_types[25]
2492 #define SWIGTYPE_p_wxChoicebook swig_types[26]
2493 #define SWIGTYPE_p_wxChoicebookEvent swig_types[27]
2494 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[28]
2495 #define SWIGTYPE_p_wxCloseEvent swig_types[29]
2496 #define SWIGTYPE_p_wxCollapsiblePane swig_types[30]
2497 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[31]
2498 #define SWIGTYPE_p_wxColour swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxCursor swig_types[42]
2509 #define SWIGTYPE_p_wxDC swig_types[43]
2510 #define SWIGTYPE_p_wxDateEvent swig_types[44]
2511 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDateTime swig_types[46]
2513 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[48]
2515 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDropFilesEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDuplexMode swig_types[51]
2518 #define SWIGTYPE_p_wxEraseEvent swig_types[52]
2519 #define SWIGTYPE_p_wxEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvtHandler swig_types[54]
2521 #define SWIGTYPE_p_wxFSFile swig_types[55]
2522 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[56]
2523 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[57]
2524 #define SWIGTYPE_p_wxFileSystem swig_types[58]
2525 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2526 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFont swig_types[61]
2528 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerEvent swig_types[63]
2530 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2531 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2532 #define SWIGTYPE_p_wxGauge swig_types[66]
2533 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2535 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2536 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2537 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2538 #define SWIGTYPE_p_wxHelpProvider swig_types[72]
2539 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2541 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2542 #define SWIGTYPE_p_wxIcon swig_types[76]
2543 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2544 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2545 #define SWIGTYPE_p_wxImage swig_types[79]
2546 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2547 #define SWIGTYPE_p_wxImageList swig_types[81]
2548 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2549 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2550 #define SWIGTYPE_p_wxItemContainer swig_types[84]
2551 #define SWIGTYPE_p_wxJPEGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxKeyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxLayoutConstraints swig_types[87]
2554 #define SWIGTYPE_p_wxListBox swig_types[88]
2555 #define SWIGTYPE_p_wxListEvent swig_types[89]
2556 #define SWIGTYPE_p_wxListItem swig_types[90]
2557 #define SWIGTYPE_p_wxListItemAttr swig_types[91]
2558 #define SWIGTYPE_p_wxListView swig_types[92]
2559 #define SWIGTYPE_p_wxListbook swig_types[93]
2560 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2561 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMemoryDC swig_types[96]
2563 #define SWIGTYPE_p_wxMenu swig_types[97]
2564 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2565 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2566 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNotebook swig_types[107]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[108]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxObject swig_types[110]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[114]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[116]
2583 #define SWIGTYPE_p_wxPickerBase swig_types[117]
2584 #define SWIGTYPE_p_wxPoint swig_types[118]
2585 #define SWIGTYPE_p_wxPyApp swig_types[119]
2586 #define SWIGTYPE_p_wxPyCommandEvent swig_types[120]
2587 #define SWIGTYPE_p_wxPyControl swig_types[121]
2588 #define SWIGTYPE_p_wxPyEvent swig_types[122]
2589 #define SWIGTYPE_p_wxPyImageHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPyListCtrl swig_types[124]
2591 #define SWIGTYPE_p_wxPySizer swig_types[125]
2592 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeItemData swig_types[127]
2594 #define SWIGTYPE_p_wxPyValidator swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRadioBox swig_types[130]
2597 #define SWIGTYPE_p_wxRadioButton swig_types[131]
2598 #define SWIGTYPE_p_wxRect swig_types[132]
2599 #define SWIGTYPE_p_wxScrollBar swig_types[133]
2600 #define SWIGTYPE_p_wxScrollEvent swig_types[134]
2601 #define SWIGTYPE_p_wxScrollWinEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSetCursorEvent swig_types[136]
2603 #define SWIGTYPE_p_wxShowEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[138]
2605 #define SWIGTYPE_p_wxSize swig_types[139]
2606 #define SWIGTYPE_p_wxSizeEvent swig_types[140]
2607 #define SWIGTYPE_p_wxSizer swig_types[141]
2608 #define SWIGTYPE_p_wxSizerItem swig_types[142]
2609 #define SWIGTYPE_p_wxSlider swig_types[143]
2610 #define SWIGTYPE_p_wxSpinButton swig_types[144]
2611 #define SWIGTYPE_p_wxSpinCtrl swig_types[145]
2612 #define SWIGTYPE_p_wxSpinEvent swig_types[146]
2613 #define SWIGTYPE_p_wxStaticBitmap swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBox swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[149]
2616 #define SWIGTYPE_p_wxStaticLine swig_types[150]
2617 #define SWIGTYPE_p_wxStaticText swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTextAttr swig_types[157]
2624 #define SWIGTYPE_p_wxTextCtrl swig_types[158]
2625 #define SWIGTYPE_p_wxTextUrlEvent swig_types[159]
2626 #define SWIGTYPE_p_wxToggleButton swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxToolBarBase swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarToolBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolbook swig_types[164]
2631 #define SWIGTYPE_p_wxToolbookEvent swig_types[165]
2632 #define SWIGTYPE_p_wxTreeEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeItemId swig_types[167]
2634 #define SWIGTYPE_p_wxTreebook swig_types[168]
2635 #define SWIGTYPE_p_wxTreebookEvent swig_types[169]
2636 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[170]
2637 #define SWIGTYPE_p_wxValidator swig_types[171]
2638 #define SWIGTYPE_p_wxVisualAttributes swig_types[172]
2639 #define SWIGTYPE_p_wxWindow swig_types[173]
2640 #define SWIGTYPE_p_wxWindowBase swig_types[174]
2641 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[175]
2642 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[176]
2643 #define SWIGTYPE_p_wxXPMHandler swig_types[177]
2644 static swig_type_info
*swig_types
[179];
2645 static swig_module_info swig_module
= {swig_types
, 178, 0, 0, 0, 0};
2646 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2647 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2649 /* -------- TYPES TABLE (END) -------- */
2651 #if (PY_VERSION_HEX <= 0x02000000)
2652 # if !defined(SWIG_PYTHON_CLASSIC)
2653 # error "This python version requires to use swig with the '-classic' option"
2656 #if (PY_VERSION_HEX <= 0x02020000)
2657 # error "This python version requires to use swig with the '-nomodern' option"
2659 #if (PY_VERSION_HEX <= 0x02020000)
2660 # error "This python version requires to use swig with the '-nomodernargs' option"
2663 # error "This python version requires to use swig with the '-nofastunpack' option"
2666 /*-----------------------------------------------
2667 @(target):= _controls_.so
2668 ------------------------------------------------*/
2669 #define SWIG_init init_controls_
2671 #define SWIG_name "_controls_"
2673 #define SWIGVERSION 0x010329
2676 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2677 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2680 #include <stdexcept>
2684 class PyObject_ptr
{
2689 PyObject_ptr() :_obj(0)
2693 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2698 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2700 if (initial_ref
) Py_XINCREF(_obj
);
2703 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2705 Py_XINCREF(item
._obj
);
2716 operator PyObject
*() const
2721 PyObject
*operator->() const
2730 struct PyObject_var
: PyObject_ptr
{
2731 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2733 PyObject_var
& operator = (PyObject
* obj
)
2743 #include "wx/wxPython/wxPython.h"
2744 #include "wx/wxPython/pyclasses.h"
2746 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2747 static const wxString
wxPyEmptyString(wxEmptyString
);
2748 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2750 const wxArrayString wxPyEmptyStringArray
;
2752 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2754 #define SWIG_From_long PyInt_FromLong
2757 SWIGINTERNINLINE PyObject
*
2758 SWIG_From_int (int value
)
2760 return SWIG_From_long (value
);
2766 # define LLONG_MIN LONG_LONG_MIN
2769 # define LLONG_MAX LONG_LONG_MAX
2772 # define ULLONG_MAX ULONG_LONG_MAX
2777 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2779 if (PyNumber_Check(obj
)) {
2780 if (val
) *val
= PyInt_AsLong(obj
);
2783 return SWIG_TypeError
;
2788 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2791 int res
= SWIG_AsVal_long (obj
, &v
);
2792 if (SWIG_IsOK(res
)) {
2793 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2794 return SWIG_OverflowError
;
2796 if (val
) *val
= static_cast< int >(v
);
2802 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2805 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2807 if (obj
== Py_True
) {
2808 if (val
) *val
= true;
2810 } else if (obj
== Py_False
) {
2811 if (val
) *val
= false;
2815 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2816 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2821 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2822 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2823 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2824 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2825 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2826 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 #include <wx/checklst.h>
2830 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2831 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2834 wxPyClientData
* data
= new wxPyClientData(clientData
);
2835 self
->Insert(item
, pos
, data
);
2838 self
->Insert(item
, pos
);
2842 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2845 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2846 return SWIG_TypeError
;
2849 *val
= (unsigned long)v
;
2855 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2858 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2859 if (SWIG_IsOK(res
)) {
2860 if ((v
> UINT_MAX
)) {
2861 return SWIG_OverflowError
;
2863 if (val
) *val
= static_cast< unsigned int >(v
);
2869 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2870 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2872 self
->GetSelections(lst
);
2873 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2874 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2876 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2878 wxPyEndBlockThreads(blocked
);
2881 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2883 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2884 self
->GetItem(item
)->SetTextColour(c
);
2887 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2889 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2890 self
->GetItem(item
)->SetBackgroundColour(c
);
2893 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2895 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2896 self
->GetItem(item
)->SetFont(f
);
2899 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2900 SWIGINTERN
void wxTextCtrl_MacCheckSpelling(wxTextCtrl
*self
,bool check
){}
2901 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2902 self
->AppendText(text
);
2904 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2905 return self
->GetValue().Mid(from
, to
- from
);
2907 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2908 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2909 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2910 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2911 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2913 SWIGINTERNINLINE PyObject
*
2914 SWIG_From_unsigned_SS_long (unsigned long value
)
2916 return (value
> LONG_MAX
) ?
2917 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2921 SWIGINTERNINLINE PyObject
*
2922 SWIG_From_size_t (size_t value
)
2924 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2928 SWIGINTERNINLINE PyObject
*
2929 SWIG_From_unsigned_SS_int (unsigned int value
)
2931 return SWIG_From_unsigned_SS_long (value
);
2935 #include <wx/slider.h>
2938 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2939 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2941 #if !wxUSE_TOGGLEBTN
2942 // implement dummy items for platforms that don't have this class
2944 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2946 class wxToggleButton
: public wxControl
2949 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2950 const wxPoint
&, const wxSize
&, long,
2951 const wxValidator
&, const wxString
&)
2952 { wxPyRaiseNotImplemented(); }
2955 { wxPyRaiseNotImplemented(); }
2959 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2961 SWIGINTERNINLINE
int
2962 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2965 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2966 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2970 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2971 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2972 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2974 Py_INCREF(udata
->m_obj
);
2975 return udata
->m_obj
;
2981 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2982 self
->SetClientData(new wxPyUserData(clientData
));
2984 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
){
2985 wxPyUserData
* udata
= NULL
;
2986 if (clientData
&& clientData
!= Py_None
)
2987 udata
= new wxPyUserData(clientData
);
2988 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2989 shortHelp
, longHelp
, udata
);
2991 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
){
2992 wxPyUserData
* udata
= NULL
;
2993 if (clientData
&& clientData
!= Py_None
)
2994 udata
= new wxPyUserData(clientData
);
2995 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2996 shortHelp
, longHelp
, udata
);
2998 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
2999 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3001 Py_INCREF(udata
->m_obj
);
3002 return udata
->m_obj
;
3008 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3009 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3012 #include <wx/listctrl.h>
3014 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3015 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3016 // Python aware sorting function for wxPyListCtrl
3017 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3019 PyObject
* func
= (PyObject
*)funcPtr
;
3020 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3022 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3023 PyObject
* result
= PyEval_CallObject(func
, args
);
3026 retval
= PyInt_AsLong(result
);
3030 wxPyEndBlockThreads(blocked
);
3034 // C++ Version of a Python aware class
3035 class wxPyListCtrl
: public wxListCtrl
{
3036 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3038 wxPyListCtrl() : wxListCtrl() {}
3039 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3043 const wxValidator
& validator
,
3044 const wxString
& name
) :
3045 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3047 bool Create(wxWindow
* parent
, wxWindowID id
,
3051 const wxValidator
& validator
,
3052 const wxString
& name
) {
3053 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3056 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3057 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3059 // use the virtual version to avoid a confusing assert in the base class
3060 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3061 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3066 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3068 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3069 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3070 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3071 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3074 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3076 item
.SetMask( wxLIST_MASK_STATE
|
3084 if (self
->GetColumn(col
, item
))
3085 return new wxListItem(item
);
3089 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3090 wxListItem
* info
= new wxListItem
;
3091 info
->m_itemId
= itemId
;
3093 info
->m_mask
= 0xFFFF;
3094 self
->GetItem(*info
);
3097 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3099 self
->GetItemPosition(item
, pos
);
3102 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3104 self
->GetItemRect(item
, rect
, code
);
3107 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3108 if (!PyCallable_Check(func
))
3110 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3112 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3120 #include <wx/treectrl.h>
3121 #include "wx/wxPython/pytree.h"
3123 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3124 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3125 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3126 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3128 static wxTreeItemId wxNullTreeItemId
;
3130 // C++ version of Python aware wxTreeCtrl
3131 class wxPyTreeCtrl
: public wxTreeCtrl
{
3132 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3134 wxPyTreeCtrl() : wxTreeCtrl() {}
3135 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3139 const wxValidator
& validator
,
3140 const wxString
& name
) :
3141 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3143 bool Create(wxWindow
*parent
, wxWindowID id
,
3147 const wxValidator
& validator
,
3148 const wxString
& name
) {
3149 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3153 int OnCompareItems(const wxTreeItemId
& item1
,
3154 const wxTreeItemId
& item2
) {
3157 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3158 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3159 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3160 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3161 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3165 wxPyEndBlockThreads(blocked
);
3167 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3173 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3176 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3177 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3179 data
= new wxPyTreeItemData();
3180 data
->SetId(item
); // set the id
3181 self
->SetItemData(item
, data
);
3185 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3186 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3188 data
= new wxPyTreeItemData();
3189 data
->SetId(item
); // set the id
3190 self
->SetItemData(item
, data
);
3192 return data
->GetData();
3194 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3195 data
->SetId(item
); // set the id
3196 self
->SetItemData(item
, data
);
3198 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3199 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3201 data
= new wxPyTreeItemData(obj
);
3202 data
->SetId(item
); // set the id
3203 self
->SetItemData(item
, data
);
3207 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3208 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3209 PyObject
* rval
= PyList_New(0);
3210 wxArrayTreeItemIds array
;
3212 num
= self
->GetSelections(array
);
3213 for (x
=0; x
< num
; x
++) {
3214 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3215 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3216 PyList_Append(rval
, item
);
3219 wxPyEndBlockThreads(blocked
);
3222 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3224 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3225 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3226 PyObject
* tup
= PyTuple_New(2);
3227 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3228 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3229 wxPyEndBlockThreads(blocked
);
3232 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3233 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3234 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3235 PyObject
* tup
= PyTuple_New(2);
3236 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3237 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3238 wxPyEndBlockThreads(blocked
);
3241 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3243 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3244 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3245 wxRect
* r
= new wxRect(rect
);
3246 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3247 wxPyEndBlockThreads(blocked
);
3253 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3255 SWIGINTERNINLINE PyObject
*
3256 SWIG_From_bool (bool value
)
3258 return PyBool_FromLong(value
? 1 : 0);
3261 // C++ version of Python aware wxControl
3262 class wxPyControl
: public wxControl
3264 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3266 wxPyControl() : wxControl() {}
3267 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3268 const wxPoint
& pos
= wxDefaultPosition
,
3269 const wxSize
& size
= wxDefaultSize
,
3271 const wxValidator
& validator
=wxDefaultValidator
,
3272 const wxString
& name
= wxPyControlNameStr
)
3273 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3276 bool DoEraseBackground(wxDC
* dc
) {
3278 return wxWindow::DoEraseBackground(dc
->GetHDC());
3280 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3286 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3287 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3295 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3296 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3298 DEC_PYCALLBACK__(InitDialog
);
3299 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3300 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3301 DEC_PYCALLBACK_BOOL_(Validate
);
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3305 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3307 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3310 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3311 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3313 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3315 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3320 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3322 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3323 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3324 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3327 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3331 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3332 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3334 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3335 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3336 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3340 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3341 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3343 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3346 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3347 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3349 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3351 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3355 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3357 #include <wx/generic/dragimgg.h>
3359 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3360 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3362 self
->GetRange(&rv
, NULL
);
3365 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3367 self
->GetRange(NULL
, &rv
);
3370 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3371 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3372 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3373 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3374 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3375 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3376 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3377 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3378 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3382 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3383 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3388 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3389 PyObject
*pyobj
= 0;
3393 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3395 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3402 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
= 0;
3404 wxWindow
*arg1
= (wxWindow
*) 0 ;
3405 int arg2
= (int) -1 ;
3406 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3407 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3408 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3409 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3410 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3411 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3412 long arg6
= (long) 0 ;
3413 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3414 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3415 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3416 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3417 wxButton
*result
= 0 ;
3422 bool temp3
= false ;
3429 bool temp8
= false ;
3430 PyObject
* obj0
= 0 ;
3431 PyObject
* obj1
= 0 ;
3432 PyObject
* obj2
= 0 ;
3433 PyObject
* obj3
= 0 ;
3434 PyObject
* obj4
= 0 ;
3435 PyObject
* obj5
= 0 ;
3436 PyObject
* obj6
= 0 ;
3437 PyObject
* obj7
= 0 ;
3438 char * kwnames
[] = {
3439 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3444 if (!SWIG_IsOK(res1
)) {
3445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3447 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3450 if (!SWIG_IsOK(ecode2
)) {
3451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3453 arg2
= static_cast< int >(val2
);
3457 arg3
= wxString_in_helper(obj2
);
3458 if (arg3
== NULL
) SWIG_fail
;
3465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3475 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3476 if (!SWIG_IsOK(ecode6
)) {
3477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3479 arg6
= static_cast< long >(val6
);
3482 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3483 if (!SWIG_IsOK(res7
)) {
3484 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3489 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3493 arg8
= wxString_in_helper(obj7
);
3494 if (arg8
== NULL
) SWIG_fail
;
3499 if (!wxPyCheckForApp()) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3528 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3529 PyObject
*resultobj
= 0;
3530 wxButton
*result
= 0 ;
3532 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3534 if (!wxPyCheckForApp()) SWIG_fail
;
3535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3536 result
= (wxButton
*)new wxButton();
3537 wxPyEndAllowThreads(__tstate
);
3538 if (PyErr_Occurred()) SWIG_fail
;
3540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3547 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3548 PyObject
*resultobj
= 0;
3549 wxButton
*arg1
= (wxButton
*) 0 ;
3550 wxWindow
*arg2
= (wxWindow
*) 0 ;
3551 int arg3
= (int) -1 ;
3552 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3553 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3554 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3555 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3556 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3557 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3558 long arg7
= (long) 0 ;
3559 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3560 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3561 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3562 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3570 bool temp4
= false ;
3577 bool temp9
= false ;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3580 PyObject
* obj2
= 0 ;
3581 PyObject
* obj3
= 0 ;
3582 PyObject
* obj4
= 0 ;
3583 PyObject
* obj5
= 0 ;
3584 PyObject
* obj6
= 0 ;
3585 PyObject
* obj7
= 0 ;
3586 PyObject
* obj8
= 0 ;
3587 char * kwnames
[] = {
3588 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3593 if (!SWIG_IsOK(res1
)) {
3594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3596 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3597 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3598 if (!SWIG_IsOK(res2
)) {
3599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3601 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3604 if (!SWIG_IsOK(ecode3
)) {
3605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3607 arg3
= static_cast< int >(val3
);
3611 arg4
= wxString_in_helper(obj3
);
3612 if (arg4
== NULL
) SWIG_fail
;
3619 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3625 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3629 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3630 if (!SWIG_IsOK(ecode7
)) {
3631 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3633 arg7
= static_cast< long >(val7
);
3636 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3637 if (!SWIG_IsOK(res8
)) {
3638 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3643 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3647 arg9
= wxString_in_helper(obj8
);
3648 if (arg9
== NULL
) SWIG_fail
;
3653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3654 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3683 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3684 PyObject
*resultobj
= 0;
3685 wxButton
*arg1
= (wxButton
*) 0 ;
3688 PyObject
*swig_obj
[1] ;
3690 if (!args
) SWIG_fail
;
3692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3693 if (!SWIG_IsOK(res1
)) {
3694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3696 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 (arg1
)->SetDefault();
3700 wxPyEndAllowThreads(__tstate
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3703 resultobj
= SWIG_Py_Void();
3710 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3711 PyObject
*resultobj
= 0;
3714 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3717 result
= wxButton::GetDefaultSize();
3718 wxPyEndAllowThreads(__tstate
);
3719 if (PyErr_Occurred()) SWIG_fail
;
3721 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3728 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
= 0;
3730 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3731 SwigValueWrapper
<wxVisualAttributes
> result
;
3734 PyObject
* obj0
= 0 ;
3735 char * kwnames
[] = {
3736 (char *) "variant", NULL
3739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3741 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3742 if (!SWIG_IsOK(ecode1
)) {
3743 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3745 arg1
= static_cast< wxWindowVariant
>(val1
);
3748 if (!wxPyCheckForApp()) SWIG_fail
;
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= wxButton::GetClassDefaultAttributes(arg1
);
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3754 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3761 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3764 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3765 return SWIG_Py_Void();
3768 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3769 return SWIG_Python_InitShadowInstance(args
);
3772 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3773 PyObject
*resultobj
= 0;
3774 wxWindow
*arg1
= (wxWindow
*) 0 ;
3775 int arg2
= (int) -1 ;
3776 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3777 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3778 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3779 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3780 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3781 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3782 long arg6
= (long) wxBU_AUTODRAW
;
3783 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3784 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3785 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3786 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3787 wxBitmapButton
*result
= 0 ;
3800 bool temp8
= false ;
3801 PyObject
* obj0
= 0 ;
3802 PyObject
* obj1
= 0 ;
3803 PyObject
* obj2
= 0 ;
3804 PyObject
* obj3
= 0 ;
3805 PyObject
* obj4
= 0 ;
3806 PyObject
* obj5
= 0 ;
3807 PyObject
* obj6
= 0 ;
3808 PyObject
* obj7
= 0 ;
3809 char * kwnames
[] = {
3810 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3815 if (!SWIG_IsOK(res1
)) {
3816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3818 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3821 if (!SWIG_IsOK(ecode2
)) {
3822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3824 arg2
= static_cast< int >(val2
);
3827 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3828 if (!SWIG_IsOK(res3
)) {
3829 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3834 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3849 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3850 if (!SWIG_IsOK(ecode6
)) {
3851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3853 arg6
= static_cast< long >(val6
);
3856 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3857 if (!SWIG_IsOK(res7
)) {
3858 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3863 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3867 arg8
= wxString_in_helper(obj7
);
3868 if (arg8
== NULL
) SWIG_fail
;
3873 if (!wxPyCheckForApp()) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3876 wxPyEndAllowThreads(__tstate
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3894 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3895 PyObject
*resultobj
= 0;
3896 wxBitmapButton
*result
= 0 ;
3898 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3900 if (!wxPyCheckForApp()) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 result
= (wxBitmapButton
*)new wxBitmapButton();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3913 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
= 0;
3915 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3916 wxWindow
*arg2
= (wxWindow
*) 0 ;
3917 int arg3
= (int) -1 ;
3918 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3919 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3920 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3921 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3922 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3923 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3924 long arg7
= (long) wxBU_AUTODRAW
;
3925 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3926 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3927 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3928 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3944 bool temp9
= false ;
3945 PyObject
* obj0
= 0 ;
3946 PyObject
* obj1
= 0 ;
3947 PyObject
* obj2
= 0 ;
3948 PyObject
* obj3
= 0 ;
3949 PyObject
* obj4
= 0 ;
3950 PyObject
* obj5
= 0 ;
3951 PyObject
* obj6
= 0 ;
3952 PyObject
* obj7
= 0 ;
3953 PyObject
* obj8
= 0 ;
3954 char * kwnames
[] = {
3955 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
3960 if (!SWIG_IsOK(res1
)) {
3961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
3963 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
3964 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3965 if (!SWIG_IsOK(res2
)) {
3966 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3968 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3970 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3971 if (!SWIG_IsOK(ecode3
)) {
3972 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
3974 arg3
= static_cast< int >(val3
);
3977 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3978 if (!SWIG_IsOK(res4
)) {
3979 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3982 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
3984 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
3989 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3995 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3999 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4000 if (!SWIG_IsOK(ecode7
)) {
4001 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4003 arg7
= static_cast< long >(val7
);
4006 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4007 if (!SWIG_IsOK(res8
)) {
4008 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4013 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4017 arg9
= wxString_in_helper(obj8
);
4018 if (arg9
== NULL
) SWIG_fail
;
4023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4024 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4045 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4046 PyObject
*resultobj
= 0;
4047 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4051 PyObject
*swig_obj
[1] ;
4053 if (!args
) SWIG_fail
;
4055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4056 if (!SWIG_IsOK(res1
)) {
4057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4059 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 result
= (arg1
)->GetBitmapLabel();
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4073 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4074 PyObject
*resultobj
= 0;
4075 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4079 PyObject
*swig_obj
[1] ;
4081 if (!args
) SWIG_fail
;
4083 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4084 if (!SWIG_IsOK(res1
)) {
4085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4087 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4090 result
= (arg1
)->GetBitmapDisabled();
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4101 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4102 PyObject
*resultobj
= 0;
4103 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4107 PyObject
*swig_obj
[1] ;
4109 if (!args
) SWIG_fail
;
4111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4112 if (!SWIG_IsOK(res1
)) {
4113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4115 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4118 result
= (arg1
)->GetBitmapFocus();
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4129 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4130 PyObject
*resultobj
= 0;
4131 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4135 PyObject
*swig_obj
[1] ;
4137 if (!args
) SWIG_fail
;
4139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4140 if (!SWIG_IsOK(res1
)) {
4141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4143 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4146 result
= (arg1
)->GetBitmapSelected();
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4157 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4158 PyObject
*resultobj
= 0;
4159 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4163 PyObject
*swig_obj
[1] ;
4165 if (!args
) SWIG_fail
;
4167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4168 if (!SWIG_IsOK(res1
)) {
4169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4171 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 result
= (arg1
)->GetBitmapHover();
4175 wxPyEndAllowThreads(__tstate
);
4176 if (PyErr_Occurred()) SWIG_fail
;
4178 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4185 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
= 0;
4187 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4188 wxBitmap
*arg2
= 0 ;
4193 PyObject
* obj0
= 0 ;
4194 PyObject
* obj1
= 0 ;
4195 char * kwnames
[] = {
4196 (char *) "self",(char *) "bitmap", NULL
4199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4201 if (!SWIG_IsOK(res1
)) {
4202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4204 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4206 if (!SWIG_IsOK(res2
)) {
4207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4212 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4216 wxPyEndAllowThreads(__tstate
);
4217 if (PyErr_Occurred()) SWIG_fail
;
4219 resultobj
= SWIG_Py_Void();
4226 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
*resultobj
= 0;
4228 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4229 wxBitmap
*arg2
= 0 ;
4234 PyObject
* obj0
= 0 ;
4235 PyObject
* obj1
= 0 ;
4236 char * kwnames
[] = {
4237 (char *) "self",(char *) "bitmap", NULL
4240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4242 if (!SWIG_IsOK(res1
)) {
4243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4245 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4246 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4247 if (!SWIG_IsOK(res2
)) {
4248 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4251 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4253 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4256 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4260 resultobj
= SWIG_Py_Void();
4267 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
= 0;
4269 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4270 wxBitmap
*arg2
= 0 ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4277 char * kwnames
[] = {
4278 (char *) "self",(char *) "bitmap", NULL
4281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4283 if (!SWIG_IsOK(res1
)) {
4284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4286 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4288 if (!SWIG_IsOK(res2
)) {
4289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4294 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4297 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= SWIG_Py_Void();
4308 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
= 0;
4310 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4311 wxBitmap
*arg2
= 0 ;
4316 PyObject
* obj0
= 0 ;
4317 PyObject
* obj1
= 0 ;
4318 char * kwnames
[] = {
4319 (char *) "self",(char *) "bitmap", NULL
4322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4324 if (!SWIG_IsOK(res1
)) {
4325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4327 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4328 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4329 if (!SWIG_IsOK(res2
)) {
4330 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4335 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4339 wxPyEndAllowThreads(__tstate
);
4340 if (PyErr_Occurred()) SWIG_fail
;
4342 resultobj
= SWIG_Py_Void();
4349 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4350 PyObject
*resultobj
= 0;
4351 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4352 wxBitmap
*arg2
= 0 ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4359 char * kwnames
[] = {
4360 (char *) "self",(char *) "hover", NULL
4363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4365 if (!SWIG_IsOK(res1
)) {
4366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4368 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4369 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4370 if (!SWIG_IsOK(res2
)) {
4371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4374 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4376 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= SWIG_Py_Void();
4390 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
= 0;
4392 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4403 PyObject
* obj2
= 0 ;
4404 char * kwnames
[] = {
4405 (char *) "self",(char *) "x",(char *) "y", NULL
4408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4410 if (!SWIG_IsOK(res1
)) {
4411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4413 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4415 if (!SWIG_IsOK(ecode2
)) {
4416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4418 arg2
= static_cast< int >(val2
);
4419 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4420 if (!SWIG_IsOK(ecode3
)) {
4421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4423 arg3
= static_cast< int >(val3
);
4425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4426 (arg1
)->SetMargins(arg2
,arg3
);
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4430 resultobj
= SWIG_Py_Void();
4437 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4438 PyObject
*resultobj
= 0;
4439 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4443 PyObject
*swig_obj
[1] ;
4445 if (!args
) SWIG_fail
;
4447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4448 if (!SWIG_IsOK(res1
)) {
4449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4451 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= SWIG_From_int(static_cast< int >(result
));
4465 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4466 PyObject
*resultobj
= 0;
4467 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4471 PyObject
*swig_obj
[1] ;
4473 if (!args
) SWIG_fail
;
4475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4476 if (!SWIG_IsOK(res1
)) {
4477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4479 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= SWIG_From_int(static_cast< int >(result
));
4493 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4495 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4496 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4497 return SWIG_Py_Void();
4500 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4501 return SWIG_Python_InitShadowInstance(args
);
4504 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4505 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4510 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4511 PyObject
*pyobj
= 0;
4515 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4517 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4524 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
= 0;
4526 wxWindow
*arg1
= (wxWindow
*) 0 ;
4527 int arg2
= (int) -1 ;
4528 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4529 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4530 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4531 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4532 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4533 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4534 long arg6
= (long) 0 ;
4535 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4536 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4537 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4538 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4539 wxCheckBox
*result
= 0 ;
4544 bool temp3
= false ;
4551 bool temp8
= false ;
4552 PyObject
* obj0
= 0 ;
4553 PyObject
* obj1
= 0 ;
4554 PyObject
* obj2
= 0 ;
4555 PyObject
* obj3
= 0 ;
4556 PyObject
* obj4
= 0 ;
4557 PyObject
* obj5
= 0 ;
4558 PyObject
* obj6
= 0 ;
4559 PyObject
* obj7
= 0 ;
4560 char * kwnames
[] = {
4561 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4566 if (!SWIG_IsOK(res1
)) {
4567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4569 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4572 if (!SWIG_IsOK(ecode2
)) {
4573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4575 arg2
= static_cast< int >(val2
);
4579 arg3
= wxString_in_helper(obj2
);
4580 if (arg3
== NULL
) SWIG_fail
;
4587 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4593 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4597 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4598 if (!SWIG_IsOK(ecode6
)) {
4599 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4601 arg6
= static_cast< long >(val6
);
4604 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4605 if (!SWIG_IsOK(res7
)) {
4606 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4609 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4611 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4615 arg8
= wxString_in_helper(obj7
);
4616 if (arg8
== NULL
) SWIG_fail
;
4621 if (!wxPyCheckForApp()) SWIG_fail
;
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4650 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4651 PyObject
*resultobj
= 0;
4652 wxCheckBox
*result
= 0 ;
4654 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4656 if (!wxPyCheckForApp()) SWIG_fail
;
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 result
= (wxCheckBox
*)new wxCheckBox();
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4669 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4670 PyObject
*resultobj
= 0;
4671 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4672 wxWindow
*arg2
= (wxWindow
*) 0 ;
4673 int arg3
= (int) -1 ;
4674 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4675 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4676 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4677 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4678 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4679 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4680 long arg7
= (long) 0 ;
4681 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4682 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4683 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4684 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4692 bool temp4
= false ;
4699 bool temp9
= false ;
4700 PyObject
* obj0
= 0 ;
4701 PyObject
* obj1
= 0 ;
4702 PyObject
* obj2
= 0 ;
4703 PyObject
* obj3
= 0 ;
4704 PyObject
* obj4
= 0 ;
4705 PyObject
* obj5
= 0 ;
4706 PyObject
* obj6
= 0 ;
4707 PyObject
* obj7
= 0 ;
4708 PyObject
* obj8
= 0 ;
4709 char * kwnames
[] = {
4710 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4715 if (!SWIG_IsOK(res1
)) {
4716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4718 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4720 if (!SWIG_IsOK(res2
)) {
4721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4723 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4725 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4726 if (!SWIG_IsOK(ecode3
)) {
4727 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4729 arg3
= static_cast< int >(val3
);
4733 arg4
= wxString_in_helper(obj3
);
4734 if (arg4
== NULL
) SWIG_fail
;
4741 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4747 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4751 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4752 if (!SWIG_IsOK(ecode7
)) {
4753 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4755 arg7
= static_cast< long >(val7
);
4758 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4759 if (!SWIG_IsOK(res8
)) {
4760 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4763 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4765 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4769 arg9
= wxString_in_helper(obj8
);
4770 if (arg9
== NULL
) SWIG_fail
;
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4805 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4806 PyObject
*resultobj
= 0;
4807 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4811 PyObject
*swig_obj
[1] ;
4813 if (!args
) SWIG_fail
;
4815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4816 if (!SWIG_IsOK(res1
)) {
4817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4819 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (bool)(arg1
)->GetValue();
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4835 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4836 PyObject
*resultobj
= 0;
4837 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4841 PyObject
*swig_obj
[1] ;
4843 if (!args
) SWIG_fail
;
4845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4846 if (!SWIG_IsOK(res1
)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4849 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (bool)(arg1
)->IsChecked();
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4865 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
= 0;
4867 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4873 PyObject
* obj0
= 0 ;
4874 PyObject
* obj1
= 0 ;
4875 char * kwnames
[] = {
4876 (char *) "self",(char *) "state", NULL
4879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4881 if (!SWIG_IsOK(res1
)) {
4882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4884 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4885 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4886 if (!SWIG_IsOK(ecode2
)) {
4887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4889 arg2
= static_cast< bool >(val2
);
4891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4892 (arg1
)->SetValue(arg2
);
4893 wxPyEndAllowThreads(__tstate
);
4894 if (PyErr_Occurred()) SWIG_fail
;
4896 resultobj
= SWIG_Py_Void();
4903 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4904 PyObject
*resultobj
= 0;
4905 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4906 wxCheckBoxState result
;
4909 PyObject
*swig_obj
[1] ;
4911 if (!args
) SWIG_fail
;
4913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4914 if (!SWIG_IsOK(res1
)) {
4915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4917 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= SWIG_From_int(static_cast< int >(result
));
4931 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
= 0;
4933 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4934 wxCheckBoxState arg2
;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4941 char * kwnames
[] = {
4942 (char *) "self",(char *) "state", NULL
4945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4947 if (!SWIG_IsOK(res1
)) {
4948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4950 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4952 if (!SWIG_IsOK(ecode2
)) {
4953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
4955 arg2
= static_cast< wxCheckBoxState
>(val2
);
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 (arg1
)->Set3StateValue(arg2
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= SWIG_Py_Void();
4969 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4970 PyObject
*resultobj
= 0;
4971 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4975 PyObject
*swig_obj
[1] ;
4977 if (!args
) SWIG_fail
;
4979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4980 if (!SWIG_IsOK(res1
)) {
4981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4983 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4999 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5000 PyObject
*resultobj
= 0;
5001 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5005 PyObject
*swig_obj
[1] ;
5007 if (!args
) SWIG_fail
;
5009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5010 if (!SWIG_IsOK(res1
)) {
5011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5013 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5016 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5017 wxPyEndAllowThreads(__tstate
);
5018 if (PyErr_Occurred()) SWIG_fail
;
5021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5029 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5030 PyObject
*resultobj
= 0;
5031 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5032 SwigValueWrapper
<wxVisualAttributes
> result
;
5035 PyObject
* obj0
= 0 ;
5036 char * kwnames
[] = {
5037 (char *) "variant", NULL
5040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5042 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5043 if (!SWIG_IsOK(ecode1
)) {
5044 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5046 arg1
= static_cast< wxWindowVariant
>(val1
);
5049 if (!wxPyCheckForApp()) SWIG_fail
;
5050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5051 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5052 wxPyEndAllowThreads(__tstate
);
5053 if (PyErr_Occurred()) SWIG_fail
;
5055 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5062 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5065 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5066 return SWIG_Py_Void();
5069 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5070 return SWIG_Python_InitShadowInstance(args
);
5073 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5074 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5079 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5080 PyObject
*pyobj
= 0;
5084 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5086 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5093 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5094 PyObject
*resultobj
= 0;
5095 wxWindow
*arg1
= (wxWindow
*) 0 ;
5096 int arg2
= (int) -1 ;
5097 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5098 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5099 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5100 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5101 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5102 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5103 long arg6
= (long) 0 ;
5104 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5105 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5106 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5107 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5108 wxChoice
*result
= 0 ;
5115 bool temp5
= false ;
5120 bool temp8
= false ;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5123 PyObject
* obj2
= 0 ;
5124 PyObject
* obj3
= 0 ;
5125 PyObject
* obj4
= 0 ;
5126 PyObject
* obj5
= 0 ;
5127 PyObject
* obj6
= 0 ;
5128 PyObject
* obj7
= 0 ;
5129 char * kwnames
[] = {
5130 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5135 if (!SWIG_IsOK(res1
)) {
5136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5138 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5141 if (!SWIG_IsOK(ecode2
)) {
5142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5144 arg2
= static_cast< int >(val2
);
5149 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5155 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5160 if (! PySequence_Check(obj4
)) {
5161 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5164 arg5
= new wxArrayString
;
5166 int i
, len
=PySequence_Length(obj4
);
5167 for (i
=0; i
<len
; i
++) {
5168 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5169 wxString
* s
= wxString_in_helper(item
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5178 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5179 if (!SWIG_IsOK(ecode6
)) {
5180 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5182 arg6
= static_cast< long >(val6
);
5185 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5186 if (!SWIG_IsOK(res7
)) {
5187 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5192 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5196 arg8
= wxString_in_helper(obj7
);
5197 if (arg8
== NULL
) SWIG_fail
;
5202 if (!wxPyCheckForApp()) SWIG_fail
;
5203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5205 wxPyEndAllowThreads(__tstate
);
5206 if (PyErr_Occurred()) SWIG_fail
;
5208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5210 if (temp5
) delete arg5
;
5219 if (temp5
) delete arg5
;
5229 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5230 PyObject
*resultobj
= 0;
5231 wxChoice
*result
= 0 ;
5233 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5235 if (!wxPyCheckForApp()) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5237 result
= (wxChoice
*)new wxChoice();
5238 wxPyEndAllowThreads(__tstate
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5241 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5248 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5249 PyObject
*resultobj
= 0;
5250 wxChoice
*arg1
= (wxChoice
*) 0 ;
5251 wxWindow
*arg2
= (wxWindow
*) 0 ;
5252 int arg3
= (int) -1 ;
5253 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5254 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5255 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5256 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5257 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5258 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5259 long arg7
= (long) 0 ;
5260 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5261 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5262 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5263 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5273 bool temp6
= false ;
5278 bool temp9
= false ;
5279 PyObject
* obj0
= 0 ;
5280 PyObject
* obj1
= 0 ;
5281 PyObject
* obj2
= 0 ;
5282 PyObject
* obj3
= 0 ;
5283 PyObject
* obj4
= 0 ;
5284 PyObject
* obj5
= 0 ;
5285 PyObject
* obj6
= 0 ;
5286 PyObject
* obj7
= 0 ;
5287 PyObject
* obj8
= 0 ;
5288 char * kwnames
[] = {
5289 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5294 if (!SWIG_IsOK(res1
)) {
5295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5297 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5298 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5299 if (!SWIG_IsOK(res2
)) {
5300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5302 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5304 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5305 if (!SWIG_IsOK(ecode3
)) {
5306 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5308 arg3
= static_cast< int >(val3
);
5313 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5319 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5324 if (! PySequence_Check(obj5
)) {
5325 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5328 arg6
= new wxArrayString
;
5330 int i
, len
=PySequence_Length(obj5
);
5331 for (i
=0; i
<len
; i
++) {
5332 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5333 wxString
* s
= wxString_in_helper(item
);
5334 if (PyErr_Occurred()) SWIG_fail
;
5342 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5343 if (!SWIG_IsOK(ecode7
)) {
5344 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5346 arg7
= static_cast< long >(val7
);
5349 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5350 if (!SWIG_IsOK(res8
)) {
5351 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5356 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5360 arg9
= wxString_in_helper(obj8
);
5361 if (arg9
== NULL
) SWIG_fail
;
5366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5367 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5375 if (temp6
) delete arg6
;
5384 if (temp6
) delete arg6
;
5394 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5395 PyObject
*resultobj
= 0;
5396 wxChoice
*arg1
= (wxChoice
*) 0 ;
5400 PyObject
*swig_obj
[1] ;
5402 if (!args
) SWIG_fail
;
5404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5405 if (!SWIG_IsOK(res1
)) {
5406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5408 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5411 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5412 wxPyEndAllowThreads(__tstate
);
5413 if (PyErr_Occurred()) SWIG_fail
;
5415 resultobj
= SWIG_From_int(static_cast< int >(result
));
5422 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5423 PyObject
*resultobj
= 0;
5424 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5425 SwigValueWrapper
<wxVisualAttributes
> result
;
5428 PyObject
* obj0
= 0 ;
5429 char * kwnames
[] = {
5430 (char *) "variant", NULL
5433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5435 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5436 if (!SWIG_IsOK(ecode1
)) {
5437 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5439 arg1
= static_cast< wxWindowVariant
>(val1
);
5442 if (!wxPyCheckForApp()) SWIG_fail
;
5443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5444 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5455 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5458 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5459 return SWIG_Py_Void();
5462 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5463 return SWIG_Python_InitShadowInstance(args
);
5466 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5467 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5472 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5473 PyObject
*pyobj
= 0;
5477 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5479 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5486 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5487 PyObject
*resultobj
= 0;
5488 wxWindow
*arg1
= (wxWindow
*) 0 ;
5489 int arg2
= (int) -1 ;
5490 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5491 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5492 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5493 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5494 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5495 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5496 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5497 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5498 long arg7
= (long) 0 ;
5499 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5500 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5501 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5502 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5503 wxComboBox
*result
= 0 ;
5508 bool temp3
= false ;
5511 bool temp6
= false ;
5516 bool temp9
= false ;
5517 PyObject
* obj0
= 0 ;
5518 PyObject
* obj1
= 0 ;
5519 PyObject
* obj2
= 0 ;
5520 PyObject
* obj3
= 0 ;
5521 PyObject
* obj4
= 0 ;
5522 PyObject
* obj5
= 0 ;
5523 PyObject
* obj6
= 0 ;
5524 PyObject
* obj7
= 0 ;
5525 PyObject
* obj8
= 0 ;
5526 char * kwnames
[] = {
5527 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5532 if (!SWIG_IsOK(res1
)) {
5533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5535 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5538 if (!SWIG_IsOK(ecode2
)) {
5539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5541 arg2
= static_cast< int >(val2
);
5545 arg3
= wxString_in_helper(obj2
);
5546 if (arg3
== NULL
) SWIG_fail
;
5553 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5559 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5564 if (! PySequence_Check(obj5
)) {
5565 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5568 arg6
= new wxArrayString
;
5570 int i
, len
=PySequence_Length(obj5
);
5571 for (i
=0; i
<len
; i
++) {
5572 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5573 wxString
* s
= wxString_in_helper(item
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5582 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5583 if (!SWIG_IsOK(ecode7
)) {
5584 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5586 arg7
= static_cast< long >(val7
);
5589 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5590 if (!SWIG_IsOK(res8
)) {
5591 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5594 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5596 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5600 arg9
= wxString_in_helper(obj8
);
5601 if (arg9
== NULL
) SWIG_fail
;
5606 if (!wxPyCheckForApp()) SWIG_fail
;
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 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
);
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5618 if (temp6
) delete arg6
;
5631 if (temp6
) delete arg6
;
5641 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5642 PyObject
*resultobj
= 0;
5643 wxComboBox
*result
= 0 ;
5645 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5647 if (!wxPyCheckForApp()) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= (wxComboBox
*)new wxComboBox();
5650 wxPyEndAllowThreads(__tstate
);
5651 if (PyErr_Occurred()) SWIG_fail
;
5653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5660 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
= 0;
5662 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5663 wxWindow
*arg2
= (wxWindow
*) 0 ;
5664 int arg3
= (int) -1 ;
5665 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5666 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5667 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5668 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5669 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5670 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5671 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5672 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5673 long arg8
= (long) 0 ;
5674 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5675 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5676 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5677 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5685 bool temp4
= false ;
5688 bool temp7
= false ;
5693 bool temp10
= false ;
5694 PyObject
* obj0
= 0 ;
5695 PyObject
* obj1
= 0 ;
5696 PyObject
* obj2
= 0 ;
5697 PyObject
* obj3
= 0 ;
5698 PyObject
* obj4
= 0 ;
5699 PyObject
* obj5
= 0 ;
5700 PyObject
* obj6
= 0 ;
5701 PyObject
* obj7
= 0 ;
5702 PyObject
* obj8
= 0 ;
5703 PyObject
* obj9
= 0 ;
5704 char * kwnames
[] = {
5705 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5710 if (!SWIG_IsOK(res1
)) {
5711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5713 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5715 if (!SWIG_IsOK(res2
)) {
5716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5718 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5720 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5721 if (!SWIG_IsOK(ecode3
)) {
5722 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5724 arg3
= static_cast< int >(val3
);
5728 arg4
= wxString_in_helper(obj3
);
5729 if (arg4
== NULL
) SWIG_fail
;
5736 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5742 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5747 if (! PySequence_Check(obj6
)) {
5748 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5751 arg7
= new wxArrayString
;
5753 int i
, len
=PySequence_Length(obj6
);
5754 for (i
=0; i
<len
; i
++) {
5755 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5756 wxString
* s
= wxString_in_helper(item
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5765 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5766 if (!SWIG_IsOK(ecode8
)) {
5767 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5769 arg8
= static_cast< long >(val8
);
5772 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5773 if (!SWIG_IsOK(res9
)) {
5774 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5779 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5783 arg10
= wxString_in_helper(obj9
);
5784 if (arg10
== NULL
) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 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
);
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5802 if (temp7
) delete arg7
;
5815 if (temp7
) delete arg7
;
5825 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5826 PyObject
*resultobj
= 0;
5827 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5831 PyObject
*swig_obj
[1] ;
5833 if (!args
) SWIG_fail
;
5835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5836 if (!SWIG_IsOK(res1
)) {
5837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5839 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 result
= ((wxComboBox
const *)arg1
)->GetValue();
5843 wxPyEndAllowThreads(__tstate
);
5844 if (PyErr_Occurred()) SWIG_fail
;
5848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5859 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
= 0;
5861 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5862 wxString
*arg2
= 0 ;
5865 bool temp2
= false ;
5866 PyObject
* obj0
= 0 ;
5867 PyObject
* obj1
= 0 ;
5868 char * kwnames
[] = {
5869 (char *) "self",(char *) "value", NULL
5872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5874 if (!SWIG_IsOK(res1
)) {
5875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5877 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5879 arg2
= wxString_in_helper(obj1
);
5880 if (arg2
== NULL
) SWIG_fail
;
5884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5885 (arg1
)->SetValue((wxString
const &)*arg2
);
5886 wxPyEndAllowThreads(__tstate
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5889 resultobj
= SWIG_Py_Void();
5904 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5905 PyObject
*resultobj
= 0;
5906 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5909 PyObject
*swig_obj
[1] ;
5911 if (!args
) SWIG_fail
;
5913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5914 if (!SWIG_IsOK(res1
)) {
5915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5917 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5921 wxPyEndAllowThreads(__tstate
);
5922 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= SWIG_Py_Void();
5931 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5932 PyObject
*resultobj
= 0;
5933 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5936 PyObject
*swig_obj
[1] ;
5938 if (!args
) SWIG_fail
;
5940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5941 if (!SWIG_IsOK(res1
)) {
5942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5944 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_Py_Void();
5958 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5959 PyObject
*resultobj
= 0;
5960 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5963 PyObject
*swig_obj
[1] ;
5965 if (!args
) SWIG_fail
;
5967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5968 if (!SWIG_IsOK(res1
)) {
5969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
5971 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 wxPyEndAllowThreads(__tstate
);
5976 if (PyErr_Occurred()) SWIG_fail
;
5978 resultobj
= SWIG_Py_Void();
5985 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5986 PyObject
*resultobj
= 0;
5987 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5993 PyObject
* obj0
= 0 ;
5994 PyObject
* obj1
= 0 ;
5995 char * kwnames
[] = {
5996 (char *) "self",(char *) "pos", NULL
5999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6001 if (!SWIG_IsOK(res1
)) {
6002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6004 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6005 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6006 if (!SWIG_IsOK(ecode2
)) {
6007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6009 arg2
= static_cast< long >(val2
);
6011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6012 (arg1
)->SetInsertionPoint(arg2
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= SWIG_Py_Void();
6023 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6024 PyObject
*resultobj
= 0;
6025 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6029 PyObject
*swig_obj
[1] ;
6031 if (!args
) SWIG_fail
;
6033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6034 if (!SWIG_IsOK(res1
)) {
6035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6037 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= SWIG_From_long(static_cast< long >(result
));
6051 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6052 PyObject
*resultobj
= 0;
6053 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6057 PyObject
*swig_obj
[1] ;
6059 if (!args
) SWIG_fail
;
6061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6062 if (!SWIG_IsOK(res1
)) {
6063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6065 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 resultobj
= SWIG_From_long(static_cast< long >(result
));
6079 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6080 PyObject
*resultobj
= 0;
6081 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6084 wxString
*arg4
= 0 ;
6091 bool temp4
= false ;
6092 PyObject
* obj0
= 0 ;
6093 PyObject
* obj1
= 0 ;
6094 PyObject
* obj2
= 0 ;
6095 PyObject
* obj3
= 0 ;
6096 char * kwnames
[] = {
6097 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6102 if (!SWIG_IsOK(res1
)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6105 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6106 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6107 if (!SWIG_IsOK(ecode2
)) {
6108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6110 arg2
= static_cast< long >(val2
);
6111 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6112 if (!SWIG_IsOK(ecode3
)) {
6113 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6115 arg3
= static_cast< long >(val3
);
6117 arg4
= wxString_in_helper(obj3
);
6118 if (arg4
== NULL
) SWIG_fail
;
6122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6123 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6124 wxPyEndAllowThreads(__tstate
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 resultobj
= SWIG_Py_Void();
6142 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
= 0;
6144 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6153 PyObject
* obj0
= 0 ;
6154 PyObject
* obj1
= 0 ;
6155 PyObject
* obj2
= 0 ;
6156 char * kwnames
[] = {
6157 (char *) "self",(char *) "from",(char *) "to", NULL
6160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6162 if (!SWIG_IsOK(res1
)) {
6163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6165 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6166 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6167 if (!SWIG_IsOK(ecode2
)) {
6168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6170 arg2
= static_cast< long >(val2
);
6171 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6172 if (!SWIG_IsOK(ecode3
)) {
6173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6175 arg3
= static_cast< long >(val3
);
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 (arg1
)->SetSelection(arg2
,arg3
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= SWIG_Py_Void();
6189 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6190 PyObject
*resultobj
= 0;
6191 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6192 long *arg2
= (long *) 0 ;
6193 long *arg3
= (long *) 0 ;
6197 int res2
= SWIG_TMPOBJ
;
6199 int res3
= SWIG_TMPOBJ
;
6200 PyObject
*swig_obj
[1] ;
6204 if (!args
) SWIG_fail
;
6206 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6207 if (!SWIG_IsOK(res1
)) {
6208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6210 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 (arg1
)->GetSelection(arg2
,arg3
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 resultobj
= SWIG_Py_Void();
6218 if (SWIG_IsTmpObj(res2
)) {
6219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6221 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6224 if (SWIG_IsTmpObj(res3
)) {
6225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6227 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6236 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6237 PyObject
*resultobj
= 0;
6238 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6242 PyObject
*swig_obj
[1] ;
6244 if (!args
) SWIG_fail
;
6246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6247 if (!SWIG_IsOK(res1
)) {
6248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6250 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_From_int(static_cast< int >(result
));
6264 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
= 0;
6266 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6267 wxString
*arg2
= 0 ;
6271 bool temp2
= false ;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6274 char * kwnames
[] = {
6275 (char *) "self",(char *) "string", NULL
6278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6280 if (!SWIG_IsOK(res1
)) {
6281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6283 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6285 arg2
= wxString_in_helper(obj1
);
6286 if (arg2
== NULL
) SWIG_fail
;
6290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6291 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6312 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6313 PyObject
*resultobj
= 0;
6314 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6320 PyObject
* obj0
= 0 ;
6321 PyObject
* obj1
= 0 ;
6322 char * kwnames
[] = {
6323 (char *) "self",(char *) "editable", NULL
6326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6328 if (!SWIG_IsOK(res1
)) {
6329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6331 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6332 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6333 if (!SWIG_IsOK(ecode2
)) {
6334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6336 arg2
= static_cast< bool >(val2
);
6338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6339 (arg1
)->SetEditable(arg2
);
6340 wxPyEndAllowThreads(__tstate
);
6341 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= SWIG_Py_Void();
6350 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6351 PyObject
*resultobj
= 0;
6352 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6355 PyObject
*swig_obj
[1] ;
6357 if (!args
) SWIG_fail
;
6359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6360 if (!SWIG_IsOK(res1
)) {
6361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6363 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6366 (arg1
)->SetInsertionPointEnd();
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= SWIG_Py_Void();
6377 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
= 0;
6379 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6388 PyObject
* obj0
= 0 ;
6389 PyObject
* obj1
= 0 ;
6390 PyObject
* obj2
= 0 ;
6391 char * kwnames
[] = {
6392 (char *) "self",(char *) "from",(char *) "to", NULL
6395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6397 if (!SWIG_IsOK(res1
)) {
6398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6400 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6401 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6402 if (!SWIG_IsOK(ecode2
)) {
6403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6405 arg2
= static_cast< long >(val2
);
6406 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6407 if (!SWIG_IsOK(ecode3
)) {
6408 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6410 arg3
= static_cast< long >(val3
);
6412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 (arg1
)->Remove(arg2
,arg3
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= SWIG_Py_Void();
6424 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6425 PyObject
*resultobj
= 0;
6426 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6430 PyObject
*swig_obj
[1] ;
6432 if (!args
) SWIG_fail
;
6434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6435 if (!SWIG_IsOK(res1
)) {
6436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6438 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6454 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6455 PyObject
*resultobj
= 0;
6456 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6459 PyObject
*swig_obj
[1] ;
6461 if (!args
) SWIG_fail
;
6463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6464 if (!SWIG_IsOK(res1
)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6467 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6474 resultobj
= SWIG_Py_Void();
6481 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6482 PyObject
*resultobj
= 0;
6483 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6486 PyObject
*swig_obj
[1] ;
6488 if (!args
) SWIG_fail
;
6490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6491 if (!SWIG_IsOK(res1
)) {
6492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6494 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= SWIG_Py_Void();
6508 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6509 PyObject
*resultobj
= 0;
6510 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6513 PyObject
*swig_obj
[1] ;
6515 if (!args
) SWIG_fail
;
6517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6518 if (!SWIG_IsOK(res1
)) {
6519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6521 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 (arg1
)->SelectAll();
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= SWIG_Py_Void();
6535 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6536 PyObject
*resultobj
= 0;
6537 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6541 PyObject
*swig_obj
[1] ;
6543 if (!args
) SWIG_fail
;
6545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6546 if (!SWIG_IsOK(res1
)) {
6547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6549 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6565 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6566 PyObject
*resultobj
= 0;
6567 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6571 PyObject
*swig_obj
[1] ;
6573 if (!args
) SWIG_fail
;
6575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6576 if (!SWIG_IsOK(res1
)) {
6577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6579 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6595 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6596 PyObject
*resultobj
= 0;
6597 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6601 PyObject
*swig_obj
[1] ;
6603 if (!args
) SWIG_fail
;
6605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6606 if (!SWIG_IsOK(res1
)) {
6607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6609 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6625 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6626 PyObject
*resultobj
= 0;
6627 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6631 PyObject
*swig_obj
[1] ;
6633 if (!args
) SWIG_fail
;
6635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6636 if (!SWIG_IsOK(res1
)) {
6637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6639 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6642 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6655 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6656 PyObject
*resultobj
= 0;
6657 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6661 PyObject
*swig_obj
[1] ;
6663 if (!args
) SWIG_fail
;
6665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6666 if (!SWIG_IsOK(res1
)) {
6667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6669 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6685 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
= 0;
6687 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6688 SwigValueWrapper
<wxVisualAttributes
> result
;
6691 PyObject
* obj0
= 0 ;
6692 char * kwnames
[] = {
6693 (char *) "variant", NULL
6696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6698 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6699 if (!SWIG_IsOK(ecode1
)) {
6700 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6702 arg1
= static_cast< wxWindowVariant
>(val1
);
6705 if (!wxPyCheckForApp()) SWIG_fail
;
6706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6707 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6711 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6718 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6721 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6722 return SWIG_Py_Void();
6725 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6726 return SWIG_Python_InitShadowInstance(args
);
6729 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6730 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6735 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6736 PyObject
*pyobj
= 0;
6740 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6742 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6749 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6750 PyObject
*resultobj
= 0;
6751 wxWindow
*arg1
= (wxWindow
*) 0 ;
6752 int arg2
= (int) -1 ;
6753 int arg3
= (int) 100 ;
6754 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6755 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6756 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6757 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6758 long arg6
= (long) wxGA_HORIZONTAL
;
6759 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6760 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6761 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6762 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6763 wxGauge
*result
= 0 ;
6776 bool temp8
= false ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6779 PyObject
* obj2
= 0 ;
6780 PyObject
* obj3
= 0 ;
6781 PyObject
* obj4
= 0 ;
6782 PyObject
* obj5
= 0 ;
6783 PyObject
* obj6
= 0 ;
6784 PyObject
* obj7
= 0 ;
6785 char * kwnames
[] = {
6786 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6791 if (!SWIG_IsOK(res1
)) {
6792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6797 if (!SWIG_IsOK(ecode2
)) {
6798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6800 arg2
= static_cast< int >(val2
);
6803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6804 if (!SWIG_IsOK(ecode3
)) {
6805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6807 arg3
= static_cast< int >(val3
);
6812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6822 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6823 if (!SWIG_IsOK(ecode6
)) {
6824 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6826 arg6
= static_cast< long >(val6
);
6829 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6830 if (!SWIG_IsOK(res7
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6836 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6840 arg8
= wxString_in_helper(obj7
);
6841 if (arg8
== NULL
) SWIG_fail
;
6846 if (!wxPyCheckForApp()) SWIG_fail
;
6847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6848 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6849 wxPyEndAllowThreads(__tstate
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6867 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6868 PyObject
*resultobj
= 0;
6869 wxGauge
*result
= 0 ;
6871 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6873 if (!wxPyCheckForApp()) SWIG_fail
;
6874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6875 result
= (wxGauge
*)new wxGauge();
6876 wxPyEndAllowThreads(__tstate
);
6877 if (PyErr_Occurred()) SWIG_fail
;
6879 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6886 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
= 0;
6888 wxGauge
*arg1
= (wxGauge
*) 0 ;
6889 wxWindow
*arg2
= (wxWindow
*) 0 ;
6890 int arg3
= (int) -1 ;
6891 int arg4
= (int) 100 ;
6892 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6893 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6894 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6895 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6896 long arg7
= (long) wxGA_HORIZONTAL
;
6897 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6898 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6899 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6900 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6916 bool temp9
= false ;
6917 PyObject
* obj0
= 0 ;
6918 PyObject
* obj1
= 0 ;
6919 PyObject
* obj2
= 0 ;
6920 PyObject
* obj3
= 0 ;
6921 PyObject
* obj4
= 0 ;
6922 PyObject
* obj5
= 0 ;
6923 PyObject
* obj6
= 0 ;
6924 PyObject
* obj7
= 0 ;
6925 PyObject
* obj8
= 0 ;
6926 char * kwnames
[] = {
6927 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6932 if (!SWIG_IsOK(res1
)) {
6933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6935 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6936 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6937 if (!SWIG_IsOK(res2
)) {
6938 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6940 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6942 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6943 if (!SWIG_IsOK(ecode3
)) {
6944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6946 arg3
= static_cast< int >(val3
);
6949 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6950 if (!SWIG_IsOK(ecode4
)) {
6951 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6953 arg4
= static_cast< int >(val4
);
6958 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6964 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6968 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6969 if (!SWIG_IsOK(ecode7
)) {
6970 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6972 arg7
= static_cast< long >(val7
);
6975 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6976 if (!SWIG_IsOK(res8
)) {
6977 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6980 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6982 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6986 arg9
= wxString_in_helper(obj8
);
6987 if (arg9
== NULL
) SWIG_fail
;
6992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6993 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6994 wxPyEndAllowThreads(__tstate
);
6995 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7014 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
= 0;
7016 wxGauge
*arg1
= (wxGauge
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7024 char * kwnames
[] = {
7025 (char *) "self",(char *) "range", NULL
7028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7030 if (!SWIG_IsOK(res1
)) {
7031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7033 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7035 if (!SWIG_IsOK(ecode2
)) {
7036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7038 arg2
= static_cast< int >(val2
);
7040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7041 (arg1
)->SetRange(arg2
);
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7045 resultobj
= SWIG_Py_Void();
7052 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7053 PyObject
*resultobj
= 0;
7054 wxGauge
*arg1
= (wxGauge
*) 0 ;
7058 PyObject
*swig_obj
[1] ;
7060 if (!args
) SWIG_fail
;
7062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7063 if (!SWIG_IsOK(res1
)) {
7064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7066 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7073 resultobj
= SWIG_From_int(static_cast< int >(result
));
7080 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7081 PyObject
*resultobj
= 0;
7082 wxGauge
*arg1
= (wxGauge
*) 0 ;
7088 PyObject
* obj0
= 0 ;
7089 PyObject
* obj1
= 0 ;
7090 char * kwnames
[] = {
7091 (char *) "self",(char *) "pos", NULL
7094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7096 if (!SWIG_IsOK(res1
)) {
7097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7099 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7101 if (!SWIG_IsOK(ecode2
)) {
7102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7104 arg2
= static_cast< int >(val2
);
7106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7107 (arg1
)->SetValue(arg2
);
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7111 resultobj
= SWIG_Py_Void();
7118 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7119 PyObject
*resultobj
= 0;
7120 wxGauge
*arg1
= (wxGauge
*) 0 ;
7124 PyObject
*swig_obj
[1] ;
7126 if (!args
) SWIG_fail
;
7128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7129 if (!SWIG_IsOK(res1
)) {
7130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7132 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7135 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7136 wxPyEndAllowThreads(__tstate
);
7137 if (PyErr_Occurred()) SWIG_fail
;
7139 resultobj
= SWIG_From_int(static_cast< int >(result
));
7146 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7147 PyObject
*resultobj
= 0;
7148 wxGauge
*arg1
= (wxGauge
*) 0 ;
7151 PyObject
*swig_obj
[1] ;
7153 if (!args
) SWIG_fail
;
7155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7156 if (!SWIG_IsOK(res1
)) {
7157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7159 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 wxPyEndAllowThreads(__tstate
);
7164 if (PyErr_Occurred()) SWIG_fail
;
7166 resultobj
= SWIG_Py_Void();
7173 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7174 PyObject
*resultobj
= 0;
7175 wxGauge
*arg1
= (wxGauge
*) 0 ;
7179 PyObject
*swig_obj
[1] ;
7181 if (!args
) SWIG_fail
;
7183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7184 if (!SWIG_IsOK(res1
)) {
7185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7187 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7203 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
= 0;
7205 wxGauge
*arg1
= (wxGauge
*) 0 ;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7213 char * kwnames
[] = {
7214 (char *) "self",(char *) "w", NULL
7217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7219 if (!SWIG_IsOK(res1
)) {
7220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7222 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7224 if (!SWIG_IsOK(ecode2
)) {
7225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7227 arg2
= static_cast< int >(val2
);
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 (arg1
)->SetShadowWidth(arg2
);
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_Py_Void();
7241 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7242 PyObject
*resultobj
= 0;
7243 wxGauge
*arg1
= (wxGauge
*) 0 ;
7247 PyObject
*swig_obj
[1] ;
7249 if (!args
) SWIG_fail
;
7251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7252 if (!SWIG_IsOK(res1
)) {
7253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7255 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7258 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7259 wxPyEndAllowThreads(__tstate
);
7260 if (PyErr_Occurred()) SWIG_fail
;
7262 resultobj
= SWIG_From_int(static_cast< int >(result
));
7269 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
= 0;
7271 wxGauge
*arg1
= (wxGauge
*) 0 ;
7277 PyObject
* obj0
= 0 ;
7278 PyObject
* obj1
= 0 ;
7279 char * kwnames
[] = {
7280 (char *) "self",(char *) "w", NULL
7283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7285 if (!SWIG_IsOK(res1
)) {
7286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7288 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7290 if (!SWIG_IsOK(ecode2
)) {
7291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7293 arg2
= static_cast< int >(val2
);
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 (arg1
)->SetBezelFace(arg2
);
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= SWIG_Py_Void();
7307 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7308 PyObject
*resultobj
= 0;
7309 wxGauge
*arg1
= (wxGauge
*) 0 ;
7313 PyObject
*swig_obj
[1] ;
7315 if (!args
) SWIG_fail
;
7317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7318 if (!SWIG_IsOK(res1
)) {
7319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7321 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 resultobj
= SWIG_From_int(static_cast< int >(result
));
7335 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
= 0;
7337 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7338 SwigValueWrapper
<wxVisualAttributes
> result
;
7341 PyObject
* obj0
= 0 ;
7342 char * kwnames
[] = {
7343 (char *) "variant", NULL
7346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7348 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7349 if (!SWIG_IsOK(ecode1
)) {
7350 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7352 arg1
= static_cast< wxWindowVariant
>(val1
);
7355 if (!wxPyCheckForApp()) SWIG_fail
;
7356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7357 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7358 wxPyEndAllowThreads(__tstate
);
7359 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7368 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7370 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7371 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7372 return SWIG_Py_Void();
7375 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7376 return SWIG_Python_InitShadowInstance(args
);
7379 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7380 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7385 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7386 PyObject
*pyobj
= 0;
7390 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7392 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7399 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7400 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7405 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7406 PyObject
*pyobj
= 0;
7410 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7412 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7419 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7420 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7425 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7426 PyObject
*pyobj
= 0;
7430 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7432 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7439 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
= 0;
7441 wxWindow
*arg1
= (wxWindow
*) 0 ;
7442 int arg2
= (int) -1 ;
7443 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7444 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7445 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7446 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7447 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7448 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7449 long arg6
= (long) 0 ;
7450 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7451 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7452 wxStaticBox
*result
= 0 ;
7457 bool temp3
= false ;
7462 bool temp7
= false ;
7463 PyObject
* obj0
= 0 ;
7464 PyObject
* obj1
= 0 ;
7465 PyObject
* obj2
= 0 ;
7466 PyObject
* obj3
= 0 ;
7467 PyObject
* obj4
= 0 ;
7468 PyObject
* obj5
= 0 ;
7469 PyObject
* obj6
= 0 ;
7470 char * kwnames
[] = {
7471 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7476 if (!SWIG_IsOK(res1
)) {
7477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7479 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7481 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7482 if (!SWIG_IsOK(ecode2
)) {
7483 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7485 arg2
= static_cast< int >(val2
);
7489 arg3
= wxString_in_helper(obj2
);
7490 if (arg3
== NULL
) SWIG_fail
;
7497 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7503 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7507 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7508 if (!SWIG_IsOK(ecode6
)) {
7509 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7511 arg6
= static_cast< long >(val6
);
7515 arg7
= wxString_in_helper(obj6
);
7516 if (arg7
== NULL
) SWIG_fail
;
7521 if (!wxPyCheckForApp()) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7550 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7551 PyObject
*resultobj
= 0;
7552 wxStaticBox
*result
= 0 ;
7554 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7556 if (!wxPyCheckForApp()) SWIG_fail
;
7557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7558 result
= (wxStaticBox
*)new wxStaticBox();
7559 wxPyEndAllowThreads(__tstate
);
7560 if (PyErr_Occurred()) SWIG_fail
;
7562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7569 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7570 PyObject
*resultobj
= 0;
7571 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7572 wxWindow
*arg2
= (wxWindow
*) 0 ;
7573 int arg3
= (int) -1 ;
7574 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7575 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7576 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7577 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7578 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7579 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7580 long arg7
= (long) 0 ;
7581 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7582 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7590 bool temp4
= false ;
7595 bool temp8
= false ;
7596 PyObject
* obj0
= 0 ;
7597 PyObject
* obj1
= 0 ;
7598 PyObject
* obj2
= 0 ;
7599 PyObject
* obj3
= 0 ;
7600 PyObject
* obj4
= 0 ;
7601 PyObject
* obj5
= 0 ;
7602 PyObject
* obj6
= 0 ;
7603 PyObject
* obj7
= 0 ;
7604 char * kwnames
[] = {
7605 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7610 if (!SWIG_IsOK(res1
)) {
7611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7613 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7614 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7615 if (!SWIG_IsOK(res2
)) {
7616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7618 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7621 if (!SWIG_IsOK(ecode3
)) {
7622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7624 arg3
= static_cast< int >(val3
);
7628 arg4
= wxString_in_helper(obj3
);
7629 if (arg4
== NULL
) SWIG_fail
;
7636 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7642 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7646 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7647 if (!SWIG_IsOK(ecode7
)) {
7648 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7650 arg7
= static_cast< long >(val7
);
7654 arg8
= wxString_in_helper(obj7
);
7655 if (arg8
== NULL
) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7662 wxPyEndAllowThreads(__tstate
);
7663 if (PyErr_Occurred()) SWIG_fail
;
7666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7690 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
= 0;
7692 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7693 SwigValueWrapper
<wxVisualAttributes
> result
;
7696 PyObject
* obj0
= 0 ;
7697 char * kwnames
[] = {
7698 (char *) "variant", NULL
7701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7704 if (!SWIG_IsOK(ecode1
)) {
7705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7707 arg1
= static_cast< wxWindowVariant
>(val1
);
7710 if (!wxPyCheckForApp()) SWIG_fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7713 wxPyEndAllowThreads(__tstate
);
7714 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7723 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7726 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7727 return SWIG_Py_Void();
7730 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7731 return SWIG_Python_InitShadowInstance(args
);
7734 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7735 PyObject
*resultobj
= 0;
7736 wxWindow
*arg1
= (wxWindow
*) 0 ;
7737 int arg2
= (int) -1 ;
7738 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7739 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7740 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7741 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7742 long arg5
= (long) wxLI_HORIZONTAL
;
7743 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
7744 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7745 wxStaticLine
*result
= 0 ;
7754 bool temp6
= false ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7757 PyObject
* obj2
= 0 ;
7758 PyObject
* obj3
= 0 ;
7759 PyObject
* obj4
= 0 ;
7760 PyObject
* obj5
= 0 ;
7761 char * kwnames
[] = {
7762 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7767 if (!SWIG_IsOK(res1
)) {
7768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7770 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7773 if (!SWIG_IsOK(ecode2
)) {
7774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7776 arg2
= static_cast< int >(val2
);
7781 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7787 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7791 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7792 if (!SWIG_IsOK(ecode5
)) {
7793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7795 arg5
= static_cast< long >(val5
);
7799 arg6
= wxString_in_helper(obj5
);
7800 if (arg6
== NULL
) SWIG_fail
;
7805 if (!wxPyCheckForApp()) SWIG_fail
;
7806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7808 wxPyEndAllowThreads(__tstate
);
7809 if (PyErr_Occurred()) SWIG_fail
;
7811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7826 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7827 PyObject
*resultobj
= 0;
7828 wxStaticLine
*result
= 0 ;
7830 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7832 if (!wxPyCheckForApp()) SWIG_fail
;
7833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7834 result
= (wxStaticLine
*)new wxStaticLine();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7845 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
= 0;
7847 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7848 wxWindow
*arg2
= (wxWindow
*) 0 ;
7849 int arg3
= (int) -1 ;
7850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7852 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7853 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7854 long arg6
= (long) wxLI_HORIZONTAL
;
7855 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
7856 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7868 bool temp7
= false ;
7869 PyObject
* obj0
= 0 ;
7870 PyObject
* obj1
= 0 ;
7871 PyObject
* obj2
= 0 ;
7872 PyObject
* obj3
= 0 ;
7873 PyObject
* obj4
= 0 ;
7874 PyObject
* obj5
= 0 ;
7875 PyObject
* obj6
= 0 ;
7876 char * kwnames
[] = {
7877 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7882 if (!SWIG_IsOK(res1
)) {
7883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7885 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7886 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7887 if (!SWIG_IsOK(res2
)) {
7888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7890 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7893 if (!SWIG_IsOK(ecode3
)) {
7894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7896 arg3
= static_cast< int >(val3
);
7901 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7907 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7911 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7912 if (!SWIG_IsOK(ecode6
)) {
7913 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7915 arg6
= static_cast< long >(val6
);
7919 arg7
= wxString_in_helper(obj6
);
7920 if (arg7
== NULL
) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7947 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7948 PyObject
*resultobj
= 0;
7949 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7953 PyObject
*swig_obj
[1] ;
7955 if (!args
) SWIG_fail
;
7957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7958 if (!SWIG_IsOK(res1
)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7961 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7965 wxPyEndAllowThreads(__tstate
);
7966 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7977 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7978 PyObject
*resultobj
= 0;
7981 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (int)wxStaticLine::GetDefaultSize();
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_From_int(static_cast< int >(result
));
7995 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
= 0;
7997 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7998 SwigValueWrapper
<wxVisualAttributes
> result
;
8001 PyObject
* obj0
= 0 ;
8002 char * kwnames
[] = {
8003 (char *) "variant", NULL
8006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8008 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8009 if (!SWIG_IsOK(ecode1
)) {
8010 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8012 arg1
= static_cast< wxWindowVariant
>(val1
);
8015 if (!wxPyCheckForApp()) SWIG_fail
;
8016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8017 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8028 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8031 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8032 return SWIG_Py_Void();
8035 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8036 return SWIG_Python_InitShadowInstance(args
);
8039 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
= 0;
8041 wxWindow
*arg1
= (wxWindow
*) 0 ;
8042 int arg2
= (int) -1 ;
8043 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8044 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8045 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8046 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8047 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8048 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8049 long arg6
= (long) 0 ;
8050 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8051 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8052 wxStaticText
*result
= 0 ;
8057 bool temp3
= false ;
8062 bool temp7
= false ;
8063 PyObject
* obj0
= 0 ;
8064 PyObject
* obj1
= 0 ;
8065 PyObject
* obj2
= 0 ;
8066 PyObject
* obj3
= 0 ;
8067 PyObject
* obj4
= 0 ;
8068 PyObject
* obj5
= 0 ;
8069 PyObject
* obj6
= 0 ;
8070 char * kwnames
[] = {
8071 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8076 if (!SWIG_IsOK(res1
)) {
8077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8079 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8082 if (!SWIG_IsOK(ecode2
)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8085 arg2
= static_cast< int >(val2
);
8089 arg3
= wxString_in_helper(obj2
);
8090 if (arg3
== NULL
) SWIG_fail
;
8097 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8103 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8107 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8108 if (!SWIG_IsOK(ecode6
)) {
8109 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8111 arg6
= static_cast< long >(val6
);
8115 arg7
= wxString_in_helper(obj6
);
8116 if (arg7
== NULL
) SWIG_fail
;
8121 if (!wxPyCheckForApp()) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8124 wxPyEndAllowThreads(__tstate
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8150 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8151 PyObject
*resultobj
= 0;
8152 wxStaticText
*result
= 0 ;
8154 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8156 if (!wxPyCheckForApp()) SWIG_fail
;
8157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8158 result
= (wxStaticText
*)new wxStaticText();
8159 wxPyEndAllowThreads(__tstate
);
8160 if (PyErr_Occurred()) SWIG_fail
;
8162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8169 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
= 0;
8171 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8172 wxWindow
*arg2
= (wxWindow
*) 0 ;
8173 int arg3
= (int) -1 ;
8174 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8175 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8176 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8177 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8178 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8179 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8180 long arg7
= (long) 0 ;
8181 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8182 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8190 bool temp4
= false ;
8195 bool temp8
= false ;
8196 PyObject
* obj0
= 0 ;
8197 PyObject
* obj1
= 0 ;
8198 PyObject
* obj2
= 0 ;
8199 PyObject
* obj3
= 0 ;
8200 PyObject
* obj4
= 0 ;
8201 PyObject
* obj5
= 0 ;
8202 PyObject
* obj6
= 0 ;
8203 PyObject
* obj7
= 0 ;
8204 char * kwnames
[] = {
8205 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8210 if (!SWIG_IsOK(res1
)) {
8211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8213 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8215 if (!SWIG_IsOK(res2
)) {
8216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8218 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8221 if (!SWIG_IsOK(ecode3
)) {
8222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8224 arg3
= static_cast< int >(val3
);
8228 arg4
= wxString_in_helper(obj3
);
8229 if (arg4
== NULL
) SWIG_fail
;
8236 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8242 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8246 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8247 if (!SWIG_IsOK(ecode7
)) {
8248 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8250 arg7
= static_cast< long >(val7
);
8254 arg8
= wxString_in_helper(obj7
);
8255 if (arg8
== NULL
) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8290 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8291 PyObject
*resultobj
= 0;
8292 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8298 PyObject
* obj0
= 0 ;
8299 PyObject
* obj1
= 0 ;
8300 char * kwnames
[] = {
8301 (char *) "self",(char *) "width", NULL
8304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8306 if (!SWIG_IsOK(res1
)) {
8307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8309 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8311 if (!SWIG_IsOK(ecode2
)) {
8312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8314 arg2
= static_cast< int >(val2
);
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 wxPyEndAllowThreads(__tstate
);
8319 if (PyErr_Occurred()) SWIG_fail
;
8321 resultobj
= SWIG_Py_Void();
8328 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8329 PyObject
*resultobj
= 0;
8330 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8331 SwigValueWrapper
<wxVisualAttributes
> result
;
8334 PyObject
* obj0
= 0 ;
8335 char * kwnames
[] = {
8336 (char *) "variant", NULL
8339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8341 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8342 if (!SWIG_IsOK(ecode1
)) {
8343 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8345 arg1
= static_cast< wxWindowVariant
>(val1
);
8348 if (!wxPyCheckForApp()) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8351 wxPyEndAllowThreads(__tstate
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8361 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8363 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8364 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8365 return SWIG_Py_Void();
8368 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8369 return SWIG_Python_InitShadowInstance(args
);
8372 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8373 PyObject
*resultobj
= 0;
8374 wxWindow
*arg1
= (wxWindow
*) 0 ;
8375 int arg2
= (int) -1 ;
8376 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8377 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8378 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8379 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8380 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8381 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8382 long arg6
= (long) 0 ;
8383 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8384 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8385 wxStaticBitmap
*result
= 0 ;
8396 bool temp7
= false ;
8397 PyObject
* obj0
= 0 ;
8398 PyObject
* obj1
= 0 ;
8399 PyObject
* obj2
= 0 ;
8400 PyObject
* obj3
= 0 ;
8401 PyObject
* obj4
= 0 ;
8402 PyObject
* obj5
= 0 ;
8403 PyObject
* obj6
= 0 ;
8404 char * kwnames
[] = {
8405 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8410 if (!SWIG_IsOK(res1
)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8413 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8416 if (!SWIG_IsOK(ecode2
)) {
8417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8419 arg2
= static_cast< int >(val2
);
8422 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8423 if (!SWIG_IsOK(res3
)) {
8424 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8429 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8434 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8440 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8444 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8445 if (!SWIG_IsOK(ecode6
)) {
8446 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8448 arg6
= static_cast< long >(val6
);
8452 arg7
= wxString_in_helper(obj6
);
8453 if (arg7
== NULL
) SWIG_fail
;
8458 if (!wxPyCheckForApp()) SWIG_fail
;
8459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8460 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8461 wxPyEndAllowThreads(__tstate
);
8462 if (PyErr_Occurred()) SWIG_fail
;
8464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8479 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8480 PyObject
*resultobj
= 0;
8481 wxStaticBitmap
*result
= 0 ;
8483 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8485 if (!wxPyCheckForApp()) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8488 wxPyEndAllowThreads(__tstate
);
8489 if (PyErr_Occurred()) SWIG_fail
;
8491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8498 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8499 PyObject
*resultobj
= 0;
8500 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8501 wxWindow
*arg2
= (wxWindow
*) 0 ;
8502 int arg3
= (int) -1 ;
8503 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8504 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8505 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8506 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8507 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8508 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8509 long arg7
= (long) 0 ;
8510 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8511 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8525 bool temp8
= false ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8528 PyObject
* obj2
= 0 ;
8529 PyObject
* obj3
= 0 ;
8530 PyObject
* obj4
= 0 ;
8531 PyObject
* obj5
= 0 ;
8532 PyObject
* obj6
= 0 ;
8533 PyObject
* obj7
= 0 ;
8534 char * kwnames
[] = {
8535 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8540 if (!SWIG_IsOK(res1
)) {
8541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8543 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8545 if (!SWIG_IsOK(res2
)) {
8546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8548 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8550 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8551 if (!SWIG_IsOK(ecode3
)) {
8552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8554 arg3
= static_cast< int >(val3
);
8557 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8558 if (!SWIG_IsOK(res4
)) {
8559 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8564 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8569 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8575 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8579 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8580 if (!SWIG_IsOK(ecode7
)) {
8581 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8583 arg7
= static_cast< long >(val7
);
8587 arg8
= wxString_in_helper(obj7
);
8588 if (arg8
== NULL
) SWIG_fail
;
8593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8594 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8615 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8616 PyObject
*resultobj
= 0;
8617 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8621 PyObject
*swig_obj
[1] ;
8623 if (!args
) SWIG_fail
;
8625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8626 if (!SWIG_IsOK(res1
)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8629 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8632 result
= (arg1
)->GetBitmap();
8633 wxPyEndAllowThreads(__tstate
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8636 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8643 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8644 PyObject
*resultobj
= 0;
8645 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8646 wxBitmap
*arg2
= 0 ;
8651 PyObject
* obj0
= 0 ;
8652 PyObject
* obj1
= 0 ;
8653 char * kwnames
[] = {
8654 (char *) "self",(char *) "bitmap", NULL
8657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8659 if (!SWIG_IsOK(res1
)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8662 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8663 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8664 if (!SWIG_IsOK(res2
)) {
8665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8668 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8670 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8673 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8677 resultobj
= SWIG_Py_Void();
8684 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
= 0;
8686 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8692 PyObject
* obj0
= 0 ;
8693 PyObject
* obj1
= 0 ;
8694 char * kwnames
[] = {
8695 (char *) "self",(char *) "icon", NULL
8698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8700 if (!SWIG_IsOK(res1
)) {
8701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8703 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8704 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8705 if (!SWIG_IsOK(res2
)) {
8706 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8711 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8714 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= SWIG_Py_Void();
8725 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
= 0;
8727 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8728 SwigValueWrapper
<wxVisualAttributes
> result
;
8731 PyObject
* obj0
= 0 ;
8732 char * kwnames
[] = {
8733 (char *) "variant", NULL
8736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8738 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8739 if (!SWIG_IsOK(ecode1
)) {
8740 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8742 arg1
= static_cast< wxWindowVariant
>(val1
);
8745 if (!wxPyCheckForApp()) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8758 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8760 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8761 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8762 return SWIG_Py_Void();
8765 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8766 return SWIG_Python_InitShadowInstance(args
);
8769 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8770 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8775 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8776 PyObject
*pyobj
= 0;
8780 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8782 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8789 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
= 0;
8791 wxWindow
*arg1
= (wxWindow
*) 0 ;
8792 int arg2
= (int) -1 ;
8793 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8794 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8795 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8796 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8797 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8798 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8799 long arg6
= (long) 0 ;
8800 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8801 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8802 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8803 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8804 wxListBox
*result
= 0 ;
8811 bool temp5
= false ;
8816 bool temp8
= false ;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8819 PyObject
* obj2
= 0 ;
8820 PyObject
* obj3
= 0 ;
8821 PyObject
* obj4
= 0 ;
8822 PyObject
* obj5
= 0 ;
8823 PyObject
* obj6
= 0 ;
8824 PyObject
* obj7
= 0 ;
8825 char * kwnames
[] = {
8826 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8831 if (!SWIG_IsOK(res1
)) {
8832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8837 if (!SWIG_IsOK(ecode2
)) {
8838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8840 arg2
= static_cast< int >(val2
);
8845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8851 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8856 if (! PySequence_Check(obj4
)) {
8857 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8860 arg5
= new wxArrayString
;
8862 int i
, len
=PySequence_Length(obj4
);
8863 for (i
=0; i
<len
; i
++) {
8864 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8865 wxString
* s
= wxString_in_helper(item
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8874 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8875 if (!SWIG_IsOK(ecode6
)) {
8876 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8878 arg6
= static_cast< long >(val6
);
8881 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8882 if (!SWIG_IsOK(res7
)) {
8883 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8886 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8888 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8892 arg8
= wxString_in_helper(obj7
);
8893 if (arg8
== NULL
) SWIG_fail
;
8898 if (!wxPyCheckForApp()) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8901 wxPyEndAllowThreads(__tstate
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8906 if (temp5
) delete arg5
;
8915 if (temp5
) delete arg5
;
8925 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8926 PyObject
*resultobj
= 0;
8927 wxListBox
*result
= 0 ;
8929 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8931 if (!wxPyCheckForApp()) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 result
= (wxListBox
*)new wxListBox();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8944 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
= 0;
8946 wxListBox
*arg1
= (wxListBox
*) 0 ;
8947 wxWindow
*arg2
= (wxWindow
*) 0 ;
8948 int arg3
= (int) -1 ;
8949 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8950 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8951 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8952 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8953 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8954 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8955 long arg7
= (long) 0 ;
8956 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8957 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8958 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8959 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8969 bool temp6
= false ;
8974 bool temp9
= false ;
8975 PyObject
* obj0
= 0 ;
8976 PyObject
* obj1
= 0 ;
8977 PyObject
* obj2
= 0 ;
8978 PyObject
* obj3
= 0 ;
8979 PyObject
* obj4
= 0 ;
8980 PyObject
* obj5
= 0 ;
8981 PyObject
* obj6
= 0 ;
8982 PyObject
* obj7
= 0 ;
8983 PyObject
* obj8
= 0 ;
8984 char * kwnames
[] = {
8985 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
8989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
8990 if (!SWIG_IsOK(res1
)) {
8991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
8993 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
8994 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8995 if (!SWIG_IsOK(res2
)) {
8996 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8998 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9000 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9001 if (!SWIG_IsOK(ecode3
)) {
9002 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9004 arg3
= static_cast< int >(val3
);
9009 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9015 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9020 if (! PySequence_Check(obj5
)) {
9021 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9024 arg6
= new wxArrayString
;
9026 int i
, len
=PySequence_Length(obj5
);
9027 for (i
=0; i
<len
; i
++) {
9028 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9029 wxString
* s
= wxString_in_helper(item
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9038 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9039 if (!SWIG_IsOK(ecode7
)) {
9040 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9042 arg7
= static_cast< long >(val7
);
9045 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9046 if (!SWIG_IsOK(res8
)) {
9047 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9052 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9056 arg9
= wxString_in_helper(obj8
);
9057 if (arg9
== NULL
) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9071 if (temp6
) delete arg6
;
9080 if (temp6
) delete arg6
;
9090 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
= 0;
9092 wxListBox
*arg1
= (wxListBox
*) 0 ;
9093 wxString
*arg2
= 0 ;
9095 PyObject
*arg4
= (PyObject
*) NULL
;
9098 bool temp2
= false ;
9101 PyObject
* obj0
= 0 ;
9102 PyObject
* obj1
= 0 ;
9103 PyObject
* obj2
= 0 ;
9104 PyObject
* obj3
= 0 ;
9105 char * kwnames
[] = {
9106 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9111 if (!SWIG_IsOK(res1
)) {
9112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9114 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9116 arg2
= wxString_in_helper(obj1
);
9117 if (arg2
== NULL
) SWIG_fail
;
9120 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9121 if (!SWIG_IsOK(ecode3
)) {
9122 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9124 arg3
= static_cast< int >(val3
);
9129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9130 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_Py_Void();
9149 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
= 0;
9151 wxListBox
*arg1
= (wxListBox
*) 0 ;
9152 wxArrayString
*arg2
= 0 ;
9156 bool temp2
= false ;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 PyObject
* obj2
= 0 ;
9162 char * kwnames
[] = {
9163 (char *) "self",(char *) "items",(char *) "pos", NULL
9166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9168 if (!SWIG_IsOK(res1
)) {
9169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9171 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9173 if (! PySequence_Check(obj1
)) {
9174 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9177 arg2
= new wxArrayString
;
9179 int i
, len
=PySequence_Length(obj1
);
9180 for (i
=0; i
<len
; i
++) {
9181 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9182 wxString
* s
= wxString_in_helper(item
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9189 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9190 if (!SWIG_IsOK(ecode3
)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9193 arg3
= static_cast< unsigned int >(val3
);
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= SWIG_Py_Void();
9202 if (temp2
) delete arg2
;
9207 if (temp2
) delete arg2
;
9213 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= 0;
9215 wxListBox
*arg1
= (wxListBox
*) 0 ;
9216 wxArrayString
*arg2
= 0 ;
9219 bool temp2
= false ;
9220 PyObject
* obj0
= 0 ;
9221 PyObject
* obj1
= 0 ;
9222 char * kwnames
[] = {
9223 (char *) "self",(char *) "items", NULL
9226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9228 if (!SWIG_IsOK(res1
)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9231 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9233 if (! PySequence_Check(obj1
)) {
9234 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9237 arg2
= new wxArrayString
;
9239 int i
, len
=PySequence_Length(obj1
);
9240 for (i
=0; i
<len
; i
++) {
9241 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9242 wxString
* s
= wxString_in_helper(item
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9251 (arg1
)->Set((wxArrayString
const &)*arg2
);
9252 wxPyEndAllowThreads(__tstate
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= SWIG_Py_Void();
9257 if (temp2
) delete arg2
;
9262 if (temp2
) delete arg2
;
9268 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
= 0;
9270 wxListBox
*arg1
= (wxListBox
*) 0 ;
9277 PyObject
* obj0
= 0 ;
9278 PyObject
* obj1
= 0 ;
9279 char * kwnames
[] = {
9280 (char *) "self",(char *) "n", NULL
9283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9285 if (!SWIG_IsOK(res1
)) {
9286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9288 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9290 if (!SWIG_IsOK(ecode2
)) {
9291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9293 arg2
= static_cast< int >(val2
);
9295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9296 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9297 wxPyEndAllowThreads(__tstate
);
9298 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9309 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
= 0;
9311 wxListBox
*arg1
= (wxListBox
*) 0 ;
9313 bool arg3
= (bool) true ;
9320 PyObject
* obj0
= 0 ;
9321 PyObject
* obj1
= 0 ;
9322 PyObject
* obj2
= 0 ;
9323 char * kwnames
[] = {
9324 (char *) "self",(char *) "n",(char *) "select", NULL
9327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9329 if (!SWIG_IsOK(res1
)) {
9330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9332 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9334 if (!SWIG_IsOK(ecode2
)) {
9335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9337 arg2
= static_cast< int >(val2
);
9339 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9340 if (!SWIG_IsOK(ecode3
)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9343 arg3
= static_cast< bool >(val3
);
9346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9347 (arg1
)->SetSelection(arg2
,arg3
);
9348 wxPyEndAllowThreads(__tstate
);
9349 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= SWIG_Py_Void();
9358 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9359 PyObject
*resultobj
= 0;
9360 wxListBox
*arg1
= (wxListBox
*) 0 ;
9366 PyObject
* obj0
= 0 ;
9367 PyObject
* obj1
= 0 ;
9368 char * kwnames
[] = {
9369 (char *) "self",(char *) "n", NULL
9372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9374 if (!SWIG_IsOK(res1
)) {
9375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9377 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9379 if (!SWIG_IsOK(ecode2
)) {
9380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9382 arg2
= static_cast< int >(val2
);
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 (arg1
)->Select(arg2
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_Py_Void();
9396 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
= 0;
9398 wxListBox
*arg1
= (wxListBox
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9405 PyObject
* obj1
= 0 ;
9406 char * kwnames
[] = {
9407 (char *) "self",(char *) "n", NULL
9410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9412 if (!SWIG_IsOK(res1
)) {
9413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9415 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9417 if (!SWIG_IsOK(ecode2
)) {
9418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9420 arg2
= static_cast< int >(val2
);
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 (arg1
)->Deselect(arg2
);
9424 wxPyEndAllowThreads(__tstate
);
9425 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= SWIG_Py_Void();
9434 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
= 0;
9436 wxListBox
*arg1
= (wxListBox
*) 0 ;
9437 int arg2
= (int) -1 ;
9442 PyObject
* obj0
= 0 ;
9443 PyObject
* obj1
= 0 ;
9444 char * kwnames
[] = {
9445 (char *) "self",(char *) "itemToLeaveSelected", NULL
9448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9450 if (!SWIG_IsOK(res1
)) {
9451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9453 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9456 if (!SWIG_IsOK(ecode2
)) {
9457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9459 arg2
= static_cast< int >(val2
);
9462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9463 (arg1
)->DeselectAll(arg2
);
9464 wxPyEndAllowThreads(__tstate
);
9465 if (PyErr_Occurred()) SWIG_fail
;
9467 resultobj
= SWIG_Py_Void();
9474 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
= 0;
9476 wxListBox
*arg1
= (wxListBox
*) 0 ;
9477 wxString
*arg2
= 0 ;
9478 bool arg3
= (bool) true ;
9482 bool temp2
= false ;
9485 PyObject
* obj0
= 0 ;
9486 PyObject
* obj1
= 0 ;
9487 PyObject
* obj2
= 0 ;
9488 char * kwnames
[] = {
9489 (char *) "self",(char *) "s",(char *) "select", NULL
9492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9494 if (!SWIG_IsOK(res1
)) {
9495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9497 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9499 arg2
= wxString_in_helper(obj1
);
9500 if (arg2
== NULL
) SWIG_fail
;
9504 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9505 if (!SWIG_IsOK(ecode3
)) {
9506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9508 arg3
= static_cast< bool >(val3
);
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9513 wxPyEndAllowThreads(__tstate
);
9514 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9533 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9534 PyObject
*resultobj
= 0;
9535 wxListBox
*arg1
= (wxListBox
*) 0 ;
9536 PyObject
*result
= 0 ;
9539 PyObject
*swig_obj
[1] ;
9541 if (!args
) SWIG_fail
;
9543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9544 if (!SWIG_IsOK(res1
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9547 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9550 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9561 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
= 0;
9563 wxListBox
*arg1
= (wxListBox
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9571 char * kwnames
[] = {
9572 (char *) "self",(char *) "n", NULL
9575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9577 if (!SWIG_IsOK(res1
)) {
9578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9580 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9582 if (!SWIG_IsOK(ecode2
)) {
9583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9585 arg2
= static_cast< int >(val2
);
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 (arg1
)->SetFirstItem(arg2
);
9589 wxPyEndAllowThreads(__tstate
);
9590 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= SWIG_Py_Void();
9599 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
= 0;
9601 wxListBox
*arg1
= (wxListBox
*) 0 ;
9602 wxString
*arg2
= 0 ;
9605 bool temp2
= false ;
9606 PyObject
* obj0
= 0 ;
9607 PyObject
* obj1
= 0 ;
9608 char * kwnames
[] = {
9609 (char *) "self",(char *) "s", NULL
9612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9614 if (!SWIG_IsOK(res1
)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9617 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9619 arg2
= wxString_in_helper(obj1
);
9620 if (arg2
== NULL
) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9626 wxPyEndAllowThreads(__tstate
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9629 resultobj
= SWIG_Py_Void();
9644 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
= 0;
9646 wxListBox
*arg1
= (wxListBox
*) 0 ;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9654 char * kwnames
[] = {
9655 (char *) "self",(char *) "n", NULL
9658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9660 if (!SWIG_IsOK(res1
)) {
9661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9663 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9665 if (!SWIG_IsOK(ecode2
)) {
9666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9668 arg2
= static_cast< int >(val2
);
9670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9671 (arg1
)->EnsureVisible(arg2
);
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= SWIG_Py_Void();
9682 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
= 0;
9684 wxListBox
*arg1
= (wxListBox
*) 0 ;
9685 wxString
*arg2
= 0 ;
9688 bool temp2
= false ;
9689 PyObject
* obj0
= 0 ;
9690 PyObject
* obj1
= 0 ;
9691 char * kwnames
[] = {
9692 (char *) "self",(char *) "s", NULL
9695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9697 if (!SWIG_IsOK(res1
)) {
9698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9700 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9702 arg2
= wxString_in_helper(obj1
);
9703 if (arg2
== NULL
) SWIG_fail
;
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9708 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= SWIG_Py_Void();
9727 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9728 PyObject
*resultobj
= 0;
9729 wxListBox
*arg1
= (wxListBox
*) 0 ;
9733 PyObject
*swig_obj
[1] ;
9735 if (!args
) SWIG_fail
;
9737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9738 if (!SWIG_IsOK(res1
)) {
9739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9741 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9757 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9758 PyObject
*resultobj
= 0;
9759 wxListBox
*arg1
= (wxListBox
*) 0 ;
9765 PyObject
* obj0
= 0 ;
9766 PyObject
* obj1
= 0 ;
9767 char * kwnames
[] = {
9768 (char *) "self",(char *) "pt", NULL
9771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9773 if (!SWIG_IsOK(res1
)) {
9774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9776 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9779 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9783 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= SWIG_From_int(static_cast< int >(result
));
9794 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
= 0;
9796 wxListBox
*arg1
= (wxListBox
*) 0 ;
9798 wxColour
*arg3
= 0 ;
9804 PyObject
* obj0
= 0 ;
9805 PyObject
* obj1
= 0 ;
9806 PyObject
* obj2
= 0 ;
9807 char * kwnames
[] = {
9808 (char *) "self",(char *) "item",(char *) "c", NULL
9811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9813 if (!SWIG_IsOK(res1
)) {
9814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9816 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9817 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9818 if (!SWIG_IsOK(ecode2
)) {
9819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9821 arg2
= static_cast< int >(val2
);
9824 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9829 wxPyEndAllowThreads(__tstate
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 resultobj
= SWIG_Py_Void();
9839 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
= 0;
9841 wxListBox
*arg1
= (wxListBox
*) 0 ;
9843 wxColour
*arg3
= 0 ;
9849 PyObject
* obj0
= 0 ;
9850 PyObject
* obj1
= 0 ;
9851 PyObject
* obj2
= 0 ;
9852 char * kwnames
[] = {
9853 (char *) "self",(char *) "item",(char *) "c", NULL
9856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9858 if (!SWIG_IsOK(res1
)) {
9859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9861 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9863 if (!SWIG_IsOK(ecode2
)) {
9864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9866 arg2
= static_cast< int >(val2
);
9869 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_Py_Void();
9884 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
= 0;
9886 wxListBox
*arg1
= (wxListBox
*) 0 ;
9895 PyObject
* obj0
= 0 ;
9896 PyObject
* obj1
= 0 ;
9897 PyObject
* obj2
= 0 ;
9898 char * kwnames
[] = {
9899 (char *) "self",(char *) "item",(char *) "f", NULL
9902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9904 if (!SWIG_IsOK(res1
)) {
9905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9907 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9908 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9909 if (!SWIG_IsOK(ecode2
)) {
9910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9912 arg2
= static_cast< int >(val2
);
9913 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9914 if (!SWIG_IsOK(res3
)) {
9915 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9920 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_Py_Void();
9934 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
= 0;
9936 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9937 SwigValueWrapper
<wxVisualAttributes
> result
;
9940 PyObject
* obj0
= 0 ;
9941 char * kwnames
[] = {
9942 (char *) "variant", NULL
9945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9947 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9948 if (!SWIG_IsOK(ecode1
)) {
9949 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9951 arg1
= static_cast< wxWindowVariant
>(val1
);
9954 if (!wxPyCheckForApp()) SWIG_fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9957 wxPyEndAllowThreads(__tstate
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9967 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9970 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9971 return SWIG_Py_Void();
9974 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9975 return SWIG_Python_InitShadowInstance(args
);
9978 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
= 0;
9980 wxWindow
*arg1
= (wxWindow
*) 0 ;
9981 int arg2
= (int) -1 ;
9982 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9983 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9984 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9985 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9986 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
9987 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
9988 long arg6
= (long) 0 ;
9989 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
9990 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
9991 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
9992 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
9993 wxCheckListBox
*result
= 0 ;
10000 bool temp5
= false ;
10005 bool temp8
= false ;
10006 PyObject
* obj0
= 0 ;
10007 PyObject
* obj1
= 0 ;
10008 PyObject
* obj2
= 0 ;
10009 PyObject
* obj3
= 0 ;
10010 PyObject
* obj4
= 0 ;
10011 PyObject
* obj5
= 0 ;
10012 PyObject
* obj6
= 0 ;
10013 PyObject
* obj7
= 0 ;
10014 char * kwnames
[] = {
10015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10020 if (!SWIG_IsOK(res1
)) {
10021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10023 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10026 if (!SWIG_IsOK(ecode2
)) {
10027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10029 arg2
= static_cast< int >(val2
);
10034 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10040 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10045 if (! PySequence_Check(obj4
)) {
10046 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10049 arg5
= new wxArrayString
;
10051 int i
, len
=PySequence_Length(obj4
);
10052 for (i
=0; i
<len
; i
++) {
10053 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10054 wxString
* s
= wxString_in_helper(item
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10063 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10064 if (!SWIG_IsOK(ecode6
)) {
10065 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10067 arg6
= static_cast< long >(val6
);
10070 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10071 if (!SWIG_IsOK(res7
)) {
10072 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10077 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10081 arg8
= wxString_in_helper(obj7
);
10082 if (arg8
== NULL
) SWIG_fail
;
10087 if (!wxPyCheckForApp()) SWIG_fail
;
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10095 if (temp5
) delete arg5
;
10104 if (temp5
) delete arg5
;
10114 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10115 PyObject
*resultobj
= 0;
10116 wxCheckListBox
*result
= 0 ;
10118 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10120 if (!wxPyCheckForApp()) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (wxCheckListBox
*)new wxCheckListBox();
10123 wxPyEndAllowThreads(__tstate
);
10124 if (PyErr_Occurred()) SWIG_fail
;
10126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10133 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
= 0;
10135 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10136 wxWindow
*arg2
= (wxWindow
*) 0 ;
10137 int arg3
= (int) -1 ;
10138 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10139 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10140 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10141 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10142 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10143 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10144 long arg7
= (long) 0 ;
10145 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10146 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10147 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10148 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10158 bool temp6
= false ;
10163 bool temp9
= false ;
10164 PyObject
* obj0
= 0 ;
10165 PyObject
* obj1
= 0 ;
10166 PyObject
* obj2
= 0 ;
10167 PyObject
* obj3
= 0 ;
10168 PyObject
* obj4
= 0 ;
10169 PyObject
* obj5
= 0 ;
10170 PyObject
* obj6
= 0 ;
10171 PyObject
* obj7
= 0 ;
10172 PyObject
* obj8
= 0 ;
10173 char * kwnames
[] = {
10174 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10179 if (!SWIG_IsOK(res1
)) {
10180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10182 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10183 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10184 if (!SWIG_IsOK(res2
)) {
10185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10187 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10190 if (!SWIG_IsOK(ecode3
)) {
10191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10193 arg3
= static_cast< int >(val3
);
10198 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10204 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10209 if (! PySequence_Check(obj5
)) {
10210 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10213 arg6
= new wxArrayString
;
10215 int i
, len
=PySequence_Length(obj5
);
10216 for (i
=0; i
<len
; i
++) {
10217 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10218 wxString
* s
= wxString_in_helper(item
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10227 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10228 if (!SWIG_IsOK(ecode7
)) {
10229 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10231 arg7
= static_cast< long >(val7
);
10234 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10235 if (!SWIG_IsOK(res8
)) {
10236 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10241 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10245 arg9
= wxString_in_helper(obj8
);
10246 if (arg9
== NULL
) SWIG_fail
;
10251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10253 wxPyEndAllowThreads(__tstate
);
10254 if (PyErr_Occurred()) SWIG_fail
;
10257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10260 if (temp6
) delete arg6
;
10269 if (temp6
) delete arg6
;
10279 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10280 PyObject
*resultobj
= 0;
10281 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10282 unsigned int arg2
;
10286 unsigned int val2
;
10288 PyObject
* obj0
= 0 ;
10289 PyObject
* obj1
= 0 ;
10290 char * kwnames
[] = {
10291 (char *) "self",(char *) "index", NULL
10294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10296 if (!SWIG_IsOK(res1
)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10299 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10300 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10301 if (!SWIG_IsOK(ecode2
)) {
10302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10304 arg2
= static_cast< unsigned int >(val2
);
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (bool)(arg1
)->IsChecked(arg2
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10320 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
= 0;
10322 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10323 unsigned int arg2
;
10324 int arg3
= (int) true ;
10327 unsigned int val2
;
10331 PyObject
* obj0
= 0 ;
10332 PyObject
* obj1
= 0 ;
10333 PyObject
* obj2
= 0 ;
10334 char * kwnames
[] = {
10335 (char *) "self",(char *) "index",(char *) "check", NULL
10338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10340 if (!SWIG_IsOK(res1
)) {
10341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10343 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10344 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10345 if (!SWIG_IsOK(ecode2
)) {
10346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10348 arg2
= static_cast< unsigned int >(val2
);
10350 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10351 if (!SWIG_IsOK(ecode3
)) {
10352 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10354 arg3
= static_cast< int >(val3
);
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 (arg1
)->Check(arg2
,arg3
);
10359 wxPyEndAllowThreads(__tstate
);
10360 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= SWIG_Py_Void();
10369 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10370 PyObject
*resultobj
= 0;
10371 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10375 PyObject
*swig_obj
[1] ;
10377 if (!args
) SWIG_fail
;
10378 swig_obj
[0] = args
;
10379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10380 if (!SWIG_IsOK(res1
)) {
10381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10383 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 result
= (int)(arg1
)->GetItemHeight();
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_From_int(static_cast< int >(result
));
10397 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10400 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10401 return SWIG_Py_Void();
10404 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10405 return SWIG_Python_InitShadowInstance(args
);
10408 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10409 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10414 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10415 PyObject
*pyobj
= 0;
10419 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10421 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10428 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
= 0;
10430 wxColour
const &arg1_defvalue
= wxNullColour
;
10431 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10432 wxColour
const &arg2_defvalue
= wxNullColour
;
10433 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10434 wxFont
const &arg3_defvalue
= wxNullFont
;
10435 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10436 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10437 wxTextAttr
*result
= 0 ;
10444 PyObject
* obj0
= 0 ;
10445 PyObject
* obj1
= 0 ;
10446 PyObject
* obj2
= 0 ;
10447 PyObject
* obj3
= 0 ;
10448 char * kwnames
[] = {
10449 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10456 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10462 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10466 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10467 if (!SWIG_IsOK(res3
)) {
10468 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10471 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10473 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10476 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10477 if (!SWIG_IsOK(ecode4
)) {
10478 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10480 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10495 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10496 PyObject
*resultobj
= 0;
10497 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10500 PyObject
*swig_obj
[1] ;
10502 if (!args
) SWIG_fail
;
10503 swig_obj
[0] = args
;
10504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10505 if (!SWIG_IsOK(res1
)) {
10506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10508 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= SWIG_Py_Void();
10523 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10524 PyObject
*resultobj
= 0;
10525 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10528 PyObject
*swig_obj
[1] ;
10530 if (!args
) SWIG_fail
;
10531 swig_obj
[0] = args
;
10532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10533 if (!SWIG_IsOK(res1
)) {
10534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10536 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= SWIG_Py_Void();
10550 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
= 0;
10552 wxTextAttr
*arg1
= 0 ;
10553 wxTextAttr
*arg2
= 0 ;
10559 PyObject
* obj0
= 0 ;
10560 PyObject
* obj1
= 0 ;
10561 char * kwnames
[] = {
10562 (char *) "base",(char *) "overlay", NULL
10565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10566 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10567 if (!SWIG_IsOK(res1
)) {
10568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10571 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10573 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10575 if (!SWIG_IsOK(res2
)) {
10576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10581 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10584 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10585 wxPyEndAllowThreads(__tstate
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10588 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10595 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10596 PyObject
*resultobj
= 0;
10597 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10598 wxColour
*arg2
= 0 ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 char * kwnames
[] = {
10605 (char *) "self",(char *) "colText", NULL
10608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10610 if (!SWIG_IsOK(res1
)) {
10611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10613 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10616 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10620 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10621 wxPyEndAllowThreads(__tstate
);
10622 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= SWIG_Py_Void();
10631 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10632 PyObject
*resultobj
= 0;
10633 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10634 wxColour
*arg2
= 0 ;
10638 PyObject
* obj0
= 0 ;
10639 PyObject
* obj1
= 0 ;
10640 char * kwnames
[] = {
10641 (char *) "self",(char *) "colBack", NULL
10644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10646 if (!SWIG_IsOK(res1
)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10649 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10652 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10656 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10657 wxPyEndAllowThreads(__tstate
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= SWIG_Py_Void();
10667 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10668 PyObject
*resultobj
= 0;
10669 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10671 long arg3
= (long) wxTEXT_ATTR_FONT
;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 PyObject
* obj2
= 0 ;
10681 char * kwnames
[] = {
10682 (char *) "self",(char *) "font",(char *) "flags", NULL
10685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10687 if (!SWIG_IsOK(res1
)) {
10688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10690 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10692 if (!SWIG_IsOK(res2
)) {
10693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10698 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10700 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10701 if (!SWIG_IsOK(ecode3
)) {
10702 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10704 arg3
= static_cast< long >(val3
);
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= SWIG_Py_Void();
10719 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
= 0;
10721 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10722 wxTextAttrAlignment arg2
;
10727 PyObject
* obj0
= 0 ;
10728 PyObject
* obj1
= 0 ;
10729 char * kwnames
[] = {
10730 (char *) "self",(char *) "alignment", NULL
10733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10735 if (!SWIG_IsOK(res1
)) {
10736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10738 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10739 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10740 if (!SWIG_IsOK(ecode2
)) {
10741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10743 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 (arg1
)->SetAlignment(arg2
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 resultobj
= SWIG_Py_Void();
10757 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
= 0;
10759 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10760 wxArrayInt
*arg2
= 0 ;
10763 bool temp2
= false ;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 char * kwnames
[] = {
10767 (char *) "self",(char *) "tabs", NULL
10770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10772 if (!SWIG_IsOK(res1
)) {
10773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10775 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10777 if (! PySequence_Check(obj1
)) {
10778 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10781 arg2
= new wxArrayInt
;
10783 int i
, len
=PySequence_Length(obj1
);
10784 for (i
=0; i
<len
; i
++) {
10785 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10786 PyObject
* number
= PyNumber_Int(item
);
10788 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10791 arg2
->Add(PyInt_AS_LONG(number
));
10797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10798 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10799 wxPyEndAllowThreads(__tstate
);
10800 if (PyErr_Occurred()) SWIG_fail
;
10802 resultobj
= SWIG_Py_Void();
10804 if (temp2
) delete arg2
;
10809 if (temp2
) delete arg2
;
10815 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
= 0;
10817 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10819 int arg3
= (int) 0 ;
10826 PyObject
* obj0
= 0 ;
10827 PyObject
* obj1
= 0 ;
10828 PyObject
* obj2
= 0 ;
10829 char * kwnames
[] = {
10830 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10835 if (!SWIG_IsOK(res1
)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10838 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10840 if (!SWIG_IsOK(ecode2
)) {
10841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10843 arg2
= static_cast< int >(val2
);
10845 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10846 if (!SWIG_IsOK(ecode3
)) {
10847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10849 arg3
= static_cast< int >(val3
);
10852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10853 (arg1
)->SetLeftIndent(arg2
,arg3
);
10854 wxPyEndAllowThreads(__tstate
);
10855 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= SWIG_Py_Void();
10864 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10865 PyObject
*resultobj
= 0;
10866 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 PyObject
* obj1
= 0 ;
10874 char * kwnames
[] = {
10875 (char *) "self",(char *) "indent", NULL
10878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10880 if (!SWIG_IsOK(res1
)) {
10881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10883 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10885 if (!SWIG_IsOK(ecode2
)) {
10886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10888 arg2
= static_cast< int >(val2
);
10890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10891 (arg1
)->SetRightIndent(arg2
);
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 resultobj
= SWIG_Py_Void();
10902 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
= 0;
10904 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10910 PyObject
* obj0
= 0 ;
10911 PyObject
* obj1
= 0 ;
10912 char * kwnames
[] = {
10913 (char *) "self",(char *) "flags", NULL
10916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10918 if (!SWIG_IsOK(res1
)) {
10919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10921 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10922 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10923 if (!SWIG_IsOK(ecode2
)) {
10924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10926 arg2
= static_cast< long >(val2
);
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 (arg1
)->SetFlags(arg2
);
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 resultobj
= SWIG_Py_Void();
10940 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10941 PyObject
*resultobj
= 0;
10942 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10946 PyObject
*swig_obj
[1] ;
10948 if (!args
) SWIG_fail
;
10949 swig_obj
[0] = args
;
10950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10951 if (!SWIG_IsOK(res1
)) {
10952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10954 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10970 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10971 PyObject
*resultobj
= 0;
10972 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10976 PyObject
*swig_obj
[1] ;
10978 if (!args
) SWIG_fail
;
10979 swig_obj
[0] = args
;
10980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10981 if (!SWIG_IsOK(res1
)) {
10982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10984 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11000 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11001 PyObject
*resultobj
= 0;
11002 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11006 PyObject
*swig_obj
[1] ;
11008 if (!args
) SWIG_fail
;
11009 swig_obj
[0] = args
;
11010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11011 if (!SWIG_IsOK(res1
)) {
11012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11014 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11017 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11030 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11031 PyObject
*resultobj
= 0;
11032 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11036 PyObject
*swig_obj
[1] ;
11038 if (!args
) SWIG_fail
;
11039 swig_obj
[0] = args
;
11040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11041 if (!SWIG_IsOK(res1
)) {
11042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11044 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11047 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11048 wxPyEndAllowThreads(__tstate
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11060 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11061 PyObject
*resultobj
= 0;
11062 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11066 PyObject
*swig_obj
[1] ;
11068 if (!args
) SWIG_fail
;
11069 swig_obj
[0] = args
;
11070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11071 if (!SWIG_IsOK(res1
)) {
11072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11074 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11090 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11091 PyObject
*resultobj
= 0;
11092 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11096 PyObject
*swig_obj
[1] ;
11098 if (!args
) SWIG_fail
;
11099 swig_obj
[0] = args
;
11100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11101 if (!SWIG_IsOK(res1
)) {
11102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11104 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11107 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11108 wxPyEndAllowThreads(__tstate
);
11109 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11120 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11121 PyObject
*resultobj
= 0;
11122 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11126 PyObject
*swig_obj
[1] ;
11128 if (!args
) SWIG_fail
;
11129 swig_obj
[0] = args
;
11130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11131 if (!SWIG_IsOK(res1
)) {
11132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11134 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11150 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11151 PyObject
*resultobj
= 0;
11152 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11159 PyObject
* obj0
= 0 ;
11160 PyObject
* obj1
= 0 ;
11161 char * kwnames
[] = {
11162 (char *) "self",(char *) "flag", NULL
11165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11167 if (!SWIG_IsOK(res1
)) {
11168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11170 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11171 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11172 if (!SWIG_IsOK(ecode2
)) {
11173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11175 arg2
= static_cast< long >(val2
);
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11179 wxPyEndAllowThreads(__tstate
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11191 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11192 PyObject
*resultobj
= 0;
11193 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11194 wxColour
*result
= 0 ;
11197 PyObject
*swig_obj
[1] ;
11199 if (!args
) SWIG_fail
;
11200 swig_obj
[0] = args
;
11201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11202 if (!SWIG_IsOK(res1
)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11205 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11210 result
= (wxColour
*) &_result_ref
;
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11222 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11223 PyObject
*resultobj
= 0;
11224 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11225 wxColour
*result
= 0 ;
11228 PyObject
*swig_obj
[1] ;
11230 if (!args
) SWIG_fail
;
11231 swig_obj
[0] = args
;
11232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11233 if (!SWIG_IsOK(res1
)) {
11234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11236 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11241 result
= (wxColour
*) &_result_ref
;
11243 wxPyEndAllowThreads(__tstate
);
11244 if (PyErr_Occurred()) SWIG_fail
;
11246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11253 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11254 PyObject
*resultobj
= 0;
11255 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11256 wxFont
*result
= 0 ;
11259 PyObject
*swig_obj
[1] ;
11261 if (!args
) SWIG_fail
;
11262 swig_obj
[0] = args
;
11263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11264 if (!SWIG_IsOK(res1
)) {
11265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11267 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11271 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11272 result
= (wxFont
*) &_result_ref
;
11274 wxPyEndAllowThreads(__tstate
);
11275 if (PyErr_Occurred()) SWIG_fail
;
11278 wxFont
* resultptr
= new wxFont(*result
);
11279 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11287 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11288 PyObject
*resultobj
= 0;
11289 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11290 wxTextAttrAlignment result
;
11293 PyObject
*swig_obj
[1] ;
11295 if (!args
) SWIG_fail
;
11296 swig_obj
[0] = args
;
11297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11298 if (!SWIG_IsOK(res1
)) {
11299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11301 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_From_int(static_cast< int >(result
));
11315 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11316 PyObject
*resultobj
= 0;
11317 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11318 wxArrayInt
*result
= 0 ;
11321 PyObject
*swig_obj
[1] ;
11323 if (!args
) SWIG_fail
;
11324 swig_obj
[0] = args
;
11325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11326 if (!SWIG_IsOK(res1
)) {
11327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11329 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11334 result
= (wxArrayInt
*) &_result_ref
;
11336 wxPyEndAllowThreads(__tstate
);
11337 if (PyErr_Occurred()) SWIG_fail
;
11340 resultobj
= wxArrayInt2PyList_helper(*result
);
11348 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11349 PyObject
*resultobj
= 0;
11350 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11354 PyObject
*swig_obj
[1] ;
11356 if (!args
) SWIG_fail
;
11357 swig_obj
[0] = args
;
11358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11359 if (!SWIG_IsOK(res1
)) {
11360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11362 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= SWIG_From_long(static_cast< long >(result
));
11376 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11377 PyObject
*resultobj
= 0;
11378 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11382 PyObject
*swig_obj
[1] ;
11384 if (!args
) SWIG_fail
;
11385 swig_obj
[0] = args
;
11386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11387 if (!SWIG_IsOK(res1
)) {
11388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11390 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11394 wxPyEndAllowThreads(__tstate
);
11395 if (PyErr_Occurred()) SWIG_fail
;
11397 resultobj
= SWIG_From_long(static_cast< long >(result
));
11404 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11405 PyObject
*resultobj
= 0;
11406 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11410 PyObject
*swig_obj
[1] ;
11412 if (!args
) SWIG_fail
;
11413 swig_obj
[0] = args
;
11414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11415 if (!SWIG_IsOK(res1
)) {
11416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11418 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11422 wxPyEndAllowThreads(__tstate
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11425 resultobj
= SWIG_From_long(static_cast< long >(result
));
11432 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11433 PyObject
*resultobj
= 0;
11434 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11438 PyObject
*swig_obj
[1] ;
11440 if (!args
) SWIG_fail
;
11441 swig_obj
[0] = args
;
11442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11443 if (!SWIG_IsOK(res1
)) {
11444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11446 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11450 wxPyEndAllowThreads(__tstate
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11453 resultobj
= SWIG_From_long(static_cast< long >(result
));
11460 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11461 PyObject
*resultobj
= 0;
11462 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11466 PyObject
*swig_obj
[1] ;
11468 if (!args
) SWIG_fail
;
11469 swig_obj
[0] = args
;
11470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11471 if (!SWIG_IsOK(res1
)) {
11472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11474 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11477 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11490 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
= 0;
11492 wxTextAttr
*arg1
= 0 ;
11493 wxTextAttr
*arg2
= 0 ;
11494 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11502 PyObject
* obj0
= 0 ;
11503 PyObject
* obj1
= 0 ;
11504 PyObject
* obj2
= 0 ;
11505 char * kwnames
[] = {
11506 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11510 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11511 if (!SWIG_IsOK(res1
)) {
11512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11515 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11517 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11518 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11519 if (!SWIG_IsOK(res2
)) {
11520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11525 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11526 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11527 if (!SWIG_IsOK(res3
)) {
11528 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11530 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11533 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11544 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11546 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11547 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11548 return SWIG_Py_Void();
11551 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11552 return SWIG_Python_InitShadowInstance(args
);
11555 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
= 0;
11557 wxWindow
*arg1
= (wxWindow
*) 0 ;
11558 int arg2
= (int) -1 ;
11559 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11560 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11561 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11562 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11563 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11564 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11565 long arg6
= (long) 0 ;
11566 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11567 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11568 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11569 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11570 wxTextCtrl
*result
= 0 ;
11575 bool temp3
= false ;
11582 bool temp8
= false ;
11583 PyObject
* obj0
= 0 ;
11584 PyObject
* obj1
= 0 ;
11585 PyObject
* obj2
= 0 ;
11586 PyObject
* obj3
= 0 ;
11587 PyObject
* obj4
= 0 ;
11588 PyObject
* obj5
= 0 ;
11589 PyObject
* obj6
= 0 ;
11590 PyObject
* obj7
= 0 ;
11591 char * kwnames
[] = {
11592 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11597 if (!SWIG_IsOK(res1
)) {
11598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11600 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11603 if (!SWIG_IsOK(ecode2
)) {
11604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11606 arg2
= static_cast< int >(val2
);
11610 arg3
= wxString_in_helper(obj2
);
11611 if (arg3
== NULL
) SWIG_fail
;
11618 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11624 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11628 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11629 if (!SWIG_IsOK(ecode6
)) {
11630 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11632 arg6
= static_cast< long >(val6
);
11635 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11636 if (!SWIG_IsOK(res7
)) {
11637 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11640 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11642 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11646 arg8
= wxString_in_helper(obj7
);
11647 if (arg8
== NULL
) SWIG_fail
;
11652 if (!wxPyCheckForApp()) SWIG_fail
;
11653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11654 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11655 wxPyEndAllowThreads(__tstate
);
11656 if (PyErr_Occurred()) SWIG_fail
;
11658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11681 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11682 PyObject
*resultobj
= 0;
11683 wxTextCtrl
*result
= 0 ;
11685 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11687 if (!wxPyCheckForApp()) SWIG_fail
;
11688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11689 result
= (wxTextCtrl
*)new wxTextCtrl();
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11693 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11700 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11701 PyObject
*resultobj
= 0;
11702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11703 wxWindow
*arg2
= (wxWindow
*) 0 ;
11704 int arg3
= (int) -1 ;
11705 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11706 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11707 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11708 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11709 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11710 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11711 long arg7
= (long) 0 ;
11712 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11713 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11714 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11715 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11723 bool temp4
= false ;
11730 bool temp9
= false ;
11731 PyObject
* obj0
= 0 ;
11732 PyObject
* obj1
= 0 ;
11733 PyObject
* obj2
= 0 ;
11734 PyObject
* obj3
= 0 ;
11735 PyObject
* obj4
= 0 ;
11736 PyObject
* obj5
= 0 ;
11737 PyObject
* obj6
= 0 ;
11738 PyObject
* obj7
= 0 ;
11739 PyObject
* obj8
= 0 ;
11740 char * kwnames
[] = {
11741 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11746 if (!SWIG_IsOK(res1
)) {
11747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11749 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11750 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11751 if (!SWIG_IsOK(res2
)) {
11752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11754 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11757 if (!SWIG_IsOK(ecode3
)) {
11758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11760 arg3
= static_cast< int >(val3
);
11764 arg4
= wxString_in_helper(obj3
);
11765 if (arg4
== NULL
) SWIG_fail
;
11772 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11778 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11782 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11783 if (!SWIG_IsOK(ecode7
)) {
11784 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11786 arg7
= static_cast< long >(val7
);
11789 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11790 if (!SWIG_IsOK(res8
)) {
11791 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11794 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11796 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11800 arg9
= wxString_in_helper(obj8
);
11801 if (arg9
== NULL
) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11836 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11837 PyObject
*resultobj
= 0;
11838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11842 PyObject
*swig_obj
[1] ;
11844 if (!args
) SWIG_fail
;
11845 swig_obj
[0] = args
;
11846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11847 if (!SWIG_IsOK(res1
)) {
11848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11850 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11853 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11861 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11870 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11871 PyObject
*resultobj
= 0;
11872 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11873 wxString
*arg2
= 0 ;
11876 bool temp2
= false ;
11877 PyObject
* obj0
= 0 ;
11878 PyObject
* obj1
= 0 ;
11879 char * kwnames
[] = {
11880 (char *) "self",(char *) "value", NULL
11883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11885 if (!SWIG_IsOK(res1
)) {
11886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11888 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11890 arg2
= wxString_in_helper(obj1
);
11891 if (arg2
== NULL
) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 (arg1
)->SetValue((wxString
const &)*arg2
);
11897 wxPyEndAllowThreads(__tstate
);
11898 if (PyErr_Occurred()) SWIG_fail
;
11900 resultobj
= SWIG_Py_Void();
11915 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11916 PyObject
*resultobj
= 0;
11917 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11921 PyObject
*swig_obj
[1] ;
11923 if (!args
) SWIG_fail
;
11924 swig_obj
[0] = args
;
11925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11926 if (!SWIG_IsOK(res1
)) {
11927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11929 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11945 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11946 PyObject
*resultobj
= 0;
11947 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11948 wxString
*arg2
= 0 ;
11951 bool temp2
= false ;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 char * kwnames
[] = {
11955 (char *) "self",(char *) "value", NULL
11958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11960 if (!SWIG_IsOK(res1
)) {
11961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11963 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11965 arg2
= wxString_in_helper(obj1
);
11966 if (arg2
== NULL
) SWIG_fail
;
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= SWIG_Py_Void();
11990 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
= 0;
11992 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 PyObject
* obj2
= 0 ;
12005 char * kwnames
[] = {
12006 (char *) "self",(char *) "from",(char *) "to", NULL
12009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12011 if (!SWIG_IsOK(res1
)) {
12012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12014 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12015 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12016 if (!SWIG_IsOK(ecode2
)) {
12017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12019 arg2
= static_cast< long >(val2
);
12020 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12021 if (!SWIG_IsOK(ecode3
)) {
12022 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12024 arg3
= static_cast< long >(val3
);
12026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12027 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12044 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
= 0;
12046 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12053 PyObject
* obj0
= 0 ;
12054 PyObject
* obj1
= 0 ;
12055 char * kwnames
[] = {
12056 (char *) "self",(char *) "lineNo", NULL
12059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12061 if (!SWIG_IsOK(res1
)) {
12062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12064 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12065 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12066 if (!SWIG_IsOK(ecode2
)) {
12067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12069 arg2
= static_cast< long >(val2
);
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= SWIG_From_int(static_cast< int >(result
));
12083 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
= 0;
12085 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12092 PyObject
* obj0
= 0 ;
12093 PyObject
* obj1
= 0 ;
12094 char * kwnames
[] = {
12095 (char *) "self",(char *) "lineNo", NULL
12098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12100 if (!SWIG_IsOK(res1
)) {
12101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12103 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12104 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12105 if (!SWIG_IsOK(ecode2
)) {
12106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12108 arg2
= static_cast< long >(val2
);
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12128 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12129 PyObject
*resultobj
= 0;
12130 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12134 PyObject
*swig_obj
[1] ;
12136 if (!args
) SWIG_fail
;
12137 swig_obj
[0] = args
;
12138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12139 if (!SWIG_IsOK(res1
)) {
12140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12142 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_From_int(static_cast< int >(result
));
12156 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12157 PyObject
*resultobj
= 0;
12158 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12162 PyObject
*swig_obj
[1] ;
12164 if (!args
) SWIG_fail
;
12165 swig_obj
[0] = args
;
12166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12167 if (!SWIG_IsOK(res1
)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12170 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12186 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12187 PyObject
*resultobj
= 0;
12188 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12192 PyObject
*swig_obj
[1] ;
12194 if (!args
) SWIG_fail
;
12195 swig_obj
[0] = args
;
12196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12197 if (!SWIG_IsOK(res1
)) {
12198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12200 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12204 wxPyEndAllowThreads(__tstate
);
12205 if (PyErr_Occurred()) SWIG_fail
;
12208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12216 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12217 PyObject
*resultobj
= 0;
12218 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12222 PyObject
*swig_obj
[1] ;
12224 if (!args
) SWIG_fail
;
12225 swig_obj
[0] = args
;
12226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12227 if (!SWIG_IsOK(res1
)) {
12228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12230 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12234 wxPyEndAllowThreads(__tstate
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12246 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(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_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12260 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12276 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12277 PyObject
*resultobj
= 0;
12278 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12279 long *arg2
= (long *) 0 ;
12280 long *arg3
= (long *) 0 ;
12284 int res2
= SWIG_TMPOBJ
;
12286 int res3
= SWIG_TMPOBJ
;
12287 PyObject
*swig_obj
[1] ;
12291 if (!args
) SWIG_fail
;
12292 swig_obj
[0] = args
;
12293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12294 if (!SWIG_IsOK(res1
)) {
12295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12297 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= SWIG_Py_Void();
12305 if (SWIG_IsTmpObj(res2
)) {
12306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12308 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12311 if (SWIG_IsTmpObj(res3
)) {
12312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12314 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12323 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12324 PyObject
*resultobj
= 0;
12325 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12329 PyObject
*swig_obj
[1] ;
12331 if (!args
) SWIG_fail
;
12332 swig_obj
[0] = args
;
12333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12334 if (!SWIG_IsOK(res1
)) {
12335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12337 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12357 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12358 PyObject
*resultobj
= 0;
12359 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12362 PyObject
*swig_obj
[1] ;
12364 if (!args
) SWIG_fail
;
12365 swig_obj
[0] = args
;
12366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12367 if (!SWIG_IsOK(res1
)) {
12368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12370 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= SWIG_Py_Void();
12384 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
= 0;
12386 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12389 wxString
*arg4
= 0 ;
12396 bool temp4
= false ;
12397 PyObject
* obj0
= 0 ;
12398 PyObject
* obj1
= 0 ;
12399 PyObject
* obj2
= 0 ;
12400 PyObject
* obj3
= 0 ;
12401 char * kwnames
[] = {
12402 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12407 if (!SWIG_IsOK(res1
)) {
12408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12410 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12411 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12412 if (!SWIG_IsOK(ecode2
)) {
12413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12415 arg2
= static_cast< long >(val2
);
12416 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12417 if (!SWIG_IsOK(ecode3
)) {
12418 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12420 arg3
= static_cast< long >(val3
);
12422 arg4
= wxString_in_helper(obj3
);
12423 if (arg4
== NULL
) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= SWIG_Py_Void();
12447 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12448 PyObject
*resultobj
= 0;
12449 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12458 PyObject
* obj0
= 0 ;
12459 PyObject
* obj1
= 0 ;
12460 PyObject
* obj2
= 0 ;
12461 char * kwnames
[] = {
12462 (char *) "self",(char *) "from",(char *) "to", NULL
12465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12467 if (!SWIG_IsOK(res1
)) {
12468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12470 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12471 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12472 if (!SWIG_IsOK(ecode2
)) {
12473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12475 arg2
= static_cast< long >(val2
);
12476 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12477 if (!SWIG_IsOK(ecode3
)) {
12478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12480 arg3
= static_cast< long >(val3
);
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 (arg1
)->Remove(arg2
,arg3
);
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= SWIG_Py_Void();
12494 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
= 0;
12496 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12497 wxString
*arg2
= 0 ;
12498 int arg3
= (int) wxTEXT_TYPE_ANY
;
12502 bool temp2
= false ;
12505 PyObject
* obj0
= 0 ;
12506 PyObject
* obj1
= 0 ;
12507 PyObject
* obj2
= 0 ;
12508 char * kwnames
[] = {
12509 (char *) "self",(char *) "file",(char *) "fileType", NULL
12512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12514 if (!SWIG_IsOK(res1
)) {
12515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12517 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12519 arg2
= wxString_in_helper(obj1
);
12520 if (arg2
== NULL
) SWIG_fail
;
12524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12525 if (!SWIG_IsOK(ecode3
)) {
12526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12528 arg3
= static_cast< int >(val3
);
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12553 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12554 PyObject
*resultobj
= 0;
12555 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12556 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12557 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12558 int arg3
= (int) wxTEXT_TYPE_ANY
;
12562 bool temp2
= false ;
12565 PyObject
* obj0
= 0 ;
12566 PyObject
* obj1
= 0 ;
12567 PyObject
* obj2
= 0 ;
12568 char * kwnames
[] = {
12569 (char *) "self",(char *) "file",(char *) "fileType", NULL
12572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12574 if (!SWIG_IsOK(res1
)) {
12575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12577 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12580 arg2
= wxString_in_helper(obj1
);
12581 if (arg2
== NULL
) SWIG_fail
;
12586 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12587 if (!SWIG_IsOK(ecode3
)) {
12588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12590 arg3
= static_cast< int >(val3
);
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12595 wxPyEndAllowThreads(__tstate
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12615 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12616 PyObject
*resultobj
= 0;
12617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12620 PyObject
*swig_obj
[1] ;
12622 if (!args
) SWIG_fail
;
12623 swig_obj
[0] = args
;
12624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12625 if (!SWIG_IsOK(res1
)) {
12626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12628 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 (arg1
)->MarkDirty();
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= SWIG_Py_Void();
12642 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12643 PyObject
*resultobj
= 0;
12644 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12647 PyObject
*swig_obj
[1] ;
12649 if (!args
) SWIG_fail
;
12650 swig_obj
[0] = args
;
12651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12652 if (!SWIG_IsOK(res1
)) {
12653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12655 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 (arg1
)->DiscardEdits();
12659 wxPyEndAllowThreads(__tstate
);
12660 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= SWIG_Py_Void();
12669 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
= 0;
12671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12677 PyObject
* obj0
= 0 ;
12678 PyObject
* obj1
= 0 ;
12679 char * kwnames
[] = {
12680 (char *) "self",(char *) "modified", NULL
12683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12685 if (!SWIG_IsOK(res1
)) {
12686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12688 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12689 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12690 if (!SWIG_IsOK(ecode2
)) {
12691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12693 arg2
= static_cast< bool >(val2
);
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 (arg1
)->SetModified(arg2
);
12697 wxPyEndAllowThreads(__tstate
);
12698 if (PyErr_Occurred()) SWIG_fail
;
12700 resultobj
= SWIG_Py_Void();
12707 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12708 PyObject
*resultobj
= 0;
12709 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12710 unsigned long arg2
;
12713 unsigned long val2
;
12715 PyObject
* obj0
= 0 ;
12716 PyObject
* obj1
= 0 ;
12717 char * kwnames
[] = {
12718 (char *) "self",(char *) "len", NULL
12721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12723 if (!SWIG_IsOK(res1
)) {
12724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12726 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12727 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12728 if (!SWIG_IsOK(ecode2
)) {
12729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12731 arg2
= static_cast< unsigned long >(val2
);
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 (arg1
)->SetMaxLength(arg2
);
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= SWIG_Py_Void();
12745 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12746 PyObject
*resultobj
= 0;
12747 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12748 wxString
*arg2
= 0 ;
12751 bool temp2
= false ;
12752 PyObject
* obj0
= 0 ;
12753 PyObject
* obj1
= 0 ;
12754 char * kwnames
[] = {
12755 (char *) "self",(char *) "text", NULL
12758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12760 if (!SWIG_IsOK(res1
)) {
12761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12763 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12765 arg2
= wxString_in_helper(obj1
);
12766 if (arg2
== NULL
) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 (arg1
)->WriteText((wxString
const &)*arg2
);
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 resultobj
= SWIG_Py_Void();
12790 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12791 PyObject
*resultobj
= 0;
12792 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12793 wxString
*arg2
= 0 ;
12796 bool temp2
= false ;
12797 PyObject
* obj0
= 0 ;
12798 PyObject
* obj1
= 0 ;
12799 char * kwnames
[] = {
12800 (char *) "self",(char *) "text", NULL
12803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12805 if (!SWIG_IsOK(res1
)) {
12806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12808 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12810 arg2
= wxString_in_helper(obj1
);
12811 if (arg2
== NULL
) SWIG_fail
;
12815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12816 (arg1
)->AppendText((wxString
const &)*arg2
);
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12820 resultobj
= SWIG_Py_Void();
12835 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12836 PyObject
*resultobj
= 0;
12837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12838 wxKeyEvent
*arg2
= 0 ;
12844 PyObject
* obj0
= 0 ;
12845 PyObject
* obj1
= 0 ;
12846 char * kwnames
[] = {
12847 (char *) "self",(char *) "event", NULL
12850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12852 if (!SWIG_IsOK(res1
)) {
12853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12855 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12856 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12857 if (!SWIG_IsOK(res2
)) {
12858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12861 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12863 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12866 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12879 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
= 0;
12881 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12884 wxTextAttr
*arg4
= 0 ;
12894 PyObject
* obj0
= 0 ;
12895 PyObject
* obj1
= 0 ;
12896 PyObject
* obj2
= 0 ;
12897 PyObject
* obj3
= 0 ;
12898 char * kwnames
[] = {
12899 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12904 if (!SWIG_IsOK(res1
)) {
12905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12907 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12908 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12909 if (!SWIG_IsOK(ecode2
)) {
12910 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12912 arg2
= static_cast< long >(val2
);
12913 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12914 if (!SWIG_IsOK(ecode3
)) {
12915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12917 arg3
= static_cast< long >(val3
);
12918 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12919 if (!SWIG_IsOK(res4
)) {
12920 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12923 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12925 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12941 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
= 0;
12943 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12945 wxTextAttr
*arg3
= 0 ;
12953 PyObject
* obj0
= 0 ;
12954 PyObject
* obj1
= 0 ;
12955 PyObject
* obj2
= 0 ;
12956 char * kwnames
[] = {
12957 (char *) "self",(char *) "position",(char *) "style", NULL
12960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12962 if (!SWIG_IsOK(res1
)) {
12963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12965 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12966 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12967 if (!SWIG_IsOK(ecode2
)) {
12968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12970 arg2
= static_cast< long >(val2
);
12971 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12972 if (!SWIG_IsOK(res3
)) {
12973 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12976 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12978 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12982 wxPyEndAllowThreads(__tstate
);
12983 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12994 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12995 PyObject
*resultobj
= 0;
12996 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12997 wxTextAttr
*arg2
= 0 ;
13003 PyObject
* obj0
= 0 ;
13004 PyObject
* obj1
= 0 ;
13005 char * kwnames
[] = {
13006 (char *) "self",(char *) "style", NULL
13009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13011 if (!SWIG_IsOK(res1
)) {
13012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13014 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13015 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13016 if (!SWIG_IsOK(res2
)) {
13017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13020 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13022 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13038 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13039 PyObject
*resultobj
= 0;
13040 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13041 wxTextAttr
*result
= 0 ;
13044 PyObject
*swig_obj
[1] ;
13046 if (!args
) SWIG_fail
;
13047 swig_obj
[0] = args
;
13048 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13049 if (!SWIG_IsOK(res1
)) {
13050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13052 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13057 result
= (wxTextAttr
*) &_result_ref
;
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13069 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13070 PyObject
*resultobj
= 0;
13071 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 PyObject
* obj2
= 0 ;
13084 char * kwnames
[] = {
13085 (char *) "self",(char *) "x",(char *) "y", NULL
13088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13090 if (!SWIG_IsOK(res1
)) {
13091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13093 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13094 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13095 if (!SWIG_IsOK(ecode2
)) {
13096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13098 arg2
= static_cast< long >(val2
);
13099 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13100 if (!SWIG_IsOK(ecode3
)) {
13101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13103 arg3
= static_cast< long >(val3
);
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13107 wxPyEndAllowThreads(__tstate
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13110 resultobj
= SWIG_From_long(static_cast< long >(result
));
13117 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
= 0;
13119 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13121 long *arg3
= (long *) 0 ;
13122 long *arg4
= (long *) 0 ;
13128 int res3
= SWIG_TMPOBJ
;
13130 int res4
= SWIG_TMPOBJ
;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 char * kwnames
[] = {
13134 (char *) "self",(char *) "pos", NULL
13139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13141 if (!SWIG_IsOK(res1
)) {
13142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13144 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13145 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13146 if (!SWIG_IsOK(ecode2
)) {
13147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13149 arg2
= static_cast< long >(val2
);
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= SWIG_Py_Void();
13157 if (SWIG_IsTmpObj(res3
)) {
13158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13160 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13163 if (SWIG_IsTmpObj(res4
)) {
13164 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13166 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13167 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13175 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
= 0;
13177 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13183 PyObject
* obj0
= 0 ;
13184 PyObject
* obj1
= 0 ;
13185 char * kwnames
[] = {
13186 (char *) "self",(char *) "pos", NULL
13189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13191 if (!SWIG_IsOK(res1
)) {
13192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13194 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13195 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13196 if (!SWIG_IsOK(ecode2
)) {
13197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13199 arg2
= static_cast< long >(val2
);
13201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13202 (arg1
)->ShowPosition(arg2
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= SWIG_Py_Void();
13213 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
= 0;
13215 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13216 wxPoint
*arg2
= 0 ;
13217 long *arg3
= (long *) 0 ;
13218 long *arg4
= (long *) 0 ;
13219 wxTextCtrlHitTestResult result
;
13224 int res3
= SWIG_TMPOBJ
;
13226 int res4
= SWIG_TMPOBJ
;
13227 PyObject
* obj0
= 0 ;
13228 PyObject
* obj1
= 0 ;
13229 char * kwnames
[] = {
13230 (char *) "self",(char *) "pt", NULL
13235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13237 if (!SWIG_IsOK(res1
)) {
13238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13240 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13243 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13247 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= SWIG_From_int(static_cast< int >(result
));
13252 if (SWIG_IsTmpObj(res3
)) {
13253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13255 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13258 if (SWIG_IsTmpObj(res4
)) {
13259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13261 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13270 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13271 PyObject
*resultobj
= 0;
13272 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13273 wxPoint
*arg2
= 0 ;
13274 long *arg3
= (long *) 0 ;
13275 wxTextCtrlHitTestResult result
;
13280 int res3
= SWIG_TMPOBJ
;
13281 PyObject
* obj0
= 0 ;
13282 PyObject
* obj1
= 0 ;
13283 char * kwnames
[] = {
13284 (char *) "self",(char *) "pt", NULL
13288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13290 if (!SWIG_IsOK(res1
)) {
13291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13293 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13296 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= SWIG_From_int(static_cast< int >(result
));
13305 if (SWIG_IsTmpObj(res3
)) {
13306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13308 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13317 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13318 PyObject
*resultobj
= 0;
13319 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13322 PyObject
*swig_obj
[1] ;
13324 if (!args
) SWIG_fail
;
13325 swig_obj
[0] = args
;
13326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13327 if (!SWIG_IsOK(res1
)) {
13328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13330 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= SWIG_Py_Void();
13344 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13345 PyObject
*resultobj
= 0;
13346 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13349 PyObject
*swig_obj
[1] ;
13351 if (!args
) SWIG_fail
;
13352 swig_obj
[0] = args
;
13353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13354 if (!SWIG_IsOK(res1
)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13357 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 wxPyEndAllowThreads(__tstate
);
13362 if (PyErr_Occurred()) SWIG_fail
;
13364 resultobj
= SWIG_Py_Void();
13371 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13372 PyObject
*resultobj
= 0;
13373 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13376 PyObject
*swig_obj
[1] ;
13378 if (!args
) SWIG_fail
;
13379 swig_obj
[0] = args
;
13380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13381 if (!SWIG_IsOK(res1
)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13384 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 wxPyEndAllowThreads(__tstate
);
13389 if (PyErr_Occurred()) SWIG_fail
;
13391 resultobj
= SWIG_Py_Void();
13398 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13399 PyObject
*resultobj
= 0;
13400 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13404 PyObject
*swig_obj
[1] ;
13406 if (!args
) SWIG_fail
;
13407 swig_obj
[0] = args
;
13408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13409 if (!SWIG_IsOK(res1
)) {
13410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13412 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13428 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13429 PyObject
*resultobj
= 0;
13430 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13434 PyObject
*swig_obj
[1] ;
13436 if (!args
) SWIG_fail
;
13437 swig_obj
[0] = args
;
13438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13439 if (!SWIG_IsOK(res1
)) {
13440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13442 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13446 wxPyEndAllowThreads(__tstate
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13458 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13459 PyObject
*resultobj
= 0;
13460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13464 PyObject
*swig_obj
[1] ;
13466 if (!args
) SWIG_fail
;
13467 swig_obj
[0] = args
;
13468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13469 if (!SWIG_IsOK(res1
)) {
13470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13472 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13476 wxPyEndAllowThreads(__tstate
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13488 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13489 PyObject
*resultobj
= 0;
13490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13493 PyObject
*swig_obj
[1] ;
13495 if (!args
) SWIG_fail
;
13496 swig_obj
[0] = args
;
13497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13498 if (!SWIG_IsOK(res1
)) {
13499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13501 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= SWIG_Py_Void();
13515 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13516 PyObject
*resultobj
= 0;
13517 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13520 PyObject
*swig_obj
[1] ;
13522 if (!args
) SWIG_fail
;
13523 swig_obj
[0] = args
;
13524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13525 if (!SWIG_IsOK(res1
)) {
13526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13528 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= SWIG_Py_Void();
13542 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13543 PyObject
*resultobj
= 0;
13544 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13548 PyObject
*swig_obj
[1] ;
13550 if (!args
) SWIG_fail
;
13551 swig_obj
[0] = args
;
13552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13553 if (!SWIG_IsOK(res1
)) {
13554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13556 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13572 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13573 PyObject
*resultobj
= 0;
13574 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13578 PyObject
*swig_obj
[1] ;
13580 if (!args
) SWIG_fail
;
13581 swig_obj
[0] = args
;
13582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13583 if (!SWIG_IsOK(res1
)) {
13584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13586 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13590 wxPyEndAllowThreads(__tstate
);
13591 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13602 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13603 PyObject
*resultobj
= 0;
13604 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13610 PyObject
* obj0
= 0 ;
13611 PyObject
* obj1
= 0 ;
13612 char * kwnames
[] = {
13613 (char *) "self",(char *) "pos", NULL
13616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13618 if (!SWIG_IsOK(res1
)) {
13619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13621 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13622 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13623 if (!SWIG_IsOK(ecode2
)) {
13624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13626 arg2
= static_cast< long >(val2
);
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 (arg1
)->SetInsertionPoint(arg2
);
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_Py_Void();
13640 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13641 PyObject
*resultobj
= 0;
13642 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13645 PyObject
*swig_obj
[1] ;
13647 if (!args
) SWIG_fail
;
13648 swig_obj
[0] = args
;
13649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13650 if (!SWIG_IsOK(res1
)) {
13651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13653 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 (arg1
)->SetInsertionPointEnd();
13657 wxPyEndAllowThreads(__tstate
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 resultobj
= SWIG_Py_Void();
13667 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13668 PyObject
*resultobj
= 0;
13669 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13673 PyObject
*swig_obj
[1] ;
13675 if (!args
) SWIG_fail
;
13676 swig_obj
[0] = args
;
13677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13678 if (!SWIG_IsOK(res1
)) {
13679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13681 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= SWIG_From_long(static_cast< long >(result
));
13695 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13696 PyObject
*resultobj
= 0;
13697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13701 PyObject
*swig_obj
[1] ;
13703 if (!args
) SWIG_fail
;
13704 swig_obj
[0] = args
;
13705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13706 if (!SWIG_IsOK(res1
)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13709 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= SWIG_From_long(static_cast< long >(result
));
13723 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
= 0;
13725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 PyObject
* obj1
= 0 ;
13736 PyObject
* obj2
= 0 ;
13737 char * kwnames
[] = {
13738 (char *) "self",(char *) "from",(char *) "to", NULL
13741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13743 if (!SWIG_IsOK(res1
)) {
13744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13746 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13747 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13748 if (!SWIG_IsOK(ecode2
)) {
13749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13751 arg2
= static_cast< long >(val2
);
13752 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13753 if (!SWIG_IsOK(ecode3
)) {
13754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13756 arg3
= static_cast< long >(val3
);
13758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13759 (arg1
)->SetSelection(arg2
,arg3
);
13760 wxPyEndAllowThreads(__tstate
);
13761 if (PyErr_Occurred()) SWIG_fail
;
13763 resultobj
= SWIG_Py_Void();
13770 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13771 PyObject
*resultobj
= 0;
13772 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13775 PyObject
*swig_obj
[1] ;
13777 if (!args
) SWIG_fail
;
13778 swig_obj
[0] = args
;
13779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13780 if (!SWIG_IsOK(res1
)) {
13781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13783 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 (arg1
)->SelectAll();
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= SWIG_Py_Void();
13797 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
= 0;
13799 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13805 PyObject
* obj0
= 0 ;
13806 PyObject
* obj1
= 0 ;
13807 char * kwnames
[] = {
13808 (char *) "self",(char *) "editable", NULL
13811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13813 if (!SWIG_IsOK(res1
)) {
13814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13816 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13817 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13818 if (!SWIG_IsOK(ecode2
)) {
13819 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13821 arg2
= static_cast< bool >(val2
);
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 (arg1
)->SetEditable(arg2
);
13825 wxPyEndAllowThreads(__tstate
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= SWIG_Py_Void();
13835 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13836 PyObject
*resultobj
= 0;
13837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13843 PyObject
* obj0
= 0 ;
13844 PyObject
* obj1
= 0 ;
13845 char * kwnames
[] = {
13846 (char *) "self",(char *) "check", NULL
13849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13851 if (!SWIG_IsOK(res1
)) {
13852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13854 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13855 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13856 if (!SWIG_IsOK(ecode2
)) {
13857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13859 arg2
= static_cast< bool >(val2
);
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 wxTextCtrl_MacCheckSpelling(arg1
,arg2
);
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= SWIG_Py_Void();
13873 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13874 PyObject
*resultobj
= 0;
13875 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13878 PyObject
*swig_obj
[1] ;
13880 if (!args
) SWIG_fail
;
13881 swig_obj
[0] = args
;
13882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13883 if (!SWIG_IsOK(res1
)) {
13884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13886 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13889 (arg1
)->SendTextUpdatedEvent();
13890 wxPyEndAllowThreads(__tstate
);
13891 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= SWIG_Py_Void();
13900 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
= 0;
13902 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13903 bool arg2
= (bool) true ;
13909 PyObject
* obj0
= 0 ;
13910 PyObject
* obj1
= 0 ;
13911 char * kwnames
[] = {
13912 (char *) "self",(char *) "show", NULL
13915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13917 if (!SWIG_IsOK(res1
)) {
13918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13920 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13922 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13923 if (!SWIG_IsOK(ecode2
)) {
13924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowNativeCaret" "', expected argument " "2"" of type '" "bool""'");
13926 arg2
= static_cast< bool >(val2
);
13929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13930 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
13931 wxPyEndAllowThreads(__tstate
);
13932 if (PyErr_Occurred()) SWIG_fail
;
13935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13943 SWIGINTERN PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13944 PyObject
*resultobj
= 0;
13945 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13949 PyObject
*swig_obj
[1] ;
13951 if (!args
) SWIG_fail
;
13952 swig_obj
[0] = args
;
13953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13954 if (!SWIG_IsOK(res1
)) {
13955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HideNativeCaret" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13957 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (bool)(arg1
)->HideNativeCaret();
13961 wxPyEndAllowThreads(__tstate
);
13962 if (PyErr_Occurred()) SWIG_fail
;
13965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13973 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13974 PyObject
*resultobj
= 0;
13975 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13976 wxString
*arg2
= 0 ;
13979 bool temp2
= false ;
13980 PyObject
* obj0
= 0 ;
13981 PyObject
* obj1
= 0 ;
13982 char * kwnames
[] = {
13983 (char *) "self",(char *) "text", NULL
13986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13988 if (!SWIG_IsOK(res1
)) {
13989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13991 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13993 arg2
= wxString_in_helper(obj1
);
13994 if (arg2
== NULL
) SWIG_fail
;
13998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13999 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
14000 wxPyEndAllowThreads(__tstate
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14003 resultobj
= SWIG_Py_Void();
14018 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14019 PyObject
*resultobj
= 0;
14020 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14030 PyObject
* obj0
= 0 ;
14031 PyObject
* obj1
= 0 ;
14032 PyObject
* obj2
= 0 ;
14033 char * kwnames
[] = {
14034 (char *) "self",(char *) "from",(char *) "to", NULL
14037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14039 if (!SWIG_IsOK(res1
)) {
14040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14042 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14043 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14044 if (!SWIG_IsOK(ecode2
)) {
14045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14047 arg2
= static_cast< long >(val2
);
14048 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14049 if (!SWIG_IsOK(ecode3
)) {
14050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14052 arg3
= static_cast< long >(val3
);
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14072 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
= 0;
14074 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14075 SwigValueWrapper
<wxVisualAttributes
> result
;
14078 PyObject
* obj0
= 0 ;
14079 char * kwnames
[] = {
14080 (char *) "variant", NULL
14083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14085 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14086 if (!SWIG_IsOK(ecode1
)) {
14087 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14089 arg1
= static_cast< wxWindowVariant
>(val1
);
14092 if (!wxPyCheckForApp()) SWIG_fail
;
14093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14094 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14095 wxPyEndAllowThreads(__tstate
);
14096 if (PyErr_Occurred()) SWIG_fail
;
14098 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14105 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14108 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14109 return SWIG_Py_Void();
14112 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14113 return SWIG_Python_InitShadowInstance(args
);
14116 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
= 0;
14119 wxMouseEvent
*arg2
= 0 ;
14122 wxTextUrlEvent
*result
= 0 ;
14131 PyObject
* obj0
= 0 ;
14132 PyObject
* obj1
= 0 ;
14133 PyObject
* obj2
= 0 ;
14134 PyObject
* obj3
= 0 ;
14135 char * kwnames
[] = {
14136 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14140 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14141 if (!SWIG_IsOK(ecode1
)) {
14142 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14144 arg1
= static_cast< int >(val1
);
14145 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14146 if (!SWIG_IsOK(res2
)) {
14147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14150 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14152 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14153 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14154 if (!SWIG_IsOK(ecode3
)) {
14155 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14157 arg3
= static_cast< long >(val3
);
14158 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14159 if (!SWIG_IsOK(ecode4
)) {
14160 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14162 arg4
= static_cast< long >(val4
);
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14166 wxPyEndAllowThreads(__tstate
);
14167 if (PyErr_Occurred()) SWIG_fail
;
14169 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14176 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14177 PyObject
*resultobj
= 0;
14178 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14179 wxMouseEvent
*result
= 0 ;
14182 PyObject
*swig_obj
[1] ;
14184 if (!args
) SWIG_fail
;
14185 swig_obj
[0] = args
;
14186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14187 if (!SWIG_IsOK(res1
)) {
14188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14190 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14195 result
= (wxMouseEvent
*) &_result_ref
;
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14207 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14208 PyObject
*resultobj
= 0;
14209 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14213 PyObject
*swig_obj
[1] ;
14215 if (!args
) SWIG_fail
;
14216 swig_obj
[0] = args
;
14217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14218 if (!SWIG_IsOK(res1
)) {
14219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14221 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14228 resultobj
= SWIG_From_long(static_cast< long >(result
));
14235 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14236 PyObject
*resultobj
= 0;
14237 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14241 PyObject
*swig_obj
[1] ;
14243 if (!args
) SWIG_fail
;
14244 swig_obj
[0] = args
;
14245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14246 if (!SWIG_IsOK(res1
)) {
14247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14249 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 resultobj
= SWIG_From_long(static_cast< long >(result
));
14263 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14266 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14267 return SWIG_Py_Void();
14270 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14271 return SWIG_Python_InitShadowInstance(args
);
14274 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14275 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14280 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14281 PyObject
*pyobj
= 0;
14285 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14287 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14294 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14295 PyObject
*resultobj
= 0;
14296 wxWindow
*arg1
= (wxWindow
*) 0 ;
14297 int arg2
= (int) -1 ;
14298 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14299 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14300 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14301 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14302 long arg5
= (long) wxSB_HORIZONTAL
;
14303 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14304 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14305 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14306 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14307 wxScrollBar
*result
= 0 ;
14318 bool temp7
= false ;
14319 PyObject
* obj0
= 0 ;
14320 PyObject
* obj1
= 0 ;
14321 PyObject
* obj2
= 0 ;
14322 PyObject
* obj3
= 0 ;
14323 PyObject
* obj4
= 0 ;
14324 PyObject
* obj5
= 0 ;
14325 PyObject
* obj6
= 0 ;
14326 char * kwnames
[] = {
14327 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14332 if (!SWIG_IsOK(res1
)) {
14333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14335 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14338 if (!SWIG_IsOK(ecode2
)) {
14339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14341 arg2
= static_cast< int >(val2
);
14346 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14352 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14356 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14357 if (!SWIG_IsOK(ecode5
)) {
14358 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14360 arg5
= static_cast< long >(val5
);
14363 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14364 if (!SWIG_IsOK(res6
)) {
14365 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14368 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14370 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14374 arg7
= wxString_in_helper(obj6
);
14375 if (arg7
== NULL
) SWIG_fail
;
14380 if (!wxPyCheckForApp()) SWIG_fail
;
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14401 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14402 PyObject
*resultobj
= 0;
14403 wxScrollBar
*result
= 0 ;
14405 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14407 if (!wxPyCheckForApp()) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 result
= (wxScrollBar
*)new wxScrollBar();
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14420 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
= 0;
14422 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14423 wxWindow
*arg2
= (wxWindow
*) 0 ;
14424 int arg3
= (int) -1 ;
14425 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14426 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14427 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14428 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14429 long arg6
= (long) wxSB_HORIZONTAL
;
14430 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14431 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14432 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14433 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14447 bool temp8
= false ;
14448 PyObject
* obj0
= 0 ;
14449 PyObject
* obj1
= 0 ;
14450 PyObject
* obj2
= 0 ;
14451 PyObject
* obj3
= 0 ;
14452 PyObject
* obj4
= 0 ;
14453 PyObject
* obj5
= 0 ;
14454 PyObject
* obj6
= 0 ;
14455 PyObject
* obj7
= 0 ;
14456 char * kwnames
[] = {
14457 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14462 if (!SWIG_IsOK(res1
)) {
14463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14465 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14466 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14467 if (!SWIG_IsOK(res2
)) {
14468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14470 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14473 if (!SWIG_IsOK(ecode3
)) {
14474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14476 arg3
= static_cast< int >(val3
);
14481 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14487 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14491 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14492 if (!SWIG_IsOK(ecode6
)) {
14493 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14495 arg6
= static_cast< long >(val6
);
14498 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14499 if (!SWIG_IsOK(res7
)) {
14500 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14505 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14509 arg8
= wxString_in_helper(obj7
);
14510 if (arg8
== NULL
) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14517 wxPyEndAllowThreads(__tstate
);
14518 if (PyErr_Occurred()) SWIG_fail
;
14521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14537 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14538 PyObject
*resultobj
= 0;
14539 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14543 PyObject
*swig_obj
[1] ;
14545 if (!args
) SWIG_fail
;
14546 swig_obj
[0] = args
;
14547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14548 if (!SWIG_IsOK(res1
)) {
14549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14551 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14554 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 resultobj
= SWIG_From_int(static_cast< int >(result
));
14565 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14566 PyObject
*resultobj
= 0;
14567 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14571 PyObject
*swig_obj
[1] ;
14573 if (!args
) SWIG_fail
;
14574 swig_obj
[0] = args
;
14575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14576 if (!SWIG_IsOK(res1
)) {
14577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14579 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= SWIG_From_int(static_cast< int >(result
));
14593 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14594 PyObject
*resultobj
= 0;
14595 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14599 PyObject
*swig_obj
[1] ;
14601 if (!args
) SWIG_fail
;
14602 swig_obj
[0] = args
;
14603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14604 if (!SWIG_IsOK(res1
)) {
14605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14607 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14610 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14614 resultobj
= SWIG_From_int(static_cast< int >(result
));
14621 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14622 PyObject
*resultobj
= 0;
14623 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14627 PyObject
*swig_obj
[1] ;
14629 if (!args
) SWIG_fail
;
14630 swig_obj
[0] = args
;
14631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14632 if (!SWIG_IsOK(res1
)) {
14633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14635 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14642 resultobj
= SWIG_From_int(static_cast< int >(result
));
14649 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14650 PyObject
*resultobj
= 0;
14651 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14655 PyObject
*swig_obj
[1] ;
14657 if (!args
) SWIG_fail
;
14658 swig_obj
[0] = args
;
14659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14660 if (!SWIG_IsOK(res1
)) {
14661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14663 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14679 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
= 0;
14681 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14687 PyObject
* obj0
= 0 ;
14688 PyObject
* obj1
= 0 ;
14689 char * kwnames
[] = {
14690 (char *) "self",(char *) "viewStart", NULL
14693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14695 if (!SWIG_IsOK(res1
)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14698 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14700 if (!SWIG_IsOK(ecode2
)) {
14701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14703 arg2
= static_cast< int >(val2
);
14705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14706 (arg1
)->SetThumbPosition(arg2
);
14707 wxPyEndAllowThreads(__tstate
);
14708 if (PyErr_Occurred()) SWIG_fail
;
14710 resultobj
= SWIG_Py_Void();
14717 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14718 PyObject
*resultobj
= 0;
14719 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14720 SwigValueWrapper
<wxVisualAttributes
> result
;
14723 PyObject
* obj0
= 0 ;
14724 char * kwnames
[] = {
14725 (char *) "variant", NULL
14728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14730 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14731 if (!SWIG_IsOK(ecode1
)) {
14732 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14734 arg1
= static_cast< wxWindowVariant
>(val1
);
14737 if (!wxPyCheckForApp()) SWIG_fail
;
14738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14739 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14750 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14753 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14754 return SWIG_Py_Void();
14757 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14758 return SWIG_Python_InitShadowInstance(args
);
14761 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14762 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14767 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14768 PyObject
*pyobj
= 0;
14772 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14774 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14781 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14782 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14787 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14788 PyObject
*pyobj
= 0;
14792 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14794 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14801 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14802 PyObject
*resultobj
= 0;
14803 wxWindow
*arg1
= (wxWindow
*) 0 ;
14804 int arg2
= (int) -1 ;
14805 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14806 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14807 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14808 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14809 long arg5
= (long) wxSP_HORIZONTAL
;
14810 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14811 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14812 wxSpinButton
*result
= 0 ;
14821 bool temp6
= false ;
14822 PyObject
* obj0
= 0 ;
14823 PyObject
* obj1
= 0 ;
14824 PyObject
* obj2
= 0 ;
14825 PyObject
* obj3
= 0 ;
14826 PyObject
* obj4
= 0 ;
14827 PyObject
* obj5
= 0 ;
14828 char * kwnames
[] = {
14829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14834 if (!SWIG_IsOK(res1
)) {
14835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14840 if (!SWIG_IsOK(ecode2
)) {
14841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14843 arg2
= static_cast< int >(val2
);
14848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14854 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14858 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14859 if (!SWIG_IsOK(ecode5
)) {
14860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14862 arg5
= static_cast< long >(val5
);
14866 arg6
= wxString_in_helper(obj5
);
14867 if (arg6
== NULL
) SWIG_fail
;
14872 if (!wxPyCheckForApp()) SWIG_fail
;
14873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14874 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14893 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14894 PyObject
*resultobj
= 0;
14895 wxSpinButton
*result
= 0 ;
14897 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14899 if (!wxPyCheckForApp()) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= (wxSpinButton
*)new wxSpinButton();
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14912 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
= 0;
14914 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14915 wxWindow
*arg2
= (wxWindow
*) 0 ;
14916 int arg3
= (int) -1 ;
14917 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14918 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14919 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14920 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14921 long arg6
= (long) wxSP_HORIZONTAL
;
14922 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14923 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14935 bool temp7
= false ;
14936 PyObject
* obj0
= 0 ;
14937 PyObject
* obj1
= 0 ;
14938 PyObject
* obj2
= 0 ;
14939 PyObject
* obj3
= 0 ;
14940 PyObject
* obj4
= 0 ;
14941 PyObject
* obj5
= 0 ;
14942 PyObject
* obj6
= 0 ;
14943 char * kwnames
[] = {
14944 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14949 if (!SWIG_IsOK(res1
)) {
14950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14952 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14953 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14954 if (!SWIG_IsOK(res2
)) {
14955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14957 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14959 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14960 if (!SWIG_IsOK(ecode3
)) {
14961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14963 arg3
= static_cast< int >(val3
);
14968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14974 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14978 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14979 if (!SWIG_IsOK(ecode6
)) {
14980 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14982 arg6
= static_cast< long >(val6
);
14986 arg7
= wxString_in_helper(obj6
);
14987 if (arg7
== NULL
) SWIG_fail
;
14992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14993 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14994 wxPyEndAllowThreads(__tstate
);
14995 if (PyErr_Occurred()) SWIG_fail
;
14998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15014 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15015 PyObject
*resultobj
= 0;
15016 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15020 PyObject
*swig_obj
[1] ;
15022 if (!args
) SWIG_fail
;
15023 swig_obj
[0] = args
;
15024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15025 if (!SWIG_IsOK(res1
)) {
15026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15028 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= SWIG_From_int(static_cast< int >(result
));
15042 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15043 PyObject
*resultobj
= 0;
15044 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15048 PyObject
*swig_obj
[1] ;
15050 if (!args
) SWIG_fail
;
15051 swig_obj
[0] = args
;
15052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15053 if (!SWIG_IsOK(res1
)) {
15054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15056 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15059 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15060 wxPyEndAllowThreads(__tstate
);
15061 if (PyErr_Occurred()) SWIG_fail
;
15063 resultobj
= SWIG_From_int(static_cast< int >(result
));
15070 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15071 PyObject
*resultobj
= 0;
15072 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15076 PyObject
*swig_obj
[1] ;
15078 if (!args
) SWIG_fail
;
15079 swig_obj
[0] = args
;
15080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15081 if (!SWIG_IsOK(res1
)) {
15082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15084 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15088 wxPyEndAllowThreads(__tstate
);
15089 if (PyErr_Occurred()) SWIG_fail
;
15091 resultobj
= SWIG_From_int(static_cast< int >(result
));
15098 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15099 PyObject
*resultobj
= 0;
15100 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 PyObject
* obj1
= 0 ;
15108 char * kwnames
[] = {
15109 (char *) "self",(char *) "val", NULL
15112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15114 if (!SWIG_IsOK(res1
)) {
15115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15117 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15118 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15119 if (!SWIG_IsOK(ecode2
)) {
15120 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15122 arg2
= static_cast< int >(val2
);
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 (arg1
)->SetValue(arg2
);
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= SWIG_Py_Void();
15136 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15137 PyObject
*resultobj
= 0;
15138 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15144 PyObject
* obj0
= 0 ;
15145 PyObject
* obj1
= 0 ;
15146 char * kwnames
[] = {
15147 (char *) "self",(char *) "minVal", NULL
15150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15152 if (!SWIG_IsOK(res1
)) {
15153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15155 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15157 if (!SWIG_IsOK(ecode2
)) {
15158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15160 arg2
= static_cast< int >(val2
);
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15163 (arg1
)->SetMin(arg2
);
15164 wxPyEndAllowThreads(__tstate
);
15165 if (PyErr_Occurred()) SWIG_fail
;
15167 resultobj
= SWIG_Py_Void();
15174 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15175 PyObject
*resultobj
= 0;
15176 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 PyObject
* obj1
= 0 ;
15184 char * kwnames
[] = {
15185 (char *) "self",(char *) "maxVal", NULL
15188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15190 if (!SWIG_IsOK(res1
)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15193 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15195 if (!SWIG_IsOK(ecode2
)) {
15196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15198 arg2
= static_cast< int >(val2
);
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 (arg1
)->SetMax(arg2
);
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= SWIG_Py_Void();
15212 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15213 PyObject
*resultobj
= 0;
15214 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15223 PyObject
* obj0
= 0 ;
15224 PyObject
* obj1
= 0 ;
15225 PyObject
* obj2
= 0 ;
15226 char * kwnames
[] = {
15227 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15232 if (!SWIG_IsOK(res1
)) {
15233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15235 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15237 if (!SWIG_IsOK(ecode2
)) {
15238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15240 arg2
= static_cast< int >(val2
);
15241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15242 if (!SWIG_IsOK(ecode3
)) {
15243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15245 arg3
= static_cast< int >(val3
);
15247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15248 (arg1
)->SetRange(arg2
,arg3
);
15249 wxPyEndAllowThreads(__tstate
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= SWIG_Py_Void();
15259 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15260 PyObject
*resultobj
= 0;
15261 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15265 PyObject
*swig_obj
[1] ;
15267 if (!args
) SWIG_fail
;
15268 swig_obj
[0] = args
;
15269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15270 if (!SWIG_IsOK(res1
)) {
15271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15273 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15276 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15277 wxPyEndAllowThreads(__tstate
);
15278 if (PyErr_Occurred()) SWIG_fail
;
15281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15289 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
= 0;
15291 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15292 SwigValueWrapper
<wxVisualAttributes
> result
;
15295 PyObject
* obj0
= 0 ;
15296 char * kwnames
[] = {
15297 (char *) "variant", NULL
15300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15302 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15303 if (!SWIG_IsOK(ecode1
)) {
15304 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15306 arg1
= static_cast< wxWindowVariant
>(val1
);
15309 if (!wxPyCheckForApp()) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15322 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15325 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15326 return SWIG_Py_Void();
15329 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15330 return SWIG_Python_InitShadowInstance(args
);
15333 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
= 0;
15335 wxWindow
*arg1
= (wxWindow
*) 0 ;
15336 int arg2
= (int) -1 ;
15337 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15338 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15339 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15340 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15341 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15342 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15343 long arg6
= (long) wxSP_ARROW_KEYS
;
15344 int arg7
= (int) 0 ;
15345 int arg8
= (int) 100 ;
15346 int arg9
= (int) 0 ;
15347 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15348 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15349 wxSpinCtrl
*result
= 0 ;
15354 bool temp3
= false ;
15365 bool temp10
= false ;
15366 PyObject
* obj0
= 0 ;
15367 PyObject
* obj1
= 0 ;
15368 PyObject
* obj2
= 0 ;
15369 PyObject
* obj3
= 0 ;
15370 PyObject
* obj4
= 0 ;
15371 PyObject
* obj5
= 0 ;
15372 PyObject
* obj6
= 0 ;
15373 PyObject
* obj7
= 0 ;
15374 PyObject
* obj8
= 0 ;
15375 PyObject
* obj9
= 0 ;
15376 char * kwnames
[] = {
15377 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15382 if (!SWIG_IsOK(res1
)) {
15383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15385 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15388 if (!SWIG_IsOK(ecode2
)) {
15389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15391 arg2
= static_cast< int >(val2
);
15395 arg3
= wxString_in_helper(obj2
);
15396 if (arg3
== NULL
) SWIG_fail
;
15403 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15409 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15413 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15414 if (!SWIG_IsOK(ecode6
)) {
15415 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15417 arg6
= static_cast< long >(val6
);
15420 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15421 if (!SWIG_IsOK(ecode7
)) {
15422 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15424 arg7
= static_cast< int >(val7
);
15427 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15428 if (!SWIG_IsOK(ecode8
)) {
15429 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15431 arg8
= static_cast< int >(val8
);
15434 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15435 if (!SWIG_IsOK(ecode9
)) {
15436 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15438 arg9
= static_cast< int >(val9
);
15442 arg10
= wxString_in_helper(obj9
);
15443 if (arg10
== NULL
) SWIG_fail
;
15448 if (!wxPyCheckForApp()) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15451 wxPyEndAllowThreads(__tstate
);
15452 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15477 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15478 PyObject
*resultobj
= 0;
15479 wxSpinCtrl
*result
= 0 ;
15481 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15483 if (!wxPyCheckForApp()) SWIG_fail
;
15484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15485 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15486 wxPyEndAllowThreads(__tstate
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15496 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15497 PyObject
*resultobj
= 0;
15498 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15499 wxWindow
*arg2
= (wxWindow
*) 0 ;
15500 int arg3
= (int) -1 ;
15501 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15502 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15503 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15504 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15505 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15506 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15507 long arg7
= (long) wxSP_ARROW_KEYS
;
15508 int arg8
= (int) 0 ;
15509 int arg9
= (int) 100 ;
15510 int arg10
= (int) 0 ;
15511 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15512 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15520 bool temp4
= false ;
15531 bool temp11
= false ;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 PyObject
* obj2
= 0 ;
15535 PyObject
* obj3
= 0 ;
15536 PyObject
* obj4
= 0 ;
15537 PyObject
* obj5
= 0 ;
15538 PyObject
* obj6
= 0 ;
15539 PyObject
* obj7
= 0 ;
15540 PyObject
* obj8
= 0 ;
15541 PyObject
* obj9
= 0 ;
15542 PyObject
* obj10
= 0 ;
15543 char * kwnames
[] = {
15544 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15549 if (!SWIG_IsOK(res1
)) {
15550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15552 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15553 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15554 if (!SWIG_IsOK(res2
)) {
15555 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15557 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15560 if (!SWIG_IsOK(ecode3
)) {
15561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15563 arg3
= static_cast< int >(val3
);
15567 arg4
= wxString_in_helper(obj3
);
15568 if (arg4
== NULL
) SWIG_fail
;
15575 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15581 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15585 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15586 if (!SWIG_IsOK(ecode7
)) {
15587 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15589 arg7
= static_cast< long >(val7
);
15592 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15593 if (!SWIG_IsOK(ecode8
)) {
15594 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15596 arg8
= static_cast< int >(val8
);
15599 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15600 if (!SWIG_IsOK(ecode9
)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15603 arg9
= static_cast< int >(val9
);
15606 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15607 if (!SWIG_IsOK(ecode10
)) {
15608 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15610 arg10
= static_cast< int >(val10
);
15614 arg11
= wxString_in_helper(obj10
);
15615 if (arg11
== NULL
) SWIG_fail
;
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15650 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15651 PyObject
*resultobj
= 0;
15652 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15656 PyObject
*swig_obj
[1] ;
15658 if (!args
) SWIG_fail
;
15659 swig_obj
[0] = args
;
15660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15661 if (!SWIG_IsOK(res1
)) {
15662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15664 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15668 wxPyEndAllowThreads(__tstate
);
15669 if (PyErr_Occurred()) SWIG_fail
;
15671 resultobj
= SWIG_From_int(static_cast< int >(result
));
15678 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
= 0;
15680 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15686 PyObject
* obj0
= 0 ;
15687 PyObject
* obj1
= 0 ;
15688 char * kwnames
[] = {
15689 (char *) "self",(char *) "value", NULL
15692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15694 if (!SWIG_IsOK(res1
)) {
15695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15697 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15699 if (!SWIG_IsOK(ecode2
)) {
15700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15702 arg2
= static_cast< int >(val2
);
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 (arg1
)->SetValue(arg2
);
15706 wxPyEndAllowThreads(__tstate
);
15707 if (PyErr_Occurred()) SWIG_fail
;
15709 resultobj
= SWIG_Py_Void();
15716 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15717 PyObject
*resultobj
= 0;
15718 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15719 wxString
*arg2
= 0 ;
15722 bool temp2
= false ;
15723 PyObject
* obj0
= 0 ;
15724 PyObject
* obj1
= 0 ;
15725 char * kwnames
[] = {
15726 (char *) "self",(char *) "text", NULL
15729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15731 if (!SWIG_IsOK(res1
)) {
15732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15734 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15736 arg2
= wxString_in_helper(obj1
);
15737 if (arg2
== NULL
) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 (arg1
)->SetValue((wxString
const &)*arg2
);
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15746 resultobj
= SWIG_Py_Void();
15761 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15762 PyObject
*resultobj
= 0;
15763 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15772 PyObject
* obj0
= 0 ;
15773 PyObject
* obj1
= 0 ;
15774 PyObject
* obj2
= 0 ;
15775 char * kwnames
[] = {
15776 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15781 if (!SWIG_IsOK(res1
)) {
15782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15784 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15786 if (!SWIG_IsOK(ecode2
)) {
15787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15789 arg2
= static_cast< int >(val2
);
15790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15791 if (!SWIG_IsOK(ecode3
)) {
15792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15794 arg3
= static_cast< int >(val3
);
15796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15797 (arg1
)->SetRange(arg2
,arg3
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= SWIG_Py_Void();
15808 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15809 PyObject
*resultobj
= 0;
15810 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15814 PyObject
*swig_obj
[1] ;
15816 if (!args
) SWIG_fail
;
15817 swig_obj
[0] = args
;
15818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15819 if (!SWIG_IsOK(res1
)) {
15820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15822 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= SWIG_From_int(static_cast< int >(result
));
15836 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15837 PyObject
*resultobj
= 0;
15838 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15842 PyObject
*swig_obj
[1] ;
15844 if (!args
) SWIG_fail
;
15845 swig_obj
[0] = args
;
15846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15847 if (!SWIG_IsOK(res1
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15850 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= SWIG_From_int(static_cast< int >(result
));
15864 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15865 PyObject
*resultobj
= 0;
15866 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15875 PyObject
* obj0
= 0 ;
15876 PyObject
* obj1
= 0 ;
15877 PyObject
* obj2
= 0 ;
15878 char * kwnames
[] = {
15879 (char *) "self",(char *) "from",(char *) "to", NULL
15882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15884 if (!SWIG_IsOK(res1
)) {
15885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15887 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15888 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15889 if (!SWIG_IsOK(ecode2
)) {
15890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15892 arg2
= static_cast< long >(val2
);
15893 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15894 if (!SWIG_IsOK(ecode3
)) {
15895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15897 arg3
= static_cast< long >(val3
);
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15900 (arg1
)->SetSelection(arg2
,arg3
);
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 resultobj
= SWIG_Py_Void();
15911 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
= 0;
15913 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15914 SwigValueWrapper
<wxVisualAttributes
> result
;
15917 PyObject
* obj0
= 0 ;
15918 char * kwnames
[] = {
15919 (char *) "variant", NULL
15922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15925 if (!SWIG_IsOK(ecode1
)) {
15926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15928 arg1
= static_cast< wxWindowVariant
>(val1
);
15931 if (!wxPyCheckForApp()) SWIG_fail
;
15932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15933 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15944 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15946 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15947 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15948 return SWIG_Py_Void();
15951 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15952 return SWIG_Python_InitShadowInstance(args
);
15955 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15956 PyObject
*resultobj
= 0;
15957 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15958 int arg2
= (int) 0 ;
15959 wxSpinEvent
*result
= 0 ;
15964 PyObject
* obj0
= 0 ;
15965 PyObject
* obj1
= 0 ;
15966 char * kwnames
[] = {
15967 (char *) "commandType",(char *) "winid", NULL
15970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15972 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15973 if (!SWIG_IsOK(ecode1
)) {
15974 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15976 arg1
= static_cast< wxEventType
>(val1
);
15979 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15980 if (!SWIG_IsOK(ecode2
)) {
15981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15983 arg2
= static_cast< int >(val2
);
15986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15987 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15998 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15999 PyObject
*resultobj
= 0;
16000 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16004 PyObject
*swig_obj
[1] ;
16006 if (!args
) SWIG_fail
;
16007 swig_obj
[0] = args
;
16008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16009 if (!SWIG_IsOK(res1
)) {
16010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16012 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16016 wxPyEndAllowThreads(__tstate
);
16017 if (PyErr_Occurred()) SWIG_fail
;
16019 resultobj
= SWIG_From_int(static_cast< int >(result
));
16026 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16027 PyObject
*resultobj
= 0;
16028 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16034 PyObject
* obj0
= 0 ;
16035 PyObject
* obj1
= 0 ;
16036 char * kwnames
[] = {
16037 (char *) "self",(char *) "pos", NULL
16040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16042 if (!SWIG_IsOK(res1
)) {
16043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16045 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16047 if (!SWIG_IsOK(ecode2
)) {
16048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16050 arg2
= static_cast< int >(val2
);
16052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16053 (arg1
)->SetPosition(arg2
);
16054 wxPyEndAllowThreads(__tstate
);
16055 if (PyErr_Occurred()) SWIG_fail
;
16057 resultobj
= SWIG_Py_Void();
16064 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16066 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16067 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16068 return SWIG_Py_Void();
16071 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16072 return SWIG_Python_InitShadowInstance(args
);
16075 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16076 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16081 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16082 PyObject
*pyobj
= 0;
16086 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16088 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16095 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16096 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16101 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16102 PyObject
*pyobj
= 0;
16106 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16108 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16115 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
= 0;
16117 wxWindow
*arg1
= (wxWindow
*) 0 ;
16118 int arg2
= (int) -1 ;
16119 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16120 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16121 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16122 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16123 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16124 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16125 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16126 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16127 int arg7
= (int) 0 ;
16128 long arg8
= (long) wxRA_HORIZONTAL
;
16129 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16130 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16131 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16132 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16133 wxRadioBox
*result
= 0 ;
16138 bool temp3
= false ;
16141 bool temp6
= false ;
16148 bool temp10
= false ;
16149 PyObject
* obj0
= 0 ;
16150 PyObject
* obj1
= 0 ;
16151 PyObject
* obj2
= 0 ;
16152 PyObject
* obj3
= 0 ;
16153 PyObject
* obj4
= 0 ;
16154 PyObject
* obj5
= 0 ;
16155 PyObject
* obj6
= 0 ;
16156 PyObject
* obj7
= 0 ;
16157 PyObject
* obj8
= 0 ;
16158 PyObject
* obj9
= 0 ;
16159 char * kwnames
[] = {
16160 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16165 if (!SWIG_IsOK(res1
)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16168 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16171 if (!SWIG_IsOK(ecode2
)) {
16172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16174 arg2
= static_cast< int >(val2
);
16178 arg3
= wxString_in_helper(obj2
);
16179 if (arg3
== NULL
) SWIG_fail
;
16186 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16192 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16197 if (! PySequence_Check(obj5
)) {
16198 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16201 arg6
= new wxArrayString
;
16203 int i
, len
=PySequence_Length(obj5
);
16204 for (i
=0; i
<len
; i
++) {
16205 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16206 wxString
* s
= wxString_in_helper(item
);
16207 if (PyErr_Occurred()) SWIG_fail
;
16215 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16216 if (!SWIG_IsOK(ecode7
)) {
16217 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16219 arg7
= static_cast< int >(val7
);
16222 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16223 if (!SWIG_IsOK(ecode8
)) {
16224 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16226 arg8
= static_cast< long >(val8
);
16229 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16230 if (!SWIG_IsOK(res9
)) {
16231 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16236 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16240 arg10
= wxString_in_helper(obj9
);
16241 if (arg10
== NULL
) SWIG_fail
;
16246 if (!wxPyCheckForApp()) SWIG_fail
;
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 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
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16258 if (temp6
) delete arg6
;
16271 if (temp6
) delete arg6
;
16281 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16282 PyObject
*resultobj
= 0;
16283 wxRadioBox
*result
= 0 ;
16285 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16287 if (!wxPyCheckForApp()) SWIG_fail
;
16288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16289 result
= (wxRadioBox
*)new wxRadioBox();
16290 wxPyEndAllowThreads(__tstate
);
16291 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16300 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16301 PyObject
*resultobj
= 0;
16302 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16303 wxWindow
*arg2
= (wxWindow
*) 0 ;
16304 int arg3
= (int) -1 ;
16305 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16306 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16307 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16308 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16309 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16310 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16311 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16312 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16313 int arg8
= (int) 0 ;
16314 long arg9
= (long) wxRA_HORIZONTAL
;
16315 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16316 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16317 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16318 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16326 bool temp4
= false ;
16329 bool temp7
= false ;
16336 bool temp11
= false ;
16337 PyObject
* obj0
= 0 ;
16338 PyObject
* obj1
= 0 ;
16339 PyObject
* obj2
= 0 ;
16340 PyObject
* obj3
= 0 ;
16341 PyObject
* obj4
= 0 ;
16342 PyObject
* obj5
= 0 ;
16343 PyObject
* obj6
= 0 ;
16344 PyObject
* obj7
= 0 ;
16345 PyObject
* obj8
= 0 ;
16346 PyObject
* obj9
= 0 ;
16347 PyObject
* obj10
= 0 ;
16348 char * kwnames
[] = {
16349 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16354 if (!SWIG_IsOK(res1
)) {
16355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16357 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16358 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16359 if (!SWIG_IsOK(res2
)) {
16360 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16362 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16364 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16365 if (!SWIG_IsOK(ecode3
)) {
16366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16368 arg3
= static_cast< int >(val3
);
16372 arg4
= wxString_in_helper(obj3
);
16373 if (arg4
== NULL
) SWIG_fail
;
16380 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16386 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16391 if (! PySequence_Check(obj6
)) {
16392 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16395 arg7
= new wxArrayString
;
16397 int i
, len
=PySequence_Length(obj6
);
16398 for (i
=0; i
<len
; i
++) {
16399 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16400 wxString
* s
= wxString_in_helper(item
);
16401 if (PyErr_Occurred()) SWIG_fail
;
16409 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16410 if (!SWIG_IsOK(ecode8
)) {
16411 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16413 arg8
= static_cast< int >(val8
);
16416 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16417 if (!SWIG_IsOK(ecode9
)) {
16418 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16420 arg9
= static_cast< long >(val9
);
16423 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16424 if (!SWIG_IsOK(res10
)) {
16425 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16430 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16434 arg11
= wxString_in_helper(obj10
);
16435 if (arg11
== NULL
) SWIG_fail
;
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 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
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16453 if (temp7
) delete arg7
;
16466 if (temp7
) delete arg7
;
16476 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
= 0;
16478 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16484 PyObject
* obj0
= 0 ;
16485 PyObject
* obj1
= 0 ;
16486 char * kwnames
[] = {
16487 (char *) "self",(char *) "n", NULL
16490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16492 if (!SWIG_IsOK(res1
)) {
16493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16495 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16496 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16497 if (!SWIG_IsOK(ecode2
)) {
16498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16500 arg2
= static_cast< int >(val2
);
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 (arg1
)->SetSelection(arg2
);
16504 wxPyEndAllowThreads(__tstate
);
16505 if (PyErr_Occurred()) SWIG_fail
;
16507 resultobj
= SWIG_Py_Void();
16514 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16515 PyObject
*resultobj
= 0;
16516 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16520 PyObject
*swig_obj
[1] ;
16522 if (!args
) SWIG_fail
;
16523 swig_obj
[0] = args
;
16524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16525 if (!SWIG_IsOK(res1
)) {
16526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16528 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16531 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16535 resultobj
= SWIG_From_int(static_cast< int >(result
));
16542 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16543 PyObject
*resultobj
= 0;
16544 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16548 PyObject
*swig_obj
[1] ;
16550 if (!args
) SWIG_fail
;
16551 swig_obj
[0] = args
;
16552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16553 if (!SWIG_IsOK(res1
)) {
16554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16556 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16560 wxPyEndAllowThreads(__tstate
);
16561 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16576 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
= 0;
16578 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16579 wxString
*arg2
= 0 ;
16583 bool temp2
= false ;
16584 PyObject
* obj0
= 0 ;
16585 PyObject
* obj1
= 0 ;
16586 char * kwnames
[] = {
16587 (char *) "self",(char *) "s", NULL
16590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16592 if (!SWIG_IsOK(res1
)) {
16593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16595 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16597 arg2
= wxString_in_helper(obj1
);
16598 if (arg2
== NULL
) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16624 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16625 PyObject
*resultobj
= 0;
16626 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16630 PyObject
*swig_obj
[1] ;
16632 if (!args
) SWIG_fail
;
16633 swig_obj
[0] = args
;
16634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16635 if (!SWIG_IsOK(res1
)) {
16636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16638 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16652 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
= 0;
16654 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16655 wxString
*arg2
= 0 ;
16659 bool temp2
= false ;
16660 PyObject
* obj0
= 0 ;
16661 PyObject
* obj1
= 0 ;
16662 char * kwnames
[] = {
16663 (char *) "self",(char *) "s", NULL
16666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16668 if (!SWIG_IsOK(res1
)) {
16669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16671 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16673 arg2
= wxString_in_helper(obj1
);
16674 if (arg2
== NULL
) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= SWIG_From_int(static_cast< int >(result
));
16698 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16699 PyObject
*resultobj
= 0;
16700 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16707 PyObject
* obj0
= 0 ;
16708 PyObject
* obj1
= 0 ;
16709 char * kwnames
[] = {
16710 (char *) "self",(char *) "n", NULL
16713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16715 if (!SWIG_IsOK(res1
)) {
16716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16718 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16720 if (!SWIG_IsOK(ecode2
)) {
16721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16723 arg2
= static_cast< int >(val2
);
16725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16726 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16743 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
= 0;
16745 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16747 wxString
*arg3
= 0 ;
16752 bool temp3
= false ;
16753 PyObject
* obj0
= 0 ;
16754 PyObject
* obj1
= 0 ;
16755 PyObject
* obj2
= 0 ;
16756 char * kwnames
[] = {
16757 (char *) "self",(char *) "n",(char *) "label", NULL
16760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16762 if (!SWIG_IsOK(res1
)) {
16763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16765 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16767 if (!SWIG_IsOK(ecode2
)) {
16768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16770 arg2
= static_cast< int >(val2
);
16772 arg3
= wxString_in_helper(obj2
);
16773 if (arg3
== NULL
) SWIG_fail
;
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16778 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 resultobj
= SWIG_Py_Void();
16797 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
= 0;
16799 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16800 unsigned int arg2
;
16801 bool arg3
= (bool) true ;
16804 unsigned int val2
;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 PyObject
* obj2
= 0 ;
16811 char * kwnames
[] = {
16812 (char *) "self",(char *) "n",(char *) "enable", NULL
16815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16817 if (!SWIG_IsOK(res1
)) {
16818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16820 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16821 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16822 if (!SWIG_IsOK(ecode2
)) {
16823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16825 arg2
= static_cast< unsigned int >(val2
);
16827 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16828 if (!SWIG_IsOK(ecode3
)) {
16829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16831 arg3
= static_cast< bool >(val3
);
16834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16835 (arg1
)->Enable(arg2
,arg3
);
16836 wxPyEndAllowThreads(__tstate
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16839 resultobj
= SWIG_Py_Void();
16846 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
= 0;
16848 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16849 unsigned int arg2
;
16850 bool arg3
= (bool) true ;
16853 unsigned int val2
;
16857 PyObject
* obj0
= 0 ;
16858 PyObject
* obj1
= 0 ;
16859 PyObject
* obj2
= 0 ;
16860 char * kwnames
[] = {
16861 (char *) "self",(char *) "n",(char *) "show", NULL
16864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16866 if (!SWIG_IsOK(res1
)) {
16867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16869 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16870 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16871 if (!SWIG_IsOK(ecode2
)) {
16872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16874 arg2
= static_cast< unsigned int >(val2
);
16876 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16877 if (!SWIG_IsOK(ecode3
)) {
16878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16880 arg3
= static_cast< bool >(val3
);
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 (arg1
)->Show(arg2
,arg3
);
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 resultobj
= SWIG_Py_Void();
16895 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
= 0;
16897 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16898 unsigned int arg2
;
16902 unsigned int val2
;
16904 PyObject
* obj0
= 0 ;
16905 PyObject
* obj1
= 0 ;
16906 char * kwnames
[] = {
16907 (char *) "self",(char *) "n", NULL
16910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16912 if (!SWIG_IsOK(res1
)) {
16913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16915 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16916 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16917 if (!SWIG_IsOK(ecode2
)) {
16918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16920 arg2
= static_cast< unsigned int >(val2
);
16922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16923 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16924 wxPyEndAllowThreads(__tstate
);
16925 if (PyErr_Occurred()) SWIG_fail
;
16928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16936 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
= 0;
16938 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16939 unsigned int arg2
;
16943 unsigned int val2
;
16945 PyObject
* obj0
= 0 ;
16946 PyObject
* obj1
= 0 ;
16947 char * kwnames
[] = {
16948 (char *) "self",(char *) "n", NULL
16951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16953 if (!SWIG_IsOK(res1
)) {
16954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16956 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16957 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16958 if (!SWIG_IsOK(ecode2
)) {
16959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16961 arg2
= static_cast< unsigned int >(val2
);
16963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16964 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16977 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16978 PyObject
*resultobj
= 0;
16979 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16980 unsigned int result
;
16983 PyObject
*swig_obj
[1] ;
16985 if (!args
) SWIG_fail
;
16986 swig_obj
[0] = args
;
16987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16988 if (!SWIG_IsOK(res1
)) {
16989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16991 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17005 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17006 PyObject
*resultobj
= 0;
17007 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17008 unsigned int result
;
17011 PyObject
*swig_obj
[1] ;
17013 if (!args
) SWIG_fail
;
17014 swig_obj
[0] = args
;
17015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17016 if (!SWIG_IsOK(res1
)) {
17017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17019 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17022 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17026 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17033 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
= 0;
17035 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17048 PyObject
* obj0
= 0 ;
17049 PyObject
* obj1
= 0 ;
17050 PyObject
* obj2
= 0 ;
17051 PyObject
* obj3
= 0 ;
17052 char * kwnames
[] = {
17053 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17058 if (!SWIG_IsOK(res1
)) {
17059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17061 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17063 if (!SWIG_IsOK(ecode2
)) {
17064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17066 arg2
= static_cast< int >(val2
);
17067 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17068 if (!SWIG_IsOK(ecode3
)) {
17069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17071 arg3
= static_cast< wxDirection
>(val3
);
17072 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17073 if (!SWIG_IsOK(ecode4
)) {
17074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17076 arg4
= static_cast< long >(val4
);
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17083 resultobj
= SWIG_From_int(static_cast< int >(result
));
17090 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17091 PyObject
*resultobj
= 0;
17092 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17093 unsigned int arg2
;
17094 wxString
*arg3
= 0 ;
17097 unsigned int val2
;
17099 bool temp3
= false ;
17100 PyObject
* obj0
= 0 ;
17101 PyObject
* obj1
= 0 ;
17102 PyObject
* obj2
= 0 ;
17103 char * kwnames
[] = {
17104 (char *) "self",(char *) "item",(char *) "text", NULL
17107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17109 if (!SWIG_IsOK(res1
)) {
17110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17112 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17113 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17114 if (!SWIG_IsOK(ecode2
)) {
17115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17117 arg2
= static_cast< unsigned int >(val2
);
17119 arg3
= wxString_in_helper(obj2
);
17120 if (arg3
== NULL
) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17129 resultobj
= SWIG_Py_Void();
17144 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
= 0;
17146 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17147 unsigned int arg2
;
17148 wxToolTip
*result
= 0 ;
17151 unsigned int val2
;
17153 PyObject
* obj0
= 0 ;
17154 PyObject
* obj1
= 0 ;
17155 char * kwnames
[] = {
17156 (char *) "self",(char *) "item", NULL
17159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17161 if (!SWIG_IsOK(res1
)) {
17162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17164 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17165 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17166 if (!SWIG_IsOK(ecode2
)) {
17167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17169 arg2
= static_cast< unsigned int >(val2
);
17171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17172 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17173 wxPyEndAllowThreads(__tstate
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17185 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
= 0;
17187 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17188 unsigned int arg2
;
17189 wxString
*arg3
= 0 ;
17192 unsigned int val2
;
17194 bool temp3
= false ;
17195 PyObject
* obj0
= 0 ;
17196 PyObject
* obj1
= 0 ;
17197 PyObject
* obj2
= 0 ;
17198 char * kwnames
[] = {
17199 (char *) "self",(char *) "n",(char *) "helpText", NULL
17202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17204 if (!SWIG_IsOK(res1
)) {
17205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17207 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17208 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17209 if (!SWIG_IsOK(ecode2
)) {
17210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17212 arg2
= static_cast< unsigned int >(val2
);
17214 arg3
= wxString_in_helper(obj2
);
17215 if (arg3
== NULL
) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17221 wxPyEndAllowThreads(__tstate
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17224 resultobj
= SWIG_Py_Void();
17239 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17240 PyObject
*resultobj
= 0;
17241 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17242 unsigned int arg2
;
17246 unsigned int val2
;
17248 PyObject
* obj0
= 0 ;
17249 PyObject
* obj1
= 0 ;
17250 char * kwnames
[] = {
17251 (char *) "self",(char *) "n", NULL
17254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17256 if (!SWIG_IsOK(res1
)) {
17257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17259 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17260 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17261 if (!SWIG_IsOK(ecode2
)) {
17262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17264 arg2
= static_cast< unsigned int >(val2
);
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17275 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17284 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
= 0;
17286 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17287 SwigValueWrapper
<wxVisualAttributes
> result
;
17290 PyObject
* obj0
= 0 ;
17291 char * kwnames
[] = {
17292 (char *) "variant", NULL
17295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17297 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17298 if (!SWIG_IsOK(ecode1
)) {
17299 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17301 arg1
= static_cast< wxWindowVariant
>(val1
);
17304 if (!wxPyCheckForApp()) SWIG_fail
;
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17317 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17319 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17320 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17321 return SWIG_Py_Void();
17324 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17325 return SWIG_Python_InitShadowInstance(args
);
17328 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
= 0;
17330 wxWindow
*arg1
= (wxWindow
*) 0 ;
17331 int arg2
= (int) -1 ;
17332 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17333 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17334 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17335 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17336 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17337 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17338 long arg6
= (long) 0 ;
17339 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17340 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17341 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17342 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17343 wxRadioButton
*result
= 0 ;
17348 bool temp3
= false ;
17355 bool temp8
= false ;
17356 PyObject
* obj0
= 0 ;
17357 PyObject
* obj1
= 0 ;
17358 PyObject
* obj2
= 0 ;
17359 PyObject
* obj3
= 0 ;
17360 PyObject
* obj4
= 0 ;
17361 PyObject
* obj5
= 0 ;
17362 PyObject
* obj6
= 0 ;
17363 PyObject
* obj7
= 0 ;
17364 char * kwnames
[] = {
17365 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17370 if (!SWIG_IsOK(res1
)) {
17371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17373 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17375 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17376 if (!SWIG_IsOK(ecode2
)) {
17377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17379 arg2
= static_cast< int >(val2
);
17383 arg3
= wxString_in_helper(obj2
);
17384 if (arg3
== NULL
) SWIG_fail
;
17391 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17397 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17401 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17402 if (!SWIG_IsOK(ecode6
)) {
17403 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17405 arg6
= static_cast< long >(val6
);
17408 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17409 if (!SWIG_IsOK(res7
)) {
17410 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17415 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17419 arg8
= wxString_in_helper(obj7
);
17420 if (arg8
== NULL
) SWIG_fail
;
17425 if (!wxPyCheckForApp()) SWIG_fail
;
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17454 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17455 PyObject
*resultobj
= 0;
17456 wxRadioButton
*result
= 0 ;
17458 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17460 if (!wxPyCheckForApp()) SWIG_fail
;
17461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17462 result
= (wxRadioButton
*)new wxRadioButton();
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17473 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
= 0;
17475 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17476 wxWindow
*arg2
= (wxWindow
*) 0 ;
17477 int arg3
= (int) -1 ;
17478 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17479 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17480 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17481 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17482 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17483 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17484 long arg7
= (long) 0 ;
17485 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17486 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17487 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17488 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17496 bool temp4
= false ;
17503 bool temp9
= false ;
17504 PyObject
* obj0
= 0 ;
17505 PyObject
* obj1
= 0 ;
17506 PyObject
* obj2
= 0 ;
17507 PyObject
* obj3
= 0 ;
17508 PyObject
* obj4
= 0 ;
17509 PyObject
* obj5
= 0 ;
17510 PyObject
* obj6
= 0 ;
17511 PyObject
* obj7
= 0 ;
17512 PyObject
* obj8
= 0 ;
17513 char * kwnames
[] = {
17514 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17519 if (!SWIG_IsOK(res1
)) {
17520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17522 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17524 if (!SWIG_IsOK(res2
)) {
17525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17527 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17529 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17530 if (!SWIG_IsOK(ecode3
)) {
17531 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17533 arg3
= static_cast< int >(val3
);
17537 arg4
= wxString_in_helper(obj3
);
17538 if (arg4
== NULL
) SWIG_fail
;
17545 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17551 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17555 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17556 if (!SWIG_IsOK(ecode7
)) {
17557 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17559 arg7
= static_cast< long >(val7
);
17562 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17563 if (!SWIG_IsOK(res8
)) {
17564 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17569 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17573 arg9
= wxString_in_helper(obj8
);
17574 if (arg9
== NULL
) SWIG_fail
;
17579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17580 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17609 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17610 PyObject
*resultobj
= 0;
17611 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17615 PyObject
*swig_obj
[1] ;
17617 if (!args
) SWIG_fail
;
17618 swig_obj
[0] = args
;
17619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17620 if (!SWIG_IsOK(res1
)) {
17621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17623 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 result
= (bool)(arg1
)->GetValue();
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17639 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17640 PyObject
*resultobj
= 0;
17641 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17647 PyObject
* obj0
= 0 ;
17648 PyObject
* obj1
= 0 ;
17649 char * kwnames
[] = {
17650 (char *) "self",(char *) "value", NULL
17653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17655 if (!SWIG_IsOK(res1
)) {
17656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17658 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17659 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17660 if (!SWIG_IsOK(ecode2
)) {
17661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17663 arg2
= static_cast< bool >(val2
);
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 (arg1
)->SetValue(arg2
);
17667 wxPyEndAllowThreads(__tstate
);
17668 if (PyErr_Occurred()) SWIG_fail
;
17670 resultobj
= SWIG_Py_Void();
17677 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17678 PyObject
*resultobj
= 0;
17679 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17680 SwigValueWrapper
<wxVisualAttributes
> result
;
17683 PyObject
* obj0
= 0 ;
17684 char * kwnames
[] = {
17685 (char *) "variant", NULL
17688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17690 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17691 if (!SWIG_IsOK(ecode1
)) {
17692 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17694 arg1
= static_cast< wxWindowVariant
>(val1
);
17697 if (!wxPyCheckForApp()) SWIG_fail
;
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17699 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17700 wxPyEndAllowThreads(__tstate
);
17701 if (PyErr_Occurred()) SWIG_fail
;
17703 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17710 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17712 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17713 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17714 return SWIG_Py_Void();
17717 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17718 return SWIG_Python_InitShadowInstance(args
);
17721 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17722 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17727 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17728 PyObject
*pyobj
= 0;
17732 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17734 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17741 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
= 0;
17743 wxWindow
*arg1
= (wxWindow
*) 0 ;
17744 int arg2
= (int) -1 ;
17745 int arg3
= (int) 0 ;
17746 int arg4
= (int) 0 ;
17747 int arg5
= (int) 100 ;
17748 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17749 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17750 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17751 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17752 long arg8
= (long) wxSL_HORIZONTAL
;
17753 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17754 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17755 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17756 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17757 wxSlider
*result
= 0 ;
17774 bool temp10
= false ;
17775 PyObject
* obj0
= 0 ;
17776 PyObject
* obj1
= 0 ;
17777 PyObject
* obj2
= 0 ;
17778 PyObject
* obj3
= 0 ;
17779 PyObject
* obj4
= 0 ;
17780 PyObject
* obj5
= 0 ;
17781 PyObject
* obj6
= 0 ;
17782 PyObject
* obj7
= 0 ;
17783 PyObject
* obj8
= 0 ;
17784 PyObject
* obj9
= 0 ;
17785 char * kwnames
[] = {
17786 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17791 if (!SWIG_IsOK(res1
)) {
17792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17797 if (!SWIG_IsOK(ecode2
)) {
17798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17800 arg2
= static_cast< int >(val2
);
17803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17804 if (!SWIG_IsOK(ecode3
)) {
17805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17807 arg3
= static_cast< int >(val3
);
17810 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17811 if (!SWIG_IsOK(ecode4
)) {
17812 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17814 arg4
= static_cast< int >(val4
);
17817 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17818 if (!SWIG_IsOK(ecode5
)) {
17819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17821 arg5
= static_cast< int >(val5
);
17826 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17832 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17836 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17837 if (!SWIG_IsOK(ecode8
)) {
17838 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17840 arg8
= static_cast< long >(val8
);
17843 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17844 if (!SWIG_IsOK(res9
)) {
17845 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17848 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17850 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17854 arg10
= wxString_in_helper(obj9
);
17855 if (arg10
== NULL
) SWIG_fail
;
17860 if (!wxPyCheckForApp()) SWIG_fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17863 wxPyEndAllowThreads(__tstate
);
17864 if (PyErr_Occurred()) SWIG_fail
;
17866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17881 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17882 PyObject
*resultobj
= 0;
17883 wxSlider
*result
= 0 ;
17885 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17887 if (!wxPyCheckForApp()) SWIG_fail
;
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 result
= (wxSlider
*)new wxSlider();
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17900 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
= 0;
17902 wxSlider
*arg1
= (wxSlider
*) 0 ;
17903 wxWindow
*arg2
= (wxWindow
*) 0 ;
17904 int arg3
= (int) -1 ;
17905 int arg4
= (int) 0 ;
17906 int arg5
= (int) 0 ;
17907 int arg6
= (int) 100 ;
17908 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17909 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17910 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17911 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17912 long arg9
= (long) wxSL_HORIZONTAL
;
17913 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17914 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17915 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17916 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17936 bool temp11
= false ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 PyObject
* obj2
= 0 ;
17940 PyObject
* obj3
= 0 ;
17941 PyObject
* obj4
= 0 ;
17942 PyObject
* obj5
= 0 ;
17943 PyObject
* obj6
= 0 ;
17944 PyObject
* obj7
= 0 ;
17945 PyObject
* obj8
= 0 ;
17946 PyObject
* obj9
= 0 ;
17947 PyObject
* obj10
= 0 ;
17948 char * kwnames
[] = {
17949 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17954 if (!SWIG_IsOK(res1
)) {
17955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17957 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17958 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17959 if (!SWIG_IsOK(res2
)) {
17960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17962 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17965 if (!SWIG_IsOK(ecode3
)) {
17966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17968 arg3
= static_cast< int >(val3
);
17971 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17972 if (!SWIG_IsOK(ecode4
)) {
17973 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17975 arg4
= static_cast< int >(val4
);
17978 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17979 if (!SWIG_IsOK(ecode5
)) {
17980 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17982 arg5
= static_cast< int >(val5
);
17985 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17986 if (!SWIG_IsOK(ecode6
)) {
17987 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17989 arg6
= static_cast< int >(val6
);
17994 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
18000 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18004 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18005 if (!SWIG_IsOK(ecode9
)) {
18006 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18008 arg9
= static_cast< long >(val9
);
18011 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18012 if (!SWIG_IsOK(res10
)) {
18013 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18016 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18018 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18022 arg11
= wxString_in_helper(obj10
);
18023 if (arg11
== NULL
) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18030 wxPyEndAllowThreads(__tstate
);
18031 if (PyErr_Occurred()) SWIG_fail
;
18034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18050 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18051 PyObject
*resultobj
= 0;
18052 wxSlider
*arg1
= (wxSlider
*) 0 ;
18056 PyObject
*swig_obj
[1] ;
18058 if (!args
) SWIG_fail
;
18059 swig_obj
[0] = args
;
18060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18061 if (!SWIG_IsOK(res1
)) {
18062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18064 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_From_int(static_cast< int >(result
));
18078 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
= 0;
18080 wxSlider
*arg1
= (wxSlider
*) 0 ;
18086 PyObject
* obj0
= 0 ;
18087 PyObject
* obj1
= 0 ;
18088 char * kwnames
[] = {
18089 (char *) "self",(char *) "value", NULL
18092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18094 if (!SWIG_IsOK(res1
)) {
18095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18097 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18098 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18099 if (!SWIG_IsOK(ecode2
)) {
18100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18102 arg2
= static_cast< int >(val2
);
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 (arg1
)->SetValue(arg2
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= SWIG_Py_Void();
18116 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
= 0;
18118 wxSlider
*arg1
= (wxSlider
*) 0 ;
18127 PyObject
* obj0
= 0 ;
18128 PyObject
* obj1
= 0 ;
18129 PyObject
* obj2
= 0 ;
18130 char * kwnames
[] = {
18131 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18136 if (!SWIG_IsOK(res1
)) {
18137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18139 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18140 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18141 if (!SWIG_IsOK(ecode2
)) {
18142 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18144 arg2
= static_cast< int >(val2
);
18145 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18146 if (!SWIG_IsOK(ecode3
)) {
18147 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18149 arg3
= static_cast< int >(val3
);
18151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18152 (arg1
)->SetRange(arg2
,arg3
);
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18156 resultobj
= SWIG_Py_Void();
18163 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18164 PyObject
*resultobj
= 0;
18165 wxSlider
*arg1
= (wxSlider
*) 0 ;
18169 PyObject
*swig_obj
[1] ;
18171 if (!args
) SWIG_fail
;
18172 swig_obj
[0] = args
;
18173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18174 if (!SWIG_IsOK(res1
)) {
18175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18177 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18180 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= SWIG_From_int(static_cast< int >(result
));
18191 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18192 PyObject
*resultobj
= 0;
18193 wxSlider
*arg1
= (wxSlider
*) 0 ;
18197 PyObject
*swig_obj
[1] ;
18199 if (!args
) SWIG_fail
;
18200 swig_obj
[0] = args
;
18201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18202 if (!SWIG_IsOK(res1
)) {
18203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18205 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18208 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 resultobj
= SWIG_From_int(static_cast< int >(result
));
18219 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
= 0;
18221 wxSlider
*arg1
= (wxSlider
*) 0 ;
18227 PyObject
* obj0
= 0 ;
18228 PyObject
* obj1
= 0 ;
18229 char * kwnames
[] = {
18230 (char *) "self",(char *) "minValue", NULL
18233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18235 if (!SWIG_IsOK(res1
)) {
18236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18238 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18240 if (!SWIG_IsOK(ecode2
)) {
18241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18243 arg2
= static_cast< int >(val2
);
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 (arg1
)->SetMin(arg2
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18250 resultobj
= SWIG_Py_Void();
18257 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
= 0;
18259 wxSlider
*arg1
= (wxSlider
*) 0 ;
18265 PyObject
* obj0
= 0 ;
18266 PyObject
* obj1
= 0 ;
18267 char * kwnames
[] = {
18268 (char *) "self",(char *) "maxValue", NULL
18271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18273 if (!SWIG_IsOK(res1
)) {
18274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18276 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18278 if (!SWIG_IsOK(ecode2
)) {
18279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18281 arg2
= static_cast< int >(val2
);
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 (arg1
)->SetMax(arg2
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 resultobj
= SWIG_Py_Void();
18295 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
= 0;
18297 wxSlider
*arg1
= (wxSlider
*) 0 ;
18303 PyObject
* obj0
= 0 ;
18304 PyObject
* obj1
= 0 ;
18305 char * kwnames
[] = {
18306 (char *) "self",(char *) "lineSize", NULL
18309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18311 if (!SWIG_IsOK(res1
)) {
18312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18314 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18315 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18316 if (!SWIG_IsOK(ecode2
)) {
18317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18319 arg2
= static_cast< int >(val2
);
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 (arg1
)->SetLineSize(arg2
);
18323 wxPyEndAllowThreads(__tstate
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 resultobj
= SWIG_Py_Void();
18333 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18334 PyObject
*resultobj
= 0;
18335 wxSlider
*arg1
= (wxSlider
*) 0 ;
18341 PyObject
* obj0
= 0 ;
18342 PyObject
* obj1
= 0 ;
18343 char * kwnames
[] = {
18344 (char *) "self",(char *) "pageSize", NULL
18347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18349 if (!SWIG_IsOK(res1
)) {
18350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18352 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18354 if (!SWIG_IsOK(ecode2
)) {
18355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18357 arg2
= static_cast< int >(val2
);
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 (arg1
)->SetPageSize(arg2
);
18361 wxPyEndAllowThreads(__tstate
);
18362 if (PyErr_Occurred()) SWIG_fail
;
18364 resultobj
= SWIG_Py_Void();
18371 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18372 PyObject
*resultobj
= 0;
18373 wxSlider
*arg1
= (wxSlider
*) 0 ;
18377 PyObject
*swig_obj
[1] ;
18379 if (!args
) SWIG_fail
;
18380 swig_obj
[0] = args
;
18381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18382 if (!SWIG_IsOK(res1
)) {
18383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18385 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18389 wxPyEndAllowThreads(__tstate
);
18390 if (PyErr_Occurred()) SWIG_fail
;
18392 resultobj
= SWIG_From_int(static_cast< int >(result
));
18399 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18400 PyObject
*resultobj
= 0;
18401 wxSlider
*arg1
= (wxSlider
*) 0 ;
18405 PyObject
*swig_obj
[1] ;
18407 if (!args
) SWIG_fail
;
18408 swig_obj
[0] = args
;
18409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18410 if (!SWIG_IsOK(res1
)) {
18411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18413 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 resultobj
= SWIG_From_int(static_cast< int >(result
));
18427 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
= 0;
18429 wxSlider
*arg1
= (wxSlider
*) 0 ;
18435 PyObject
* obj0
= 0 ;
18436 PyObject
* obj1
= 0 ;
18437 char * kwnames
[] = {
18438 (char *) "self",(char *) "lenPixels", NULL
18441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18443 if (!SWIG_IsOK(res1
)) {
18444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18446 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18448 if (!SWIG_IsOK(ecode2
)) {
18449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18451 arg2
= static_cast< int >(val2
);
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 (arg1
)->SetThumbLength(arg2
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= SWIG_Py_Void();
18465 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18466 PyObject
*resultobj
= 0;
18467 wxSlider
*arg1
= (wxSlider
*) 0 ;
18471 PyObject
*swig_obj
[1] ;
18473 if (!args
) SWIG_fail
;
18474 swig_obj
[0] = args
;
18475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18476 if (!SWIG_IsOK(res1
)) {
18477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18479 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18482 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18483 wxPyEndAllowThreads(__tstate
);
18484 if (PyErr_Occurred()) SWIG_fail
;
18486 resultobj
= SWIG_From_int(static_cast< int >(result
));
18493 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18494 PyObject
*resultobj
= 0;
18495 wxSlider
*arg1
= (wxSlider
*) 0 ;
18497 int arg3
= (int) 1 ;
18504 PyObject
* obj0
= 0 ;
18505 PyObject
* obj1
= 0 ;
18506 PyObject
* obj2
= 0 ;
18507 char * kwnames
[] = {
18508 (char *) "self",(char *) "n",(char *) "pos", NULL
18511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18513 if (!SWIG_IsOK(res1
)) {
18514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18516 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18518 if (!SWIG_IsOK(ecode2
)) {
18519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18521 arg2
= static_cast< int >(val2
);
18523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18524 if (!SWIG_IsOK(ecode3
)) {
18525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18527 arg3
= static_cast< int >(val3
);
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 (arg1
)->SetTickFreq(arg2
,arg3
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_Py_Void();
18542 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18543 PyObject
*resultobj
= 0;
18544 wxSlider
*arg1
= (wxSlider
*) 0 ;
18548 PyObject
*swig_obj
[1] ;
18550 if (!args
) SWIG_fail
;
18551 swig_obj
[0] = args
;
18552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18553 if (!SWIG_IsOK(res1
)) {
18554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18556 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_From_int(static_cast< int >(result
));
18570 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18571 PyObject
*resultobj
= 0;
18572 wxSlider
*arg1
= (wxSlider
*) 0 ;
18575 PyObject
*swig_obj
[1] ;
18577 if (!args
) SWIG_fail
;
18578 swig_obj
[0] = args
;
18579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18580 if (!SWIG_IsOK(res1
)) {
18581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18583 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18586 (arg1
)->ClearTicks();
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= SWIG_Py_Void();
18597 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
= 0;
18599 wxSlider
*arg1
= (wxSlider
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 char * kwnames
[] = {
18608 (char *) "self",(char *) "tickPos", NULL
18611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18612 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18613 if (!SWIG_IsOK(res1
)) {
18614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18616 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18617 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18618 if (!SWIG_IsOK(ecode2
)) {
18619 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18621 arg2
= static_cast< int >(val2
);
18623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18624 (arg1
)->SetTick(arg2
);
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= SWIG_Py_Void();
18635 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18636 PyObject
*resultobj
= 0;
18637 wxSlider
*arg1
= (wxSlider
*) 0 ;
18640 PyObject
*swig_obj
[1] ;
18642 if (!args
) SWIG_fail
;
18643 swig_obj
[0] = args
;
18644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18645 if (!SWIG_IsOK(res1
)) {
18646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18648 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 (arg1
)->ClearSel();
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 resultobj
= SWIG_Py_Void();
18662 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18663 PyObject
*resultobj
= 0;
18664 wxSlider
*arg1
= (wxSlider
*) 0 ;
18668 PyObject
*swig_obj
[1] ;
18670 if (!args
) SWIG_fail
;
18671 swig_obj
[0] = args
;
18672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18673 if (!SWIG_IsOK(res1
)) {
18674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18676 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18680 wxPyEndAllowThreads(__tstate
);
18681 if (PyErr_Occurred()) SWIG_fail
;
18683 resultobj
= SWIG_From_int(static_cast< int >(result
));
18690 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18691 PyObject
*resultobj
= 0;
18692 wxSlider
*arg1
= (wxSlider
*) 0 ;
18696 PyObject
*swig_obj
[1] ;
18698 if (!args
) SWIG_fail
;
18699 swig_obj
[0] = args
;
18700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18701 if (!SWIG_IsOK(res1
)) {
18702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18704 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_From_int(static_cast< int >(result
));
18718 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
= 0;
18720 wxSlider
*arg1
= (wxSlider
*) 0 ;
18729 PyObject
* obj0
= 0 ;
18730 PyObject
* obj1
= 0 ;
18731 PyObject
* obj2
= 0 ;
18732 char * kwnames
[] = {
18733 (char *) "self",(char *) "min",(char *) "max", NULL
18736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18738 if (!SWIG_IsOK(res1
)) {
18739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18741 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18743 if (!SWIG_IsOK(ecode2
)) {
18744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18746 arg2
= static_cast< int >(val2
);
18747 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18748 if (!SWIG_IsOK(ecode3
)) {
18749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18751 arg3
= static_cast< int >(val3
);
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 (arg1
)->SetSelection(arg2
,arg3
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= SWIG_Py_Void();
18765 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18766 PyObject
*resultobj
= 0;
18767 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18768 SwigValueWrapper
<wxVisualAttributes
> result
;
18771 PyObject
* obj0
= 0 ;
18772 char * kwnames
[] = {
18773 (char *) "variant", NULL
18776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18778 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18779 if (!SWIG_IsOK(ecode1
)) {
18780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18782 arg1
= static_cast< wxWindowVariant
>(val1
);
18785 if (!wxPyCheckForApp()) SWIG_fail
;
18786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18788 wxPyEndAllowThreads(__tstate
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18791 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18798 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18801 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18802 return SWIG_Py_Void();
18805 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18806 return SWIG_Python_InitShadowInstance(args
);
18809 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18810 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18815 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18816 PyObject
*pyobj
= 0;
18820 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18822 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18829 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18830 PyObject
*resultobj
= 0;
18831 wxWindow
*arg1
= (wxWindow
*) 0 ;
18832 int arg2
= (int) -1 ;
18833 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18834 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18835 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18836 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18837 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18838 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18839 long arg6
= (long) 0 ;
18840 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18841 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18842 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18843 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18844 wxToggleButton
*result
= 0 ;
18849 bool temp3
= false ;
18856 bool temp8
= false ;
18857 PyObject
* obj0
= 0 ;
18858 PyObject
* obj1
= 0 ;
18859 PyObject
* obj2
= 0 ;
18860 PyObject
* obj3
= 0 ;
18861 PyObject
* obj4
= 0 ;
18862 PyObject
* obj5
= 0 ;
18863 PyObject
* obj6
= 0 ;
18864 PyObject
* obj7
= 0 ;
18865 char * kwnames
[] = {
18866 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18871 if (!SWIG_IsOK(res1
)) {
18872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18874 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18877 if (!SWIG_IsOK(ecode2
)) {
18878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18880 arg2
= static_cast< int >(val2
);
18884 arg3
= wxString_in_helper(obj2
);
18885 if (arg3
== NULL
) SWIG_fail
;
18892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18902 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18903 if (!SWIG_IsOK(ecode6
)) {
18904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18906 arg6
= static_cast< long >(val6
);
18909 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18910 if (!SWIG_IsOK(res7
)) {
18911 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18916 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18920 arg8
= wxString_in_helper(obj7
);
18921 if (arg8
== NULL
) SWIG_fail
;
18926 if (!wxPyCheckForApp()) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18928 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18929 wxPyEndAllowThreads(__tstate
);
18930 if (PyErr_Occurred()) SWIG_fail
;
18932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18955 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18956 PyObject
*resultobj
= 0;
18957 wxToggleButton
*result
= 0 ;
18959 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18961 if (!wxPyCheckForApp()) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 result
= (wxToggleButton
*)new wxToggleButton();
18964 wxPyEndAllowThreads(__tstate
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18974 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18975 PyObject
*resultobj
= 0;
18976 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18977 wxWindow
*arg2
= (wxWindow
*) 0 ;
18978 int arg3
= (int) -1 ;
18979 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18980 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18981 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18982 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18983 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18984 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18985 long arg7
= (long) 0 ;
18986 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18987 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18988 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18989 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18997 bool temp4
= false ;
19004 bool temp9
= false ;
19005 PyObject
* obj0
= 0 ;
19006 PyObject
* obj1
= 0 ;
19007 PyObject
* obj2
= 0 ;
19008 PyObject
* obj3
= 0 ;
19009 PyObject
* obj4
= 0 ;
19010 PyObject
* obj5
= 0 ;
19011 PyObject
* obj6
= 0 ;
19012 PyObject
* obj7
= 0 ;
19013 PyObject
* obj8
= 0 ;
19014 char * kwnames
[] = {
19015 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19020 if (!SWIG_IsOK(res1
)) {
19021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19023 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19024 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19025 if (!SWIG_IsOK(res2
)) {
19026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19028 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19030 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19031 if (!SWIG_IsOK(ecode3
)) {
19032 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19034 arg3
= static_cast< int >(val3
);
19038 arg4
= wxString_in_helper(obj3
);
19039 if (arg4
== NULL
) SWIG_fail
;
19046 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19052 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19056 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19057 if (!SWIG_IsOK(ecode7
)) {
19058 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19060 arg7
= static_cast< long >(val7
);
19063 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19064 if (!SWIG_IsOK(res8
)) {
19065 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19070 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19074 arg9
= wxString_in_helper(obj8
);
19075 if (arg9
== NULL
) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19082 wxPyEndAllowThreads(__tstate
);
19083 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19110 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19111 PyObject
*resultobj
= 0;
19112 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19118 PyObject
* obj0
= 0 ;
19119 PyObject
* obj1
= 0 ;
19120 char * kwnames
[] = {
19121 (char *) "self",(char *) "value", NULL
19124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19126 if (!SWIG_IsOK(res1
)) {
19127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19129 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19130 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19131 if (!SWIG_IsOK(ecode2
)) {
19132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19134 arg2
= static_cast< bool >(val2
);
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 (arg1
)->SetValue(arg2
);
19138 wxPyEndAllowThreads(__tstate
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19141 resultobj
= SWIG_Py_Void();
19148 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19149 PyObject
*resultobj
= 0;
19150 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19154 PyObject
*swig_obj
[1] ;
19156 if (!args
) SWIG_fail
;
19157 swig_obj
[0] = args
;
19158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19159 if (!SWIG_IsOK(res1
)) {
19160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19162 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19166 wxPyEndAllowThreads(__tstate
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19178 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19179 PyObject
*resultobj
= 0;
19180 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19181 SwigValueWrapper
<wxVisualAttributes
> result
;
19184 PyObject
* obj0
= 0 ;
19185 char * kwnames
[] = {
19186 (char *) "variant", NULL
19189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19191 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19192 if (!SWIG_IsOK(ecode1
)) {
19193 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19195 arg1
= static_cast< wxWindowVariant
>(val1
);
19198 if (!wxPyCheckForApp()) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19211 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19214 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19215 return SWIG_Py_Void();
19218 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19219 return SWIG_Python_InitShadowInstance(args
);
19222 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19223 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19228 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19229 PyObject
*pyobj
= 0;
19233 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19235 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19242 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19243 PyObject
*resultobj
= 0;
19244 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19248 PyObject
*swig_obj
[1] ;
19250 if (!args
) SWIG_fail
;
19251 swig_obj
[0] = args
;
19252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19253 if (!SWIG_IsOK(res1
)) {
19254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19256 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19263 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19270 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
= 0;
19272 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19274 wxWindow
*result
= 0 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 char * kwnames
[] = {
19282 (char *) "self",(char *) "n", NULL
19285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19287 if (!SWIG_IsOK(res1
)) {
19288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19290 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19291 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19292 if (!SWIG_IsOK(ecode2
)) {
19293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19295 arg2
= static_cast< size_t >(val2
);
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19299 wxPyEndAllowThreads(__tstate
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= wxPyMake_wxObject(result
, 0);
19311 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19312 PyObject
*resultobj
= 0;
19313 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19314 wxWindow
*result
= 0 ;
19317 PyObject
*swig_obj
[1] ;
19319 if (!args
) SWIG_fail
;
19320 swig_obj
[0] = args
;
19321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19322 if (!SWIG_IsOK(res1
)) {
19323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19325 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= wxPyMake_wxObject(result
, 0);
19341 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19342 PyObject
*resultobj
= 0;
19343 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19347 PyObject
*swig_obj
[1] ;
19349 if (!args
) SWIG_fail
;
19350 swig_obj
[0] = args
;
19351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19352 if (!SWIG_IsOK(res1
)) {
19353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19355 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19362 resultobj
= SWIG_From_int(static_cast< int >(result
));
19369 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
= 0;
19371 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19373 wxString
*arg3
= 0 ;
19379 bool temp3
= false ;
19380 PyObject
* obj0
= 0 ;
19381 PyObject
* obj1
= 0 ;
19382 PyObject
* obj2
= 0 ;
19383 char * kwnames
[] = {
19384 (char *) "self",(char *) "n",(char *) "strText", NULL
19387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19389 if (!SWIG_IsOK(res1
)) {
19390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19392 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19393 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19394 if (!SWIG_IsOK(ecode2
)) {
19395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19397 arg2
= static_cast< size_t >(val2
);
19399 arg3
= wxString_in_helper(obj2
);
19400 if (arg3
== NULL
) SWIG_fail
;
19404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19405 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19406 wxPyEndAllowThreads(__tstate
);
19407 if (PyErr_Occurred()) SWIG_fail
;
19410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19426 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
= 0;
19428 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 char * kwnames
[] = {
19438 (char *) "self",(char *) "n", NULL
19441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19443 if (!SWIG_IsOK(res1
)) {
19444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19446 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19447 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19448 if (!SWIG_IsOK(ecode2
)) {
19449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19451 arg2
= static_cast< size_t >(val2
);
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19471 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
= 0;
19473 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19474 wxImageList
*arg2
= (wxImageList
*) 0 ;
19479 PyObject
* obj0
= 0 ;
19480 PyObject
* obj1
= 0 ;
19481 char * kwnames
[] = {
19482 (char *) "self",(char *) "imageList", NULL
19485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19487 if (!SWIG_IsOK(res1
)) {
19488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19490 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19491 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19492 if (!SWIG_IsOK(res2
)) {
19493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19495 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 (arg1
)->SetImageList(arg2
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= SWIG_Py_Void();
19509 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
= 0;
19511 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19512 wxImageList
*arg2
= (wxImageList
*) 0 ;
19516 PyObject
* obj0
= 0 ;
19517 PyObject
* obj1
= 0 ;
19518 char * kwnames
[] = {
19519 (char *) "self",(char *) "imageList", NULL
19522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19524 if (!SWIG_IsOK(res1
)) {
19525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19527 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19528 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19529 if (!SWIG_IsOK(res2
)) {
19530 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 (arg1
)->AssignImageList(arg2
);
19535 wxPyEndAllowThreads(__tstate
);
19536 if (PyErr_Occurred()) SWIG_fail
;
19538 resultobj
= SWIG_Py_Void();
19545 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19546 PyObject
*resultobj
= 0;
19547 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19548 wxImageList
*result
= 0 ;
19551 PyObject
*swig_obj
[1] ;
19553 if (!args
) SWIG_fail
;
19554 swig_obj
[0] = args
;
19555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19556 if (!SWIG_IsOK(res1
)) {
19557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19559 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19575 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
= 0;
19577 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19584 PyObject
* obj0
= 0 ;
19585 PyObject
* obj1
= 0 ;
19586 char * kwnames
[] = {
19587 (char *) "self",(char *) "n", NULL
19590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19592 if (!SWIG_IsOK(res1
)) {
19593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19595 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19596 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19597 if (!SWIG_IsOK(ecode2
)) {
19598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19600 arg2
= static_cast< size_t >(val2
);
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= SWIG_From_int(static_cast< int >(result
));
19614 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
= 0;
19616 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19626 PyObject
* obj0
= 0 ;
19627 PyObject
* obj1
= 0 ;
19628 PyObject
* obj2
= 0 ;
19629 char * kwnames
[] = {
19630 (char *) "self",(char *) "n",(char *) "imageId", NULL
19633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19635 if (!SWIG_IsOK(res1
)) {
19636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19638 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19639 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19640 if (!SWIG_IsOK(ecode2
)) {
19641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19643 arg2
= static_cast< size_t >(val2
);
19644 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19645 if (!SWIG_IsOK(ecode3
)) {
19646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19648 arg3
= static_cast< int >(val3
);
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19664 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19665 PyObject
*resultobj
= 0;
19666 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 PyObject
* obj1
= 0 ;
19673 char * kwnames
[] = {
19674 (char *) "self",(char *) "size", NULL
19677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19679 if (!SWIG_IsOK(res1
)) {
19680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19682 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19685 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 resultobj
= SWIG_Py_Void();
19700 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
= 0;
19702 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19708 PyObject
* obj0
= 0 ;
19709 PyObject
* obj1
= 0 ;
19710 char * kwnames
[] = {
19711 (char *) "self",(char *) "sizePage", NULL
19714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19716 if (!SWIG_IsOK(res1
)) {
19717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19719 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19722 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19737 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19738 PyObject
*resultobj
= 0;
19739 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19740 unsigned int result
;
19743 PyObject
*swig_obj
[1] ;
19745 if (!args
) SWIG_fail
;
19746 swig_obj
[0] = args
;
19747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19748 if (!SWIG_IsOK(res1
)) {
19749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19751 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19765 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
= 0;
19767 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19768 unsigned int arg2
;
19771 unsigned int val2
;
19773 PyObject
* obj0
= 0 ;
19774 PyObject
* obj1
= 0 ;
19775 char * kwnames
[] = {
19776 (char *) "self",(char *) "internalBorder", NULL
19779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19781 if (!SWIG_IsOK(res1
)) {
19782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19784 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19785 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19786 if (!SWIG_IsOK(ecode2
)) {
19787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19789 arg2
= static_cast< unsigned int >(val2
);
19791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19792 (arg1
)->SetInternalBorder(arg2
);
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19796 resultobj
= SWIG_Py_Void();
19803 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19804 PyObject
*resultobj
= 0;
19805 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19809 PyObject
*swig_obj
[1] ;
19811 if (!args
) SWIG_fail
;
19812 swig_obj
[0] = args
;
19813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19814 if (!SWIG_IsOK(res1
)) {
19815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19817 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19833 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
= 0;
19835 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19843 char * kwnames
[] = {
19844 (char *) "self",(char *) "margin", NULL
19847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19849 if (!SWIG_IsOK(res1
)) {
19850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19852 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19854 if (!SWIG_IsOK(ecode2
)) {
19855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19857 arg2
= static_cast< int >(val2
);
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 (arg1
)->SetControlMargin(arg2
);
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19864 resultobj
= SWIG_Py_Void();
19871 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19872 PyObject
*resultobj
= 0;
19873 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19877 PyObject
*swig_obj
[1] ;
19879 if (!args
) SWIG_fail
;
19880 swig_obj
[0] = args
;
19881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19882 if (!SWIG_IsOK(res1
)) {
19883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19885 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= SWIG_From_int(static_cast< int >(result
));
19899 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
= 0;
19901 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 char * kwnames
[] = {
19910 (char *) "self",(char *) "fit", NULL
19913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19915 if (!SWIG_IsOK(res1
)) {
19916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19918 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19919 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19920 if (!SWIG_IsOK(ecode2
)) {
19921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19923 arg2
= static_cast< bool >(val2
);
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 (arg1
)->SetFitToCurrentPage(arg2
);
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19930 resultobj
= SWIG_Py_Void();
19937 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19938 PyObject
*resultobj
= 0;
19939 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19943 PyObject
*swig_obj
[1] ;
19945 if (!args
) SWIG_fail
;
19946 swig_obj
[0] = args
;
19947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19948 if (!SWIG_IsOK(res1
)) {
19949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19951 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19955 wxPyEndAllowThreads(__tstate
);
19956 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19967 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19968 PyObject
*resultobj
= 0;
19969 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19970 wxSizer
*result
= 0 ;
19973 PyObject
*swig_obj
[1] ;
19975 if (!args
) SWIG_fail
;
19976 swig_obj
[0] = args
;
19977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19978 if (!SWIG_IsOK(res1
)) {
19979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19981 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19985 wxPyEndAllowThreads(__tstate
);
19986 if (PyErr_Occurred()) SWIG_fail
;
19989 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19997 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19998 PyObject
*resultobj
= 0;
19999 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 char * kwnames
[] = {
20009 (char *) "self",(char *) "n", NULL
20012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20014 if (!SWIG_IsOK(res1
)) {
20015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20017 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20018 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20019 if (!SWIG_IsOK(ecode2
)) {
20020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20022 arg2
= static_cast< size_t >(val2
);
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 result
= (bool)(arg1
)->DeletePage(arg2
);
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20038 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20039 PyObject
*resultobj
= 0;
20040 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 PyObject
* obj1
= 0 ;
20049 char * kwnames
[] = {
20050 (char *) "self",(char *) "n", NULL
20053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20055 if (!SWIG_IsOK(res1
)) {
20056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20058 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20059 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20060 if (!SWIG_IsOK(ecode2
)) {
20061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20063 arg2
= static_cast< size_t >(val2
);
20065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20066 result
= (bool)(arg1
)->RemovePage(arg2
);
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20079 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20080 PyObject
*resultobj
= 0;
20081 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20085 PyObject
*swig_obj
[1] ;
20087 if (!args
) SWIG_fail
;
20088 swig_obj
[0] = args
;
20089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20090 if (!SWIG_IsOK(res1
)) {
20091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20093 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= (bool)(arg1
)->DeleteAllPages();
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20109 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20110 PyObject
*resultobj
= 0;
20111 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20112 wxWindow
*arg2
= (wxWindow
*) 0 ;
20113 wxString
*arg3
= 0 ;
20114 bool arg4
= (bool) false ;
20115 int arg5
= (int) -1 ;
20121 bool temp3
= false ;
20126 PyObject
* obj0
= 0 ;
20127 PyObject
* obj1
= 0 ;
20128 PyObject
* obj2
= 0 ;
20129 PyObject
* obj3
= 0 ;
20130 PyObject
* obj4
= 0 ;
20131 char * kwnames
[] = {
20132 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20137 if (!SWIG_IsOK(res1
)) {
20138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20140 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20142 if (!SWIG_IsOK(res2
)) {
20143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20147 arg3
= wxString_in_helper(obj2
);
20148 if (arg3
== NULL
) SWIG_fail
;
20152 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20153 if (!SWIG_IsOK(ecode4
)) {
20154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20156 arg4
= static_cast< bool >(val4
);
20159 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20160 if (!SWIG_IsOK(ecode5
)) {
20161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20163 arg5
= static_cast< int >(val5
);
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20188 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
= 0;
20190 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20192 wxWindow
*arg3
= (wxWindow
*) 0 ;
20193 wxString
*arg4
= 0 ;
20194 bool arg5
= (bool) false ;
20195 int arg6
= (int) -1 ;
20203 bool temp4
= false ;
20208 PyObject
* obj0
= 0 ;
20209 PyObject
* obj1
= 0 ;
20210 PyObject
* obj2
= 0 ;
20211 PyObject
* obj3
= 0 ;
20212 PyObject
* obj4
= 0 ;
20213 PyObject
* obj5
= 0 ;
20214 char * kwnames
[] = {
20215 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20220 if (!SWIG_IsOK(res1
)) {
20221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20223 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20224 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20225 if (!SWIG_IsOK(ecode2
)) {
20226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20228 arg2
= static_cast< size_t >(val2
);
20229 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20230 if (!SWIG_IsOK(res3
)) {
20231 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20233 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20235 arg4
= wxString_in_helper(obj3
);
20236 if (arg4
== NULL
) SWIG_fail
;
20240 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20241 if (!SWIG_IsOK(ecode5
)) {
20242 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20244 arg5
= static_cast< bool >(val5
);
20247 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20248 if (!SWIG_IsOK(ecode6
)) {
20249 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20251 arg6
= static_cast< int >(val6
);
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20256 wxPyEndAllowThreads(__tstate
);
20257 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20276 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
= 0;
20278 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20285 PyObject
* obj0
= 0 ;
20286 PyObject
* obj1
= 0 ;
20287 char * kwnames
[] = {
20288 (char *) "self",(char *) "n", NULL
20291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20293 if (!SWIG_IsOK(res1
)) {
20294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20296 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20297 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20298 if (!SWIG_IsOK(ecode2
)) {
20299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20301 arg2
= static_cast< size_t >(val2
);
20303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20304 result
= (int)(arg1
)->SetSelection(arg2
);
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20308 resultobj
= SWIG_From_int(static_cast< int >(result
));
20315 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20316 PyObject
*resultobj
= 0;
20317 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20324 PyObject
* obj0
= 0 ;
20325 PyObject
* obj1
= 0 ;
20326 char * kwnames
[] = {
20327 (char *) "self",(char *) "n", NULL
20330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20332 if (!SWIG_IsOK(res1
)) {
20333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20335 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20336 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20337 if (!SWIG_IsOK(ecode2
)) {
20338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20340 arg2
= static_cast< size_t >(val2
);
20342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20343 result
= (int)(arg1
)->ChangeSelection(arg2
);
20344 wxPyEndAllowThreads(__tstate
);
20345 if (PyErr_Occurred()) SWIG_fail
;
20347 resultobj
= SWIG_From_int(static_cast< int >(result
));
20354 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20355 PyObject
*resultobj
= 0;
20356 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20357 bool arg2
= (bool) true ;
20362 PyObject
* obj0
= 0 ;
20363 PyObject
* obj1
= 0 ;
20364 char * kwnames
[] = {
20365 (char *) "self",(char *) "forward", NULL
20368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20370 if (!SWIG_IsOK(res1
)) {
20371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20373 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20375 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20376 if (!SWIG_IsOK(ecode2
)) {
20377 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20379 arg2
= static_cast< bool >(val2
);
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 (arg1
)->AdvanceSelection(arg2
);
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 resultobj
= SWIG_Py_Void();
20394 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
= 0;
20396 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20397 wxPoint
*arg2
= 0 ;
20398 long *arg3
= (long *) 0 ;
20404 int res3
= SWIG_TMPOBJ
;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20407 char * kwnames
[] = {
20408 (char *) "self",(char *) "pt", NULL
20412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20414 if (!SWIG_IsOK(res1
)) {
20415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20417 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20420 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20424 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= SWIG_From_int(static_cast< int >(result
));
20429 if (SWIG_IsTmpObj(res3
)) {
20430 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20432 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20433 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20441 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20442 PyObject
*resultobj
= 0;
20443 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20444 SwigValueWrapper
<wxVisualAttributes
> result
;
20447 PyObject
* obj0
= 0 ;
20448 char * kwnames
[] = {
20449 (char *) "variant", NULL
20452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20454 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20455 if (!SWIG_IsOK(ecode1
)) {
20456 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20458 arg1
= static_cast< wxWindowVariant
>(val1
);
20461 if (!wxPyCheckForApp()) SWIG_fail
;
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20464 wxPyEndAllowThreads(__tstate
);
20465 if (PyErr_Occurred()) SWIG_fail
;
20467 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20474 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20477 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20478 return SWIG_Py_Void();
20481 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20482 PyObject
*resultobj
= 0;
20483 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20484 int arg2
= (int) 0 ;
20485 int arg3
= (int) -1 ;
20486 int arg4
= (int) -1 ;
20487 wxBookCtrlBaseEvent
*result
= 0 ;
20496 PyObject
* obj0
= 0 ;
20497 PyObject
* obj1
= 0 ;
20498 PyObject
* obj2
= 0 ;
20499 PyObject
* obj3
= 0 ;
20500 char * kwnames
[] = {
20501 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20506 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20507 if (!SWIG_IsOK(ecode1
)) {
20508 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20510 arg1
= static_cast< wxEventType
>(val1
);
20513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20514 if (!SWIG_IsOK(ecode2
)) {
20515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20517 arg2
= static_cast< int >(val2
);
20520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20521 if (!SWIG_IsOK(ecode3
)) {
20522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20524 arg3
= static_cast< int >(val3
);
20527 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20528 if (!SWIG_IsOK(ecode4
)) {
20529 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20531 arg4
= static_cast< int >(val4
);
20534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20535 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20546 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20547 PyObject
*resultobj
= 0;
20548 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20552 PyObject
*swig_obj
[1] ;
20554 if (!args
) SWIG_fail
;
20555 swig_obj
[0] = args
;
20556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20557 if (!SWIG_IsOK(res1
)) {
20558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20560 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20564 wxPyEndAllowThreads(__tstate
);
20565 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= SWIG_From_int(static_cast< int >(result
));
20574 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
= 0;
20576 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20584 char * kwnames
[] = {
20585 (char *) "self",(char *) "nSel", NULL
20588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20590 if (!SWIG_IsOK(res1
)) {
20591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20593 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20595 if (!SWIG_IsOK(ecode2
)) {
20596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20598 arg2
= static_cast< int >(val2
);
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 (arg1
)->SetSelection(arg2
);
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20605 resultobj
= SWIG_Py_Void();
20612 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20613 PyObject
*resultobj
= 0;
20614 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20618 PyObject
*swig_obj
[1] ;
20620 if (!args
) SWIG_fail
;
20621 swig_obj
[0] = args
;
20622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20623 if (!SWIG_IsOK(res1
)) {
20624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20626 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20629 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= SWIG_From_int(static_cast< int >(result
));
20640 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20641 PyObject
*resultobj
= 0;
20642 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20648 PyObject
* obj0
= 0 ;
20649 PyObject
* obj1
= 0 ;
20650 char * kwnames
[] = {
20651 (char *) "self",(char *) "nOldSel", NULL
20654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20656 if (!SWIG_IsOK(res1
)) {
20657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20659 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20661 if (!SWIG_IsOK(ecode2
)) {
20662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20664 arg2
= static_cast< int >(val2
);
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 (arg1
)->SetOldSelection(arg2
);
20668 wxPyEndAllowThreads(__tstate
);
20669 if (PyErr_Occurred()) SWIG_fail
;
20671 resultobj
= SWIG_Py_Void();
20678 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20681 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20682 return SWIG_Py_Void();
20685 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20686 return SWIG_Python_InitShadowInstance(args
);
20689 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
= 0;
20691 wxWindow
*arg1
= (wxWindow
*) 0 ;
20692 int arg2
= (int) -1 ;
20693 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20694 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20695 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20696 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20697 long arg5
= (long) 0 ;
20698 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20699 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20700 wxNotebook
*result
= 0 ;
20709 bool temp6
= false ;
20710 PyObject
* obj0
= 0 ;
20711 PyObject
* obj1
= 0 ;
20712 PyObject
* obj2
= 0 ;
20713 PyObject
* obj3
= 0 ;
20714 PyObject
* obj4
= 0 ;
20715 PyObject
* obj5
= 0 ;
20716 char * kwnames
[] = {
20717 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20722 if (!SWIG_IsOK(res1
)) {
20723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20725 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20728 if (!SWIG_IsOK(ecode2
)) {
20729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20731 arg2
= static_cast< int >(val2
);
20736 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20742 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20746 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20747 if (!SWIG_IsOK(ecode5
)) {
20748 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20750 arg5
= static_cast< long >(val5
);
20754 arg6
= wxString_in_helper(obj5
);
20755 if (arg6
== NULL
) SWIG_fail
;
20760 if (!wxPyCheckForApp()) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20781 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20782 PyObject
*resultobj
= 0;
20783 wxNotebook
*result
= 0 ;
20785 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20787 if (!wxPyCheckForApp()) SWIG_fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 result
= (wxNotebook
*)new wxNotebook();
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20800 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
= 0;
20802 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20803 wxWindow
*arg2
= (wxWindow
*) 0 ;
20804 int arg3
= (int) -1 ;
20805 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20806 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20807 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20808 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20809 long arg6
= (long) 0 ;
20810 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20811 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20823 bool temp7
= false ;
20824 PyObject
* obj0
= 0 ;
20825 PyObject
* obj1
= 0 ;
20826 PyObject
* obj2
= 0 ;
20827 PyObject
* obj3
= 0 ;
20828 PyObject
* obj4
= 0 ;
20829 PyObject
* obj5
= 0 ;
20830 PyObject
* obj6
= 0 ;
20831 char * kwnames
[] = {
20832 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20837 if (!SWIG_IsOK(res1
)) {
20838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20840 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20842 if (!SWIG_IsOK(res2
)) {
20843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20845 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20847 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20848 if (!SWIG_IsOK(ecode3
)) {
20849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20851 arg3
= static_cast< int >(val3
);
20856 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20862 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20866 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20867 if (!SWIG_IsOK(ecode6
)) {
20868 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20870 arg6
= static_cast< long >(val6
);
20874 arg7
= wxString_in_helper(obj6
);
20875 if (arg7
== NULL
) SWIG_fail
;
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20902 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20903 PyObject
*resultobj
= 0;
20904 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20908 PyObject
*swig_obj
[1] ;
20910 if (!args
) SWIG_fail
;
20911 swig_obj
[0] = args
;
20912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20913 if (!SWIG_IsOK(res1
)) {
20914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20916 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20919 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 resultobj
= SWIG_From_int(static_cast< int >(result
));
20930 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20931 PyObject
*resultobj
= 0;
20932 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20937 PyObject
* obj0
= 0 ;
20938 PyObject
* obj1
= 0 ;
20939 char * kwnames
[] = {
20940 (char *) "self",(char *) "padding", NULL
20943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20945 if (!SWIG_IsOK(res1
)) {
20946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20948 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20951 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20955 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20956 wxPyEndAllowThreads(__tstate
);
20957 if (PyErr_Occurred()) SWIG_fail
;
20959 resultobj
= SWIG_Py_Void();
20966 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20967 PyObject
*resultobj
= 0;
20968 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20973 PyObject
* obj0
= 0 ;
20974 PyObject
* obj1
= 0 ;
20975 char * kwnames
[] = {
20976 (char *) "self",(char *) "sz", NULL
20979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20981 if (!SWIG_IsOK(res1
)) {
20982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20984 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20987 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20991 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 resultobj
= SWIG_Py_Void();
21002 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21003 PyObject
*resultobj
= 0;
21004 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21008 PyObject
*swig_obj
[1] ;
21010 if (!args
) SWIG_fail
;
21011 swig_obj
[0] = args
;
21012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21013 if (!SWIG_IsOK(res1
)) {
21014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21016 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21019 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21020 wxPyEndAllowThreads(__tstate
);
21021 if (PyErr_Occurred()) SWIG_fail
;
21023 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21030 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
= 0;
21032 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21033 SwigValueWrapper
<wxVisualAttributes
> result
;
21036 PyObject
* obj0
= 0 ;
21037 char * kwnames
[] = {
21038 (char *) "variant", NULL
21041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21043 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21044 if (!SWIG_IsOK(ecode1
)) {
21045 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21047 arg1
= static_cast< wxWindowVariant
>(val1
);
21050 if (!wxPyCheckForApp()) SWIG_fail
;
21051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21063 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
= 0;
21065 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21072 PyObject
* obj0
= 0 ;
21073 PyObject
* obj1
= 0 ;
21074 char * kwnames
[] = {
21075 (char *) "self",(char *) "nPage", NULL
21078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21080 if (!SWIG_IsOK(res1
)) {
21081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21083 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21085 if (!SWIG_IsOK(ecode2
)) {
21086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21088 arg2
= static_cast< int >(val2
);
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21104 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
= 0;
21106 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21108 int arg3
= (int) -1 ;
21115 PyObject
* obj0
= 0 ;
21116 PyObject
* obj1
= 0 ;
21117 PyObject
* obj2
= 0 ;
21118 char * kwnames
[] = {
21119 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21124 if (!SWIG_IsOK(res1
)) {
21125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21127 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21129 if (!SWIG_IsOK(ecode2
)) {
21130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21132 arg2
= static_cast< int >(val2
);
21134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21135 if (!SWIG_IsOK(ecode3
)) {
21136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21138 arg3
= static_cast< int >(val3
);
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21146 resultobj
= SWIG_Py_Void();
21153 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21156 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21157 return SWIG_Py_Void();
21160 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21161 return SWIG_Python_InitShadowInstance(args
);
21164 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21165 PyObject
*resultobj
= 0;
21166 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21167 int arg2
= (int) 0 ;
21168 int arg3
= (int) -1 ;
21169 int arg4
= (int) -1 ;
21170 wxNotebookEvent
*result
= 0 ;
21179 PyObject
* obj0
= 0 ;
21180 PyObject
* obj1
= 0 ;
21181 PyObject
* obj2
= 0 ;
21182 PyObject
* obj3
= 0 ;
21183 char * kwnames
[] = {
21184 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21189 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21190 if (!SWIG_IsOK(ecode1
)) {
21191 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21193 arg1
= static_cast< wxEventType
>(val1
);
21196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21197 if (!SWIG_IsOK(ecode2
)) {
21198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21200 arg2
= static_cast< int >(val2
);
21203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21204 if (!SWIG_IsOK(ecode3
)) {
21205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21207 arg3
= static_cast< int >(val3
);
21210 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21211 if (!SWIG_IsOK(ecode4
)) {
21212 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21214 arg4
= static_cast< int >(val4
);
21217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21218 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21219 wxPyEndAllowThreads(__tstate
);
21220 if (PyErr_Occurred()) SWIG_fail
;
21222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21229 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21231 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21232 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21233 return SWIG_Py_Void();
21236 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21237 return SWIG_Python_InitShadowInstance(args
);
21240 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
= 0;
21242 wxWindow
*arg1
= (wxWindow
*) 0 ;
21243 int arg2
= (int) -1 ;
21244 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21245 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21246 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21247 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21248 long arg5
= (long) 0 ;
21249 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21250 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21251 wxListbook
*result
= 0 ;
21260 bool temp6
= false ;
21261 PyObject
* obj0
= 0 ;
21262 PyObject
* obj1
= 0 ;
21263 PyObject
* obj2
= 0 ;
21264 PyObject
* obj3
= 0 ;
21265 PyObject
* obj4
= 0 ;
21266 PyObject
* obj5
= 0 ;
21267 char * kwnames
[] = {
21268 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21273 if (!SWIG_IsOK(res1
)) {
21274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21276 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21279 if (!SWIG_IsOK(ecode2
)) {
21280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21282 arg2
= static_cast< int >(val2
);
21287 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21293 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21297 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21298 if (!SWIG_IsOK(ecode5
)) {
21299 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21301 arg5
= static_cast< long >(val5
);
21305 arg6
= wxString_in_helper(obj5
);
21306 if (arg6
== NULL
) SWIG_fail
;
21311 if (!wxPyCheckForApp()) SWIG_fail
;
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21332 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21333 PyObject
*resultobj
= 0;
21334 wxListbook
*result
= 0 ;
21336 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21338 if (!wxPyCheckForApp()) SWIG_fail
;
21339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21340 result
= (wxListbook
*)new wxListbook();
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21351 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21352 PyObject
*resultobj
= 0;
21353 wxListbook
*arg1
= (wxListbook
*) 0 ;
21354 wxWindow
*arg2
= (wxWindow
*) 0 ;
21355 int arg3
= (int) -1 ;
21356 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21357 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21358 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21359 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21360 long arg6
= (long) 0 ;
21361 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21362 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21374 bool temp7
= false ;
21375 PyObject
* obj0
= 0 ;
21376 PyObject
* obj1
= 0 ;
21377 PyObject
* obj2
= 0 ;
21378 PyObject
* obj3
= 0 ;
21379 PyObject
* obj4
= 0 ;
21380 PyObject
* obj5
= 0 ;
21381 PyObject
* obj6
= 0 ;
21382 char * kwnames
[] = {
21383 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21388 if (!SWIG_IsOK(res1
)) {
21389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21391 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21392 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21393 if (!SWIG_IsOK(res2
)) {
21394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21396 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21399 if (!SWIG_IsOK(ecode3
)) {
21400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21402 arg3
= static_cast< int >(val3
);
21407 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21413 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21417 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21418 if (!SWIG_IsOK(ecode6
)) {
21419 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21421 arg6
= static_cast< long >(val6
);
21425 arg7
= wxString_in_helper(obj6
);
21426 if (arg7
== NULL
) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21453 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21454 PyObject
*resultobj
= 0;
21455 wxListbook
*arg1
= (wxListbook
*) 0 ;
21456 wxListView
*result
= 0 ;
21459 PyObject
*swig_obj
[1] ;
21461 if (!args
) SWIG_fail
;
21462 swig_obj
[0] = args
;
21463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21464 if (!SWIG_IsOK(res1
)) {
21465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21467 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21470 result
= (wxListView
*)(arg1
)->GetListView();
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21481 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21483 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21484 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21485 return SWIG_Py_Void();
21488 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21489 return SWIG_Python_InitShadowInstance(args
);
21492 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21493 PyObject
*resultobj
= 0;
21494 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21495 int arg2
= (int) 0 ;
21496 int arg3
= (int) -1 ;
21497 int arg4
= (int) -1 ;
21498 wxListbookEvent
*result
= 0 ;
21507 PyObject
* obj0
= 0 ;
21508 PyObject
* obj1
= 0 ;
21509 PyObject
* obj2
= 0 ;
21510 PyObject
* obj3
= 0 ;
21511 char * kwnames
[] = {
21512 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21517 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21518 if (!SWIG_IsOK(ecode1
)) {
21519 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21521 arg1
= static_cast< wxEventType
>(val1
);
21524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21525 if (!SWIG_IsOK(ecode2
)) {
21526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21528 arg2
= static_cast< int >(val2
);
21531 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21532 if (!SWIG_IsOK(ecode3
)) {
21533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21535 arg3
= static_cast< int >(val3
);
21538 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21539 if (!SWIG_IsOK(ecode4
)) {
21540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21542 arg4
= static_cast< int >(val4
);
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21547 wxPyEndAllowThreads(__tstate
);
21548 if (PyErr_Occurred()) SWIG_fail
;
21550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21557 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21560 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21561 return SWIG_Py_Void();
21564 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21565 return SWIG_Python_InitShadowInstance(args
);
21568 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21569 PyObject
*resultobj
= 0;
21570 wxWindow
*arg1
= (wxWindow
*) 0 ;
21572 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21573 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21574 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21575 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21576 long arg5
= (long) 0 ;
21577 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21578 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21579 wxChoicebook
*result
= 0 ;
21588 bool temp6
= false ;
21589 PyObject
* obj0
= 0 ;
21590 PyObject
* obj1
= 0 ;
21591 PyObject
* obj2
= 0 ;
21592 PyObject
* obj3
= 0 ;
21593 PyObject
* obj4
= 0 ;
21594 PyObject
* obj5
= 0 ;
21595 char * kwnames
[] = {
21596 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21601 if (!SWIG_IsOK(res1
)) {
21602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21604 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21606 if (!SWIG_IsOK(ecode2
)) {
21607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21609 arg2
= static_cast< int >(val2
);
21613 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21619 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21623 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21624 if (!SWIG_IsOK(ecode5
)) {
21625 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21627 arg5
= static_cast< long >(val5
);
21631 arg6
= wxString_in_helper(obj5
);
21632 if (arg6
== NULL
) SWIG_fail
;
21637 if (!wxPyCheckForApp()) SWIG_fail
;
21638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21639 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21658 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21659 PyObject
*resultobj
= 0;
21660 wxChoicebook
*result
= 0 ;
21662 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21664 if (!wxPyCheckForApp()) SWIG_fail
;
21665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21666 result
= (wxChoicebook
*)new wxChoicebook();
21667 wxPyEndAllowThreads(__tstate
);
21668 if (PyErr_Occurred()) SWIG_fail
;
21670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21677 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21678 PyObject
*resultobj
= 0;
21679 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21680 wxWindow
*arg2
= (wxWindow
*) 0 ;
21682 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21683 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21684 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21685 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21686 long arg6
= (long) 0 ;
21687 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21688 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21700 bool temp7
= false ;
21701 PyObject
* obj0
= 0 ;
21702 PyObject
* obj1
= 0 ;
21703 PyObject
* obj2
= 0 ;
21704 PyObject
* obj3
= 0 ;
21705 PyObject
* obj4
= 0 ;
21706 PyObject
* obj5
= 0 ;
21707 PyObject
* obj6
= 0 ;
21708 char * kwnames
[] = {
21709 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21714 if (!SWIG_IsOK(res1
)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21717 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21718 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21719 if (!SWIG_IsOK(res2
)) {
21720 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21722 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21724 if (!SWIG_IsOK(ecode3
)) {
21725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21727 arg3
= static_cast< int >(val3
);
21731 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21737 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21741 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21742 if (!SWIG_IsOK(ecode6
)) {
21743 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21745 arg6
= static_cast< long >(val6
);
21749 arg7
= wxString_in_helper(obj6
);
21750 if (arg7
== NULL
) SWIG_fail
;
21755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21757 wxPyEndAllowThreads(__tstate
);
21758 if (PyErr_Occurred()) SWIG_fail
;
21761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21777 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21778 PyObject
*resultobj
= 0;
21779 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21780 wxChoice
*result
= 0 ;
21783 PyObject
*swig_obj
[1] ;
21785 if (!args
) SWIG_fail
;
21786 swig_obj
[0] = args
;
21787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21788 if (!SWIG_IsOK(res1
)) {
21789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21791 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21794 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21805 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21807 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21808 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21809 return SWIG_Py_Void();
21812 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21813 return SWIG_Python_InitShadowInstance(args
);
21816 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
= 0;
21818 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21819 int arg2
= (int) 0 ;
21820 int arg3
= (int) -1 ;
21821 int arg4
= (int) -1 ;
21822 wxChoicebookEvent
*result
= 0 ;
21831 PyObject
* obj0
= 0 ;
21832 PyObject
* obj1
= 0 ;
21833 PyObject
* obj2
= 0 ;
21834 PyObject
* obj3
= 0 ;
21835 char * kwnames
[] = {
21836 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21841 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21842 if (!SWIG_IsOK(ecode1
)) {
21843 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21845 arg1
= static_cast< wxEventType
>(val1
);
21848 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21849 if (!SWIG_IsOK(ecode2
)) {
21850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21852 arg2
= static_cast< int >(val2
);
21855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21856 if (!SWIG_IsOK(ecode3
)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21859 arg3
= static_cast< int >(val3
);
21862 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21863 if (!SWIG_IsOK(ecode4
)) {
21864 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21866 arg4
= static_cast< int >(val4
);
21869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21870 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21871 wxPyEndAllowThreads(__tstate
);
21872 if (PyErr_Occurred()) SWIG_fail
;
21874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21881 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21884 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21885 return SWIG_Py_Void();
21888 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21889 return SWIG_Python_InitShadowInstance(args
);
21892 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21893 PyObject
*resultobj
= 0;
21894 wxWindow
*arg1
= (wxWindow
*) 0 ;
21896 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21897 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21898 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21899 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21900 long arg5
= (long) wxBK_DEFAULT
;
21901 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21902 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21903 wxTreebook
*result
= 0 ;
21912 bool temp6
= false ;
21913 PyObject
* obj0
= 0 ;
21914 PyObject
* obj1
= 0 ;
21915 PyObject
* obj2
= 0 ;
21916 PyObject
* obj3
= 0 ;
21917 PyObject
* obj4
= 0 ;
21918 PyObject
* obj5
= 0 ;
21919 char * kwnames
[] = {
21920 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21925 if (!SWIG_IsOK(res1
)) {
21926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21930 if (!SWIG_IsOK(ecode2
)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21933 arg2
= static_cast< int >(val2
);
21937 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21943 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21947 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21948 if (!SWIG_IsOK(ecode5
)) {
21949 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21951 arg5
= static_cast< long >(val5
);
21955 arg6
= wxString_in_helper(obj5
);
21956 if (arg6
== NULL
) SWIG_fail
;
21961 if (!wxPyCheckForApp()) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21964 wxPyEndAllowThreads(__tstate
);
21965 if (PyErr_Occurred()) SWIG_fail
;
21967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21982 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21983 PyObject
*resultobj
= 0;
21984 wxTreebook
*result
= 0 ;
21986 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21988 if (!wxPyCheckForApp()) SWIG_fail
;
21989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21990 result
= (wxTreebook
*)new wxTreebook();
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
22001 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
= 0;
22003 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22004 wxWindow
*arg2
= (wxWindow
*) 0 ;
22006 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22007 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22008 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22009 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22010 long arg6
= (long) wxBK_DEFAULT
;
22011 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22012 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22024 bool temp7
= false ;
22025 PyObject
* obj0
= 0 ;
22026 PyObject
* obj1
= 0 ;
22027 PyObject
* obj2
= 0 ;
22028 PyObject
* obj3
= 0 ;
22029 PyObject
* obj4
= 0 ;
22030 PyObject
* obj5
= 0 ;
22031 PyObject
* obj6
= 0 ;
22032 char * kwnames
[] = {
22033 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22038 if (!SWIG_IsOK(res1
)) {
22039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22041 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22042 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22043 if (!SWIG_IsOK(res2
)) {
22044 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22046 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22047 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22048 if (!SWIG_IsOK(ecode3
)) {
22049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22051 arg3
= static_cast< int >(val3
);
22055 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22061 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22065 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22066 if (!SWIG_IsOK(ecode6
)) {
22067 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22069 arg6
= static_cast< long >(val6
);
22073 arg7
= wxString_in_helper(obj6
);
22074 if (arg7
== NULL
) SWIG_fail
;
22079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22081 wxPyEndAllowThreads(__tstate
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22101 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
= 0;
22103 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22105 wxWindow
*arg3
= (wxWindow
*) 0 ;
22106 wxString
*arg4
= 0 ;
22107 bool arg5
= (bool) false ;
22108 int arg6
= (int) wxNOT_FOUND
;
22116 bool temp4
= false ;
22121 PyObject
* obj0
= 0 ;
22122 PyObject
* obj1
= 0 ;
22123 PyObject
* obj2
= 0 ;
22124 PyObject
* obj3
= 0 ;
22125 PyObject
* obj4
= 0 ;
22126 PyObject
* obj5
= 0 ;
22127 char * kwnames
[] = {
22128 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22133 if (!SWIG_IsOK(res1
)) {
22134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22136 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22137 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22138 if (!SWIG_IsOK(ecode2
)) {
22139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22141 arg2
= static_cast< size_t >(val2
);
22142 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22143 if (!SWIG_IsOK(res3
)) {
22144 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22146 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22148 arg4
= wxString_in_helper(obj3
);
22149 if (arg4
== NULL
) SWIG_fail
;
22153 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22154 if (!SWIG_IsOK(ecode5
)) {
22155 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22157 arg5
= static_cast< bool >(val5
);
22160 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22161 if (!SWIG_IsOK(ecode6
)) {
22162 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22164 arg6
= static_cast< int >(val6
);
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22189 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
= 0;
22191 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22192 wxWindow
*arg2
= (wxWindow
*) 0 ;
22193 wxString
*arg3
= 0 ;
22194 bool arg4
= (bool) false ;
22195 int arg5
= (int) wxNOT_FOUND
;
22201 bool temp3
= false ;
22206 PyObject
* obj0
= 0 ;
22207 PyObject
* obj1
= 0 ;
22208 PyObject
* obj2
= 0 ;
22209 PyObject
* obj3
= 0 ;
22210 PyObject
* obj4
= 0 ;
22211 char * kwnames
[] = {
22212 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22217 if (!SWIG_IsOK(res1
)) {
22218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22220 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22221 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22222 if (!SWIG_IsOK(res2
)) {
22223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22225 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22227 arg3
= wxString_in_helper(obj2
);
22228 if (arg3
== NULL
) SWIG_fail
;
22232 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22233 if (!SWIG_IsOK(ecode4
)) {
22234 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22236 arg4
= static_cast< bool >(val4
);
22239 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22240 if (!SWIG_IsOK(ecode5
)) {
22241 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22243 arg5
= static_cast< int >(val5
);
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22248 wxPyEndAllowThreads(__tstate
);
22249 if (PyErr_Occurred()) SWIG_fail
;
22252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22268 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22269 PyObject
*resultobj
= 0;
22270 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22277 PyObject
* obj0
= 0 ;
22278 PyObject
* obj1
= 0 ;
22279 char * kwnames
[] = {
22280 (char *) "self",(char *) "pos", NULL
22283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22285 if (!SWIG_IsOK(res1
)) {
22286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22288 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22289 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22290 if (!SWIG_IsOK(ecode2
)) {
22291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22293 arg2
= static_cast< size_t >(val2
);
22295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22296 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22297 wxPyEndAllowThreads(__tstate
);
22298 if (PyErr_Occurred()) SWIG_fail
;
22301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22309 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
= 0;
22311 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22313 bool arg3
= (bool) true ;
22321 PyObject
* obj0
= 0 ;
22322 PyObject
* obj1
= 0 ;
22323 PyObject
* obj2
= 0 ;
22324 char * kwnames
[] = {
22325 (char *) "self",(char *) "pos",(char *) "expand", NULL
22328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22330 if (!SWIG_IsOK(res1
)) {
22331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22333 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22334 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22335 if (!SWIG_IsOK(ecode2
)) {
22336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22338 arg2
= static_cast< size_t >(val2
);
22340 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22341 if (!SWIG_IsOK(ecode3
)) {
22342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22344 arg3
= static_cast< bool >(val3
);
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22348 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22361 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22362 PyObject
*resultobj
= 0;
22363 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22370 PyObject
* obj0
= 0 ;
22371 PyObject
* obj1
= 0 ;
22372 char * kwnames
[] = {
22373 (char *) "self",(char *) "pos", NULL
22376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22378 if (!SWIG_IsOK(res1
)) {
22379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22381 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22382 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22383 if (!SWIG_IsOK(ecode2
)) {
22384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22386 arg2
= static_cast< size_t >(val2
);
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 result
= (bool)(arg1
)->CollapseNode(arg2
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22402 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
= 0;
22404 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22411 PyObject
* obj0
= 0 ;
22412 PyObject
* obj1
= 0 ;
22413 char * kwnames
[] = {
22414 (char *) "self",(char *) "pos", NULL
22417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22419 if (!SWIG_IsOK(res1
)) {
22420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22422 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22423 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22424 if (!SWIG_IsOK(ecode2
)) {
22425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22427 arg2
= static_cast< size_t >(val2
);
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22430 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22434 resultobj
= SWIG_From_int(static_cast< int >(result
));
22441 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22442 PyObject
*resultobj
= 0;
22443 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22444 wxPyTreeCtrl
*result
= 0 ;
22447 PyObject
*swig_obj
[1] ;
22449 if (!args
) SWIG_fail
;
22450 swig_obj
[0] = args
;
22451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22452 if (!SWIG_IsOK(res1
)) {
22453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22455 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22458 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22463 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22471 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22473 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22474 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22475 return SWIG_Py_Void();
22478 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22479 return SWIG_Python_InitShadowInstance(args
);
22482 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22483 PyObject
*resultobj
= 0;
22484 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22485 int arg2
= (int) 0 ;
22486 int arg3
= (int) wxNOT_FOUND
;
22487 int arg4
= (int) wxNOT_FOUND
;
22488 wxTreebookEvent
*result
= 0 ;
22497 PyObject
* obj0
= 0 ;
22498 PyObject
* obj1
= 0 ;
22499 PyObject
* obj2
= 0 ;
22500 PyObject
* obj3
= 0 ;
22501 char * kwnames
[] = {
22502 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22507 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22508 if (!SWIG_IsOK(ecode1
)) {
22509 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22511 arg1
= static_cast< wxEventType
>(val1
);
22514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22515 if (!SWIG_IsOK(ecode2
)) {
22516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22518 arg2
= static_cast< int >(val2
);
22521 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22522 if (!SWIG_IsOK(ecode3
)) {
22523 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22525 arg3
= static_cast< int >(val3
);
22528 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22529 if (!SWIG_IsOK(ecode4
)) {
22530 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22532 arg4
= static_cast< int >(val4
);
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22547 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22549 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22550 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22551 return SWIG_Py_Void();
22554 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22555 return SWIG_Python_InitShadowInstance(args
);
22558 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
= 0;
22560 wxWindow
*arg1
= (wxWindow
*) 0 ;
22562 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22563 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22564 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22565 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22566 long arg5
= (long) wxBK_DEFAULT
;
22567 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22568 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22569 wxToolbook
*result
= 0 ;
22578 bool temp6
= false ;
22579 PyObject
* obj0
= 0 ;
22580 PyObject
* obj1
= 0 ;
22581 PyObject
* obj2
= 0 ;
22582 PyObject
* obj3
= 0 ;
22583 PyObject
* obj4
= 0 ;
22584 PyObject
* obj5
= 0 ;
22585 char * kwnames
[] = {
22586 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22591 if (!SWIG_IsOK(res1
)) {
22592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22594 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22596 if (!SWIG_IsOK(ecode2
)) {
22597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22599 arg2
= static_cast< int >(val2
);
22603 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22609 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22613 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22614 if (!SWIG_IsOK(ecode5
)) {
22615 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22617 arg5
= static_cast< long >(val5
);
22621 arg6
= wxString_in_helper(obj5
);
22622 if (arg6
== NULL
) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22647 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22648 PyObject
*resultobj
= 0;
22649 wxToolbook
*result
= 0 ;
22651 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22654 result
= (wxToolbook
*)new wxToolbook();
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22665 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22666 PyObject
*resultobj
= 0;
22667 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22668 wxWindow
*arg2
= (wxWindow
*) 0 ;
22670 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22671 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22672 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22673 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22674 long arg6
= (long) 0 ;
22675 wxString
const &arg7_defvalue
= wxEmptyString
;
22676 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22688 bool temp7
= false ;
22689 PyObject
* obj0
= 0 ;
22690 PyObject
* obj1
= 0 ;
22691 PyObject
* obj2
= 0 ;
22692 PyObject
* obj3
= 0 ;
22693 PyObject
* obj4
= 0 ;
22694 PyObject
* obj5
= 0 ;
22695 PyObject
* obj6
= 0 ;
22696 char * kwnames
[] = {
22697 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22702 if (!SWIG_IsOK(res1
)) {
22703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22705 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22706 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22707 if (!SWIG_IsOK(res2
)) {
22708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22710 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22711 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22712 if (!SWIG_IsOK(ecode3
)) {
22713 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22715 arg3
= static_cast< int >(val3
);
22719 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22725 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22729 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22730 if (!SWIG_IsOK(ecode6
)) {
22731 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22733 arg6
= static_cast< long >(val6
);
22737 arg7
= wxString_in_helper(obj6
);
22738 if (arg7
== NULL
) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22765 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22766 PyObject
*resultobj
= 0;
22767 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22768 wxToolBarBase
*result
= 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_wxToolbook
, 0 | 0 );
22776 if (!SWIG_IsOK(res1
)) {
22777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22779 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22795 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22796 PyObject
*resultobj
= 0;
22797 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22800 PyObject
*swig_obj
[1] ;
22802 if (!args
) SWIG_fail
;
22803 swig_obj
[0] = args
;
22804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22805 if (!SWIG_IsOK(res1
)) {
22806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22808 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= SWIG_Py_Void();
22822 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22825 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22826 return SWIG_Py_Void();
22829 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22830 return SWIG_Python_InitShadowInstance(args
);
22833 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22834 PyObject
*resultobj
= 0;
22835 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22836 int arg2
= (int) 0 ;
22837 int arg3
= (int) wxNOT_FOUND
;
22838 int arg4
= (int) wxNOT_FOUND
;
22839 wxToolbookEvent
*result
= 0 ;
22848 PyObject
* obj0
= 0 ;
22849 PyObject
* obj1
= 0 ;
22850 PyObject
* obj2
= 0 ;
22851 PyObject
* obj3
= 0 ;
22852 char * kwnames
[] = {
22853 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22858 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22859 if (!SWIG_IsOK(ecode1
)) {
22860 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22862 arg1
= static_cast< wxEventType
>(val1
);
22865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22866 if (!SWIG_IsOK(ecode2
)) {
22867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22869 arg2
= static_cast< int >(val2
);
22872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22873 if (!SWIG_IsOK(ecode3
)) {
22874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22876 arg3
= static_cast< int >(val3
);
22879 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22880 if (!SWIG_IsOK(ecode4
)) {
22881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22883 arg4
= static_cast< int >(val4
);
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22898 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22900 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22901 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22902 return SWIG_Py_Void();
22905 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22906 return SWIG_Python_InitShadowInstance(args
);
22909 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22910 PyObject
*resultobj
= 0;
22911 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22915 PyObject
*swig_obj
[1] ;
22917 if (!args
) SWIG_fail
;
22918 swig_obj
[0] = args
;
22919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22920 if (!SWIG_IsOK(res1
)) {
22921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22923 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= (int)(arg1
)->GetId();
22927 wxPyEndAllowThreads(__tstate
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22930 resultobj
= SWIG_From_int(static_cast< int >(result
));
22937 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22938 PyObject
*resultobj
= 0;
22939 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22940 wxControl
*result
= 0 ;
22943 PyObject
*swig_obj
[1] ;
22945 if (!args
) SWIG_fail
;
22946 swig_obj
[0] = args
;
22947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22948 if (!SWIG_IsOK(res1
)) {
22949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22951 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 result
= (wxControl
*)(arg1
)->GetControl();
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22959 resultobj
= wxPyMake_wxObject(result
, 0);
22967 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22968 PyObject
*resultobj
= 0;
22969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22970 wxToolBarBase
*result
= 0 ;
22973 PyObject
*swig_obj
[1] ;
22975 if (!args
) SWIG_fail
;
22976 swig_obj
[0] = args
;
22977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22978 if (!SWIG_IsOK(res1
)) {
22979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22981 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22984 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22989 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22997 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22998 PyObject
*resultobj
= 0;
22999 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23003 PyObject
*swig_obj
[1] ;
23005 if (!args
) SWIG_fail
;
23006 swig_obj
[0] = args
;
23007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23008 if (!SWIG_IsOK(res1
)) {
23009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23011 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23014 result
= (int)(arg1
)->IsButton();
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 resultobj
= SWIG_From_int(static_cast< int >(result
));
23025 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23026 PyObject
*resultobj
= 0;
23027 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23031 PyObject
*swig_obj
[1] ;
23033 if (!args
) SWIG_fail
;
23034 swig_obj
[0] = args
;
23035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23036 if (!SWIG_IsOK(res1
)) {
23037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23039 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (int)(arg1
)->IsControl();
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_From_int(static_cast< int >(result
));
23053 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23054 PyObject
*resultobj
= 0;
23055 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23059 PyObject
*swig_obj
[1] ;
23061 if (!args
) SWIG_fail
;
23062 swig_obj
[0] = args
;
23063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23064 if (!SWIG_IsOK(res1
)) {
23065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23067 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 result
= (int)(arg1
)->IsSeparator();
23071 wxPyEndAllowThreads(__tstate
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23074 resultobj
= SWIG_From_int(static_cast< int >(result
));
23081 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23082 PyObject
*resultobj
= 0;
23083 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23087 PyObject
*swig_obj
[1] ;
23089 if (!args
) SWIG_fail
;
23090 swig_obj
[0] = args
;
23091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23092 if (!SWIG_IsOK(res1
)) {
23093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23095 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 result
= (int)(arg1
)->GetStyle();
23099 wxPyEndAllowThreads(__tstate
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23102 resultobj
= SWIG_From_int(static_cast< int >(result
));
23109 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23110 PyObject
*resultobj
= 0;
23111 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23115 PyObject
*swig_obj
[1] ;
23117 if (!args
) SWIG_fail
;
23118 swig_obj
[0] = args
;
23119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23120 if (!SWIG_IsOK(res1
)) {
23121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23123 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (wxItemKind
)(arg1
)->GetKind();
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_From_int(static_cast< int >(result
));
23137 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23138 PyObject
*resultobj
= 0;
23139 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23143 PyObject
*swig_obj
[1] ;
23145 if (!args
) SWIG_fail
;
23146 swig_obj
[0] = args
;
23147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23148 if (!SWIG_IsOK(res1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23151 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 result
= (bool)(arg1
)->IsEnabled();
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23167 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23168 PyObject
*resultobj
= 0;
23169 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23173 PyObject
*swig_obj
[1] ;
23175 if (!args
) SWIG_fail
;
23176 swig_obj
[0] = args
;
23177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23178 if (!SWIG_IsOK(res1
)) {
23179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23181 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 result
= (bool)(arg1
)->IsToggled();
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23197 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23198 PyObject
*resultobj
= 0;
23199 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23203 PyObject
*swig_obj
[1] ;
23205 if (!args
) SWIG_fail
;
23206 swig_obj
[0] = args
;
23207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23208 if (!SWIG_IsOK(res1
)) {
23209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23211 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (bool)(arg1
)->CanBeToggled();
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23227 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23228 PyObject
*resultobj
= 0;
23229 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23230 wxBitmap
*result
= 0 ;
23233 PyObject
*swig_obj
[1] ;
23235 if (!args
) SWIG_fail
;
23236 swig_obj
[0] = args
;
23237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23238 if (!SWIG_IsOK(res1
)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23241 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23245 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23246 result
= (wxBitmap
*) &_result_ref
;
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23252 wxBitmap
* resultptr
= new wxBitmap(*result
);
23253 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23261 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23262 PyObject
*resultobj
= 0;
23263 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23264 wxBitmap
*result
= 0 ;
23267 PyObject
*swig_obj
[1] ;
23269 if (!args
) SWIG_fail
;
23270 swig_obj
[0] = args
;
23271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23272 if (!SWIG_IsOK(res1
)) {
23273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23275 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23279 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23280 result
= (wxBitmap
*) &_result_ref
;
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23286 wxBitmap
* resultptr
= new wxBitmap(*result
);
23287 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23295 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23296 PyObject
*resultobj
= 0;
23297 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23301 PyObject
*swig_obj
[1] ;
23303 if (!args
) SWIG_fail
;
23304 swig_obj
[0] = args
;
23305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23306 if (!SWIG_IsOK(res1
)) {
23307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23309 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 result
= (arg1
)->GetBitmap();
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23316 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23323 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23324 PyObject
*resultobj
= 0;
23325 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23329 PyObject
*swig_obj
[1] ;
23331 if (!args
) SWIG_fail
;
23332 swig_obj
[0] = args
;
23333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23334 if (!SWIG_IsOK(res1
)) {
23335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23337 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 result
= (arg1
)->GetLabel();
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23357 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23358 PyObject
*resultobj
= 0;
23359 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23363 PyObject
*swig_obj
[1] ;
23365 if (!args
) SWIG_fail
;
23366 swig_obj
[0] = args
;
23367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23368 if (!SWIG_IsOK(res1
)) {
23369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23371 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23374 result
= (arg1
)->GetShortHelp();
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23391 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23392 PyObject
*resultobj
= 0;
23393 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23397 PyObject
*swig_obj
[1] ;
23399 if (!args
) SWIG_fail
;
23400 swig_obj
[0] = args
;
23401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23402 if (!SWIG_IsOK(res1
)) {
23403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23405 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 result
= (arg1
)->GetLongHelp();
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23414 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23416 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23425 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
= 0;
23427 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23434 PyObject
* obj0
= 0 ;
23435 PyObject
* obj1
= 0 ;
23436 char * kwnames
[] = {
23437 (char *) "self",(char *) "enable", NULL
23440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23442 if (!SWIG_IsOK(res1
)) {
23443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23445 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23446 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23447 if (!SWIG_IsOK(ecode2
)) {
23448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23450 arg2
= static_cast< bool >(val2
);
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 result
= (bool)(arg1
)->Enable(arg2
);
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23466 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23467 PyObject
*resultobj
= 0;
23468 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23471 PyObject
*swig_obj
[1] ;
23473 if (!args
) SWIG_fail
;
23474 swig_obj
[0] = args
;
23475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23476 if (!SWIG_IsOK(res1
)) {
23477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23479 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= SWIG_Py_Void();
23493 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
= 0;
23495 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23502 PyObject
* obj0
= 0 ;
23503 PyObject
* obj1
= 0 ;
23504 char * kwnames
[] = {
23505 (char *) "self",(char *) "toggle", NULL
23508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23510 if (!SWIG_IsOK(res1
)) {
23511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23513 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23514 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23515 if (!SWIG_IsOK(ecode2
)) {
23516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23518 arg2
= static_cast< bool >(val2
);
23520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23521 result
= (bool)(arg1
)->SetToggle(arg2
);
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23534 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23535 PyObject
*resultobj
= 0;
23536 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23537 wxString
*arg2
= 0 ;
23541 bool temp2
= false ;
23542 PyObject
* obj0
= 0 ;
23543 PyObject
* obj1
= 0 ;
23544 char * kwnames
[] = {
23545 (char *) "self",(char *) "help", NULL
23548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23550 if (!SWIG_IsOK(res1
)) {
23551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23553 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23555 arg2
= wxString_in_helper(obj1
);
23556 if (arg2
== NULL
) SWIG_fail
;
23560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23561 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23582 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
= 0;
23584 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23585 wxString
*arg2
= 0 ;
23589 bool temp2
= false ;
23590 PyObject
* obj0
= 0 ;
23591 PyObject
* obj1
= 0 ;
23592 char * kwnames
[] = {
23593 (char *) "self",(char *) "help", NULL
23596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23598 if (!SWIG_IsOK(res1
)) {
23599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23601 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23603 arg2
= wxString_in_helper(obj1
);
23604 if (arg2
== NULL
) SWIG_fail
;
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23610 wxPyEndAllowThreads(__tstate
);
23611 if (PyErr_Occurred()) SWIG_fail
;
23614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23630 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23631 PyObject
*resultobj
= 0;
23632 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23633 wxBitmap
*arg2
= 0 ;
23638 PyObject
* obj0
= 0 ;
23639 PyObject
* obj1
= 0 ;
23640 char * kwnames
[] = {
23641 (char *) "self",(char *) "bmp", NULL
23644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23646 if (!SWIG_IsOK(res1
)) {
23647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23649 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23651 if (!SWIG_IsOK(res2
)) {
23652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23657 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 resultobj
= SWIG_Py_Void();
23671 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
= 0;
23673 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23674 wxBitmap
*arg2
= 0 ;
23679 PyObject
* obj0
= 0 ;
23680 PyObject
* obj1
= 0 ;
23681 char * kwnames
[] = {
23682 (char *) "self",(char *) "bmp", NULL
23685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23687 if (!SWIG_IsOK(res1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23690 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23692 if (!SWIG_IsOK(res2
)) {
23693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23698 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23701 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= SWIG_Py_Void();
23712 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
= 0;
23714 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23715 wxString
*arg2
= 0 ;
23718 bool temp2
= false ;
23719 PyObject
* obj0
= 0 ;
23720 PyObject
* obj1
= 0 ;
23721 char * kwnames
[] = {
23722 (char *) "self",(char *) "label", NULL
23725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23727 if (!SWIG_IsOK(res1
)) {
23728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23730 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23732 arg2
= wxString_in_helper(obj1
);
23733 if (arg2
== NULL
) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 (arg1
)->SetLabel((wxString
const &)*arg2
);
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= SWIG_Py_Void();
23757 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23758 PyObject
*resultobj
= 0;
23759 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23762 PyObject
*swig_obj
[1] ;
23764 if (!args
) SWIG_fail
;
23765 swig_obj
[0] = args
;
23766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23767 if (!SWIG_IsOK(res1
)) {
23768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23770 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23777 resultobj
= SWIG_Py_Void();
23784 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
= 0;
23786 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23787 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23794 char * kwnames
[] = {
23795 (char *) "self",(char *) "tbar", NULL
23798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23800 if (!SWIG_IsOK(res1
)) {
23801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23803 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23804 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23805 if (!SWIG_IsOK(res2
)) {
23806 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23808 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23811 (arg1
)->Attach(arg2
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= SWIG_Py_Void();
23822 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23823 PyObject
*resultobj
= 0;
23824 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23825 PyObject
*result
= 0 ;
23828 PyObject
*swig_obj
[1] ;
23830 if (!args
) SWIG_fail
;
23831 swig_obj
[0] = args
;
23832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23833 if (!SWIG_IsOK(res1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23836 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= result
;
23850 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
= 0;
23852 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23853 PyObject
*arg2
= (PyObject
*) 0 ;
23856 PyObject
* obj0
= 0 ;
23857 PyObject
* obj1
= 0 ;
23858 char * kwnames
[] = {
23859 (char *) "self",(char *) "clientData", NULL
23862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23864 if (!SWIG_IsOK(res1
)) {
23865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23867 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23875 resultobj
= SWIG_Py_Void();
23882 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23884 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23885 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23886 return SWIG_Py_Void();
23889 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23890 PyObject
*resultobj
= 0;
23891 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23893 wxString
*arg3
= 0 ;
23894 wxBitmap
*arg4
= 0 ;
23895 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23896 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23897 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23898 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23899 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23900 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23901 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23902 PyObject
*arg9
= (PyObject
*) NULL
;
23903 wxToolBarToolBase
*result
= 0 ;
23908 bool temp3
= false ;
23915 bool temp7
= false ;
23916 bool temp8
= false ;
23917 PyObject
* obj0
= 0 ;
23918 PyObject
* obj1
= 0 ;
23919 PyObject
* obj2
= 0 ;
23920 PyObject
* obj3
= 0 ;
23921 PyObject
* obj4
= 0 ;
23922 PyObject
* obj5
= 0 ;
23923 PyObject
* obj6
= 0 ;
23924 PyObject
* obj7
= 0 ;
23925 PyObject
* obj8
= 0 ;
23926 char * kwnames
[] = {
23927 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23932 if (!SWIG_IsOK(res1
)) {
23933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23935 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23937 if (!SWIG_IsOK(ecode2
)) {
23938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23940 arg2
= static_cast< int >(val2
);
23942 arg3
= wxString_in_helper(obj2
);
23943 if (arg3
== NULL
) SWIG_fail
;
23946 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23947 if (!SWIG_IsOK(res4
)) {
23948 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23951 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23953 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23955 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23956 if (!SWIG_IsOK(res5
)) {
23957 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23962 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23965 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23966 if (!SWIG_IsOK(ecode6
)) {
23967 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23969 arg6
= static_cast< wxItemKind
>(val6
);
23973 arg7
= wxString_in_helper(obj6
);
23974 if (arg7
== NULL
) SWIG_fail
;
23980 arg8
= wxString_in_helper(obj7
);
23981 if (arg8
== NULL
) SWIG_fail
;
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23995 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24027 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
= 0;
24029 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24032 wxString
*arg4
= 0 ;
24033 wxBitmap
*arg5
= 0 ;
24034 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24035 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24036 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24037 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24038 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24039 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24040 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24041 PyObject
*arg10
= (PyObject
*) NULL
;
24042 wxToolBarToolBase
*result
= 0 ;
24049 bool temp4
= false ;
24056 bool temp8
= false ;
24057 bool temp9
= false ;
24058 PyObject
* obj0
= 0 ;
24059 PyObject
* obj1
= 0 ;
24060 PyObject
* obj2
= 0 ;
24061 PyObject
* obj3
= 0 ;
24062 PyObject
* obj4
= 0 ;
24063 PyObject
* obj5
= 0 ;
24064 PyObject
* obj6
= 0 ;
24065 PyObject
* obj7
= 0 ;
24066 PyObject
* obj8
= 0 ;
24067 PyObject
* obj9
= 0 ;
24068 char * kwnames
[] = {
24069 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24074 if (!SWIG_IsOK(res1
)) {
24075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24077 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24078 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24079 if (!SWIG_IsOK(ecode2
)) {
24080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24082 arg2
= static_cast< size_t >(val2
);
24083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24084 if (!SWIG_IsOK(ecode3
)) {
24085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24087 arg3
= static_cast< int >(val3
);
24089 arg4
= wxString_in_helper(obj3
);
24090 if (arg4
== NULL
) SWIG_fail
;
24093 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24094 if (!SWIG_IsOK(res5
)) {
24095 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24098 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24100 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24102 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24103 if (!SWIG_IsOK(res6
)) {
24104 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24109 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24112 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24113 if (!SWIG_IsOK(ecode7
)) {
24114 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24116 arg7
= static_cast< wxItemKind
>(val7
);
24120 arg8
= wxString_in_helper(obj7
);
24121 if (arg8
== NULL
) SWIG_fail
;
24127 arg9
= wxString_in_helper(obj8
);
24128 if (arg9
== NULL
) SWIG_fail
;
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24142 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24174 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
= 0;
24176 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24177 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24178 wxToolBarToolBase
*result
= 0 ;
24183 PyObject
* obj0
= 0 ;
24184 PyObject
* obj1
= 0 ;
24185 char * kwnames
[] = {
24186 (char *) "self",(char *) "tool", NULL
24189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24191 if (!SWIG_IsOK(res1
)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24194 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24196 if (!SWIG_IsOK(res2
)) {
24197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24199 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24202 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24207 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24215 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
= 0;
24217 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24219 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24220 wxToolBarToolBase
*result
= 0 ;
24227 PyObject
* obj0
= 0 ;
24228 PyObject
* obj1
= 0 ;
24229 PyObject
* obj2
= 0 ;
24230 char * kwnames
[] = {
24231 (char *) "self",(char *) "pos",(char *) "tool", NULL
24234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",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_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24239 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24240 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24241 if (!SWIG_IsOK(ecode2
)) {
24242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24244 arg2
= static_cast< size_t >(val2
);
24245 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24246 if (!SWIG_IsOK(res3
)) {
24247 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24249 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24253 wxPyEndAllowThreads(__tstate
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24257 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24265 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24266 PyObject
*resultobj
= 0;
24267 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24268 wxControl
*arg2
= (wxControl
*) 0 ;
24269 wxToolBarToolBase
*result
= 0 ;
24274 PyObject
* obj0
= 0 ;
24275 PyObject
* obj1
= 0 ;
24276 char * kwnames
[] = {
24277 (char *) "self",(char *) "control", NULL
24280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24282 if (!SWIG_IsOK(res1
)) {
24283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24285 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24286 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24287 if (!SWIG_IsOK(res2
)) {
24288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24290 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24306 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
= 0;
24308 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24310 wxControl
*arg3
= (wxControl
*) 0 ;
24311 wxToolBarToolBase
*result
= 0 ;
24318 PyObject
* obj0
= 0 ;
24319 PyObject
* obj1
= 0 ;
24320 PyObject
* obj2
= 0 ;
24321 char * kwnames
[] = {
24322 (char *) "self",(char *) "pos",(char *) "control", NULL
24325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24327 if (!SWIG_IsOK(res1
)) {
24328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24330 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24331 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24332 if (!SWIG_IsOK(ecode2
)) {
24333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24335 arg2
= static_cast< size_t >(val2
);
24336 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24337 if (!SWIG_IsOK(res3
)) {
24338 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24340 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24356 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
= 0;
24358 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24360 wxControl
*result
= 0 ;
24365 PyObject
* obj0
= 0 ;
24366 PyObject
* obj1
= 0 ;
24367 char * kwnames
[] = {
24368 (char *) "self",(char *) "id", NULL
24371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24373 if (!SWIG_IsOK(res1
)) {
24374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24376 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24378 if (!SWIG_IsOK(ecode2
)) {
24379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24381 arg2
= static_cast< int >(val2
);
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24385 wxPyEndAllowThreads(__tstate
);
24386 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= wxPyMake_wxObject(result
, 0);
24397 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24398 PyObject
*resultobj
= 0;
24399 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24400 wxToolBarToolBase
*result
= 0 ;
24403 PyObject
*swig_obj
[1] ;
24405 if (!args
) SWIG_fail
;
24406 swig_obj
[0] = args
;
24407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24408 if (!SWIG_IsOK(res1
)) {
24409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24411 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24414 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24427 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
= 0;
24429 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24431 wxToolBarToolBase
*result
= 0 ;
24436 PyObject
* obj0
= 0 ;
24437 PyObject
* obj1
= 0 ;
24438 char * kwnames
[] = {
24439 (char *) "self",(char *) "pos", NULL
24442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24444 if (!SWIG_IsOK(res1
)) {
24445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24447 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24448 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24449 if (!SWIG_IsOK(ecode2
)) {
24450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24452 arg2
= static_cast< size_t >(val2
);
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24460 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24468 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24469 PyObject
*resultobj
= 0;
24470 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24472 wxToolBarToolBase
*result
= 0 ;
24477 PyObject
* obj0
= 0 ;
24478 PyObject
* obj1
= 0 ;
24479 char * kwnames
[] = {
24480 (char *) "self",(char *) "id", NULL
24483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24485 if (!SWIG_IsOK(res1
)) {
24486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24488 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24489 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24490 if (!SWIG_IsOK(ecode2
)) {
24491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24493 arg2
= static_cast< int >(val2
);
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24497 wxPyEndAllowThreads(__tstate
);
24498 if (PyErr_Occurred()) SWIG_fail
;
24501 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24509 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24510 PyObject
*resultobj
= 0;
24511 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 char * kwnames
[] = {
24521 (char *) "self",(char *) "pos", NULL
24524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24526 if (!SWIG_IsOK(res1
)) {
24527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24529 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24530 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24531 if (!SWIG_IsOK(ecode2
)) {
24532 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24534 arg2
= static_cast< size_t >(val2
);
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24550 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
= 0;
24552 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24559 PyObject
* obj0
= 0 ;
24560 PyObject
* obj1
= 0 ;
24561 char * kwnames
[] = {
24562 (char *) "self",(char *) "id", NULL
24565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24567 if (!SWIG_IsOK(res1
)) {
24568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24570 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24572 if (!SWIG_IsOK(ecode2
)) {
24573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24575 arg2
= static_cast< int >(val2
);
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 result
= (bool)(arg1
)->DeleteTool(arg2
);
24579 wxPyEndAllowThreads(__tstate
);
24580 if (PyErr_Occurred()) SWIG_fail
;
24583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24591 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24592 PyObject
*resultobj
= 0;
24593 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24596 PyObject
*swig_obj
[1] ;
24598 if (!args
) SWIG_fail
;
24599 swig_obj
[0] = args
;
24600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24601 if (!SWIG_IsOK(res1
)) {
24602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24604 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24607 (arg1
)->ClearTools();
24608 wxPyEndAllowThreads(__tstate
);
24609 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= SWIG_Py_Void();
24618 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24619 PyObject
*resultobj
= 0;
24620 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24624 PyObject
*swig_obj
[1] ;
24626 if (!args
) SWIG_fail
;
24627 swig_obj
[0] = args
;
24628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24629 if (!SWIG_IsOK(res1
)) {
24630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24632 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 result
= (bool)(arg1
)->Realize();
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24648 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
= 0;
24650 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24659 PyObject
* obj0
= 0 ;
24660 PyObject
* obj1
= 0 ;
24661 PyObject
* obj2
= 0 ;
24662 char * kwnames
[] = {
24663 (char *) "self",(char *) "id",(char *) "enable", NULL
24666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24668 if (!SWIG_IsOK(res1
)) {
24669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24671 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24673 if (!SWIG_IsOK(ecode2
)) {
24674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24676 arg2
= static_cast< int >(val2
);
24677 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24678 if (!SWIG_IsOK(ecode3
)) {
24679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24681 arg3
= static_cast< bool >(val3
);
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 (arg1
)->EnableTool(arg2
,arg3
);
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 resultobj
= SWIG_Py_Void();
24695 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
= 0;
24697 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24706 PyObject
* obj0
= 0 ;
24707 PyObject
* obj1
= 0 ;
24708 PyObject
* obj2
= 0 ;
24709 char * kwnames
[] = {
24710 (char *) "self",(char *) "id",(char *) "toggle", NULL
24713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24715 if (!SWIG_IsOK(res1
)) {
24716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24718 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24720 if (!SWIG_IsOK(ecode2
)) {
24721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24723 arg2
= static_cast< int >(val2
);
24724 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24725 if (!SWIG_IsOK(ecode3
)) {
24726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24728 arg3
= static_cast< bool >(val3
);
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 (arg1
)->ToggleTool(arg2
,arg3
);
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= SWIG_Py_Void();
24742 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
= 0;
24744 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24753 PyObject
* obj0
= 0 ;
24754 PyObject
* obj1
= 0 ;
24755 PyObject
* obj2
= 0 ;
24756 char * kwnames
[] = {
24757 (char *) "self",(char *) "id",(char *) "toggle", NULL
24760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24762 if (!SWIG_IsOK(res1
)) {
24763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24765 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24766 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24767 if (!SWIG_IsOK(ecode2
)) {
24768 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24770 arg2
= static_cast< int >(val2
);
24771 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24772 if (!SWIG_IsOK(ecode3
)) {
24773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24775 arg3
= static_cast< bool >(val3
);
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 (arg1
)->SetToggle(arg2
,arg3
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24782 resultobj
= SWIG_Py_Void();
24789 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
= 0;
24791 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24793 PyObject
*result
= 0 ;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 char * kwnames
[] = {
24801 (char *) "self",(char *) "id", NULL
24804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24806 if (!SWIG_IsOK(res1
)) {
24807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24809 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24811 if (!SWIG_IsOK(ecode2
)) {
24812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24814 arg2
= static_cast< int >(val2
);
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= result
;
24828 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24829 PyObject
*resultobj
= 0;
24830 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24832 PyObject
*arg3
= (PyObject
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 PyObject
* obj1
= 0 ;
24839 PyObject
* obj2
= 0 ;
24840 char * kwnames
[] = {
24841 (char *) "self",(char *) "id",(char *) "clientData", NULL
24844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24846 if (!SWIG_IsOK(res1
)) {
24847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24849 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24851 if (!SWIG_IsOK(ecode2
)) {
24852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24854 arg2
= static_cast< int >(val2
);
24857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24858 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24862 resultobj
= SWIG_Py_Void();
24869 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24870 PyObject
*resultobj
= 0;
24871 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24878 PyObject
* obj0
= 0 ;
24879 PyObject
* obj1
= 0 ;
24880 char * kwnames
[] = {
24881 (char *) "self",(char *) "id", NULL
24884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24886 if (!SWIG_IsOK(res1
)) {
24887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
24889 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24891 if (!SWIG_IsOK(ecode2
)) {
24892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24894 arg2
= static_cast< int >(val2
);
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24901 resultobj
= SWIG_From_int(static_cast< int >(result
));
24908 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
= 0;
24910 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24917 PyObject
* obj0
= 0 ;
24918 PyObject
* obj1
= 0 ;
24919 char * kwnames
[] = {
24920 (char *) "self",(char *) "id", NULL
24923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24925 if (!SWIG_IsOK(res1
)) {
24926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24928 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24930 if (!SWIG_IsOK(ecode2
)) {
24931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24933 arg2
= static_cast< int >(val2
);
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 result
= (bool)(arg1
)->GetToolState(arg2
);
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24949 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24950 PyObject
*resultobj
= 0;
24951 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24958 PyObject
* obj0
= 0 ;
24959 PyObject
* obj1
= 0 ;
24960 char * kwnames
[] = {
24961 (char *) "self",(char *) "id", NULL
24964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24966 if (!SWIG_IsOK(res1
)) {
24967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24969 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24971 if (!SWIG_IsOK(ecode2
)) {
24972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24974 arg2
= static_cast< int >(val2
);
24976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24977 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24990 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24991 PyObject
*resultobj
= 0;
24992 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24994 wxString
*arg3
= 0 ;
24999 bool temp3
= false ;
25000 PyObject
* obj0
= 0 ;
25001 PyObject
* obj1
= 0 ;
25002 PyObject
* obj2
= 0 ;
25003 char * kwnames
[] = {
25004 (char *) "self",(char *) "id",(char *) "helpString", NULL
25007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25009 if (!SWIG_IsOK(res1
)) {
25010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25012 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25013 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25014 if (!SWIG_IsOK(ecode2
)) {
25015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25017 arg2
= static_cast< int >(val2
);
25019 arg3
= wxString_in_helper(obj2
);
25020 if (arg3
== NULL
) SWIG_fail
;
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= SWIG_Py_Void();
25044 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
= 0;
25046 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj1
= 0 ;
25055 char * kwnames
[] = {
25056 (char *) "self",(char *) "id", NULL
25059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25061 if (!SWIG_IsOK(res1
)) {
25062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25064 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25066 if (!SWIG_IsOK(ecode2
)) {
25067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25069 arg2
= static_cast< int >(val2
);
25071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25072 result
= (arg1
)->GetToolShortHelp(arg2
);
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25078 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25080 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25089 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
= 0;
25091 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25093 wxString
*arg3
= 0 ;
25098 bool temp3
= false ;
25099 PyObject
* obj0
= 0 ;
25100 PyObject
* obj1
= 0 ;
25101 PyObject
* obj2
= 0 ;
25102 char * kwnames
[] = {
25103 (char *) "self",(char *) "id",(char *) "helpString", NULL
25106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25108 if (!SWIG_IsOK(res1
)) {
25109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25111 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25113 if (!SWIG_IsOK(ecode2
)) {
25114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25116 arg2
= static_cast< int >(val2
);
25118 arg3
= wxString_in_helper(obj2
);
25119 if (arg3
== NULL
) SWIG_fail
;
25123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25124 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25125 wxPyEndAllowThreads(__tstate
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25128 resultobj
= SWIG_Py_Void();
25143 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25144 PyObject
*resultobj
= 0;
25145 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25152 PyObject
* obj0
= 0 ;
25153 PyObject
* obj1
= 0 ;
25154 char * kwnames
[] = {
25155 (char *) "self",(char *) "id", NULL
25158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25160 if (!SWIG_IsOK(res1
)) {
25161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25163 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25165 if (!SWIG_IsOK(ecode2
)) {
25166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25168 arg2
= static_cast< int >(val2
);
25170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25171 result
= (arg1
)->GetToolLongHelp(arg2
);
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25188 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
= 0;
25190 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 PyObject
* obj1
= 0 ;
25201 PyObject
* obj2
= 0 ;
25202 char * kwnames
[] = {
25203 (char *) "self",(char *) "x",(char *) "y", NULL
25206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25208 if (!SWIG_IsOK(res1
)) {
25209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25211 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25213 if (!SWIG_IsOK(ecode2
)) {
25214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25216 arg2
= static_cast< int >(val2
);
25217 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25218 if (!SWIG_IsOK(ecode3
)) {
25219 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25221 arg3
= static_cast< int >(val3
);
25223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25224 (arg1
)->SetMargins(arg2
,arg3
);
25225 wxPyEndAllowThreads(__tstate
);
25226 if (PyErr_Occurred()) SWIG_fail
;
25228 resultobj
= SWIG_Py_Void();
25235 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25236 PyObject
*resultobj
= 0;
25237 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25242 PyObject
* obj0
= 0 ;
25243 PyObject
* obj1
= 0 ;
25244 char * kwnames
[] = {
25245 (char *) "self",(char *) "size", NULL
25248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25250 if (!SWIG_IsOK(res1
)) {
25251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25253 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25256 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25261 wxPyEndAllowThreads(__tstate
);
25262 if (PyErr_Occurred()) SWIG_fail
;
25264 resultobj
= SWIG_Py_Void();
25271 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
= 0;
25273 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25279 PyObject
* obj0
= 0 ;
25280 PyObject
* obj1
= 0 ;
25281 char * kwnames
[] = {
25282 (char *) "self",(char *) "packing", NULL
25285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25287 if (!SWIG_IsOK(res1
)) {
25288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25290 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25292 if (!SWIG_IsOK(ecode2
)) {
25293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25295 arg2
= static_cast< int >(val2
);
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 (arg1
)->SetToolPacking(arg2
);
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25302 resultobj
= SWIG_Py_Void();
25309 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25310 PyObject
*resultobj
= 0;
25311 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25317 PyObject
* obj0
= 0 ;
25318 PyObject
* obj1
= 0 ;
25319 char * kwnames
[] = {
25320 (char *) "self",(char *) "separation", NULL
25323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25325 if (!SWIG_IsOK(res1
)) {
25326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25328 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25330 if (!SWIG_IsOK(ecode2
)) {
25331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25333 arg2
= static_cast< int >(val2
);
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 (arg1
)->SetToolSeparation(arg2
);
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 resultobj
= SWIG_Py_Void();
25347 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25348 PyObject
*resultobj
= 0;
25349 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25353 PyObject
*swig_obj
[1] ;
25355 if (!args
) SWIG_fail
;
25356 swig_obj
[0] = args
;
25357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25358 if (!SWIG_IsOK(res1
)) {
25359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25361 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 result
= (arg1
)->GetToolMargins();
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25368 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25375 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25376 PyObject
*resultobj
= 0;
25377 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25381 PyObject
*swig_obj
[1] ;
25383 if (!args
) SWIG_fail
;
25384 swig_obj
[0] = args
;
25385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25386 if (!SWIG_IsOK(res1
)) {
25387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25389 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25392 result
= (arg1
)->GetMargins();
25393 wxPyEndAllowThreads(__tstate
);
25394 if (PyErr_Occurred()) SWIG_fail
;
25396 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25403 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25404 PyObject
*resultobj
= 0;
25405 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25409 PyObject
*swig_obj
[1] ;
25411 if (!args
) SWIG_fail
;
25412 swig_obj
[0] = args
;
25413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25414 if (!SWIG_IsOK(res1
)) {
25415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25417 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 result
= (int)(arg1
)->GetToolPacking();
25421 wxPyEndAllowThreads(__tstate
);
25422 if (PyErr_Occurred()) SWIG_fail
;
25424 resultobj
= SWIG_From_int(static_cast< int >(result
));
25431 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25432 PyObject
*resultobj
= 0;
25433 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25437 PyObject
*swig_obj
[1] ;
25439 if (!args
) SWIG_fail
;
25440 swig_obj
[0] = args
;
25441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25442 if (!SWIG_IsOK(res1
)) {
25443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25445 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 result
= (int)(arg1
)->GetToolSeparation();
25449 wxPyEndAllowThreads(__tstate
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 resultobj
= SWIG_From_int(static_cast< int >(result
));
25459 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25460 PyObject
*resultobj
= 0;
25461 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25467 PyObject
* obj0
= 0 ;
25468 PyObject
* obj1
= 0 ;
25469 char * kwnames
[] = {
25470 (char *) "self",(char *) "nRows", NULL
25473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25475 if (!SWIG_IsOK(res1
)) {
25476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25478 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25480 if (!SWIG_IsOK(ecode2
)) {
25481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25483 arg2
= static_cast< int >(val2
);
25485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25486 (arg1
)->SetRows(arg2
);
25487 wxPyEndAllowThreads(__tstate
);
25488 if (PyErr_Occurred()) SWIG_fail
;
25490 resultobj
= SWIG_Py_Void();
25497 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25498 PyObject
*resultobj
= 0;
25499 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25508 PyObject
* obj0
= 0 ;
25509 PyObject
* obj1
= 0 ;
25510 PyObject
* obj2
= 0 ;
25511 char * kwnames
[] = {
25512 (char *) "self",(char *) "rows",(char *) "cols", NULL
25515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25517 if (!SWIG_IsOK(res1
)) {
25518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25520 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25522 if (!SWIG_IsOK(ecode2
)) {
25523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25525 arg2
= static_cast< int >(val2
);
25526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25527 if (!SWIG_IsOK(ecode3
)) {
25528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25530 arg3
= static_cast< int >(val3
);
25532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25537 resultobj
= SWIG_Py_Void();
25544 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25545 PyObject
*resultobj
= 0;
25546 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25550 PyObject
*swig_obj
[1] ;
25552 if (!args
) SWIG_fail
;
25553 swig_obj
[0] = args
;
25554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25555 if (!SWIG_IsOK(res1
)) {
25556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25558 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (int)(arg1
)->GetMaxRows();
25562 wxPyEndAllowThreads(__tstate
);
25563 if (PyErr_Occurred()) SWIG_fail
;
25565 resultobj
= SWIG_From_int(static_cast< int >(result
));
25572 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25573 PyObject
*resultobj
= 0;
25574 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25578 PyObject
*swig_obj
[1] ;
25580 if (!args
) SWIG_fail
;
25581 swig_obj
[0] = args
;
25582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25583 if (!SWIG_IsOK(res1
)) {
25584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25586 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25589 result
= (int)(arg1
)->GetMaxCols();
25590 wxPyEndAllowThreads(__tstate
);
25591 if (PyErr_Occurred()) SWIG_fail
;
25593 resultobj
= SWIG_From_int(static_cast< int >(result
));
25600 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25601 PyObject
*resultobj
= 0;
25602 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25607 PyObject
* obj0
= 0 ;
25608 PyObject
* obj1
= 0 ;
25609 char * kwnames
[] = {
25610 (char *) "self",(char *) "size", NULL
25613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25615 if (!SWIG_IsOK(res1
)) {
25616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25618 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25621 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25625 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25626 wxPyEndAllowThreads(__tstate
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 resultobj
= SWIG_Py_Void();
25636 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25637 PyObject
*resultobj
= 0;
25638 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25642 PyObject
*swig_obj
[1] ;
25644 if (!args
) SWIG_fail
;
25645 swig_obj
[0] = args
;
25646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25647 if (!SWIG_IsOK(res1
)) {
25648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25650 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 result
= (arg1
)->GetToolBitmapSize();
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25664 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25665 PyObject
*resultobj
= 0;
25666 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25670 PyObject
*swig_obj
[1] ;
25672 if (!args
) SWIG_fail
;
25673 swig_obj
[0] = args
;
25674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25675 if (!SWIG_IsOK(res1
)) {
25676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25678 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 result
= (arg1
)->GetToolSize();
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25685 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25692 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25693 PyObject
*resultobj
= 0;
25694 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25697 wxToolBarToolBase
*result
= 0 ;
25704 PyObject
* obj0
= 0 ;
25705 PyObject
* obj1
= 0 ;
25706 PyObject
* obj2
= 0 ;
25707 char * kwnames
[] = {
25708 (char *) "self",(char *) "x",(char *) "y", NULL
25711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25713 if (!SWIG_IsOK(res1
)) {
25714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25716 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25718 if (!SWIG_IsOK(ecode2
)) {
25719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25721 arg2
= static_cast< int >(val2
);
25722 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25723 if (!SWIG_IsOK(ecode3
)) {
25724 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25726 arg3
= static_cast< int >(val3
);
25728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25729 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25730 wxPyEndAllowThreads(__tstate
);
25731 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25742 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25743 PyObject
*resultobj
= 0;
25744 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25746 wxToolBarToolBase
*result
= 0 ;
25751 PyObject
* obj0
= 0 ;
25752 PyObject
* obj1
= 0 ;
25753 char * kwnames
[] = {
25754 (char *) "self",(char *) "toolid", NULL
25757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25759 if (!SWIG_IsOK(res1
)) {
25760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25762 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25763 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25764 if (!SWIG_IsOK(ecode2
)) {
25765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25767 arg2
= static_cast< int >(val2
);
25769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25770 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25775 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25783 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25784 PyObject
*resultobj
= 0;
25785 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25789 PyObject
*swig_obj
[1] ;
25791 if (!args
) SWIG_fail
;
25792 swig_obj
[0] = args
;
25793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25794 if (!SWIG_IsOK(res1
)) {
25795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25797 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 result
= (bool)(arg1
)->IsVertical();
25801 wxPyEndAllowThreads(__tstate
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25813 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25814 PyObject
*resultobj
= 0;
25815 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25819 PyObject
*swig_obj
[1] ;
25821 if (!args
) SWIG_fail
;
25822 swig_obj
[0] = args
;
25823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25824 if (!SWIG_IsOK(res1
)) {
25825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25827 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25830 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25831 wxPyEndAllowThreads(__tstate
);
25832 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25841 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25843 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25844 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25845 return SWIG_Py_Void();
25848 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25849 PyObject
*resultobj
= 0;
25850 wxWindow
*arg1
= (wxWindow
*) 0 ;
25851 int arg2
= (int) -1 ;
25852 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25853 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25854 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25855 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25856 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25857 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25858 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25859 wxToolBar
*result
= 0 ;
25868 bool temp6
= false ;
25869 PyObject
* obj0
= 0 ;
25870 PyObject
* obj1
= 0 ;
25871 PyObject
* obj2
= 0 ;
25872 PyObject
* obj3
= 0 ;
25873 PyObject
* obj4
= 0 ;
25874 PyObject
* obj5
= 0 ;
25875 char * kwnames
[] = {
25876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25881 if (!SWIG_IsOK(res1
)) {
25882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25884 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25887 if (!SWIG_IsOK(ecode2
)) {
25888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25890 arg2
= static_cast< int >(val2
);
25895 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25901 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25905 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25906 if (!SWIG_IsOK(ecode5
)) {
25907 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25909 arg5
= static_cast< long >(val5
);
25913 arg6
= wxString_in_helper(obj5
);
25914 if (arg6
== NULL
) SWIG_fail
;
25919 if (!wxPyCheckForApp()) SWIG_fail
;
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25940 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25941 PyObject
*resultobj
= 0;
25942 wxToolBar
*result
= 0 ;
25944 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25946 if (!wxPyCheckForApp()) SWIG_fail
;
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 result
= (wxToolBar
*)new wxToolBar();
25949 wxPyEndAllowThreads(__tstate
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25959 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25960 PyObject
*resultobj
= 0;
25961 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25962 wxWindow
*arg2
= (wxWindow
*) 0 ;
25963 int arg3
= (int) -1 ;
25964 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25965 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25966 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25967 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25968 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25969 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25970 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25982 bool temp7
= false ;
25983 PyObject
* obj0
= 0 ;
25984 PyObject
* obj1
= 0 ;
25985 PyObject
* obj2
= 0 ;
25986 PyObject
* obj3
= 0 ;
25987 PyObject
* obj4
= 0 ;
25988 PyObject
* obj5
= 0 ;
25989 PyObject
* obj6
= 0 ;
25990 char * kwnames
[] = {
25991 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25996 if (!SWIG_IsOK(res1
)) {
25997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25999 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26001 if (!SWIG_IsOK(res2
)) {
26002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26007 if (!SWIG_IsOK(ecode3
)) {
26008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26010 arg3
= static_cast< int >(val3
);
26015 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26021 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26025 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26026 if (!SWIG_IsOK(ecode6
)) {
26027 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26029 arg6
= static_cast< long >(val6
);
26033 arg7
= wxString_in_helper(obj6
);
26034 if (arg7
== NULL
) SWIG_fail
;
26039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26040 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26061 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26062 PyObject
*resultobj
= 0;
26063 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26064 SwigValueWrapper
<wxVisualAttributes
> result
;
26067 PyObject
* obj0
= 0 ;
26068 char * kwnames
[] = {
26069 (char *) "variant", NULL
26072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26074 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26075 if (!SWIG_IsOK(ecode1
)) {
26076 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26078 arg1
= static_cast< wxWindowVariant
>(val1
);
26081 if (!wxPyCheckForApp()) SWIG_fail
;
26082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26083 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26084 wxPyEndAllowThreads(__tstate
);
26085 if (PyErr_Occurred()) SWIG_fail
;
26087 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26094 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26097 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26098 return SWIG_Py_Void();
26101 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26102 return SWIG_Python_InitShadowInstance(args
);
26105 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26106 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26111 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26112 PyObject
*pyobj
= 0;
26116 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26118 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26125 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
= 0;
26127 wxColour
const &arg1_defvalue
= wxNullColour
;
26128 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26129 wxColour
const &arg2_defvalue
= wxNullColour
;
26130 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26131 wxFont
const &arg3_defvalue
= wxNullFont
;
26132 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26133 wxListItemAttr
*result
= 0 ;
26138 PyObject
* obj0
= 0 ;
26139 PyObject
* obj1
= 0 ;
26140 PyObject
* obj2
= 0 ;
26141 char * kwnames
[] = {
26142 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26149 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26155 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26159 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26160 if (!SWIG_IsOK(res3
)) {
26161 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26166 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26181 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26182 PyObject
*resultobj
= 0;
26183 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26186 PyObject
*swig_obj
[1] ;
26188 if (!args
) SWIG_fail
;
26189 swig_obj
[0] = args
;
26190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26191 if (!SWIG_IsOK(res1
)) {
26192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26194 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26199 wxPyEndAllowThreads(__tstate
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26202 resultobj
= SWIG_Py_Void();
26209 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
= 0;
26211 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26212 wxColour
*arg2
= 0 ;
26216 PyObject
* obj0
= 0 ;
26217 PyObject
* obj1
= 0 ;
26218 char * kwnames
[] = {
26219 (char *) "self",(char *) "colText", NULL
26222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26224 if (!SWIG_IsOK(res1
)) {
26225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26227 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26230 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26234 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26235 wxPyEndAllowThreads(__tstate
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26238 resultobj
= SWIG_Py_Void();
26245 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26246 PyObject
*resultobj
= 0;
26247 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26248 wxColour
*arg2
= 0 ;
26252 PyObject
* obj0
= 0 ;
26253 PyObject
* obj1
= 0 ;
26254 char * kwnames
[] = {
26255 (char *) "self",(char *) "colBack", NULL
26258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26260 if (!SWIG_IsOK(res1
)) {
26261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26263 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26266 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26270 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26271 wxPyEndAllowThreads(__tstate
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26274 resultobj
= SWIG_Py_Void();
26281 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26282 PyObject
*resultobj
= 0;
26283 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26289 PyObject
* obj0
= 0 ;
26290 PyObject
* obj1
= 0 ;
26291 char * kwnames
[] = {
26292 (char *) "self",(char *) "font", NULL
26295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26297 if (!SWIG_IsOK(res1
)) {
26298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26300 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26301 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26302 if (!SWIG_IsOK(res2
)) {
26303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26308 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26311 (arg1
)->SetFont((wxFont
const &)*arg2
);
26312 wxPyEndAllowThreads(__tstate
);
26313 if (PyErr_Occurred()) SWIG_fail
;
26315 resultobj
= SWIG_Py_Void();
26322 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26323 PyObject
*resultobj
= 0;
26324 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26328 PyObject
*swig_obj
[1] ;
26330 if (!args
) SWIG_fail
;
26331 swig_obj
[0] = args
;
26332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26333 if (!SWIG_IsOK(res1
)) {
26334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26336 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 result
= (bool)(arg1
)->HasTextColour();
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26352 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26353 PyObject
*resultobj
= 0;
26354 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26358 PyObject
*swig_obj
[1] ;
26360 if (!args
) SWIG_fail
;
26361 swig_obj
[0] = args
;
26362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26363 if (!SWIG_IsOK(res1
)) {
26364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26366 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 result
= (bool)(arg1
)->HasBackgroundColour();
26370 wxPyEndAllowThreads(__tstate
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26382 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26383 PyObject
*resultobj
= 0;
26384 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26388 PyObject
*swig_obj
[1] ;
26390 if (!args
) SWIG_fail
;
26391 swig_obj
[0] = args
;
26392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26393 if (!SWIG_IsOK(res1
)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26396 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= (bool)(arg1
)->HasFont();
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26412 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26413 PyObject
*resultobj
= 0;
26414 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26418 PyObject
*swig_obj
[1] ;
26420 if (!args
) SWIG_fail
;
26421 swig_obj
[0] = args
;
26422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26423 if (!SWIG_IsOK(res1
)) {
26424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26426 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26429 result
= (arg1
)->GetTextColour();
26430 wxPyEndAllowThreads(__tstate
);
26431 if (PyErr_Occurred()) SWIG_fail
;
26433 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26440 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26441 PyObject
*resultobj
= 0;
26442 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26446 PyObject
*swig_obj
[1] ;
26448 if (!args
) SWIG_fail
;
26449 swig_obj
[0] = args
;
26450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26451 if (!SWIG_IsOK(res1
)) {
26452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26454 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 result
= (arg1
)->GetBackgroundColour();
26458 wxPyEndAllowThreads(__tstate
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26461 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26468 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26469 PyObject
*resultobj
= 0;
26470 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26474 PyObject
*swig_obj
[1] ;
26476 if (!args
) SWIG_fail
;
26477 swig_obj
[0] = args
;
26478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26479 if (!SWIG_IsOK(res1
)) {
26480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26482 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 result
= (arg1
)->GetFont();
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26489 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26496 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
= 0;
26498 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26499 wxListItemAttr
*arg2
= 0 ;
26504 PyObject
* obj0
= 0 ;
26505 PyObject
* obj1
= 0 ;
26506 char * kwnames
[] = {
26507 (char *) "self",(char *) "source", NULL
26510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26512 if (!SWIG_IsOK(res1
)) {
26513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26515 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26516 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26517 if (!SWIG_IsOK(res2
)) {
26518 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26523 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 resultobj
= SWIG_Py_Void();
26537 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26538 PyObject
*resultobj
= 0;
26539 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26542 PyObject
*swig_obj
[1] ;
26544 if (!args
) SWIG_fail
;
26545 swig_obj
[0] = args
;
26546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26547 if (!SWIG_IsOK(res1
)) {
26548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26550 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 wxListItemAttr_Destroy(arg1
);
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_Py_Void();
26564 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26567 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26568 return SWIG_Py_Void();
26571 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26572 return SWIG_Python_InitShadowInstance(args
);
26575 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26576 PyObject
*resultobj
= 0;
26577 wxListItem
*result
= 0 ;
26579 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 result
= (wxListItem
*)new wxListItem();
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26593 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26594 PyObject
*resultobj
= 0;
26595 wxListItem
*arg1
= (wxListItem
*) 0 ;
26598 PyObject
*swig_obj
[1] ;
26600 if (!args
) SWIG_fail
;
26601 swig_obj
[0] = args
;
26602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26603 if (!SWIG_IsOK(res1
)) {
26604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26606 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26611 wxPyEndAllowThreads(__tstate
);
26612 if (PyErr_Occurred()) SWIG_fail
;
26614 resultobj
= SWIG_Py_Void();
26621 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26622 PyObject
*resultobj
= 0;
26623 wxListItem
*arg1
= (wxListItem
*) 0 ;
26626 PyObject
*swig_obj
[1] ;
26628 if (!args
) SWIG_fail
;
26629 swig_obj
[0] = args
;
26630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26631 if (!SWIG_IsOK(res1
)) {
26632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26634 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 wxPyEndAllowThreads(__tstate
);
26639 if (PyErr_Occurred()) SWIG_fail
;
26641 resultobj
= SWIG_Py_Void();
26648 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26649 PyObject
*resultobj
= 0;
26650 wxListItem
*arg1
= (wxListItem
*) 0 ;
26653 PyObject
*swig_obj
[1] ;
26655 if (!args
) SWIG_fail
;
26656 swig_obj
[0] = args
;
26657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26658 if (!SWIG_IsOK(res1
)) {
26659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26661 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26664 (arg1
)->ClearAttributes();
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= SWIG_Py_Void();
26675 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26676 PyObject
*resultobj
= 0;
26677 wxListItem
*arg1
= (wxListItem
*) 0 ;
26683 PyObject
* obj0
= 0 ;
26684 PyObject
* obj1
= 0 ;
26685 char * kwnames
[] = {
26686 (char *) "self",(char *) "mask", NULL
26689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26691 if (!SWIG_IsOK(res1
)) {
26692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26694 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26695 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26696 if (!SWIG_IsOK(ecode2
)) {
26697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26699 arg2
= static_cast< long >(val2
);
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 (arg1
)->SetMask(arg2
);
26703 wxPyEndAllowThreads(__tstate
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 resultobj
= SWIG_Py_Void();
26713 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
= 0;
26715 wxListItem
*arg1
= (wxListItem
*) 0 ;
26721 PyObject
* obj0
= 0 ;
26722 PyObject
* obj1
= 0 ;
26723 char * kwnames
[] = {
26724 (char *) "self",(char *) "id", NULL
26727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26729 if (!SWIG_IsOK(res1
)) {
26730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26732 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26733 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26734 if (!SWIG_IsOK(ecode2
)) {
26735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26737 arg2
= static_cast< long >(val2
);
26739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26740 (arg1
)->SetId(arg2
);
26741 wxPyEndAllowThreads(__tstate
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26744 resultobj
= SWIG_Py_Void();
26751 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26752 PyObject
*resultobj
= 0;
26753 wxListItem
*arg1
= (wxListItem
*) 0 ;
26759 PyObject
* obj0
= 0 ;
26760 PyObject
* obj1
= 0 ;
26761 char * kwnames
[] = {
26762 (char *) "self",(char *) "col", NULL
26765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26767 if (!SWIG_IsOK(res1
)) {
26768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26770 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26772 if (!SWIG_IsOK(ecode2
)) {
26773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26775 arg2
= static_cast< int >(val2
);
26777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 (arg1
)->SetColumn(arg2
);
26779 wxPyEndAllowThreads(__tstate
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26782 resultobj
= SWIG_Py_Void();
26789 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26790 PyObject
*resultobj
= 0;
26791 wxListItem
*arg1
= (wxListItem
*) 0 ;
26797 PyObject
* obj0
= 0 ;
26798 PyObject
* obj1
= 0 ;
26799 char * kwnames
[] = {
26800 (char *) "self",(char *) "state", NULL
26803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26805 if (!SWIG_IsOK(res1
)) {
26806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26808 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26809 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26810 if (!SWIG_IsOK(ecode2
)) {
26811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26813 arg2
= static_cast< long >(val2
);
26815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26816 (arg1
)->SetState(arg2
);
26817 wxPyEndAllowThreads(__tstate
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26820 resultobj
= SWIG_Py_Void();
26827 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26828 PyObject
*resultobj
= 0;
26829 wxListItem
*arg1
= (wxListItem
*) 0 ;
26835 PyObject
* obj0
= 0 ;
26836 PyObject
* obj1
= 0 ;
26837 char * kwnames
[] = {
26838 (char *) "self",(char *) "stateMask", NULL
26841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26843 if (!SWIG_IsOK(res1
)) {
26844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26846 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26847 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26848 if (!SWIG_IsOK(ecode2
)) {
26849 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26851 arg2
= static_cast< long >(val2
);
26853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26854 (arg1
)->SetStateMask(arg2
);
26855 wxPyEndAllowThreads(__tstate
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26858 resultobj
= SWIG_Py_Void();
26865 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26866 PyObject
*resultobj
= 0;
26867 wxListItem
*arg1
= (wxListItem
*) 0 ;
26868 wxString
*arg2
= 0 ;
26871 bool temp2
= false ;
26872 PyObject
* obj0
= 0 ;
26873 PyObject
* obj1
= 0 ;
26874 char * kwnames
[] = {
26875 (char *) "self",(char *) "text", NULL
26878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26880 if (!SWIG_IsOK(res1
)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26883 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26885 arg2
= wxString_in_helper(obj1
);
26886 if (arg2
== NULL
) SWIG_fail
;
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26891 (arg1
)->SetText((wxString
const &)*arg2
);
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_Py_Void();
26910 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26911 PyObject
*resultobj
= 0;
26912 wxListItem
*arg1
= (wxListItem
*) 0 ;
26918 PyObject
* obj0
= 0 ;
26919 PyObject
* obj1
= 0 ;
26920 char * kwnames
[] = {
26921 (char *) "self",(char *) "image", NULL
26924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26926 if (!SWIG_IsOK(res1
)) {
26927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26929 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26930 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26931 if (!SWIG_IsOK(ecode2
)) {
26932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26934 arg2
= static_cast< int >(val2
);
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 (arg1
)->SetImage(arg2
);
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= SWIG_Py_Void();
26948 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
= 0;
26950 wxListItem
*arg1
= (wxListItem
*) 0 ;
26956 PyObject
* obj0
= 0 ;
26957 PyObject
* obj1
= 0 ;
26958 char * kwnames
[] = {
26959 (char *) "self",(char *) "data", NULL
26962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26964 if (!SWIG_IsOK(res1
)) {
26965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26967 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26968 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26969 if (!SWIG_IsOK(ecode2
)) {
26970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26972 arg2
= static_cast< long >(val2
);
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26975 (arg1
)->SetData(arg2
);
26976 wxPyEndAllowThreads(__tstate
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26979 resultobj
= SWIG_Py_Void();
26986 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26987 PyObject
*resultobj
= 0;
26988 wxListItem
*arg1
= (wxListItem
*) 0 ;
26994 PyObject
* obj0
= 0 ;
26995 PyObject
* obj1
= 0 ;
26996 char * kwnames
[] = {
26997 (char *) "self",(char *) "width", NULL
27000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27002 if (!SWIG_IsOK(res1
)) {
27003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27005 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27007 if (!SWIG_IsOK(ecode2
)) {
27008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27010 arg2
= static_cast< int >(val2
);
27012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27013 (arg1
)->SetWidth(arg2
);
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27017 resultobj
= SWIG_Py_Void();
27024 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27025 PyObject
*resultobj
= 0;
27026 wxListItem
*arg1
= (wxListItem
*) 0 ;
27027 wxListColumnFormat arg2
;
27032 PyObject
* obj0
= 0 ;
27033 PyObject
* obj1
= 0 ;
27034 char * kwnames
[] = {
27035 (char *) "self",(char *) "align", NULL
27038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27040 if (!SWIG_IsOK(res1
)) {
27041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27043 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27045 if (!SWIG_IsOK(ecode2
)) {
27046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27048 arg2
= static_cast< wxListColumnFormat
>(val2
);
27050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27051 (arg1
)->SetAlign(arg2
);
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27055 resultobj
= SWIG_Py_Void();
27062 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27063 PyObject
*resultobj
= 0;
27064 wxListItem
*arg1
= (wxListItem
*) 0 ;
27065 wxColour
*arg2
= 0 ;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 char * kwnames
[] = {
27072 (char *) "self",(char *) "colText", NULL
27075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27077 if (!SWIG_IsOK(res1
)) {
27078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27080 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27083 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27087 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27088 wxPyEndAllowThreads(__tstate
);
27089 if (PyErr_Occurred()) SWIG_fail
;
27091 resultobj
= SWIG_Py_Void();
27098 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27099 PyObject
*resultobj
= 0;
27100 wxListItem
*arg1
= (wxListItem
*) 0 ;
27101 wxColour
*arg2
= 0 ;
27105 PyObject
* obj0
= 0 ;
27106 PyObject
* obj1
= 0 ;
27107 char * kwnames
[] = {
27108 (char *) "self",(char *) "colBack", NULL
27111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27113 if (!SWIG_IsOK(res1
)) {
27114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27116 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27119 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27124 wxPyEndAllowThreads(__tstate
);
27125 if (PyErr_Occurred()) SWIG_fail
;
27127 resultobj
= SWIG_Py_Void();
27134 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27135 PyObject
*resultobj
= 0;
27136 wxListItem
*arg1
= (wxListItem
*) 0 ;
27142 PyObject
* obj0
= 0 ;
27143 PyObject
* obj1
= 0 ;
27144 char * kwnames
[] = {
27145 (char *) "self",(char *) "font", NULL
27148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27150 if (!SWIG_IsOK(res1
)) {
27151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27153 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27155 if (!SWIG_IsOK(res2
)) {
27156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27161 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27164 (arg1
)->SetFont((wxFont
const &)*arg2
);
27165 wxPyEndAllowThreads(__tstate
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27168 resultobj
= SWIG_Py_Void();
27175 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27176 PyObject
*resultobj
= 0;
27177 wxListItem
*arg1
= (wxListItem
*) 0 ;
27181 PyObject
*swig_obj
[1] ;
27183 if (!args
) SWIG_fail
;
27184 swig_obj
[0] = args
;
27185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27186 if (!SWIG_IsOK(res1
)) {
27187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27189 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27192 result
= (long)(arg1
)->GetMask();
27193 wxPyEndAllowThreads(__tstate
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= SWIG_From_long(static_cast< long >(result
));
27203 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27204 PyObject
*resultobj
= 0;
27205 wxListItem
*arg1
= (wxListItem
*) 0 ;
27209 PyObject
*swig_obj
[1] ;
27211 if (!args
) SWIG_fail
;
27212 swig_obj
[0] = args
;
27213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27214 if (!SWIG_IsOK(res1
)) {
27215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27217 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 result
= (long)(arg1
)->GetId();
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 resultobj
= SWIG_From_long(static_cast< long >(result
));
27231 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(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_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27245 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27248 result
= (int)(arg1
)->GetColumn();
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= SWIG_From_int(static_cast< int >(result
));
27259 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27260 PyObject
*resultobj
= 0;
27261 wxListItem
*arg1
= (wxListItem
*) 0 ;
27265 PyObject
*swig_obj
[1] ;
27267 if (!args
) SWIG_fail
;
27268 swig_obj
[0] = args
;
27269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27270 if (!SWIG_IsOK(res1
)) {
27271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27273 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27276 result
= (long)(arg1
)->GetState();
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27280 resultobj
= SWIG_From_long(static_cast< long >(result
));
27287 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27288 PyObject
*resultobj
= 0;
27289 wxListItem
*arg1
= (wxListItem
*) 0 ;
27290 wxString
*result
= 0 ;
27293 PyObject
*swig_obj
[1] ;
27295 if (!args
) SWIG_fail
;
27296 swig_obj
[0] = args
;
27297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27298 if (!SWIG_IsOK(res1
)) {
27299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27301 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 wxString
const &_result_ref
= (arg1
)->GetText();
27306 result
= (wxString
*) &_result_ref
;
27308 wxPyEndAllowThreads(__tstate
);
27309 if (PyErr_Occurred()) SWIG_fail
;
27313 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27315 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27324 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27325 PyObject
*resultobj
= 0;
27326 wxListItem
*arg1
= (wxListItem
*) 0 ;
27330 PyObject
*swig_obj
[1] ;
27332 if (!args
) SWIG_fail
;
27333 swig_obj
[0] = args
;
27334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27335 if (!SWIG_IsOK(res1
)) {
27336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27338 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 result
= (int)(arg1
)->GetImage();
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= SWIG_From_int(static_cast< int >(result
));
27352 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27353 PyObject
*resultobj
= 0;
27354 wxListItem
*arg1
= (wxListItem
*) 0 ;
27358 PyObject
*swig_obj
[1] ;
27360 if (!args
) SWIG_fail
;
27361 swig_obj
[0] = args
;
27362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27363 if (!SWIG_IsOK(res1
)) {
27364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27366 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27369 result
= (long)(arg1
)->GetData();
27370 wxPyEndAllowThreads(__tstate
);
27371 if (PyErr_Occurred()) SWIG_fail
;
27373 resultobj
= SWIG_From_long(static_cast< long >(result
));
27380 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27381 PyObject
*resultobj
= 0;
27382 wxListItem
*arg1
= (wxListItem
*) 0 ;
27386 PyObject
*swig_obj
[1] ;
27388 if (!args
) SWIG_fail
;
27389 swig_obj
[0] = args
;
27390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27391 if (!SWIG_IsOK(res1
)) {
27392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27394 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27397 result
= (int)(arg1
)->GetWidth();
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27401 resultobj
= SWIG_From_int(static_cast< int >(result
));
27408 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27409 PyObject
*resultobj
= 0;
27410 wxListItem
*arg1
= (wxListItem
*) 0 ;
27411 wxListColumnFormat result
;
27414 PyObject
*swig_obj
[1] ;
27416 if (!args
) SWIG_fail
;
27417 swig_obj
[0] = args
;
27418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27419 if (!SWIG_IsOK(res1
)) {
27420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27422 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27425 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27429 resultobj
= SWIG_From_int(static_cast< int >(result
));
27436 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27437 PyObject
*resultobj
= 0;
27438 wxListItem
*arg1
= (wxListItem
*) 0 ;
27439 wxListItemAttr
*result
= 0 ;
27442 PyObject
*swig_obj
[1] ;
27444 if (!args
) SWIG_fail
;
27445 swig_obj
[0] = args
;
27446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27447 if (!SWIG_IsOK(res1
)) {
27448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27450 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27453 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27454 wxPyEndAllowThreads(__tstate
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27464 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27465 PyObject
*resultobj
= 0;
27466 wxListItem
*arg1
= (wxListItem
*) 0 ;
27470 PyObject
*swig_obj
[1] ;
27472 if (!args
) SWIG_fail
;
27473 swig_obj
[0] = args
;
27474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27475 if (!SWIG_IsOK(res1
)) {
27476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27478 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27481 result
= (bool)(arg1
)->HasAttributes();
27482 wxPyEndAllowThreads(__tstate
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27494 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27495 PyObject
*resultobj
= 0;
27496 wxListItem
*arg1
= (wxListItem
*) 0 ;
27500 PyObject
*swig_obj
[1] ;
27502 if (!args
) SWIG_fail
;
27503 swig_obj
[0] = args
;
27504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27505 if (!SWIG_IsOK(res1
)) {
27506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27508 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27511 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27512 wxPyEndAllowThreads(__tstate
);
27513 if (PyErr_Occurred()) SWIG_fail
;
27515 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27522 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27523 PyObject
*resultobj
= 0;
27524 wxListItem
*arg1
= (wxListItem
*) 0 ;
27528 PyObject
*swig_obj
[1] ;
27530 if (!args
) SWIG_fail
;
27531 swig_obj
[0] = args
;
27532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27533 if (!SWIG_IsOK(res1
)) {
27534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27536 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27540 wxPyEndAllowThreads(__tstate
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27550 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27551 PyObject
*resultobj
= 0;
27552 wxListItem
*arg1
= (wxListItem
*) 0 ;
27556 PyObject
*swig_obj
[1] ;
27558 if (!args
) SWIG_fail
;
27559 swig_obj
[0] = args
;
27560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27561 if (!SWIG_IsOK(res1
)) {
27562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27564 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 result
= ((wxListItem
const *)arg1
)->GetFont();
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27571 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27578 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27579 PyObject
*resultobj
= 0;
27580 wxListItem
*arg1
= (wxListItem
*) 0 ;
27586 PyObject
*swig_obj
[2] ;
27588 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27590 if (!SWIG_IsOK(res1
)) {
27591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27593 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27594 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27595 if (!SWIG_IsOK(ecode2
)) {
27596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27598 arg2
= static_cast< long >(val2
);
27599 if (arg1
) (arg1
)->m_mask
= arg2
;
27601 resultobj
= SWIG_Py_Void();
27608 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27609 PyObject
*resultobj
= 0;
27610 wxListItem
*arg1
= (wxListItem
*) 0 ;
27614 PyObject
*swig_obj
[1] ;
27616 if (!args
) SWIG_fail
;
27617 swig_obj
[0] = args
;
27618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27619 if (!SWIG_IsOK(res1
)) {
27620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27622 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27623 result
= (long) ((arg1
)->m_mask
);
27624 resultobj
= SWIG_From_long(static_cast< long >(result
));
27631 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27632 PyObject
*resultobj
= 0;
27633 wxListItem
*arg1
= (wxListItem
*) 0 ;
27639 PyObject
*swig_obj
[2] ;
27641 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27643 if (!SWIG_IsOK(res1
)) {
27644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27646 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27647 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27648 if (!SWIG_IsOK(ecode2
)) {
27649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27651 arg2
= static_cast< long >(val2
);
27652 if (arg1
) (arg1
)->m_itemId
= arg2
;
27654 resultobj
= SWIG_Py_Void();
27661 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27662 PyObject
*resultobj
= 0;
27663 wxListItem
*arg1
= (wxListItem
*) 0 ;
27667 PyObject
*swig_obj
[1] ;
27669 if (!args
) SWIG_fail
;
27670 swig_obj
[0] = args
;
27671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27672 if (!SWIG_IsOK(res1
)) {
27673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27675 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27676 result
= (long) ((arg1
)->m_itemId
);
27677 resultobj
= SWIG_From_long(static_cast< long >(result
));
27684 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27685 PyObject
*resultobj
= 0;
27686 wxListItem
*arg1
= (wxListItem
*) 0 ;
27692 PyObject
*swig_obj
[2] ;
27694 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27696 if (!SWIG_IsOK(res1
)) {
27697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27699 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27700 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27701 if (!SWIG_IsOK(ecode2
)) {
27702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27704 arg2
= static_cast< int >(val2
);
27705 if (arg1
) (arg1
)->m_col
= arg2
;
27707 resultobj
= SWIG_Py_Void();
27714 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27715 PyObject
*resultobj
= 0;
27716 wxListItem
*arg1
= (wxListItem
*) 0 ;
27720 PyObject
*swig_obj
[1] ;
27722 if (!args
) SWIG_fail
;
27723 swig_obj
[0] = args
;
27724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27725 if (!SWIG_IsOK(res1
)) {
27726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27728 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27729 result
= (int) ((arg1
)->m_col
);
27730 resultobj
= SWIG_From_int(static_cast< int >(result
));
27737 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27738 PyObject
*resultobj
= 0;
27739 wxListItem
*arg1
= (wxListItem
*) 0 ;
27745 PyObject
*swig_obj
[2] ;
27747 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27749 if (!SWIG_IsOK(res1
)) {
27750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27752 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27753 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27754 if (!SWIG_IsOK(ecode2
)) {
27755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27757 arg2
= static_cast< long >(val2
);
27758 if (arg1
) (arg1
)->m_state
= arg2
;
27760 resultobj
= SWIG_Py_Void();
27767 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27768 PyObject
*resultobj
= 0;
27769 wxListItem
*arg1
= (wxListItem
*) 0 ;
27773 PyObject
*swig_obj
[1] ;
27775 if (!args
) SWIG_fail
;
27776 swig_obj
[0] = args
;
27777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27778 if (!SWIG_IsOK(res1
)) {
27779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27781 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27782 result
= (long) ((arg1
)->m_state
);
27783 resultobj
= SWIG_From_long(static_cast< long >(result
));
27790 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27791 PyObject
*resultobj
= 0;
27792 wxListItem
*arg1
= (wxListItem
*) 0 ;
27798 PyObject
*swig_obj
[2] ;
27800 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27802 if (!SWIG_IsOK(res1
)) {
27803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27805 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27806 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27807 if (!SWIG_IsOK(ecode2
)) {
27808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27810 arg2
= static_cast< long >(val2
);
27811 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27813 resultobj
= SWIG_Py_Void();
27820 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27821 PyObject
*resultobj
= 0;
27822 wxListItem
*arg1
= (wxListItem
*) 0 ;
27826 PyObject
*swig_obj
[1] ;
27828 if (!args
) SWIG_fail
;
27829 swig_obj
[0] = args
;
27830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27831 if (!SWIG_IsOK(res1
)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27834 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27835 result
= (long) ((arg1
)->m_stateMask
);
27836 resultobj
= SWIG_From_long(static_cast< long >(result
));
27843 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27844 PyObject
*resultobj
= 0;
27845 wxListItem
*arg1
= (wxListItem
*) 0 ;
27846 wxString
*arg2
= (wxString
*) 0 ;
27849 bool temp2
= false ;
27850 PyObject
*swig_obj
[2] ;
27852 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27854 if (!SWIG_IsOK(res1
)) {
27855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27857 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27859 arg2
= wxString_in_helper(swig_obj
[1]);
27860 if (arg2
== NULL
) SWIG_fail
;
27863 if (arg1
) (arg1
)->m_text
= *arg2
;
27865 resultobj
= SWIG_Py_Void();
27880 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27881 PyObject
*resultobj
= 0;
27882 wxListItem
*arg1
= (wxListItem
*) 0 ;
27883 wxString
*result
= 0 ;
27886 PyObject
*swig_obj
[1] ;
27888 if (!args
) SWIG_fail
;
27889 swig_obj
[0] = args
;
27890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27891 if (!SWIG_IsOK(res1
)) {
27892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27894 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27895 result
= (wxString
*)& ((arg1
)->m_text
);
27898 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27900 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27909 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27910 PyObject
*resultobj
= 0;
27911 wxListItem
*arg1
= (wxListItem
*) 0 ;
27917 PyObject
*swig_obj
[2] ;
27919 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27921 if (!SWIG_IsOK(res1
)) {
27922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27924 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27925 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27926 if (!SWIG_IsOK(ecode2
)) {
27927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27929 arg2
= static_cast< int >(val2
);
27930 if (arg1
) (arg1
)->m_image
= arg2
;
27932 resultobj
= SWIG_Py_Void();
27939 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27940 PyObject
*resultobj
= 0;
27941 wxListItem
*arg1
= (wxListItem
*) 0 ;
27945 PyObject
*swig_obj
[1] ;
27947 if (!args
) SWIG_fail
;
27948 swig_obj
[0] = args
;
27949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27950 if (!SWIG_IsOK(res1
)) {
27951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27953 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27954 result
= (int) ((arg1
)->m_image
);
27955 resultobj
= SWIG_From_int(static_cast< int >(result
));
27962 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27963 PyObject
*resultobj
= 0;
27964 wxListItem
*arg1
= (wxListItem
*) 0 ;
27970 PyObject
*swig_obj
[2] ;
27972 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27974 if (!SWIG_IsOK(res1
)) {
27975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27977 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27978 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27979 if (!SWIG_IsOK(ecode2
)) {
27980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27982 arg2
= static_cast< long >(val2
);
27983 if (arg1
) (arg1
)->m_data
= arg2
;
27985 resultobj
= SWIG_Py_Void();
27992 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27993 PyObject
*resultobj
= 0;
27994 wxListItem
*arg1
= (wxListItem
*) 0 ;
27998 PyObject
*swig_obj
[1] ;
28000 if (!args
) SWIG_fail
;
28001 swig_obj
[0] = args
;
28002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28003 if (!SWIG_IsOK(res1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28006 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28007 result
= (long) ((arg1
)->m_data
);
28008 resultobj
= SWIG_From_long(static_cast< long >(result
));
28015 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28016 PyObject
*resultobj
= 0;
28017 wxListItem
*arg1
= (wxListItem
*) 0 ;
28023 PyObject
*swig_obj
[2] ;
28025 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28027 if (!SWIG_IsOK(res1
)) {
28028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28030 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28031 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28032 if (!SWIG_IsOK(ecode2
)) {
28033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28035 arg2
= static_cast< int >(val2
);
28036 if (arg1
) (arg1
)->m_format
= arg2
;
28038 resultobj
= SWIG_Py_Void();
28045 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28046 PyObject
*resultobj
= 0;
28047 wxListItem
*arg1
= (wxListItem
*) 0 ;
28051 PyObject
*swig_obj
[1] ;
28053 if (!args
) SWIG_fail
;
28054 swig_obj
[0] = args
;
28055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28059 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28060 result
= (int) ((arg1
)->m_format
);
28061 resultobj
= SWIG_From_int(static_cast< int >(result
));
28068 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28069 PyObject
*resultobj
= 0;
28070 wxListItem
*arg1
= (wxListItem
*) 0 ;
28076 PyObject
*swig_obj
[2] ;
28078 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28080 if (!SWIG_IsOK(res1
)) {
28081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28083 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28084 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28085 if (!SWIG_IsOK(ecode2
)) {
28086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28088 arg2
= static_cast< int >(val2
);
28089 if (arg1
) (arg1
)->m_width
= arg2
;
28091 resultobj
= SWIG_Py_Void();
28098 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28099 PyObject
*resultobj
= 0;
28100 wxListItem
*arg1
= (wxListItem
*) 0 ;
28104 PyObject
*swig_obj
[1] ;
28106 if (!args
) SWIG_fail
;
28107 swig_obj
[0] = args
;
28108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28112 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28113 result
= (int) ((arg1
)->m_width
);
28114 resultobj
= SWIG_From_int(static_cast< int >(result
));
28121 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28124 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28125 return SWIG_Py_Void();
28128 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28129 return SWIG_Python_InitShadowInstance(args
);
28132 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28133 PyObject
*resultobj
= 0;
28134 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28135 int arg2
= (int) 0 ;
28136 wxListEvent
*result
= 0 ;
28141 PyObject
* obj0
= 0 ;
28142 PyObject
* obj1
= 0 ;
28143 char * kwnames
[] = {
28144 (char *) "commandType",(char *) "id", NULL
28147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28149 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28150 if (!SWIG_IsOK(ecode1
)) {
28151 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28153 arg1
= static_cast< wxEventType
>(val1
);
28156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28157 if (!SWIG_IsOK(ecode2
)) {
28158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28160 arg2
= static_cast< int >(val2
);
28163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28164 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28165 wxPyEndAllowThreads(__tstate
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28175 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28176 PyObject
*resultobj
= 0;
28177 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28183 PyObject
*swig_obj
[2] ;
28185 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28187 if (!SWIG_IsOK(res1
)) {
28188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28190 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28191 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28192 if (!SWIG_IsOK(ecode2
)) {
28193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28195 arg2
= static_cast< int >(val2
);
28196 if (arg1
) (arg1
)->m_code
= arg2
;
28198 resultobj
= SWIG_Py_Void();
28205 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28206 PyObject
*resultobj
= 0;
28207 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28211 PyObject
*swig_obj
[1] ;
28213 if (!args
) SWIG_fail
;
28214 swig_obj
[0] = args
;
28215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28216 if (!SWIG_IsOK(res1
)) {
28217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28219 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28220 result
= (int) ((arg1
)->m_code
);
28221 resultobj
= SWIG_From_int(static_cast< int >(result
));
28228 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28229 PyObject
*resultobj
= 0;
28230 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28236 PyObject
*swig_obj
[2] ;
28238 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28240 if (!SWIG_IsOK(res1
)) {
28241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28243 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28244 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28245 if (!SWIG_IsOK(ecode2
)) {
28246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28248 arg2
= static_cast< long >(val2
);
28249 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28251 resultobj
= SWIG_Py_Void();
28258 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28259 PyObject
*resultobj
= 0;
28260 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28264 PyObject
*swig_obj
[1] ;
28266 if (!args
) SWIG_fail
;
28267 swig_obj
[0] = args
;
28268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28269 if (!SWIG_IsOK(res1
)) {
28270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28272 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28273 result
= (long) ((arg1
)->m_oldItemIndex
);
28274 resultobj
= SWIG_From_long(static_cast< long >(result
));
28281 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28282 PyObject
*resultobj
= 0;
28283 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28289 PyObject
*swig_obj
[2] ;
28291 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28293 if (!SWIG_IsOK(res1
)) {
28294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28296 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28297 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28298 if (!SWIG_IsOK(ecode2
)) {
28299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28301 arg2
= static_cast< long >(val2
);
28302 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28304 resultobj
= SWIG_Py_Void();
28311 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28312 PyObject
*resultobj
= 0;
28313 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28317 PyObject
*swig_obj
[1] ;
28319 if (!args
) SWIG_fail
;
28320 swig_obj
[0] = args
;
28321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28322 if (!SWIG_IsOK(res1
)) {
28323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28325 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28326 result
= (long) ((arg1
)->m_itemIndex
);
28327 resultobj
= SWIG_From_long(static_cast< long >(result
));
28334 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28335 PyObject
*resultobj
= 0;
28336 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28342 PyObject
*swig_obj
[2] ;
28344 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28345 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28346 if (!SWIG_IsOK(res1
)) {
28347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28349 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28350 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28351 if (!SWIG_IsOK(ecode2
)) {
28352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28354 arg2
= static_cast< int >(val2
);
28355 if (arg1
) (arg1
)->m_col
= arg2
;
28357 resultobj
= SWIG_Py_Void();
28364 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(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_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28378 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28379 result
= (int) ((arg1
)->m_col
);
28380 resultobj
= SWIG_From_int(static_cast< int >(result
));
28387 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28388 PyObject
*resultobj
= 0;
28389 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28390 wxPoint
*arg2
= (wxPoint
*) 0 ;
28395 PyObject
*swig_obj
[2] ;
28397 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28399 if (!SWIG_IsOK(res1
)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28402 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28403 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28404 if (!SWIG_IsOK(res2
)) {
28405 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28407 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28408 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28410 resultobj
= SWIG_Py_Void();
28417 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28418 PyObject
*resultobj
= 0;
28419 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28420 wxPoint
*result
= 0 ;
28423 PyObject
*swig_obj
[1] ;
28425 if (!args
) SWIG_fail
;
28426 swig_obj
[0] = args
;
28427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28428 if (!SWIG_IsOK(res1
)) {
28429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28431 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28432 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28440 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28441 PyObject
*resultobj
= 0;
28442 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28443 wxListItem
*result
= 0 ;
28446 PyObject
*swig_obj
[1] ;
28448 if (!args
) SWIG_fail
;
28449 swig_obj
[0] = args
;
28450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28451 if (!SWIG_IsOK(res1
)) {
28452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28454 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28455 result
= (wxListItem
*)& ((arg1
)->m_item
);
28457 resultobj
= wxPyMake_wxObject(result
, 0);
28465 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28466 PyObject
*resultobj
= 0;
28467 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28471 PyObject
*swig_obj
[1] ;
28473 if (!args
) SWIG_fail
;
28474 swig_obj
[0] = args
;
28475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28476 if (!SWIG_IsOK(res1
)) {
28477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28479 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 result
= (int)(arg1
)->GetKeyCode();
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28486 resultobj
= SWIG_From_int(static_cast< int >(result
));
28493 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28494 PyObject
*resultobj
= 0;
28495 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28499 PyObject
*swig_obj
[1] ;
28501 if (!args
) SWIG_fail
;
28502 swig_obj
[0] = args
;
28503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28504 if (!SWIG_IsOK(res1
)) {
28505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28507 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28510 result
= (long)(arg1
)->GetIndex();
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= SWIG_From_long(static_cast< long >(result
));
28521 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28522 PyObject
*resultobj
= 0;
28523 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28527 PyObject
*swig_obj
[1] ;
28529 if (!args
) SWIG_fail
;
28530 swig_obj
[0] = args
;
28531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28532 if (!SWIG_IsOK(res1
)) {
28533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28535 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28538 result
= (int)(arg1
)->GetColumn();
28539 wxPyEndAllowThreads(__tstate
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28542 resultobj
= SWIG_From_int(static_cast< int >(result
));
28549 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28550 PyObject
*resultobj
= 0;
28551 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28555 PyObject
*swig_obj
[1] ;
28557 if (!args
) SWIG_fail
;
28558 swig_obj
[0] = args
;
28559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28560 if (!SWIG_IsOK(res1
)) {
28561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28563 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28566 result
= (arg1
)->GetPoint();
28567 wxPyEndAllowThreads(__tstate
);
28568 if (PyErr_Occurred()) SWIG_fail
;
28570 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28577 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28578 PyObject
*resultobj
= 0;
28579 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28580 wxString
*result
= 0 ;
28583 PyObject
*swig_obj
[1] ;
28585 if (!args
) SWIG_fail
;
28586 swig_obj
[0] = args
;
28587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28588 if (!SWIG_IsOK(res1
)) {
28589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28591 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28595 wxString
const &_result_ref
= (arg1
)->GetLabel();
28596 result
= (wxString
*) &_result_ref
;
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28603 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28605 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28614 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28615 PyObject
*resultobj
= 0;
28616 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28617 wxString
*result
= 0 ;
28620 PyObject
*swig_obj
[1] ;
28622 if (!args
) SWIG_fail
;
28623 swig_obj
[0] = args
;
28624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28625 if (!SWIG_IsOK(res1
)) {
28626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28628 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 wxString
const &_result_ref
= (arg1
)->GetText();
28633 result
= (wxString
*) &_result_ref
;
28635 wxPyEndAllowThreads(__tstate
);
28636 if (PyErr_Occurred()) SWIG_fail
;
28640 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28642 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28651 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28652 PyObject
*resultobj
= 0;
28653 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28657 PyObject
*swig_obj
[1] ;
28659 if (!args
) SWIG_fail
;
28660 swig_obj
[0] = args
;
28661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28662 if (!SWIG_IsOK(res1
)) {
28663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28665 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28668 result
= (int)(arg1
)->GetImage();
28669 wxPyEndAllowThreads(__tstate
);
28670 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= SWIG_From_int(static_cast< int >(result
));
28679 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28680 PyObject
*resultobj
= 0;
28681 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28685 PyObject
*swig_obj
[1] ;
28687 if (!args
) SWIG_fail
;
28688 swig_obj
[0] = args
;
28689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28690 if (!SWIG_IsOK(res1
)) {
28691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28693 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28696 result
= (long)(arg1
)->GetData();
28697 wxPyEndAllowThreads(__tstate
);
28698 if (PyErr_Occurred()) SWIG_fail
;
28700 resultobj
= SWIG_From_long(static_cast< long >(result
));
28707 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28708 PyObject
*resultobj
= 0;
28709 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28713 PyObject
*swig_obj
[1] ;
28715 if (!args
) SWIG_fail
;
28716 swig_obj
[0] = args
;
28717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28718 if (!SWIG_IsOK(res1
)) {
28719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28721 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28724 result
= (long)(arg1
)->GetMask();
28725 wxPyEndAllowThreads(__tstate
);
28726 if (PyErr_Occurred()) SWIG_fail
;
28728 resultobj
= SWIG_From_long(static_cast< long >(result
));
28735 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28736 PyObject
*resultobj
= 0;
28737 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28738 wxListItem
*result
= 0 ;
28741 PyObject
*swig_obj
[1] ;
28743 if (!args
) SWIG_fail
;
28744 swig_obj
[0] = args
;
28745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28746 if (!SWIG_IsOK(res1
)) {
28747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28749 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28754 result
= (wxListItem
*) &_result_ref
;
28756 wxPyEndAllowThreads(__tstate
);
28757 if (PyErr_Occurred()) SWIG_fail
;
28759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28766 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28767 PyObject
*resultobj
= 0;
28768 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28772 PyObject
*swig_obj
[1] ;
28774 if (!args
) SWIG_fail
;
28775 swig_obj
[0] = args
;
28776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28777 if (!SWIG_IsOK(res1
)) {
28778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28780 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 result
= (long)(arg1
)->GetCacheFrom();
28784 wxPyEndAllowThreads(__tstate
);
28785 if (PyErr_Occurred()) SWIG_fail
;
28787 resultobj
= SWIG_From_long(static_cast< long >(result
));
28794 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28795 PyObject
*resultobj
= 0;
28796 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28800 PyObject
*swig_obj
[1] ;
28802 if (!args
) SWIG_fail
;
28803 swig_obj
[0] = args
;
28804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28805 if (!SWIG_IsOK(res1
)) {
28806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28808 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28811 result
= (long)(arg1
)->GetCacheTo();
28812 wxPyEndAllowThreads(__tstate
);
28813 if (PyErr_Occurred()) SWIG_fail
;
28815 resultobj
= SWIG_From_long(static_cast< long >(result
));
28822 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28823 PyObject
*resultobj
= 0;
28824 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28828 PyObject
*swig_obj
[1] ;
28830 if (!args
) SWIG_fail
;
28831 swig_obj
[0] = args
;
28832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28833 if (!SWIG_IsOK(res1
)) {
28834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28836 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28852 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28853 PyObject
*resultobj
= 0;
28854 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28860 PyObject
* obj0
= 0 ;
28861 PyObject
* obj1
= 0 ;
28862 char * kwnames
[] = {
28863 (char *) "self",(char *) "editCancelled", NULL
28866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28868 if (!SWIG_IsOK(res1
)) {
28869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28871 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28872 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28873 if (!SWIG_IsOK(ecode2
)) {
28874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28876 arg2
= static_cast< bool >(val2
);
28878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28879 (arg1
)->SetEditCanceled(arg2
);
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= SWIG_Py_Void();
28890 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28893 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28894 return SWIG_Py_Void();
28897 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28898 return SWIG_Python_InitShadowInstance(args
);
28901 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28902 PyObject
*resultobj
= 0;
28903 wxWindow
*arg1
= (wxWindow
*) 0 ;
28904 int arg2
= (int) -1 ;
28905 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28906 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28907 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28908 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28909 long arg5
= (long) wxLC_ICON
;
28910 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28911 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28912 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28913 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28914 wxPyListCtrl
*result
= 0 ;
28925 bool temp7
= false ;
28926 PyObject
* obj0
= 0 ;
28927 PyObject
* obj1
= 0 ;
28928 PyObject
* obj2
= 0 ;
28929 PyObject
* obj3
= 0 ;
28930 PyObject
* obj4
= 0 ;
28931 PyObject
* obj5
= 0 ;
28932 PyObject
* obj6
= 0 ;
28933 char * kwnames
[] = {
28934 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28939 if (!SWIG_IsOK(res1
)) {
28940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28942 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28945 if (!SWIG_IsOK(ecode2
)) {
28946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28948 arg2
= static_cast< int >(val2
);
28953 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28959 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28963 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28964 if (!SWIG_IsOK(ecode5
)) {
28965 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28967 arg5
= static_cast< long >(val5
);
28970 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28971 if (!SWIG_IsOK(res6
)) {
28972 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28975 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28977 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28981 arg7
= wxString_in_helper(obj6
);
28982 if (arg7
== NULL
) SWIG_fail
;
28987 if (!wxPyCheckForApp()) SWIG_fail
;
28988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28989 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28993 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29008 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29009 PyObject
*resultobj
= 0;
29010 wxPyListCtrl
*result
= 0 ;
29012 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29014 if (!wxPyCheckForApp()) SWIG_fail
;
29015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29016 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29017 wxPyEndAllowThreads(__tstate
);
29018 if (PyErr_Occurred()) SWIG_fail
;
29020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29027 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29028 PyObject
*resultobj
= 0;
29029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29030 wxWindow
*arg2
= (wxWindow
*) 0 ;
29031 int arg3
= (int) -1 ;
29032 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29033 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29034 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29035 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29036 long arg6
= (long) wxLC_ICON
;
29037 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29038 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29039 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29040 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29054 bool temp8
= false ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 PyObject
* obj2
= 0 ;
29058 PyObject
* obj3
= 0 ;
29059 PyObject
* obj4
= 0 ;
29060 PyObject
* obj5
= 0 ;
29061 PyObject
* obj6
= 0 ;
29062 PyObject
* obj7
= 0 ;
29063 char * kwnames
[] = {
29064 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29069 if (!SWIG_IsOK(res1
)) {
29070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29072 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29073 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29074 if (!SWIG_IsOK(res2
)) {
29075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29077 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29080 if (!SWIG_IsOK(ecode3
)) {
29081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29083 arg3
= static_cast< int >(val3
);
29088 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29094 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29098 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29099 if (!SWIG_IsOK(ecode6
)) {
29100 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29102 arg6
= static_cast< long >(val6
);
29105 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29106 if (!SWIG_IsOK(res7
)) {
29107 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29112 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29116 arg8
= wxString_in_helper(obj7
);
29117 if (arg8
== NULL
) SWIG_fail
;
29122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29123 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29124 wxPyEndAllowThreads(__tstate
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29144 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29145 PyObject
*resultobj
= 0;
29146 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29147 PyObject
*arg2
= (PyObject
*) 0 ;
29148 PyObject
*arg3
= (PyObject
*) 0 ;
29151 PyObject
* obj0
= 0 ;
29152 PyObject
* obj1
= 0 ;
29153 PyObject
* obj2
= 0 ;
29154 char * kwnames
[] = {
29155 (char *) "self",(char *) "self",(char *) "_class", NULL
29158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29160 if (!SWIG_IsOK(res1
)) {
29161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29163 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29169 wxPyEndAllowThreads(__tstate
);
29170 if (PyErr_Occurred()) SWIG_fail
;
29172 resultobj
= SWIG_Py_Void();
29179 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29180 PyObject
*resultobj
= 0;
29181 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29183 wxListItem
*result
= 0 ;
29188 PyObject
* obj0
= 0 ;
29189 PyObject
* obj1
= 0 ;
29190 char * kwnames
[] = {
29191 (char *) "self",(char *) "col", NULL
29194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29196 if (!SWIG_IsOK(res1
)) {
29197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29199 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29201 if (!SWIG_IsOK(ecode2
)) {
29202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29204 arg2
= static_cast< int >(val2
);
29206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29207 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29212 resultobj
= wxPyMake_wxObject(result
, 0);
29220 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29221 PyObject
*resultobj
= 0;
29222 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29224 wxListItem
*arg3
= 0 ;
29232 PyObject
* obj0
= 0 ;
29233 PyObject
* obj1
= 0 ;
29234 PyObject
* obj2
= 0 ;
29235 char * kwnames
[] = {
29236 (char *) "self",(char *) "col",(char *) "item", NULL
29239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29241 if (!SWIG_IsOK(res1
)) {
29242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29244 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29246 if (!SWIG_IsOK(ecode2
)) {
29247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29249 arg2
= static_cast< int >(val2
);
29250 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29251 if (!SWIG_IsOK(res3
)) {
29252 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29257 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29260 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29273 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29274 PyObject
*resultobj
= 0;
29275 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29282 PyObject
* obj0
= 0 ;
29283 PyObject
* obj1
= 0 ;
29284 char * kwnames
[] = {
29285 (char *) "self",(char *) "col", NULL
29288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29290 if (!SWIG_IsOK(res1
)) {
29291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29293 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29295 if (!SWIG_IsOK(ecode2
)) {
29296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29298 arg2
= static_cast< int >(val2
);
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29302 wxPyEndAllowThreads(__tstate
);
29303 if (PyErr_Occurred()) SWIG_fail
;
29305 resultobj
= SWIG_From_int(static_cast< int >(result
));
29312 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29313 PyObject
*resultobj
= 0;
29314 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29324 PyObject
* obj0
= 0 ;
29325 PyObject
* obj1
= 0 ;
29326 PyObject
* obj2
= 0 ;
29327 char * kwnames
[] = {
29328 (char *) "self",(char *) "col",(char *) "width", NULL
29331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29333 if (!SWIG_IsOK(res1
)) {
29334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29336 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29337 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29338 if (!SWIG_IsOK(ecode2
)) {
29339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29341 arg2
= static_cast< int >(val2
);
29342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29343 if (!SWIG_IsOK(ecode3
)) {
29344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29346 arg3
= static_cast< int >(val3
);
29348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29349 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29350 wxPyEndAllowThreads(__tstate
);
29351 if (PyErr_Occurred()) SWIG_fail
;
29354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29362 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29363 PyObject
*resultobj
= 0;
29364 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29368 PyObject
*swig_obj
[1] ;
29370 if (!args
) SWIG_fail
;
29371 swig_obj
[0] = args
;
29372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29373 if (!SWIG_IsOK(res1
)) {
29374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29376 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29380 wxPyEndAllowThreads(__tstate
);
29381 if (PyErr_Occurred()) SWIG_fail
;
29383 resultobj
= SWIG_From_int(static_cast< int >(result
));
29390 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29391 PyObject
*resultobj
= 0;
29392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29396 PyObject
*swig_obj
[1] ;
29398 if (!args
) SWIG_fail
;
29399 swig_obj
[0] = args
;
29400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29401 if (!SWIG_IsOK(res1
)) {
29402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29404 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29407 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29408 wxPyEndAllowThreads(__tstate
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29411 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29418 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29419 PyObject
*resultobj
= 0;
29420 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29421 wxTextCtrl
*result
= 0 ;
29424 PyObject
*swig_obj
[1] ;
29426 if (!args
) SWIG_fail
;
29427 swig_obj
[0] = args
;
29428 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29429 if (!SWIG_IsOK(res1
)) {
29430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29432 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29435 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29436 wxPyEndAllowThreads(__tstate
);
29437 if (PyErr_Occurred()) SWIG_fail
;
29440 resultobj
= wxPyMake_wxObject(result
, 0);
29448 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29449 PyObject
*resultobj
= 0;
29450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29452 int arg3
= (int) 0 ;
29453 wxListItem
*result
= 0 ;
29460 PyObject
* obj0
= 0 ;
29461 PyObject
* obj1
= 0 ;
29462 PyObject
* obj2
= 0 ;
29463 char * kwnames
[] = {
29464 (char *) "self",(char *) "itemId",(char *) "col", NULL
29467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29469 if (!SWIG_IsOK(res1
)) {
29470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29472 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29473 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29474 if (!SWIG_IsOK(ecode2
)) {
29475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29477 arg2
= static_cast< long >(val2
);
29479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29480 if (!SWIG_IsOK(ecode3
)) {
29481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29483 arg3
= static_cast< int >(val3
);
29486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29487 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29488 wxPyEndAllowThreads(__tstate
);
29489 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= wxPyMake_wxObject(result
, 0);
29500 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29501 PyObject
*resultobj
= 0;
29502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29503 wxListItem
*arg2
= 0 ;
29509 PyObject
* obj0
= 0 ;
29510 PyObject
* obj1
= 0 ;
29511 char * kwnames
[] = {
29512 (char *) "self",(char *) "info", NULL
29515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29517 if (!SWIG_IsOK(res1
)) {
29518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29520 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29521 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29522 if (!SWIG_IsOK(res2
)) {
29523 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29526 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29528 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29531 result
= (bool)(arg1
)->SetItem(*arg2
);
29532 wxPyEndAllowThreads(__tstate
);
29533 if (PyErr_Occurred()) SWIG_fail
;
29536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29544 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29545 PyObject
*resultobj
= 0;
29546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29549 wxString
*arg4
= 0 ;
29550 int arg5
= (int) -1 ;
29558 bool temp4
= false ;
29561 PyObject
* obj0
= 0 ;
29562 PyObject
* obj1
= 0 ;
29563 PyObject
* obj2
= 0 ;
29564 PyObject
* obj3
= 0 ;
29565 PyObject
* obj4
= 0 ;
29566 char * kwnames
[] = {
29567 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29572 if (!SWIG_IsOK(res1
)) {
29573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29575 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29576 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29577 if (!SWIG_IsOK(ecode2
)) {
29578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29580 arg2
= static_cast< long >(val2
);
29581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29582 if (!SWIG_IsOK(ecode3
)) {
29583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29585 arg3
= static_cast< int >(val3
);
29587 arg4
= wxString_in_helper(obj3
);
29588 if (arg4
== NULL
) SWIG_fail
;
29592 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29593 if (!SWIG_IsOK(ecode5
)) {
29594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29596 arg5
= static_cast< int >(val5
);
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= SWIG_From_long(static_cast< long >(result
));
29619 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29620 PyObject
*resultobj
= 0;
29621 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29631 PyObject
* obj0
= 0 ;
29632 PyObject
* obj1
= 0 ;
29633 PyObject
* obj2
= 0 ;
29634 char * kwnames
[] = {
29635 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29640 if (!SWIG_IsOK(res1
)) {
29641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29643 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29644 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29645 if (!SWIG_IsOK(ecode2
)) {
29646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29648 arg2
= static_cast< long >(val2
);
29649 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29650 if (!SWIG_IsOK(ecode3
)) {
29651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29653 arg3
= static_cast< long >(val3
);
29655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29656 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29657 wxPyEndAllowThreads(__tstate
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29660 resultobj
= SWIG_From_int(static_cast< int >(result
));
29667 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29668 PyObject
*resultobj
= 0;
29669 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29682 PyObject
* obj0
= 0 ;
29683 PyObject
* obj1
= 0 ;
29684 PyObject
* obj2
= 0 ;
29685 PyObject
* obj3
= 0 ;
29686 char * kwnames
[] = {
29687 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29692 if (!SWIG_IsOK(res1
)) {
29693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29695 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29696 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29697 if (!SWIG_IsOK(ecode2
)) {
29698 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29700 arg2
= static_cast< long >(val2
);
29701 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29702 if (!SWIG_IsOK(ecode3
)) {
29703 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29705 arg3
= static_cast< long >(val3
);
29706 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29707 if (!SWIG_IsOK(ecode4
)) {
29708 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29710 arg4
= static_cast< long >(val4
);
29712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29713 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29726 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29727 PyObject
*resultobj
= 0;
29728 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29731 int arg4
= (int) -1 ;
29741 PyObject
* obj0
= 0 ;
29742 PyObject
* obj1
= 0 ;
29743 PyObject
* obj2
= 0 ;
29744 PyObject
* obj3
= 0 ;
29745 char * kwnames
[] = {
29746 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29751 if (!SWIG_IsOK(res1
)) {
29752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29754 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29755 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29756 if (!SWIG_IsOK(ecode2
)) {
29757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29759 arg2
= static_cast< long >(val2
);
29760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29761 if (!SWIG_IsOK(ecode3
)) {
29762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29764 arg3
= static_cast< int >(val3
);
29766 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29767 if (!SWIG_IsOK(ecode4
)) {
29768 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29770 arg4
= static_cast< int >(val4
);
29773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29774 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29775 wxPyEndAllowThreads(__tstate
);
29776 if (PyErr_Occurred()) SWIG_fail
;
29779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29787 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29788 PyObject
*resultobj
= 0;
29789 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29802 PyObject
* obj0
= 0 ;
29803 PyObject
* obj1
= 0 ;
29804 PyObject
* obj2
= 0 ;
29805 PyObject
* obj3
= 0 ;
29806 char * kwnames
[] = {
29807 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29812 if (!SWIG_IsOK(res1
)) {
29813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29815 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29816 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29817 if (!SWIG_IsOK(ecode2
)) {
29818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29820 arg2
= static_cast< long >(val2
);
29821 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29822 if (!SWIG_IsOK(ecode3
)) {
29823 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29825 arg3
= static_cast< long >(val3
);
29826 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29827 if (!SWIG_IsOK(ecode4
)) {
29828 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29830 arg4
= static_cast< int >(val4
);
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29834 wxPyEndAllowThreads(__tstate
);
29835 if (PyErr_Occurred()) SWIG_fail
;
29838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29846 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29847 PyObject
*resultobj
= 0;
29848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29855 PyObject
* obj0
= 0 ;
29856 PyObject
* obj1
= 0 ;
29857 char * kwnames
[] = {
29858 (char *) "self",(char *) "item", NULL
29861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29863 if (!SWIG_IsOK(res1
)) {
29864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29866 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29867 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29868 if (!SWIG_IsOK(ecode2
)) {
29869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29871 arg2
= static_cast< long >(val2
);
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29891 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
= 0;
29893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29895 wxString
*arg3
= 0 ;
29900 bool temp3
= false ;
29901 PyObject
* obj0
= 0 ;
29902 PyObject
* obj1
= 0 ;
29903 PyObject
* obj2
= 0 ;
29904 char * kwnames
[] = {
29905 (char *) "self",(char *) "item",(char *) "str", NULL
29908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29910 if (!SWIG_IsOK(res1
)) {
29911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29913 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29914 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29915 if (!SWIG_IsOK(ecode2
)) {
29916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29918 arg2
= static_cast< long >(val2
);
29920 arg3
= wxString_in_helper(obj2
);
29921 if (arg3
== NULL
) SWIG_fail
;
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29927 wxPyEndAllowThreads(__tstate
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29930 resultobj
= SWIG_Py_Void();
29945 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29946 PyObject
*resultobj
= 0;
29947 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29954 PyObject
* obj0
= 0 ;
29955 PyObject
* obj1
= 0 ;
29956 char * kwnames
[] = {
29957 (char *) "self",(char *) "item", NULL
29960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29962 if (!SWIG_IsOK(res1
)) {
29963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29965 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29966 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29967 if (!SWIG_IsOK(ecode2
)) {
29968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29970 arg2
= static_cast< long >(val2
);
29972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29973 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29974 wxPyEndAllowThreads(__tstate
);
29975 if (PyErr_Occurred()) SWIG_fail
;
29977 resultobj
= SWIG_From_long(static_cast< long >(result
));
29984 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29985 PyObject
*resultobj
= 0;
29986 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29996 PyObject
* obj0
= 0 ;
29997 PyObject
* obj1
= 0 ;
29998 PyObject
* obj2
= 0 ;
29999 char * kwnames
[] = {
30000 (char *) "self",(char *) "item",(char *) "data", NULL
30003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30005 if (!SWIG_IsOK(res1
)) {
30006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30008 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30009 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30010 if (!SWIG_IsOK(ecode2
)) {
30011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30013 arg2
= static_cast< long >(val2
);
30014 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30015 if (!SWIG_IsOK(ecode3
)) {
30016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30018 arg3
= static_cast< long >(val3
);
30020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30034 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30035 PyObject
*resultobj
= 0;
30036 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30043 PyObject
* obj0
= 0 ;
30044 PyObject
* obj1
= 0 ;
30045 char * kwnames
[] = {
30046 (char *) "self",(char *) "item", NULL
30049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30051 if (!SWIG_IsOK(res1
)) {
30052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30054 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30055 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30056 if (!SWIG_IsOK(ecode2
)) {
30057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30059 arg2
= static_cast< long >(val2
);
30061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30062 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30063 wxPyEndAllowThreads(__tstate
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30066 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30073 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30074 PyObject
*resultobj
= 0;
30075 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30077 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30085 PyObject
* obj0
= 0 ;
30086 PyObject
* obj1
= 0 ;
30087 PyObject
* obj2
= 0 ;
30088 char * kwnames
[] = {
30089 (char *) "self",(char *) "item",(char *) "code", NULL
30092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30094 if (!SWIG_IsOK(res1
)) {
30095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30097 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30098 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30099 if (!SWIG_IsOK(ecode2
)) {
30100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30102 arg2
= static_cast< long >(val2
);
30104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30105 if (!SWIG_IsOK(ecode3
)) {
30106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30108 arg3
= static_cast< int >(val3
);
30111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30112 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30113 wxPyEndAllowThreads(__tstate
);
30114 if (PyErr_Occurred()) SWIG_fail
;
30116 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30123 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30124 PyObject
*resultobj
= 0;
30125 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30127 wxPoint
*arg3
= 0 ;
30134 PyObject
* obj0
= 0 ;
30135 PyObject
* obj1
= 0 ;
30136 PyObject
* obj2
= 0 ;
30137 char * kwnames
[] = {
30138 (char *) "self",(char *) "item",(char *) "pos", NULL
30141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30143 if (!SWIG_IsOK(res1
)) {
30144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30146 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30147 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30148 if (!SWIG_IsOK(ecode2
)) {
30149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30151 arg2
= static_cast< long >(val2
);
30154 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30158 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30159 wxPyEndAllowThreads(__tstate
);
30160 if (PyErr_Occurred()) SWIG_fail
;
30163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30171 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30172 PyObject
*resultobj
= 0;
30173 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30177 PyObject
*swig_obj
[1] ;
30179 if (!args
) SWIG_fail
;
30180 swig_obj
[0] = args
;
30181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30182 if (!SWIG_IsOK(res1
)) {
30183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30185 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30192 resultobj
= SWIG_From_int(static_cast< int >(result
));
30199 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30200 PyObject
*resultobj
= 0;
30201 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30205 PyObject
*swig_obj
[1] ;
30207 if (!args
) SWIG_fail
;
30208 swig_obj
[0] = args
;
30209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30210 if (!SWIG_IsOK(res1
)) {
30211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30213 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30217 wxPyEndAllowThreads(__tstate
);
30218 if (PyErr_Occurred()) SWIG_fail
;
30220 resultobj
= SWIG_From_int(static_cast< int >(result
));
30227 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30228 PyObject
*resultobj
= 0;
30229 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30233 PyObject
*swig_obj
[1] ;
30235 if (!args
) SWIG_fail
;
30236 swig_obj
[0] = args
;
30237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30238 if (!SWIG_IsOK(res1
)) {
30239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30241 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30244 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30245 wxPyEndAllowThreads(__tstate
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30248 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30255 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30256 PyObject
*resultobj
= 0;
30257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30261 PyObject
*swig_obj
[1] ;
30263 if (!args
) SWIG_fail
;
30264 swig_obj
[0] = args
;
30265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30266 if (!SWIG_IsOK(res1
)) {
30267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30269 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30272 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30273 wxPyEndAllowThreads(__tstate
);
30274 if (PyErr_Occurred()) SWIG_fail
;
30276 resultobj
= SWIG_From_int(static_cast< int >(result
));
30283 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30284 PyObject
*resultobj
= 0;
30285 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30289 PyObject
*swig_obj
[1] ;
30291 if (!args
) SWIG_fail
;
30292 swig_obj
[0] = args
;
30293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30294 if (!SWIG_IsOK(res1
)) {
30295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30297 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30300 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30301 wxPyEndAllowThreads(__tstate
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30304 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30311 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30312 PyObject
*resultobj
= 0;
30313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30314 wxColour
*arg2
= 0 ;
30318 PyObject
* obj0
= 0 ;
30319 PyObject
* obj1
= 0 ;
30320 char * kwnames
[] = {
30321 (char *) "self",(char *) "col", NULL
30324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30326 if (!SWIG_IsOK(res1
)) {
30327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30329 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30332 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30336 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30337 wxPyEndAllowThreads(__tstate
);
30338 if (PyErr_Occurred()) SWIG_fail
;
30340 resultobj
= SWIG_Py_Void();
30347 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30348 PyObject
*resultobj
= 0;
30349 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30353 PyObject
*swig_obj
[1] ;
30355 if (!args
) SWIG_fail
;
30356 swig_obj
[0] = args
;
30357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30358 if (!SWIG_IsOK(res1
)) {
30359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30361 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30364 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30365 wxPyEndAllowThreads(__tstate
);
30366 if (PyErr_Occurred()) SWIG_fail
;
30368 resultobj
= SWIG_From_long(static_cast< long >(result
));
30375 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30376 PyObject
*resultobj
= 0;
30377 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30379 bool arg3
= (bool) true ;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 PyObject
* obj2
= 0 ;
30389 char * kwnames
[] = {
30390 (char *) "self",(char *) "style",(char *) "add", NULL
30393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30395 if (!SWIG_IsOK(res1
)) {
30396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30398 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30399 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30400 if (!SWIG_IsOK(ecode2
)) {
30401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30403 arg2
= static_cast< long >(val2
);
30405 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30406 if (!SWIG_IsOK(ecode3
)) {
30407 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30409 arg3
= static_cast< bool >(val3
);
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 (arg1
)->SetSingleStyle(arg2
,arg3
);
30414 wxPyEndAllowThreads(__tstate
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30417 resultobj
= SWIG_Py_Void();
30424 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30425 PyObject
*resultobj
= 0;
30426 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30428 int arg3
= (int) wxLIST_NEXT_ALL
;
30429 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30439 PyObject
* obj0
= 0 ;
30440 PyObject
* obj1
= 0 ;
30441 PyObject
* obj2
= 0 ;
30442 PyObject
* obj3
= 0 ;
30443 char * kwnames
[] = {
30444 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30449 if (!SWIG_IsOK(res1
)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30452 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30453 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30454 if (!SWIG_IsOK(ecode2
)) {
30455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30457 arg2
= static_cast< long >(val2
);
30459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30460 if (!SWIG_IsOK(ecode3
)) {
30461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30463 arg3
= static_cast< int >(val3
);
30466 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30467 if (!SWIG_IsOK(ecode4
)) {
30468 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30470 arg4
= static_cast< int >(val4
);
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30474 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30475 wxPyEndAllowThreads(__tstate
);
30476 if (PyErr_Occurred()) SWIG_fail
;
30478 resultobj
= SWIG_From_long(static_cast< long >(result
));
30485 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30486 PyObject
*resultobj
= 0;
30487 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30489 wxImageList
*result
= 0 ;
30494 PyObject
* obj0
= 0 ;
30495 PyObject
* obj1
= 0 ;
30496 char * kwnames
[] = {
30497 (char *) "self",(char *) "which", NULL
30500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30502 if (!SWIG_IsOK(res1
)) {
30503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30505 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30507 if (!SWIG_IsOK(ecode2
)) {
30508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30510 arg2
= static_cast< int >(val2
);
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30514 wxPyEndAllowThreads(__tstate
);
30515 if (PyErr_Occurred()) SWIG_fail
;
30518 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30526 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
= 0;
30528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30529 wxImageList
*arg2
= (wxImageList
*) 0 ;
30537 PyObject
* obj0
= 0 ;
30538 PyObject
* obj1
= 0 ;
30539 PyObject
* obj2
= 0 ;
30540 char * kwnames
[] = {
30541 (char *) "self",(char *) "imageList",(char *) "which", NULL
30544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30546 if (!SWIG_IsOK(res1
)) {
30547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30549 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30550 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30551 if (!SWIG_IsOK(res2
)) {
30552 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30554 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30555 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30556 if (!SWIG_IsOK(ecode3
)) {
30557 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30559 arg3
= static_cast< int >(val3
);
30561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30562 (arg1
)->SetImageList(arg2
,arg3
);
30563 wxPyEndAllowThreads(__tstate
);
30564 if (PyErr_Occurred()) SWIG_fail
;
30566 resultobj
= SWIG_Py_Void();
30573 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30574 PyObject
*resultobj
= 0;
30575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30576 wxImageList
*arg2
= (wxImageList
*) 0 ;
30583 PyObject
* obj0
= 0 ;
30584 PyObject
* obj1
= 0 ;
30585 PyObject
* obj2
= 0 ;
30586 char * kwnames
[] = {
30587 (char *) "self",(char *) "imageList",(char *) "which", NULL
30590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30592 if (!SWIG_IsOK(res1
)) {
30593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30595 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30596 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30597 if (!SWIG_IsOK(res2
)) {
30598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30601 if (!SWIG_IsOK(ecode3
)) {
30602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30604 arg3
= static_cast< int >(val3
);
30606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30607 (arg1
)->AssignImageList(arg2
,arg3
);
30608 wxPyEndAllowThreads(__tstate
);
30609 if (PyErr_Occurred()) SWIG_fail
;
30611 resultobj
= SWIG_Py_Void();
30618 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30619 PyObject
*resultobj
= 0;
30620 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30624 PyObject
*swig_obj
[1] ;
30626 if (!args
) SWIG_fail
;
30627 swig_obj
[0] = args
;
30628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30629 if (!SWIG_IsOK(res1
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30632 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30635 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30648 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30649 PyObject
*resultobj
= 0;
30650 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30654 PyObject
*swig_obj
[1] ;
30656 if (!args
) SWIG_fail
;
30657 swig_obj
[0] = args
;
30658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30659 if (!SWIG_IsOK(res1
)) {
30660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30662 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30665 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30666 wxPyEndAllowThreads(__tstate
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30678 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30679 PyObject
*resultobj
= 0;
30680 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30686 PyObject
* obj0
= 0 ;
30687 PyObject
* obj1
= 0 ;
30688 char * kwnames
[] = {
30689 (char *) "self",(char *) "item", NULL
30692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30694 if (!SWIG_IsOK(res1
)) {
30695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30697 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30698 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30699 if (!SWIG_IsOK(ecode2
)) {
30700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30702 arg2
= static_cast< long >(val2
);
30704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30705 (arg1
)->RefreshItem(arg2
);
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30709 resultobj
= SWIG_Py_Void();
30716 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30717 PyObject
*resultobj
= 0;
30718 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30727 PyObject
* obj0
= 0 ;
30728 PyObject
* obj1
= 0 ;
30729 PyObject
* obj2
= 0 ;
30730 char * kwnames
[] = {
30731 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30736 if (!SWIG_IsOK(res1
)) {
30737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30739 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30740 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30741 if (!SWIG_IsOK(ecode2
)) {
30742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30744 arg2
= static_cast< long >(val2
);
30745 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30746 if (!SWIG_IsOK(ecode3
)) {
30747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30749 arg3
= static_cast< long >(val3
);
30751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30752 (arg1
)->RefreshItems(arg2
,arg3
);
30753 wxPyEndAllowThreads(__tstate
);
30754 if (PyErr_Occurred()) SWIG_fail
;
30756 resultobj
= SWIG_Py_Void();
30763 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30764 PyObject
*resultobj
= 0;
30765 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30766 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30772 PyObject
* obj0
= 0 ;
30773 PyObject
* obj1
= 0 ;
30774 char * kwnames
[] = {
30775 (char *) "self",(char *) "flag", NULL
30778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30780 if (!SWIG_IsOK(res1
)) {
30781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30783 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30786 if (!SWIG_IsOK(ecode2
)) {
30787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30789 arg2
= static_cast< int >(val2
);
30792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30793 result
= (bool)(arg1
)->Arrange(arg2
);
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30806 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30807 PyObject
*resultobj
= 0;
30808 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30815 PyObject
* obj0
= 0 ;
30816 PyObject
* obj1
= 0 ;
30817 char * kwnames
[] = {
30818 (char *) "self",(char *) "item", NULL
30821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30823 if (!SWIG_IsOK(res1
)) {
30824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30826 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30827 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30828 if (!SWIG_IsOK(ecode2
)) {
30829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30831 arg2
= static_cast< long >(val2
);
30833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30834 result
= (bool)(arg1
)->DeleteItem(arg2
);
30835 wxPyEndAllowThreads(__tstate
);
30836 if (PyErr_Occurred()) SWIG_fail
;
30839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30847 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30848 PyObject
*resultobj
= 0;
30849 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30853 PyObject
*swig_obj
[1] ;
30855 if (!args
) SWIG_fail
;
30856 swig_obj
[0] = args
;
30857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30858 if (!SWIG_IsOK(res1
)) {
30859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30861 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30864 result
= (bool)(arg1
)->DeleteAllItems();
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30877 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30878 PyObject
*resultobj
= 0;
30879 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30886 PyObject
* obj0
= 0 ;
30887 PyObject
* obj1
= 0 ;
30888 char * kwnames
[] = {
30889 (char *) "self",(char *) "col", NULL
30892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30894 if (!SWIG_IsOK(res1
)) {
30895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30897 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30898 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30899 if (!SWIG_IsOK(ecode2
)) {
30900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30902 arg2
= static_cast< int >(val2
);
30904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30905 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30906 wxPyEndAllowThreads(__tstate
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30918 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30919 PyObject
*resultobj
= 0;
30920 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30924 PyObject
*swig_obj
[1] ;
30926 if (!args
) SWIG_fail
;
30927 swig_obj
[0] = args
;
30928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30929 if (!SWIG_IsOK(res1
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30932 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 result
= (bool)(arg1
)->DeleteAllColumns();
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30948 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30949 PyObject
*resultobj
= 0;
30950 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30953 PyObject
*swig_obj
[1] ;
30955 if (!args
) SWIG_fail
;
30956 swig_obj
[0] = args
;
30957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30958 if (!SWIG_IsOK(res1
)) {
30959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30961 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30964 (arg1
)->ClearAll();
30965 wxPyEndAllowThreads(__tstate
);
30966 if (PyErr_Occurred()) SWIG_fail
;
30968 resultobj
= SWIG_Py_Void();
30975 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30976 PyObject
*resultobj
= 0;
30977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30979 wxTextCtrl
*result
= 0 ;
30984 PyObject
* obj0
= 0 ;
30985 PyObject
* obj1
= 0 ;
30986 char * kwnames
[] = {
30987 (char *) "self",(char *) "item", NULL
30990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30992 if (!SWIG_IsOK(res1
)) {
30993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30995 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30996 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30997 if (!SWIG_IsOK(ecode2
)) {
30998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31000 arg2
= static_cast< long >(val2
);
31002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31003 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31008 resultobj
= wxPyMake_wxObject(result
, 0);
31016 SWIGINTERN PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
= 0;
31018 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31025 PyObject
* obj0
= 0 ;
31026 PyObject
* obj1
= 0 ;
31027 char * kwnames
[] = {
31028 (char *) "self",(char *) "cancel", NULL
31031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31033 if (!SWIG_IsOK(res1
)) {
31034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31036 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31037 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31038 if (!SWIG_IsOK(ecode2
)) {
31039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EndEditLabel" "', expected argument " "2"" of type '" "bool""'");
31041 arg2
= static_cast< bool >(val2
);
31043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31044 result
= (bool)(arg1
)->EndEditLabel(arg2
);
31045 wxPyEndAllowThreads(__tstate
);
31046 if (PyErr_Occurred()) SWIG_fail
;
31049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31057 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31058 PyObject
*resultobj
= 0;
31059 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31066 PyObject
* obj0
= 0 ;
31067 PyObject
* obj1
= 0 ;
31068 char * kwnames
[] = {
31069 (char *) "self",(char *) "item", NULL
31072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31074 if (!SWIG_IsOK(res1
)) {
31075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31077 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31078 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31079 if (!SWIG_IsOK(ecode2
)) {
31080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31082 arg2
= static_cast< long >(val2
);
31084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31085 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31086 wxPyEndAllowThreads(__tstate
);
31087 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31098 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31099 PyObject
*resultobj
= 0;
31100 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31102 wxString
*arg3
= 0 ;
31103 bool arg4
= (bool) false ;
31109 bool temp3
= false ;
31112 PyObject
* obj0
= 0 ;
31113 PyObject
* obj1
= 0 ;
31114 PyObject
* obj2
= 0 ;
31115 PyObject
* obj3
= 0 ;
31116 char * kwnames
[] = {
31117 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31122 if (!SWIG_IsOK(res1
)) {
31123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31125 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31126 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31127 if (!SWIG_IsOK(ecode2
)) {
31128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31130 arg2
= static_cast< long >(val2
);
31132 arg3
= wxString_in_helper(obj2
);
31133 if (arg3
== NULL
) SWIG_fail
;
31137 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31138 if (!SWIG_IsOK(ecode4
)) {
31139 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31141 arg4
= static_cast< bool >(val4
);
31144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31145 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31146 wxPyEndAllowThreads(__tstate
);
31147 if (PyErr_Occurred()) SWIG_fail
;
31149 resultobj
= SWIG_From_long(static_cast< long >(result
));
31164 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
= 0;
31166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31176 PyObject
* obj0
= 0 ;
31177 PyObject
* obj1
= 0 ;
31178 PyObject
* obj2
= 0 ;
31179 char * kwnames
[] = {
31180 (char *) "self",(char *) "start",(char *) "data", NULL
31183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31185 if (!SWIG_IsOK(res1
)) {
31186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31188 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31189 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31190 if (!SWIG_IsOK(ecode2
)) {
31191 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31193 arg2
= static_cast< long >(val2
);
31194 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31195 if (!SWIG_IsOK(ecode3
)) {
31196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31198 arg3
= static_cast< long >(val3
);
31200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31201 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31202 wxPyEndAllowThreads(__tstate
);
31203 if (PyErr_Occurred()) SWIG_fail
;
31205 resultobj
= SWIG_From_long(static_cast< long >(result
));
31212 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31213 PyObject
*resultobj
= 0;
31214 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31216 wxPoint
*arg3
= 0 ;
31226 PyObject
* obj0
= 0 ;
31227 PyObject
* obj1
= 0 ;
31228 PyObject
* obj2
= 0 ;
31229 PyObject
* obj3
= 0 ;
31230 char * kwnames
[] = {
31231 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31236 if (!SWIG_IsOK(res1
)) {
31237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31239 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31240 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31241 if (!SWIG_IsOK(ecode2
)) {
31242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31244 arg2
= static_cast< long >(val2
);
31247 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31249 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31250 if (!SWIG_IsOK(ecode4
)) {
31251 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31253 arg4
= static_cast< int >(val4
);
31255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31256 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31257 wxPyEndAllowThreads(__tstate
);
31258 if (PyErr_Occurred()) SWIG_fail
;
31260 resultobj
= SWIG_From_long(static_cast< long >(result
));
31267 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31268 PyObject
*resultobj
= 0;
31269 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31270 wxPoint
*arg2
= 0 ;
31277 int res3
= SWIG_TMPOBJ
;
31278 PyObject
* obj0
= 0 ;
31279 PyObject
* obj1
= 0 ;
31280 char * kwnames
[] = {
31281 (char *) "self",(char *) "point", NULL
31285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31287 if (!SWIG_IsOK(res1
)) {
31288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31290 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31293 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31297 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31298 wxPyEndAllowThreads(__tstate
);
31299 if (PyErr_Occurred()) SWIG_fail
;
31301 resultobj
= SWIG_From_long(static_cast< long >(result
));
31302 if (SWIG_IsTmpObj(res3
)) {
31303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31305 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31314 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31315 PyObject
*resultobj
= 0;
31316 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31317 wxPoint
*arg2
= 0 ;
31319 long *arg4
= (long *) 0 ;
31325 int res3
= SWIG_TMPOBJ
;
31327 int res4
= SWIG_TMPOBJ
;
31328 PyObject
* obj0
= 0 ;
31329 PyObject
* obj1
= 0 ;
31330 char * kwnames
[] = {
31331 (char *) "self",(char *) "point", NULL
31336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31338 if (!SWIG_IsOK(res1
)) {
31339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31341 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31348 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31349 wxPyEndAllowThreads(__tstate
);
31350 if (PyErr_Occurred()) SWIG_fail
;
31352 resultobj
= SWIG_From_long(static_cast< long >(result
));
31353 if (SWIG_IsTmpObj(res3
)) {
31354 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31356 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31359 if (SWIG_IsTmpObj(res4
)) {
31360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31362 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31371 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31372 PyObject
*resultobj
= 0;
31373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31374 wxListItem
*arg2
= 0 ;
31380 PyObject
* obj0
= 0 ;
31381 PyObject
* obj1
= 0 ;
31382 char * kwnames
[] = {
31383 (char *) "self",(char *) "info", NULL
31386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31388 if (!SWIG_IsOK(res1
)) {
31389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31391 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31392 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31393 if (!SWIG_IsOK(res2
)) {
31394 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31397 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31399 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31402 result
= (long)(arg1
)->InsertItem(*arg2
);
31403 wxPyEndAllowThreads(__tstate
);
31404 if (PyErr_Occurred()) SWIG_fail
;
31406 resultobj
= SWIG_From_long(static_cast< long >(result
));
31413 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31414 PyObject
*resultobj
= 0;
31415 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31417 wxString
*arg3
= 0 ;
31418 int arg4
= (int) -1 ;
31424 bool temp3
= false ;
31427 PyObject
* obj0
= 0 ;
31428 PyObject
* obj1
= 0 ;
31429 PyObject
* obj2
= 0 ;
31430 PyObject
* obj3
= 0 ;
31431 char * kwnames
[] = {
31432 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31437 if (!SWIG_IsOK(res1
)) {
31438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31440 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31441 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31442 if (!SWIG_IsOK(ecode2
)) {
31443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31445 arg2
= static_cast< long >(val2
);
31447 arg3
= wxString_in_helper(obj2
);
31448 if (arg3
== NULL
) SWIG_fail
;
31452 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31453 if (!SWIG_IsOK(ecode4
)) {
31454 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31456 arg4
= static_cast< int >(val4
);
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31461 wxPyEndAllowThreads(__tstate
);
31462 if (PyErr_Occurred()) SWIG_fail
;
31464 resultobj
= SWIG_From_long(static_cast< long >(result
));
31479 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31480 PyObject
*resultobj
= 0;
31481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31491 PyObject
* obj0
= 0 ;
31492 PyObject
* obj1
= 0 ;
31493 PyObject
* obj2
= 0 ;
31494 char * kwnames
[] = {
31495 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31500 if (!SWIG_IsOK(res1
)) {
31501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31503 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31504 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31505 if (!SWIG_IsOK(ecode2
)) {
31506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31508 arg2
= static_cast< long >(val2
);
31509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31510 if (!SWIG_IsOK(ecode3
)) {
31511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31513 arg3
= static_cast< int >(val3
);
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31517 wxPyEndAllowThreads(__tstate
);
31518 if (PyErr_Occurred()) SWIG_fail
;
31520 resultobj
= SWIG_From_long(static_cast< long >(result
));
31527 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31528 PyObject
*resultobj
= 0;
31529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31531 wxString
*arg3
= 0 ;
31538 bool temp3
= false ;
31541 PyObject
* obj0
= 0 ;
31542 PyObject
* obj1
= 0 ;
31543 PyObject
* obj2
= 0 ;
31544 PyObject
* obj3
= 0 ;
31545 char * kwnames
[] = {
31546 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31551 if (!SWIG_IsOK(res1
)) {
31552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31554 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31555 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31556 if (!SWIG_IsOK(ecode2
)) {
31557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31559 arg2
= static_cast< long >(val2
);
31561 arg3
= wxString_in_helper(obj2
);
31562 if (arg3
== NULL
) SWIG_fail
;
31565 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31566 if (!SWIG_IsOK(ecode4
)) {
31567 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31569 arg4
= static_cast< int >(val4
);
31571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31572 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31573 wxPyEndAllowThreads(__tstate
);
31574 if (PyErr_Occurred()) SWIG_fail
;
31576 resultobj
= SWIG_From_long(static_cast< long >(result
));
31591 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31592 PyObject
*resultobj
= 0;
31593 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31595 wxListItem
*arg3
= 0 ;
31603 PyObject
* obj0
= 0 ;
31604 PyObject
* obj1
= 0 ;
31605 PyObject
* obj2
= 0 ;
31606 char * kwnames
[] = {
31607 (char *) "self",(char *) "col",(char *) "info", NULL
31610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31612 if (!SWIG_IsOK(res1
)) {
31613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31615 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31616 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31617 if (!SWIG_IsOK(ecode2
)) {
31618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31620 arg2
= static_cast< long >(val2
);
31621 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31622 if (!SWIG_IsOK(res3
)) {
31623 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31626 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31628 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31631 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31632 wxPyEndAllowThreads(__tstate
);
31633 if (PyErr_Occurred()) SWIG_fail
;
31635 resultobj
= SWIG_From_long(static_cast< long >(result
));
31642 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31643 PyObject
*resultobj
= 0;
31644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31646 wxString
*arg3
= 0 ;
31647 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31648 int arg5
= (int) -1 ;
31654 bool temp3
= false ;
31659 PyObject
* obj0
= 0 ;
31660 PyObject
* obj1
= 0 ;
31661 PyObject
* obj2
= 0 ;
31662 PyObject
* obj3
= 0 ;
31663 PyObject
* obj4
= 0 ;
31664 char * kwnames
[] = {
31665 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31670 if (!SWIG_IsOK(res1
)) {
31671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31673 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31674 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31675 if (!SWIG_IsOK(ecode2
)) {
31676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31678 arg2
= static_cast< long >(val2
);
31680 arg3
= wxString_in_helper(obj2
);
31681 if (arg3
== NULL
) SWIG_fail
;
31685 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31686 if (!SWIG_IsOK(ecode4
)) {
31687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31689 arg4
= static_cast< int >(val4
);
31692 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31693 if (!SWIG_IsOK(ecode5
)) {
31694 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31696 arg5
= static_cast< int >(val5
);
31699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31700 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31701 wxPyEndAllowThreads(__tstate
);
31702 if (PyErr_Occurred()) SWIG_fail
;
31704 resultobj
= SWIG_From_long(static_cast< long >(result
));
31719 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31720 PyObject
*resultobj
= 0;
31721 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31727 PyObject
* obj0
= 0 ;
31728 PyObject
* obj1
= 0 ;
31729 char * kwnames
[] = {
31730 (char *) "self",(char *) "count", NULL
31733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31735 if (!SWIG_IsOK(res1
)) {
31736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31738 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31739 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31740 if (!SWIG_IsOK(ecode2
)) {
31741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31743 arg2
= static_cast< long >(val2
);
31745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31746 (arg1
)->SetItemCount(arg2
);
31747 wxPyEndAllowThreads(__tstate
);
31748 if (PyErr_Occurred()) SWIG_fail
;
31750 resultobj
= SWIG_Py_Void();
31757 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31758 PyObject
*resultobj
= 0;
31759 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31769 PyObject
* obj0
= 0 ;
31770 PyObject
* obj1
= 0 ;
31771 PyObject
* obj2
= 0 ;
31772 char * kwnames
[] = {
31773 (char *) "self",(char *) "dx",(char *) "dy", NULL
31776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31778 if (!SWIG_IsOK(res1
)) {
31779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31781 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31782 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31783 if (!SWIG_IsOK(ecode2
)) {
31784 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31786 arg2
= static_cast< int >(val2
);
31787 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31788 if (!SWIG_IsOK(ecode3
)) {
31789 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31791 arg3
= static_cast< int >(val3
);
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31794 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31795 wxPyEndAllowThreads(__tstate
);
31796 if (PyErr_Occurred()) SWIG_fail
;
31799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31807 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31808 PyObject
*resultobj
= 0;
31809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31811 wxColour
*arg3
= 0 ;
31817 PyObject
* obj0
= 0 ;
31818 PyObject
* obj1
= 0 ;
31819 PyObject
* obj2
= 0 ;
31820 char * kwnames
[] = {
31821 (char *) "self",(char *) "item",(char *) "col", NULL
31824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31826 if (!SWIG_IsOK(res1
)) {
31827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31829 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31830 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31831 if (!SWIG_IsOK(ecode2
)) {
31832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31834 arg2
= static_cast< long >(val2
);
31837 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31841 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31842 wxPyEndAllowThreads(__tstate
);
31843 if (PyErr_Occurred()) SWIG_fail
;
31845 resultobj
= SWIG_Py_Void();
31852 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31853 PyObject
*resultobj
= 0;
31854 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31861 PyObject
* obj0
= 0 ;
31862 PyObject
* obj1
= 0 ;
31863 char * kwnames
[] = {
31864 (char *) "self",(char *) "item", NULL
31867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31869 if (!SWIG_IsOK(res1
)) {
31870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31872 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31873 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31874 if (!SWIG_IsOK(ecode2
)) {
31875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31877 arg2
= static_cast< long >(val2
);
31879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31880 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31881 wxPyEndAllowThreads(__tstate
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31884 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31891 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31892 PyObject
*resultobj
= 0;
31893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31895 wxColour
*arg3
= 0 ;
31901 PyObject
* obj0
= 0 ;
31902 PyObject
* obj1
= 0 ;
31903 PyObject
* obj2
= 0 ;
31904 char * kwnames
[] = {
31905 (char *) "self",(char *) "item",(char *) "col", NULL
31908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31910 if (!SWIG_IsOK(res1
)) {
31911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31913 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31914 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31915 if (!SWIG_IsOK(ecode2
)) {
31916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31918 arg2
= static_cast< long >(val2
);
31921 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31925 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31926 wxPyEndAllowThreads(__tstate
);
31927 if (PyErr_Occurred()) SWIG_fail
;
31929 resultobj
= SWIG_Py_Void();
31936 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31937 PyObject
*resultobj
= 0;
31938 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31945 PyObject
* obj0
= 0 ;
31946 PyObject
* obj1
= 0 ;
31947 char * kwnames
[] = {
31948 (char *) "self",(char *) "item", NULL
31951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31953 if (!SWIG_IsOK(res1
)) {
31954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31956 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31957 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31958 if (!SWIG_IsOK(ecode2
)) {
31959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31961 arg2
= static_cast< long >(val2
);
31963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31964 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31965 wxPyEndAllowThreads(__tstate
);
31966 if (PyErr_Occurred()) SWIG_fail
;
31968 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31975 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31976 PyObject
*resultobj
= 0;
31977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31986 PyObject
* obj0
= 0 ;
31987 PyObject
* obj1
= 0 ;
31988 PyObject
* obj2
= 0 ;
31989 char * kwnames
[] = {
31990 (char *) "self",(char *) "item",(char *) "f", NULL
31993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31995 if (!SWIG_IsOK(res1
)) {
31996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31998 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31999 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32000 if (!SWIG_IsOK(ecode2
)) {
32001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32003 arg2
= static_cast< long >(val2
);
32004 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32005 if (!SWIG_IsOK(res3
)) {
32006 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32011 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32015 wxPyEndAllowThreads(__tstate
);
32016 if (PyErr_Occurred()) SWIG_fail
;
32018 resultobj
= SWIG_Py_Void();
32025 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32026 PyObject
*resultobj
= 0;
32027 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32034 PyObject
* obj0
= 0 ;
32035 PyObject
* obj1
= 0 ;
32036 char * kwnames
[] = {
32037 (char *) "self",(char *) "item", NULL
32040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32042 if (!SWIG_IsOK(res1
)) {
32043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32045 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32046 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32047 if (!SWIG_IsOK(ecode2
)) {
32048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32050 arg2
= static_cast< long >(val2
);
32052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32053 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32054 wxPyEndAllowThreads(__tstate
);
32055 if (PyErr_Occurred()) SWIG_fail
;
32057 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32064 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32065 PyObject
*resultobj
= 0;
32066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32067 PyObject
*arg2
= (PyObject
*) 0 ;
32071 PyObject
* obj0
= 0 ;
32072 PyObject
* obj1
= 0 ;
32073 char * kwnames
[] = {
32074 (char *) "self",(char *) "func", NULL
32077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32079 if (!SWIG_IsOK(res1
)) {
32080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32082 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32086 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32087 wxPyEndAllowThreads(__tstate
);
32088 if (PyErr_Occurred()) SWIG_fail
;
32091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32099 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32100 PyObject
*resultobj
= 0;
32101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32102 wxWindow
*result
= 0 ;
32105 PyObject
*swig_obj
[1] ;
32107 if (!args
) SWIG_fail
;
32108 swig_obj
[0] = args
;
32109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32110 if (!SWIG_IsOK(res1
)) {
32111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32113 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32116 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32121 resultobj
= wxPyMake_wxObject(result
, 0);
32129 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32130 PyObject
*resultobj
= 0;
32131 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32132 SwigValueWrapper
<wxVisualAttributes
> result
;
32135 PyObject
* obj0
= 0 ;
32136 char * kwnames
[] = {
32137 (char *) "variant", NULL
32140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32142 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32143 if (!SWIG_IsOK(ecode1
)) {
32144 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32146 arg1
= static_cast< wxWindowVariant
>(val1
);
32149 if (!wxPyCheckForApp()) SWIG_fail
;
32150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32151 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32152 wxPyEndAllowThreads(__tstate
);
32153 if (PyErr_Occurred()) SWIG_fail
;
32155 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32162 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32165 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32166 return SWIG_Py_Void();
32169 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32170 return SWIG_Python_InitShadowInstance(args
);
32173 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32174 PyObject
*resultobj
= 0;
32175 wxWindow
*arg1
= (wxWindow
*) 0 ;
32176 int arg2
= (int) -1 ;
32177 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32178 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32179 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32180 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32181 long arg5
= (long) wxLC_REPORT
;
32182 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32183 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32184 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32185 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32186 wxListView
*result
= 0 ;
32197 bool temp7
= false ;
32198 PyObject
* obj0
= 0 ;
32199 PyObject
* obj1
= 0 ;
32200 PyObject
* obj2
= 0 ;
32201 PyObject
* obj3
= 0 ;
32202 PyObject
* obj4
= 0 ;
32203 PyObject
* obj5
= 0 ;
32204 PyObject
* obj6
= 0 ;
32205 char * kwnames
[] = {
32206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32211 if (!SWIG_IsOK(res1
)) {
32212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32214 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32217 if (!SWIG_IsOK(ecode2
)) {
32218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32220 arg2
= static_cast< int >(val2
);
32225 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32231 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32235 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32236 if (!SWIG_IsOK(ecode5
)) {
32237 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32239 arg5
= static_cast< long >(val5
);
32242 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32243 if (!SWIG_IsOK(res6
)) {
32244 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32249 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32253 arg7
= wxString_in_helper(obj6
);
32254 if (arg7
== NULL
) SWIG_fail
;
32259 if (!wxPyCheckForApp()) SWIG_fail
;
32260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32261 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32262 wxPyEndAllowThreads(__tstate
);
32263 if (PyErr_Occurred()) SWIG_fail
;
32265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32280 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32281 PyObject
*resultobj
= 0;
32282 wxListView
*result
= 0 ;
32284 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32286 if (!wxPyCheckForApp()) SWIG_fail
;
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 result
= (wxListView
*)new wxListView();
32289 wxPyEndAllowThreads(__tstate
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32292 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32299 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32300 PyObject
*resultobj
= 0;
32301 wxListView
*arg1
= (wxListView
*) 0 ;
32302 wxWindow
*arg2
= (wxWindow
*) 0 ;
32303 int arg3
= (int) -1 ;
32304 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32305 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32306 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32307 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32308 long arg6
= (long) wxLC_REPORT
;
32309 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32310 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32311 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32312 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32326 bool temp8
= false ;
32327 PyObject
* obj0
= 0 ;
32328 PyObject
* obj1
= 0 ;
32329 PyObject
* obj2
= 0 ;
32330 PyObject
* obj3
= 0 ;
32331 PyObject
* obj4
= 0 ;
32332 PyObject
* obj5
= 0 ;
32333 PyObject
* obj6
= 0 ;
32334 PyObject
* obj7
= 0 ;
32335 char * kwnames
[] = {
32336 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32341 if (!SWIG_IsOK(res1
)) {
32342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32344 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32346 if (!SWIG_IsOK(res2
)) {
32347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32349 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32352 if (!SWIG_IsOK(ecode3
)) {
32353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32355 arg3
= static_cast< int >(val3
);
32360 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32366 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32370 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32371 if (!SWIG_IsOK(ecode6
)) {
32372 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32374 arg6
= static_cast< long >(val6
);
32377 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32378 if (!SWIG_IsOK(res7
)) {
32379 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32384 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32388 arg8
= wxString_in_helper(obj7
);
32389 if (arg8
== NULL
) SWIG_fail
;
32394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32395 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32396 wxPyEndAllowThreads(__tstate
);
32397 if (PyErr_Occurred()) SWIG_fail
;
32400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32416 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32417 PyObject
*resultobj
= 0;
32418 wxListView
*arg1
= (wxListView
*) 0 ;
32420 bool arg3
= (bool) true ;
32427 PyObject
* obj0
= 0 ;
32428 PyObject
* obj1
= 0 ;
32429 PyObject
* obj2
= 0 ;
32430 char * kwnames
[] = {
32431 (char *) "self",(char *) "n",(char *) "on", NULL
32434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32436 if (!SWIG_IsOK(res1
)) {
32437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32439 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32440 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32441 if (!SWIG_IsOK(ecode2
)) {
32442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32444 arg2
= static_cast< long >(val2
);
32446 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32447 if (!SWIG_IsOK(ecode3
)) {
32448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32450 arg3
= static_cast< bool >(val3
);
32453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32454 (arg1
)->Select(arg2
,arg3
);
32455 wxPyEndAllowThreads(__tstate
);
32456 if (PyErr_Occurred()) SWIG_fail
;
32458 resultobj
= SWIG_Py_Void();
32465 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32466 PyObject
*resultobj
= 0;
32467 wxListView
*arg1
= (wxListView
*) 0 ;
32473 PyObject
* obj0
= 0 ;
32474 PyObject
* obj1
= 0 ;
32475 char * kwnames
[] = {
32476 (char *) "self",(char *) "index", NULL
32479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32481 if (!SWIG_IsOK(res1
)) {
32482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32484 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32485 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32486 if (!SWIG_IsOK(ecode2
)) {
32487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32489 arg2
= static_cast< long >(val2
);
32491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32492 (arg1
)->Focus(arg2
);
32493 wxPyEndAllowThreads(__tstate
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32496 resultobj
= SWIG_Py_Void();
32503 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32504 PyObject
*resultobj
= 0;
32505 wxListView
*arg1
= (wxListView
*) 0 ;
32509 PyObject
*swig_obj
[1] ;
32511 if (!args
) SWIG_fail
;
32512 swig_obj
[0] = args
;
32513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32514 if (!SWIG_IsOK(res1
)) {
32515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32517 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32520 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32524 resultobj
= SWIG_From_long(static_cast< long >(result
));
32531 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32532 PyObject
*resultobj
= 0;
32533 wxListView
*arg1
= (wxListView
*) 0 ;
32540 PyObject
* obj0
= 0 ;
32541 PyObject
* obj1
= 0 ;
32542 char * kwnames
[] = {
32543 (char *) "self",(char *) "item", NULL
32546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32548 if (!SWIG_IsOK(res1
)) {
32549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32551 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32552 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32553 if (!SWIG_IsOK(ecode2
)) {
32554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32556 arg2
= static_cast< long >(val2
);
32558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32559 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32560 wxPyEndAllowThreads(__tstate
);
32561 if (PyErr_Occurred()) SWIG_fail
;
32563 resultobj
= SWIG_From_long(static_cast< long >(result
));
32570 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32571 PyObject
*resultobj
= 0;
32572 wxListView
*arg1
= (wxListView
*) 0 ;
32576 PyObject
*swig_obj
[1] ;
32578 if (!args
) SWIG_fail
;
32579 swig_obj
[0] = args
;
32580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32581 if (!SWIG_IsOK(res1
)) {
32582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32584 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32587 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32588 wxPyEndAllowThreads(__tstate
);
32589 if (PyErr_Occurred()) SWIG_fail
;
32591 resultobj
= SWIG_From_long(static_cast< long >(result
));
32598 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32599 PyObject
*resultobj
= 0;
32600 wxListView
*arg1
= (wxListView
*) 0 ;
32607 PyObject
* obj0
= 0 ;
32608 PyObject
* obj1
= 0 ;
32609 char * kwnames
[] = {
32610 (char *) "self",(char *) "index", NULL
32613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32615 if (!SWIG_IsOK(res1
)) {
32616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32618 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32619 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32620 if (!SWIG_IsOK(ecode2
)) {
32621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32623 arg2
= static_cast< long >(val2
);
32625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32626 result
= (bool)(arg1
)->IsSelected(arg2
);
32627 wxPyEndAllowThreads(__tstate
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32639 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32640 PyObject
*resultobj
= 0;
32641 wxListView
*arg1
= (wxListView
*) 0 ;
32650 PyObject
* obj0
= 0 ;
32651 PyObject
* obj1
= 0 ;
32652 PyObject
* obj2
= 0 ;
32653 char * kwnames
[] = {
32654 (char *) "self",(char *) "col",(char *) "image", NULL
32657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32659 if (!SWIG_IsOK(res1
)) {
32660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32662 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32664 if (!SWIG_IsOK(ecode2
)) {
32665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32667 arg2
= static_cast< int >(val2
);
32668 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32669 if (!SWIG_IsOK(ecode3
)) {
32670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32672 arg3
= static_cast< int >(val3
);
32674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32675 (arg1
)->SetColumnImage(arg2
,arg3
);
32676 wxPyEndAllowThreads(__tstate
);
32677 if (PyErr_Occurred()) SWIG_fail
;
32679 resultobj
= SWIG_Py_Void();
32686 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32687 PyObject
*resultobj
= 0;
32688 wxListView
*arg1
= (wxListView
*) 0 ;
32694 PyObject
* obj0
= 0 ;
32695 PyObject
* obj1
= 0 ;
32696 char * kwnames
[] = {
32697 (char *) "self",(char *) "col", NULL
32700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32702 if (!SWIG_IsOK(res1
)) {
32703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32705 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32707 if (!SWIG_IsOK(ecode2
)) {
32708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32710 arg2
= static_cast< int >(val2
);
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 (arg1
)->ClearColumnImage(arg2
);
32714 wxPyEndAllowThreads(__tstate
);
32715 if (PyErr_Occurred()) SWIG_fail
;
32717 resultobj
= SWIG_Py_Void();
32724 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32726 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32727 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32728 return SWIG_Py_Void();
32731 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32732 return SWIG_Python_InitShadowInstance(args
);
32735 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32736 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32741 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32742 PyObject
*pyobj
= 0;
32746 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32748 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32755 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32756 PyObject
*resultobj
= 0;
32757 wxTreeItemId
*result
= 0 ;
32759 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32762 result
= (wxTreeItemId
*)new wxTreeItemId();
32763 wxPyEndAllowThreads(__tstate
);
32764 if (PyErr_Occurred()) SWIG_fail
;
32766 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32773 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32774 PyObject
*resultobj
= 0;
32775 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32778 PyObject
*swig_obj
[1] ;
32780 if (!args
) SWIG_fail
;
32781 swig_obj
[0] = args
;
32782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32783 if (!SWIG_IsOK(res1
)) {
32784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32786 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32791 wxPyEndAllowThreads(__tstate
);
32792 if (PyErr_Occurred()) SWIG_fail
;
32794 resultobj
= SWIG_Py_Void();
32801 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32802 PyObject
*resultobj
= 0;
32803 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32807 PyObject
*swig_obj
[1] ;
32809 if (!args
) SWIG_fail
;
32810 swig_obj
[0] = args
;
32811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32812 if (!SWIG_IsOK(res1
)) {
32813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32815 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32818 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32831 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32832 PyObject
*resultobj
= 0;
32833 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32834 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32840 PyObject
* obj0
= 0 ;
32841 PyObject
* obj1
= 0 ;
32842 char * kwnames
[] = {
32843 (char *) "self",(char *) "other", NULL
32846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32848 if (!SWIG_IsOK(res1
)) {
32849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32851 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32852 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32853 if (!SWIG_IsOK(res2
)) {
32854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32856 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32859 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32860 wxPyEndAllowThreads(__tstate
);
32861 if (PyErr_Occurred()) SWIG_fail
;
32864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32872 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32873 PyObject
*resultobj
= 0;
32874 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32875 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32881 PyObject
* obj0
= 0 ;
32882 PyObject
* obj1
= 0 ;
32883 char * kwnames
[] = {
32884 (char *) "self",(char *) "other", NULL
32887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32889 if (!SWIG_IsOK(res1
)) {
32890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32892 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32894 if (!SWIG_IsOK(res2
)) {
32895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32897 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32900 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32901 wxPyEndAllowThreads(__tstate
);
32902 if (PyErr_Occurred()) SWIG_fail
;
32905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32913 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32914 PyObject
*resultobj
= 0;
32915 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32916 void *arg2
= (void *) 0 ;
32920 PyObject
*swig_obj
[2] ;
32922 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32924 if (!SWIG_IsOK(res1
)) {
32925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32927 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32928 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32929 if (!SWIG_IsOK(res2
)) {
32930 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32932 if (arg1
) (arg1
)->m_pItem
= arg2
;
32934 resultobj
= SWIG_Py_Void();
32941 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32942 PyObject
*resultobj
= 0;
32943 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32947 PyObject
*swig_obj
[1] ;
32949 if (!args
) SWIG_fail
;
32950 swig_obj
[0] = args
;
32951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32952 if (!SWIG_IsOK(res1
)) {
32953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32955 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32956 result
= (void *) ((arg1
)->m_pItem
);
32957 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32964 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32967 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32968 return SWIG_Py_Void();
32971 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32972 return SWIG_Python_InitShadowInstance(args
);
32975 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32976 PyObject
*resultobj
= 0;
32977 PyObject
*arg1
= (PyObject
*) NULL
;
32978 wxPyTreeItemData
*result
= 0 ;
32979 PyObject
* obj0
= 0 ;
32980 char * kwnames
[] = {
32981 (char *) "obj", NULL
32984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32990 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32991 wxPyEndAllowThreads(__tstate
);
32992 if (PyErr_Occurred()) SWIG_fail
;
32994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33001 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33002 PyObject
*resultobj
= 0;
33003 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33006 PyObject
*swig_obj
[1] ;
33008 if (!args
) SWIG_fail
;
33009 swig_obj
[0] = args
;
33010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33011 if (!SWIG_IsOK(res1
)) {
33012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33014 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33019 wxPyEndAllowThreads(__tstate
);
33020 if (PyErr_Occurred()) SWIG_fail
;
33022 resultobj
= SWIG_Py_Void();
33029 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33030 PyObject
*resultobj
= 0;
33031 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33032 PyObject
*result
= 0 ;
33035 PyObject
*swig_obj
[1] ;
33037 if (!args
) SWIG_fail
;
33038 swig_obj
[0] = args
;
33039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33040 if (!SWIG_IsOK(res1
)) {
33041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33043 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33046 result
= (PyObject
*)(arg1
)->GetData();
33047 wxPyEndAllowThreads(__tstate
);
33048 if (PyErr_Occurred()) SWIG_fail
;
33050 resultobj
= result
;
33057 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33058 PyObject
*resultobj
= 0;
33059 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33060 PyObject
*arg2
= (PyObject
*) 0 ;
33063 PyObject
* obj0
= 0 ;
33064 PyObject
* obj1
= 0 ;
33065 char * kwnames
[] = {
33066 (char *) "self",(char *) "obj", NULL
33069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33071 if (!SWIG_IsOK(res1
)) {
33072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33074 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 (arg1
)->SetData(arg2
);
33079 wxPyEndAllowThreads(__tstate
);
33080 if (PyErr_Occurred()) SWIG_fail
;
33082 resultobj
= SWIG_Py_Void();
33089 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33090 PyObject
*resultobj
= 0;
33091 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33092 wxTreeItemId
*result
= 0 ;
33095 PyObject
*swig_obj
[1] ;
33097 if (!args
) SWIG_fail
;
33098 swig_obj
[0] = args
;
33099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33100 if (!SWIG_IsOK(res1
)) {
33101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33103 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33107 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33108 result
= (wxTreeItemId
*) &_result_ref
;
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33120 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33121 PyObject
*resultobj
= 0;
33122 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33123 wxTreeItemId
*arg2
= 0 ;
33128 PyObject
* obj0
= 0 ;
33129 PyObject
* obj1
= 0 ;
33130 char * kwnames
[] = {
33131 (char *) "self",(char *) "id", NULL
33134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33136 if (!SWIG_IsOK(res1
)) {
33137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33139 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33141 if (!SWIG_IsOK(res2
)) {
33142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33147 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33150 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33151 wxPyEndAllowThreads(__tstate
);
33152 if (PyErr_Occurred()) SWIG_fail
;
33154 resultobj
= SWIG_Py_Void();
33161 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33162 PyObject
*resultobj
= 0;
33163 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33166 PyObject
*swig_obj
[1] ;
33168 if (!args
) SWIG_fail
;
33169 swig_obj
[0] = args
;
33170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33171 if (!SWIG_IsOK(res1
)) {
33172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33174 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33177 wxPyTreeItemData_Destroy(arg1
);
33178 wxPyEndAllowThreads(__tstate
);
33179 if (PyErr_Occurred()) SWIG_fail
;
33181 resultobj
= SWIG_Py_Void();
33188 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33191 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33192 return SWIG_Py_Void();
33195 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33196 return SWIG_Python_InitShadowInstance(args
);
33199 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33202 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33203 if (!SWIG_IsOK(res
)) {
33204 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33209 wxTreeItemId
* temp
;
33210 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33211 wxNullTreeItemId
= *temp
;
33212 if (SWIG_IsNewObj(res
)) delete temp
;
33221 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33222 PyObject
*pyobj
= 0;
33224 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33229 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33230 PyObject
*resultobj
= 0;
33231 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33232 int arg2
= (int) 0 ;
33233 wxTreeEvent
*result
= 0 ;
33239 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33241 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33242 if (!SWIG_IsOK(ecode1
)) {
33243 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33245 arg1
= static_cast< wxEventType
>(val1
);
33248 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33249 if (!SWIG_IsOK(ecode2
)) {
33250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33252 arg2
= static_cast< int >(val2
);
33255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33256 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33257 wxPyEndAllowThreads(__tstate
);
33258 if (PyErr_Occurred()) SWIG_fail
;
33260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33267 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33268 PyObject
*resultobj
= 0;
33270 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33271 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33272 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33273 wxTreeEvent
*result
= 0 ;
33281 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33282 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33283 if (!SWIG_IsOK(ecode1
)) {
33284 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33286 arg1
= static_cast< wxEventType
>(val1
);
33287 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33288 if (!SWIG_IsOK(res2
)) {
33289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33291 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33293 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33294 if (!SWIG_IsOK(res3
)) {
33295 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33300 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33304 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33305 wxPyEndAllowThreads(__tstate
);
33306 if (PyErr_Occurred()) SWIG_fail
;
33308 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33315 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33319 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33321 if ((argc
>= 0) && (argc
<= 2)) {
33326 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33327 _v
= SWIG_CheckState(res
);
33330 if (!_v
) goto check_1
;
33332 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33336 if ((argc
>= 2) && (argc
<= 3)) {
33337 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33341 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33346 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33347 PyObject
*resultobj
= 0;
33348 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33349 wxTreeItemId result
;
33352 PyObject
*swig_obj
[1] ;
33354 if (!args
) SWIG_fail
;
33355 swig_obj
[0] = args
;
33356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33357 if (!SWIG_IsOK(res1
)) {
33358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33360 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33363 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33364 wxPyEndAllowThreads(__tstate
);
33365 if (PyErr_Occurred()) SWIG_fail
;
33367 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33374 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33375 PyObject
*resultobj
= 0;
33376 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33377 wxTreeItemId
*arg2
= 0 ;
33382 PyObject
* obj0
= 0 ;
33383 PyObject
* obj1
= 0 ;
33384 char * kwnames
[] = {
33385 (char *) "self",(char *) "item", NULL
33388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33390 if (!SWIG_IsOK(res1
)) {
33391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33393 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33395 if (!SWIG_IsOK(res2
)) {
33396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33401 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33404 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33405 wxPyEndAllowThreads(__tstate
);
33406 if (PyErr_Occurred()) SWIG_fail
;
33408 resultobj
= SWIG_Py_Void();
33415 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33416 PyObject
*resultobj
= 0;
33417 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33418 wxTreeItemId result
;
33421 PyObject
*swig_obj
[1] ;
33423 if (!args
) SWIG_fail
;
33424 swig_obj
[0] = args
;
33425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33426 if (!SWIG_IsOK(res1
)) {
33427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33429 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33432 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33433 wxPyEndAllowThreads(__tstate
);
33434 if (PyErr_Occurred()) SWIG_fail
;
33436 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33443 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33444 PyObject
*resultobj
= 0;
33445 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33446 wxTreeItemId
*arg2
= 0 ;
33451 PyObject
* obj0
= 0 ;
33452 PyObject
* obj1
= 0 ;
33453 char * kwnames
[] = {
33454 (char *) "self",(char *) "item", NULL
33457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33459 if (!SWIG_IsOK(res1
)) {
33460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33462 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33464 if (!SWIG_IsOK(res2
)) {
33465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33470 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33473 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33474 wxPyEndAllowThreads(__tstate
);
33475 if (PyErr_Occurred()) SWIG_fail
;
33477 resultobj
= SWIG_Py_Void();
33484 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33485 PyObject
*resultobj
= 0;
33486 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33490 PyObject
*swig_obj
[1] ;
33492 if (!args
) SWIG_fail
;
33493 swig_obj
[0] = args
;
33494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33495 if (!SWIG_IsOK(res1
)) {
33496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33498 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33501 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33502 wxPyEndAllowThreads(__tstate
);
33503 if (PyErr_Occurred()) SWIG_fail
;
33505 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33512 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33513 PyObject
*resultobj
= 0;
33514 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33515 wxPoint
*arg2
= 0 ;
33519 PyObject
* obj0
= 0 ;
33520 PyObject
* obj1
= 0 ;
33521 char * kwnames
[] = {
33522 (char *) "self",(char *) "pt", NULL
33525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33527 if (!SWIG_IsOK(res1
)) {
33528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33530 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33533 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33537 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33538 wxPyEndAllowThreads(__tstate
);
33539 if (PyErr_Occurred()) SWIG_fail
;
33541 resultobj
= SWIG_Py_Void();
33548 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33549 PyObject
*resultobj
= 0;
33550 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33551 wxKeyEvent
*result
= 0 ;
33554 PyObject
*swig_obj
[1] ;
33556 if (!args
) SWIG_fail
;
33557 swig_obj
[0] = args
;
33558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33559 if (!SWIG_IsOK(res1
)) {
33560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33562 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33566 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33567 result
= (wxKeyEvent
*) &_result_ref
;
33569 wxPyEndAllowThreads(__tstate
);
33570 if (PyErr_Occurred()) SWIG_fail
;
33572 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33579 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33580 PyObject
*resultobj
= 0;
33581 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33585 PyObject
*swig_obj
[1] ;
33587 if (!args
) SWIG_fail
;
33588 swig_obj
[0] = args
;
33589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33590 if (!SWIG_IsOK(res1
)) {
33591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33593 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33596 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33597 wxPyEndAllowThreads(__tstate
);
33598 if (PyErr_Occurred()) SWIG_fail
;
33600 resultobj
= SWIG_From_int(static_cast< int >(result
));
33607 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33608 PyObject
*resultobj
= 0;
33609 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33610 wxKeyEvent
*arg2
= 0 ;
33615 PyObject
* obj0
= 0 ;
33616 PyObject
* obj1
= 0 ;
33617 char * kwnames
[] = {
33618 (char *) "self",(char *) "evt", NULL
33621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33623 if (!SWIG_IsOK(res1
)) {
33624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33626 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33627 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33628 if (!SWIG_IsOK(res2
)) {
33629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33634 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33637 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33638 wxPyEndAllowThreads(__tstate
);
33639 if (PyErr_Occurred()) SWIG_fail
;
33641 resultobj
= SWIG_Py_Void();
33648 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33649 PyObject
*resultobj
= 0;
33650 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33651 wxString
*result
= 0 ;
33654 PyObject
*swig_obj
[1] ;
33656 if (!args
) SWIG_fail
;
33657 swig_obj
[0] = args
;
33658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33659 if (!SWIG_IsOK(res1
)) {
33660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33662 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33666 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33667 result
= (wxString
*) &_result_ref
;
33669 wxPyEndAllowThreads(__tstate
);
33670 if (PyErr_Occurred()) SWIG_fail
;
33674 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33676 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33685 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33686 PyObject
*resultobj
= 0;
33687 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33688 wxString
*arg2
= 0 ;
33691 bool temp2
= false ;
33692 PyObject
* obj0
= 0 ;
33693 PyObject
* obj1
= 0 ;
33694 char * kwnames
[] = {
33695 (char *) "self",(char *) "label", NULL
33698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33700 if (!SWIG_IsOK(res1
)) {
33701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33703 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33705 arg2
= wxString_in_helper(obj1
);
33706 if (arg2
== NULL
) SWIG_fail
;
33710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33711 (arg1
)->SetLabel((wxString
const &)*arg2
);
33712 wxPyEndAllowThreads(__tstate
);
33713 if (PyErr_Occurred()) SWIG_fail
;
33715 resultobj
= SWIG_Py_Void();
33730 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33731 PyObject
*resultobj
= 0;
33732 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33736 PyObject
*swig_obj
[1] ;
33738 if (!args
) SWIG_fail
;
33739 swig_obj
[0] = args
;
33740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33741 if (!SWIG_IsOK(res1
)) {
33742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33744 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33748 wxPyEndAllowThreads(__tstate
);
33749 if (PyErr_Occurred()) SWIG_fail
;
33752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33760 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33761 PyObject
*resultobj
= 0;
33762 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33768 PyObject
* obj0
= 0 ;
33769 PyObject
* obj1
= 0 ;
33770 char * kwnames
[] = {
33771 (char *) "self",(char *) "editCancelled", NULL
33774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33776 if (!SWIG_IsOK(res1
)) {
33777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33779 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33780 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33781 if (!SWIG_IsOK(ecode2
)) {
33782 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33784 arg2
= static_cast< bool >(val2
);
33786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33787 (arg1
)->SetEditCanceled(arg2
);
33788 wxPyEndAllowThreads(__tstate
);
33789 if (PyErr_Occurred()) SWIG_fail
;
33791 resultobj
= SWIG_Py_Void();
33798 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33799 PyObject
*resultobj
= 0;
33800 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33801 wxString
*arg2
= 0 ;
33804 bool temp2
= false ;
33805 PyObject
* obj0
= 0 ;
33806 PyObject
* obj1
= 0 ;
33807 char * kwnames
[] = {
33808 (char *) "self",(char *) "toolTip", NULL
33811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33813 if (!SWIG_IsOK(res1
)) {
33814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33816 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33818 arg2
= wxString_in_helper(obj1
);
33819 if (arg2
== NULL
) SWIG_fail
;
33823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33824 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33825 wxPyEndAllowThreads(__tstate
);
33826 if (PyErr_Occurred()) SWIG_fail
;
33828 resultobj
= SWIG_Py_Void();
33843 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33844 PyObject
*resultobj
= 0;
33845 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33849 PyObject
*swig_obj
[1] ;
33851 if (!args
) SWIG_fail
;
33852 swig_obj
[0] = args
;
33853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33854 if (!SWIG_IsOK(res1
)) {
33855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33857 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33860 result
= (arg1
)->GetToolTip();
33861 wxPyEndAllowThreads(__tstate
);
33862 if (PyErr_Occurred()) SWIG_fail
;
33866 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33868 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33877 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33879 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33880 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33881 return SWIG_Py_Void();
33884 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33885 return SWIG_Python_InitShadowInstance(args
);
33888 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33889 PyObject
*resultobj
= 0;
33890 wxWindow
*arg1
= (wxWindow
*) 0 ;
33891 int arg2
= (int) -1 ;
33892 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33893 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33894 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33895 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33896 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33897 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33898 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33899 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33900 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33901 wxPyTreeCtrl
*result
= 0 ;
33912 bool temp7
= false ;
33913 PyObject
* obj0
= 0 ;
33914 PyObject
* obj1
= 0 ;
33915 PyObject
* obj2
= 0 ;
33916 PyObject
* obj3
= 0 ;
33917 PyObject
* obj4
= 0 ;
33918 PyObject
* obj5
= 0 ;
33919 PyObject
* obj6
= 0 ;
33920 char * kwnames
[] = {
33921 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33926 if (!SWIG_IsOK(res1
)) {
33927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33929 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33932 if (!SWIG_IsOK(ecode2
)) {
33933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33935 arg2
= static_cast< int >(val2
);
33940 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33946 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33950 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33951 if (!SWIG_IsOK(ecode5
)) {
33952 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33954 arg5
= static_cast< long >(val5
);
33957 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33958 if (!SWIG_IsOK(res6
)) {
33959 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33964 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33968 arg7
= wxString_in_helper(obj6
);
33969 if (arg7
== NULL
) SWIG_fail
;
33974 if (!wxPyCheckForApp()) SWIG_fail
;
33975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33976 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33977 wxPyEndAllowThreads(__tstate
);
33978 if (PyErr_Occurred()) SWIG_fail
;
33980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33995 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33996 PyObject
*resultobj
= 0;
33997 wxPyTreeCtrl
*result
= 0 ;
33999 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34001 if (!wxPyCheckForApp()) SWIG_fail
;
34002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34003 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34004 wxPyEndAllowThreads(__tstate
);
34005 if (PyErr_Occurred()) SWIG_fail
;
34007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34014 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34015 PyObject
*resultobj
= 0;
34016 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34017 wxWindow
*arg2
= (wxWindow
*) 0 ;
34018 int arg3
= (int) -1 ;
34019 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34020 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34021 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34022 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34023 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34024 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34025 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34026 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34027 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34041 bool temp8
= false ;
34042 PyObject
* obj0
= 0 ;
34043 PyObject
* obj1
= 0 ;
34044 PyObject
* obj2
= 0 ;
34045 PyObject
* obj3
= 0 ;
34046 PyObject
* obj4
= 0 ;
34047 PyObject
* obj5
= 0 ;
34048 PyObject
* obj6
= 0 ;
34049 PyObject
* obj7
= 0 ;
34050 char * kwnames
[] = {
34051 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34056 if (!SWIG_IsOK(res1
)) {
34057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34059 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34060 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34061 if (!SWIG_IsOK(res2
)) {
34062 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34064 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34066 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34067 if (!SWIG_IsOK(ecode3
)) {
34068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34070 arg3
= static_cast< int >(val3
);
34075 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34081 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34085 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34086 if (!SWIG_IsOK(ecode6
)) {
34087 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34089 arg6
= static_cast< long >(val6
);
34092 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34093 if (!SWIG_IsOK(res7
)) {
34094 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34097 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34099 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34103 arg8
= wxString_in_helper(obj7
);
34104 if (arg8
== NULL
) SWIG_fail
;
34109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34110 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34111 wxPyEndAllowThreads(__tstate
);
34112 if (PyErr_Occurred()) SWIG_fail
;
34115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34131 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34132 PyObject
*resultobj
= 0;
34133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34134 PyObject
*arg2
= (PyObject
*) 0 ;
34135 PyObject
*arg3
= (PyObject
*) 0 ;
34138 PyObject
* obj0
= 0 ;
34139 PyObject
* obj1
= 0 ;
34140 PyObject
* obj2
= 0 ;
34141 char * kwnames
[] = {
34142 (char *) "self",(char *) "self",(char *) "_class", NULL
34145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34147 if (!SWIG_IsOK(res1
)) {
34148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34150 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34155 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34156 wxPyEndAllowThreads(__tstate
);
34157 if (PyErr_Occurred()) SWIG_fail
;
34159 resultobj
= SWIG_Py_Void();
34166 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34167 PyObject
*resultobj
= 0;
34168 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34169 unsigned int result
;
34172 PyObject
*swig_obj
[1] ;
34174 if (!args
) SWIG_fail
;
34175 swig_obj
[0] = args
;
34176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34177 if (!SWIG_IsOK(res1
)) {
34178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34180 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34183 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34184 wxPyEndAllowThreads(__tstate
);
34185 if (PyErr_Occurred()) SWIG_fail
;
34187 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34194 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34195 PyObject
*resultobj
= 0;
34196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34197 unsigned int result
;
34200 PyObject
*swig_obj
[1] ;
34202 if (!args
) SWIG_fail
;
34203 swig_obj
[0] = args
;
34204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34205 if (!SWIG_IsOK(res1
)) {
34206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34208 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34211 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34212 wxPyEndAllowThreads(__tstate
);
34213 if (PyErr_Occurred()) SWIG_fail
;
34215 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34222 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34223 PyObject
*resultobj
= 0;
34224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34225 unsigned int arg2
;
34228 unsigned int val2
;
34230 PyObject
* obj0
= 0 ;
34231 PyObject
* obj1
= 0 ;
34232 char * kwnames
[] = {
34233 (char *) "self",(char *) "indent", NULL
34236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34238 if (!SWIG_IsOK(res1
)) {
34239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34241 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34242 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34243 if (!SWIG_IsOK(ecode2
)) {
34244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34246 arg2
= static_cast< unsigned int >(val2
);
34248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34249 (arg1
)->SetIndent(arg2
);
34250 wxPyEndAllowThreads(__tstate
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34253 resultobj
= SWIG_Py_Void();
34260 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34261 PyObject
*resultobj
= 0;
34262 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34263 unsigned int result
;
34266 PyObject
*swig_obj
[1] ;
34268 if (!args
) SWIG_fail
;
34269 swig_obj
[0] = args
;
34270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34271 if (!SWIG_IsOK(res1
)) {
34272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34274 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34277 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34278 wxPyEndAllowThreads(__tstate
);
34279 if (PyErr_Occurred()) SWIG_fail
;
34281 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34288 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34289 PyObject
*resultobj
= 0;
34290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34291 unsigned int arg2
;
34294 unsigned int val2
;
34296 PyObject
* obj0
= 0 ;
34297 PyObject
* obj1
= 0 ;
34298 char * kwnames
[] = {
34299 (char *) "self",(char *) "spacing", NULL
34302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34304 if (!SWIG_IsOK(res1
)) {
34305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34307 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34308 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34309 if (!SWIG_IsOK(ecode2
)) {
34310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34312 arg2
= static_cast< unsigned int >(val2
);
34314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34315 (arg1
)->SetSpacing(arg2
);
34316 wxPyEndAllowThreads(__tstate
);
34317 if (PyErr_Occurred()) SWIG_fail
;
34319 resultobj
= SWIG_Py_Void();
34326 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34327 PyObject
*resultobj
= 0;
34328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34329 wxImageList
*result
= 0 ;
34332 PyObject
*swig_obj
[1] ;
34334 if (!args
) SWIG_fail
;
34335 swig_obj
[0] = args
;
34336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34337 if (!SWIG_IsOK(res1
)) {
34338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34340 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34343 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34344 wxPyEndAllowThreads(__tstate
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34348 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34356 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34357 PyObject
*resultobj
= 0;
34358 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34359 wxImageList
*result
= 0 ;
34362 PyObject
*swig_obj
[1] ;
34364 if (!args
) SWIG_fail
;
34365 swig_obj
[0] = args
;
34366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34367 if (!SWIG_IsOK(res1
)) {
34368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34370 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34373 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34374 wxPyEndAllowThreads(__tstate
);
34375 if (PyErr_Occurred()) SWIG_fail
;
34378 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34386 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34387 PyObject
*resultobj
= 0;
34388 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34389 wxImageList
*arg2
= (wxImageList
*) 0 ;
34394 PyObject
* obj0
= 0 ;
34395 PyObject
* obj1
= 0 ;
34396 char * kwnames
[] = {
34397 (char *) "self",(char *) "imageList", NULL
34400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34402 if (!SWIG_IsOK(res1
)) {
34403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34405 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34406 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34407 if (!SWIG_IsOK(res2
)) {
34408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34410 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34413 (arg1
)->SetImageList(arg2
);
34414 wxPyEndAllowThreads(__tstate
);
34415 if (PyErr_Occurred()) SWIG_fail
;
34417 resultobj
= SWIG_Py_Void();
34424 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34425 PyObject
*resultobj
= 0;
34426 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34427 wxImageList
*arg2
= (wxImageList
*) 0 ;
34432 PyObject
* obj0
= 0 ;
34433 PyObject
* obj1
= 0 ;
34434 char * kwnames
[] = {
34435 (char *) "self",(char *) "imageList", NULL
34438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34440 if (!SWIG_IsOK(res1
)) {
34441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34443 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34444 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34445 if (!SWIG_IsOK(res2
)) {
34446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34448 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34451 (arg1
)->SetStateImageList(arg2
);
34452 wxPyEndAllowThreads(__tstate
);
34453 if (PyErr_Occurred()) SWIG_fail
;
34455 resultobj
= SWIG_Py_Void();
34462 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34463 PyObject
*resultobj
= 0;
34464 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34465 wxImageList
*arg2
= (wxImageList
*) 0 ;
34469 PyObject
* obj0
= 0 ;
34470 PyObject
* obj1
= 0 ;
34471 char * kwnames
[] = {
34472 (char *) "self",(char *) "imageList", NULL
34475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34477 if (!SWIG_IsOK(res1
)) {
34478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34480 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34481 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34482 if (!SWIG_IsOK(res2
)) {
34483 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34487 (arg1
)->AssignImageList(arg2
);
34488 wxPyEndAllowThreads(__tstate
);
34489 if (PyErr_Occurred()) SWIG_fail
;
34491 resultobj
= SWIG_Py_Void();
34498 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34499 PyObject
*resultobj
= 0;
34500 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34501 wxImageList
*arg2
= (wxImageList
*) 0 ;
34505 PyObject
* obj0
= 0 ;
34506 PyObject
* obj1
= 0 ;
34507 char * kwnames
[] = {
34508 (char *) "self",(char *) "imageList", NULL
34511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34513 if (!SWIG_IsOK(res1
)) {
34514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34516 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34517 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34518 if (!SWIG_IsOK(res2
)) {
34519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34523 (arg1
)->AssignStateImageList(arg2
);
34524 wxPyEndAllowThreads(__tstate
);
34525 if (PyErr_Occurred()) SWIG_fail
;
34527 resultobj
= SWIG_Py_Void();
34534 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34535 PyObject
*resultobj
= 0;
34536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34537 wxTreeItemId
*arg2
= 0 ;
34543 PyObject
* obj0
= 0 ;
34544 PyObject
* obj1
= 0 ;
34545 char * kwnames
[] = {
34546 (char *) "self",(char *) "item", NULL
34549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34551 if (!SWIG_IsOK(res1
)) {
34552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34554 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34556 if (!SWIG_IsOK(res2
)) {
34557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34562 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34565 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34566 wxPyEndAllowThreads(__tstate
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34571 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34573 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34582 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34583 PyObject
*resultobj
= 0;
34584 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34585 wxTreeItemId
*arg2
= 0 ;
34586 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34594 PyObject
* obj0
= 0 ;
34595 PyObject
* obj1
= 0 ;
34596 PyObject
* obj2
= 0 ;
34597 char * kwnames
[] = {
34598 (char *) "self",(char *) "item",(char *) "which", NULL
34601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34603 if (!SWIG_IsOK(res1
)) {
34604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34606 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34607 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34608 if (!SWIG_IsOK(res2
)) {
34609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34612 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34614 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34616 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34617 if (!SWIG_IsOK(ecode3
)) {
34618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34620 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34624 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34625 wxPyEndAllowThreads(__tstate
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34628 resultobj
= SWIG_From_int(static_cast< int >(result
));
34635 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34636 PyObject
*resultobj
= 0;
34637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34638 wxTreeItemId
*arg2
= 0 ;
34639 wxPyTreeItemData
*result
= 0 ;
34644 PyObject
* obj0
= 0 ;
34645 PyObject
* obj1
= 0 ;
34646 char * kwnames
[] = {
34647 (char *) "self",(char *) "item", NULL
34650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34652 if (!SWIG_IsOK(res1
)) {
34653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34655 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34656 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34657 if (!SWIG_IsOK(res2
)) {
34658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34661 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34663 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34666 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34667 wxPyEndAllowThreads(__tstate
);
34668 if (PyErr_Occurred()) SWIG_fail
;
34670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34677 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34678 PyObject
*resultobj
= 0;
34679 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34680 wxTreeItemId
*arg2
= 0 ;
34681 PyObject
*result
= 0 ;
34686 PyObject
* obj0
= 0 ;
34687 PyObject
* obj1
= 0 ;
34688 char * kwnames
[] = {
34689 (char *) "self",(char *) "item", NULL
34692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34694 if (!SWIG_IsOK(res1
)) {
34695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34697 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34699 if (!SWIG_IsOK(res2
)) {
34700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34705 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34708 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34709 wxPyEndAllowThreads(__tstate
);
34710 if (PyErr_Occurred()) SWIG_fail
;
34712 resultobj
= result
;
34719 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34720 PyObject
*resultobj
= 0;
34721 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34722 wxTreeItemId
*arg2
= 0 ;
34728 PyObject
* obj0
= 0 ;
34729 PyObject
* obj1
= 0 ;
34730 char * kwnames
[] = {
34731 (char *) "self",(char *) "item", NULL
34734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) 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_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
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_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34745 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34747 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34750 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34751 wxPyEndAllowThreads(__tstate
);
34752 if (PyErr_Occurred()) SWIG_fail
;
34754 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34761 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34762 PyObject
*resultobj
= 0;
34763 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34764 wxTreeItemId
*arg2
= 0 ;
34770 PyObject
* obj0
= 0 ;
34771 PyObject
* obj1
= 0 ;
34772 char * kwnames
[] = {
34773 (char *) "self",(char *) "item", NULL
34776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34778 if (!SWIG_IsOK(res1
)) {
34779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34781 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34782 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34783 if (!SWIG_IsOK(res2
)) {
34784 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34789 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34792 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34793 wxPyEndAllowThreads(__tstate
);
34794 if (PyErr_Occurred()) SWIG_fail
;
34796 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34803 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34804 PyObject
*resultobj
= 0;
34805 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34806 wxTreeItemId
*arg2
= 0 ;
34812 PyObject
* obj0
= 0 ;
34813 PyObject
* obj1
= 0 ;
34814 char * kwnames
[] = {
34815 (char *) "self",(char *) "item", NULL
34818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34820 if (!SWIG_IsOK(res1
)) {
34821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34823 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34825 if (!SWIG_IsOK(res2
)) {
34826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34831 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34834 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34835 wxPyEndAllowThreads(__tstate
);
34836 if (PyErr_Occurred()) SWIG_fail
;
34838 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34845 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34846 PyObject
*resultobj
= 0;
34847 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34848 wxTreeItemId
*arg2
= 0 ;
34849 wxString
*arg3
= 0 ;
34854 bool temp3
= false ;
34855 PyObject
* obj0
= 0 ;
34856 PyObject
* obj1
= 0 ;
34857 PyObject
* obj2
= 0 ;
34858 char * kwnames
[] = {
34859 (char *) "self",(char *) "item",(char *) "text", NULL
34862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34864 if (!SWIG_IsOK(res1
)) {
34865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34867 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34869 if (!SWIG_IsOK(res2
)) {
34870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34875 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34877 arg3
= wxString_in_helper(obj2
);
34878 if (arg3
== NULL
) SWIG_fail
;
34882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34883 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34884 wxPyEndAllowThreads(__tstate
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34887 resultobj
= SWIG_Py_Void();
34902 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34903 PyObject
*resultobj
= 0;
34904 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34905 wxTreeItemId
*arg2
= 0 ;
34907 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34916 PyObject
* obj0
= 0 ;
34917 PyObject
* obj1
= 0 ;
34918 PyObject
* obj2
= 0 ;
34919 PyObject
* obj3
= 0 ;
34920 char * kwnames
[] = {
34921 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34926 if (!SWIG_IsOK(res1
)) {
34927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34929 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34930 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34931 if (!SWIG_IsOK(res2
)) {
34932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34937 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34939 if (!SWIG_IsOK(ecode3
)) {
34940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34942 arg3
= static_cast< int >(val3
);
34944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34945 if (!SWIG_IsOK(ecode4
)) {
34946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34948 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34952 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34953 wxPyEndAllowThreads(__tstate
);
34954 if (PyErr_Occurred()) SWIG_fail
;
34956 resultobj
= SWIG_Py_Void();
34963 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34964 PyObject
*resultobj
= 0;
34965 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34966 wxTreeItemId
*arg2
= 0 ;
34967 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34973 PyObject
* obj0
= 0 ;
34974 PyObject
* obj1
= 0 ;
34975 PyObject
* obj2
= 0 ;
34976 char * kwnames
[] = {
34977 (char *) "self",(char *) "item",(char *) "data", NULL
34980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34982 if (!SWIG_IsOK(res1
)) {
34983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34985 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34986 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34987 if (!SWIG_IsOK(res2
)) {
34988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34993 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34994 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34995 if (!SWIG_IsOK(res3
)) {
34996 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35000 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35001 wxPyEndAllowThreads(__tstate
);
35002 if (PyErr_Occurred()) SWIG_fail
;
35004 resultobj
= SWIG_Py_Void();
35011 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35012 PyObject
*resultobj
= 0;
35013 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35014 wxTreeItemId
*arg2
= 0 ;
35015 PyObject
*arg3
= (PyObject
*) 0 ;
35020 PyObject
* obj0
= 0 ;
35021 PyObject
* obj1
= 0 ;
35022 PyObject
* obj2
= 0 ;
35023 char * kwnames
[] = {
35024 (char *) "self",(char *) "item",(char *) "obj", NULL
35027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35029 if (!SWIG_IsOK(res1
)) {
35030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35032 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35033 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35034 if (!SWIG_IsOK(res2
)) {
35035 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35038 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35040 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35044 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35045 wxPyEndAllowThreads(__tstate
);
35046 if (PyErr_Occurred()) SWIG_fail
;
35048 resultobj
= SWIG_Py_Void();
35055 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35056 PyObject
*resultobj
= 0;
35057 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35058 wxTreeItemId
*arg2
= 0 ;
35059 bool arg3
= (bool) true ;
35066 PyObject
* obj0
= 0 ;
35067 PyObject
* obj1
= 0 ;
35068 PyObject
* obj2
= 0 ;
35069 char * kwnames
[] = {
35070 (char *) "self",(char *) "item",(char *) "has", NULL
35073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35075 if (!SWIG_IsOK(res1
)) {
35076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35078 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35079 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35080 if (!SWIG_IsOK(res2
)) {
35081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35086 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35088 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35089 if (!SWIG_IsOK(ecode3
)) {
35090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35092 arg3
= static_cast< bool >(val3
);
35095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35096 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35097 wxPyEndAllowThreads(__tstate
);
35098 if (PyErr_Occurred()) SWIG_fail
;
35100 resultobj
= SWIG_Py_Void();
35107 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35108 PyObject
*resultobj
= 0;
35109 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35110 wxTreeItemId
*arg2
= 0 ;
35111 bool arg3
= (bool) true ;
35118 PyObject
* obj0
= 0 ;
35119 PyObject
* obj1
= 0 ;
35120 PyObject
* obj2
= 0 ;
35121 char * kwnames
[] = {
35122 (char *) "self",(char *) "item",(char *) "bold", NULL
35125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35127 if (!SWIG_IsOK(res1
)) {
35128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35130 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35131 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35132 if (!SWIG_IsOK(res2
)) {
35133 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35136 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35138 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35140 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35141 if (!SWIG_IsOK(ecode3
)) {
35142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35144 arg3
= static_cast< bool >(val3
);
35147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35148 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35149 wxPyEndAllowThreads(__tstate
);
35150 if (PyErr_Occurred()) SWIG_fail
;
35152 resultobj
= SWIG_Py_Void();
35159 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35160 PyObject
*resultobj
= 0;
35161 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35162 wxTreeItemId
*arg2
= 0 ;
35163 bool arg3
= (bool) true ;
35170 PyObject
* obj0
= 0 ;
35171 PyObject
* obj1
= 0 ;
35172 PyObject
* obj2
= 0 ;
35173 char * kwnames
[] = {
35174 (char *) "self",(char *) "item",(char *) "highlight", NULL
35177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35179 if (!SWIG_IsOK(res1
)) {
35180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35182 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35183 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35184 if (!SWIG_IsOK(res2
)) {
35185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35188 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35190 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35192 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35193 if (!SWIG_IsOK(ecode3
)) {
35194 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35196 arg3
= static_cast< bool >(val3
);
35199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35200 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35201 wxPyEndAllowThreads(__tstate
);
35202 if (PyErr_Occurred()) SWIG_fail
;
35204 resultobj
= SWIG_Py_Void();
35211 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35212 PyObject
*resultobj
= 0;
35213 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35214 wxTreeItemId
*arg2
= 0 ;
35215 wxColour
*arg3
= 0 ;
35221 PyObject
* obj0
= 0 ;
35222 PyObject
* obj1
= 0 ;
35223 PyObject
* obj2
= 0 ;
35224 char * kwnames
[] = {
35225 (char *) "self",(char *) "item",(char *) "col", NULL
35228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",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_SetItemTextColour" "', 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_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35241 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35244 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35248 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35249 wxPyEndAllowThreads(__tstate
);
35250 if (PyErr_Occurred()) SWIG_fail
;
35252 resultobj
= SWIG_Py_Void();
35259 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35260 PyObject
*resultobj
= 0;
35261 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35262 wxTreeItemId
*arg2
= 0 ;
35263 wxColour
*arg3
= 0 ;
35269 PyObject
* obj0
= 0 ;
35270 PyObject
* obj1
= 0 ;
35271 PyObject
* obj2
= 0 ;
35272 char * kwnames
[] = {
35273 (char *) "self",(char *) "item",(char *) "col", NULL
35276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35278 if (!SWIG_IsOK(res1
)) {
35279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35281 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35282 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35283 if (!SWIG_IsOK(res2
)) {
35284 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35287 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35289 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35292 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35296 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35297 wxPyEndAllowThreads(__tstate
);
35298 if (PyErr_Occurred()) SWIG_fail
;
35300 resultobj
= SWIG_Py_Void();
35307 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35308 PyObject
*resultobj
= 0;
35309 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35310 wxTreeItemId
*arg2
= 0 ;
35318 PyObject
* obj0
= 0 ;
35319 PyObject
* obj1
= 0 ;
35320 PyObject
* obj2
= 0 ;
35321 char * kwnames
[] = {
35322 (char *) "self",(char *) "item",(char *) "font", NULL
35325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35327 if (!SWIG_IsOK(res1
)) {
35328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35330 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35331 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35332 if (!SWIG_IsOK(res2
)) {
35333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35336 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35338 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35339 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35340 if (!SWIG_IsOK(res3
)) {
35341 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35344 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35346 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35349 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35350 wxPyEndAllowThreads(__tstate
);
35351 if (PyErr_Occurred()) SWIG_fail
;
35353 resultobj
= SWIG_Py_Void();
35360 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35361 PyObject
*resultobj
= 0;
35362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35363 wxTreeItemId
*arg2
= 0 ;
35369 PyObject
* obj0
= 0 ;
35370 PyObject
* obj1
= 0 ;
35371 char * kwnames
[] = {
35372 (char *) "self",(char *) "item", NULL
35375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35377 if (!SWIG_IsOK(res1
)) {
35378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35380 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35381 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35382 if (!SWIG_IsOK(res2
)) {
35383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35388 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35391 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35392 wxPyEndAllowThreads(__tstate
);
35393 if (PyErr_Occurred()) SWIG_fail
;
35396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35404 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35405 PyObject
*resultobj
= 0;
35406 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35407 wxTreeItemId
*arg2
= 0 ;
35413 PyObject
* obj0
= 0 ;
35414 PyObject
* obj1
= 0 ;
35415 char * kwnames
[] = {
35416 (char *) "self",(char *) "item", NULL
35419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35421 if (!SWIG_IsOK(res1
)) {
35422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35424 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35425 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35426 if (!SWIG_IsOK(res2
)) {
35427 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35430 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35432 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35435 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35436 wxPyEndAllowThreads(__tstate
);
35437 if (PyErr_Occurred()) SWIG_fail
;
35440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35448 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35449 PyObject
*resultobj
= 0;
35450 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35451 wxTreeItemId
*arg2
= 0 ;
35457 PyObject
* obj0
= 0 ;
35458 PyObject
* obj1
= 0 ;
35459 char * kwnames
[] = {
35460 (char *) "self",(char *) "item", NULL
35463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35465 if (!SWIG_IsOK(res1
)) {
35466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35468 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35469 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35470 if (!SWIG_IsOK(res2
)) {
35471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35476 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35479 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35480 wxPyEndAllowThreads(__tstate
);
35481 if (PyErr_Occurred()) SWIG_fail
;
35484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35492 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35493 PyObject
*resultobj
= 0;
35494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35495 wxTreeItemId
*arg2
= 0 ;
35501 PyObject
* obj0
= 0 ;
35502 PyObject
* obj1
= 0 ;
35503 char * kwnames
[] = {
35504 (char *) "self",(char *) "item", NULL
35507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35509 if (!SWIG_IsOK(res1
)) {
35510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35512 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35513 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35514 if (!SWIG_IsOK(res2
)) {
35515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35518 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35520 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35523 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35524 wxPyEndAllowThreads(__tstate
);
35525 if (PyErr_Occurred()) SWIG_fail
;
35528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35536 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35537 PyObject
*resultobj
= 0;
35538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35539 wxTreeItemId
*arg2
= 0 ;
35545 PyObject
* obj0
= 0 ;
35546 PyObject
* obj1
= 0 ;
35547 char * kwnames
[] = {
35548 (char *) "self",(char *) "item", NULL
35551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35553 if (!SWIG_IsOK(res1
)) {
35554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35556 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35558 if (!SWIG_IsOK(res2
)) {
35559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35564 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35567 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35568 wxPyEndAllowThreads(__tstate
);
35569 if (PyErr_Occurred()) SWIG_fail
;
35572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35580 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35581 PyObject
*resultobj
= 0;
35582 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35583 wxTreeItemId
*arg2
= 0 ;
35584 bool arg3
= (bool) true ;
35592 PyObject
* obj0
= 0 ;
35593 PyObject
* obj1
= 0 ;
35594 PyObject
* obj2
= 0 ;
35595 char * kwnames
[] = {
35596 (char *) "self",(char *) "item",(char *) "recursively", NULL
35599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35601 if (!SWIG_IsOK(res1
)) {
35602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35604 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35605 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35606 if (!SWIG_IsOK(res2
)) {
35607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35610 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35612 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35614 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35615 if (!SWIG_IsOK(ecode3
)) {
35616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35618 arg3
= static_cast< bool >(val3
);
35621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35622 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35623 wxPyEndAllowThreads(__tstate
);
35624 if (PyErr_Occurred()) SWIG_fail
;
35626 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35633 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35634 PyObject
*resultobj
= 0;
35635 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35636 wxTreeItemId result
;
35639 PyObject
*swig_obj
[1] ;
35641 if (!args
) SWIG_fail
;
35642 swig_obj
[0] = args
;
35643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35644 if (!SWIG_IsOK(res1
)) {
35645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35647 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35650 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35651 wxPyEndAllowThreads(__tstate
);
35652 if (PyErr_Occurred()) SWIG_fail
;
35654 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35661 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35662 PyObject
*resultobj
= 0;
35663 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35664 wxTreeItemId result
;
35667 PyObject
*swig_obj
[1] ;
35669 if (!args
) SWIG_fail
;
35670 swig_obj
[0] = args
;
35671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35672 if (!SWIG_IsOK(res1
)) {
35673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35675 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35678 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35679 wxPyEndAllowThreads(__tstate
);
35680 if (PyErr_Occurred()) SWIG_fail
;
35682 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35689 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35690 PyObject
*resultobj
= 0;
35691 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35692 PyObject
*result
= 0 ;
35695 PyObject
*swig_obj
[1] ;
35697 if (!args
) SWIG_fail
;
35698 swig_obj
[0] = args
;
35699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35700 if (!SWIG_IsOK(res1
)) {
35701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35703 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35706 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35707 wxPyEndAllowThreads(__tstate
);
35708 if (PyErr_Occurred()) SWIG_fail
;
35710 resultobj
= result
;
35717 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35718 PyObject
*resultobj
= 0;
35719 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35720 wxTreeItemId
*arg2
= 0 ;
35721 wxTreeItemId result
;
35726 PyObject
* obj0
= 0 ;
35727 PyObject
* obj1
= 0 ;
35728 char * kwnames
[] = {
35729 (char *) "self",(char *) "item", NULL
35732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35734 if (!SWIG_IsOK(res1
)) {
35735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35737 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35738 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35739 if (!SWIG_IsOK(res2
)) {
35740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35743 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35745 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35748 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35749 wxPyEndAllowThreads(__tstate
);
35750 if (PyErr_Occurred()) SWIG_fail
;
35752 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35759 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35760 PyObject
*resultobj
= 0;
35761 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35762 wxTreeItemId
*arg2
= 0 ;
35763 PyObject
*result
= 0 ;
35768 PyObject
* obj0
= 0 ;
35769 PyObject
* obj1
= 0 ;
35770 char * kwnames
[] = {
35771 (char *) "self",(char *) "item", NULL
35774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35776 if (!SWIG_IsOK(res1
)) {
35777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35779 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35781 if (!SWIG_IsOK(res2
)) {
35782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35787 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35790 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35791 wxPyEndAllowThreads(__tstate
);
35792 if (PyErr_Occurred()) SWIG_fail
;
35794 resultobj
= result
;
35801 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35802 PyObject
*resultobj
= 0;
35803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35804 wxTreeItemId
*arg2
= 0 ;
35805 void *arg3
= (void *) 0 ;
35806 PyObject
*result
= 0 ;
35812 PyObject
* obj0
= 0 ;
35813 PyObject
* obj1
= 0 ;
35814 PyObject
* obj2
= 0 ;
35815 char * kwnames
[] = {
35816 (char *) "self",(char *) "item",(char *) "cookie", NULL
35819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35821 if (!SWIG_IsOK(res1
)) {
35822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35824 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35825 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35826 if (!SWIG_IsOK(res2
)) {
35827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35832 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35833 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35834 if (!SWIG_IsOK(res3
)) {
35835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35839 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35840 wxPyEndAllowThreads(__tstate
);
35841 if (PyErr_Occurred()) SWIG_fail
;
35843 resultobj
= result
;
35850 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35851 PyObject
*resultobj
= 0;
35852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35853 wxTreeItemId
*arg2
= 0 ;
35854 wxTreeItemId result
;
35859 PyObject
* obj0
= 0 ;
35860 PyObject
* obj1
= 0 ;
35861 char * kwnames
[] = {
35862 (char *) "self",(char *) "item", NULL
35865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35867 if (!SWIG_IsOK(res1
)) {
35868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35870 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35871 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35872 if (!SWIG_IsOK(res2
)) {
35873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35878 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35881 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35882 wxPyEndAllowThreads(__tstate
);
35883 if (PyErr_Occurred()) SWIG_fail
;
35885 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35892 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35893 PyObject
*resultobj
= 0;
35894 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35895 wxTreeItemId
*arg2
= 0 ;
35896 wxTreeItemId result
;
35901 PyObject
* obj0
= 0 ;
35902 PyObject
* obj1
= 0 ;
35903 char * kwnames
[] = {
35904 (char *) "self",(char *) "item", NULL
35907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35909 if (!SWIG_IsOK(res1
)) {
35910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35912 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35914 if (!SWIG_IsOK(res2
)) {
35915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35920 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35923 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35924 wxPyEndAllowThreads(__tstate
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35927 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35934 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35935 PyObject
*resultobj
= 0;
35936 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35937 wxTreeItemId
*arg2
= 0 ;
35938 wxTreeItemId result
;
35943 PyObject
* obj0
= 0 ;
35944 PyObject
* obj1
= 0 ;
35945 char * kwnames
[] = {
35946 (char *) "self",(char *) "item", NULL
35949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35951 if (!SWIG_IsOK(res1
)) {
35952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35954 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35955 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35956 if (!SWIG_IsOK(res2
)) {
35957 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35960 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35962 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35965 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35966 wxPyEndAllowThreads(__tstate
);
35967 if (PyErr_Occurred()) SWIG_fail
;
35969 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35976 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35977 PyObject
*resultobj
= 0;
35978 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35979 wxTreeItemId result
;
35982 PyObject
*swig_obj
[1] ;
35984 if (!args
) SWIG_fail
;
35985 swig_obj
[0] = args
;
35986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35987 if (!SWIG_IsOK(res1
)) {
35988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35990 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35993 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35994 wxPyEndAllowThreads(__tstate
);
35995 if (PyErr_Occurred()) SWIG_fail
;
35997 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36004 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36005 PyObject
*resultobj
= 0;
36006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36007 wxTreeItemId
*arg2
= 0 ;
36008 wxTreeItemId result
;
36013 PyObject
* obj0
= 0 ;
36014 PyObject
* obj1
= 0 ;
36015 char * kwnames
[] = {
36016 (char *) "self",(char *) "item", NULL
36019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36021 if (!SWIG_IsOK(res1
)) {
36022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36024 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36026 if (!SWIG_IsOK(res2
)) {
36027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36032 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36035 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36036 wxPyEndAllowThreads(__tstate
);
36037 if (PyErr_Occurred()) SWIG_fail
;
36039 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36046 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36047 PyObject
*resultobj
= 0;
36048 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36049 wxTreeItemId
*arg2
= 0 ;
36050 wxTreeItemId result
;
36055 PyObject
* obj0
= 0 ;
36056 PyObject
* obj1
= 0 ;
36057 char * kwnames
[] = {
36058 (char *) "self",(char *) "item", NULL
36061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36063 if (!SWIG_IsOK(res1
)) {
36064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36066 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36067 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36068 if (!SWIG_IsOK(res2
)) {
36069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36072 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36074 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36077 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36078 wxPyEndAllowThreads(__tstate
);
36079 if (PyErr_Occurred()) SWIG_fail
;
36081 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36088 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36089 PyObject
*resultobj
= 0;
36090 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36091 wxString
*arg2
= 0 ;
36092 int arg3
= (int) -1 ;
36093 int arg4
= (int) -1 ;
36094 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36095 wxTreeItemId result
;
36098 bool temp2
= false ;
36104 PyObject
* obj0
= 0 ;
36105 PyObject
* obj1
= 0 ;
36106 PyObject
* obj2
= 0 ;
36107 PyObject
* obj3
= 0 ;
36108 PyObject
* obj4
= 0 ;
36109 char * kwnames
[] = {
36110 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36115 if (!SWIG_IsOK(res1
)) {
36116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36118 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36120 arg2
= wxString_in_helper(obj1
);
36121 if (arg2
== NULL
) SWIG_fail
;
36125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36126 if (!SWIG_IsOK(ecode3
)) {
36127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36129 arg3
= static_cast< int >(val3
);
36132 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36133 if (!SWIG_IsOK(ecode4
)) {
36134 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36136 arg4
= static_cast< int >(val4
);
36139 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36140 if (!SWIG_IsOK(res5
)) {
36141 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36146 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36147 wxPyEndAllowThreads(__tstate
);
36148 if (PyErr_Occurred()) SWIG_fail
;
36150 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36165 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36166 PyObject
*resultobj
= 0;
36167 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36168 wxTreeItemId
*arg2
= 0 ;
36169 wxString
*arg3
= 0 ;
36170 int arg4
= (int) -1 ;
36171 int arg5
= (int) -1 ;
36172 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36173 wxTreeItemId result
;
36178 bool temp3
= false ;
36184 PyObject
* obj0
= 0 ;
36185 PyObject
* obj1
= 0 ;
36186 PyObject
* obj2
= 0 ;
36187 PyObject
* obj3
= 0 ;
36188 PyObject
* obj4
= 0 ;
36189 PyObject
* obj5
= 0 ;
36190 char * kwnames
[] = {
36191 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36196 if (!SWIG_IsOK(res1
)) {
36197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36199 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36201 if (!SWIG_IsOK(res2
)) {
36202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36207 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36209 arg3
= wxString_in_helper(obj2
);
36210 if (arg3
== NULL
) SWIG_fail
;
36214 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36215 if (!SWIG_IsOK(ecode4
)) {
36216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36218 arg4
= static_cast< int >(val4
);
36221 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36222 if (!SWIG_IsOK(ecode5
)) {
36223 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36225 arg5
= static_cast< int >(val5
);
36228 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36229 if (!SWIG_IsOK(res6
)) {
36230 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36235 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36236 wxPyEndAllowThreads(__tstate
);
36237 if (PyErr_Occurred()) SWIG_fail
;
36239 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36254 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36255 PyObject
*resultobj
= 0;
36256 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36257 wxTreeItemId
*arg2
= 0 ;
36258 wxTreeItemId
*arg3
= 0 ;
36259 wxString
*arg4
= 0 ;
36260 int arg5
= (int) -1 ;
36261 int arg6
= (int) -1 ;
36262 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36263 wxTreeItemId result
;
36270 bool temp4
= false ;
36276 PyObject
* obj0
= 0 ;
36277 PyObject
* obj1
= 0 ;
36278 PyObject
* obj2
= 0 ;
36279 PyObject
* obj3
= 0 ;
36280 PyObject
* obj4
= 0 ;
36281 PyObject
* obj5
= 0 ;
36282 PyObject
* obj6
= 0 ;
36283 char * kwnames
[] = {
36284 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36289 if (!SWIG_IsOK(res1
)) {
36290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36292 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36293 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36294 if (!SWIG_IsOK(res2
)) {
36295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36300 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36301 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36302 if (!SWIG_IsOK(res3
)) {
36303 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36306 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36308 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36310 arg4
= wxString_in_helper(obj3
);
36311 if (arg4
== NULL
) SWIG_fail
;
36315 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36316 if (!SWIG_IsOK(ecode5
)) {
36317 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36319 arg5
= static_cast< int >(val5
);
36322 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36323 if (!SWIG_IsOK(ecode6
)) {
36324 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36326 arg6
= static_cast< int >(val6
);
36329 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36330 if (!SWIG_IsOK(res7
)) {
36331 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36336 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36337 wxPyEndAllowThreads(__tstate
);
36338 if (PyErr_Occurred()) SWIG_fail
;
36340 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36355 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36356 PyObject
*resultobj
= 0;
36357 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36358 wxTreeItemId
*arg2
= 0 ;
36360 wxString
*arg4
= 0 ;
36361 int arg5
= (int) -1 ;
36362 int arg6
= (int) -1 ;
36363 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36364 wxTreeItemId result
;
36371 bool temp4
= false ;
36377 PyObject
* obj0
= 0 ;
36378 PyObject
* obj1
= 0 ;
36379 PyObject
* obj2
= 0 ;
36380 PyObject
* obj3
= 0 ;
36381 PyObject
* obj4
= 0 ;
36382 PyObject
* obj5
= 0 ;
36383 PyObject
* obj6
= 0 ;
36384 char * kwnames
[] = {
36385 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36390 if (!SWIG_IsOK(res1
)) {
36391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36393 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36395 if (!SWIG_IsOK(res2
)) {
36396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36401 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36402 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36403 if (!SWIG_IsOK(ecode3
)) {
36404 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36406 arg3
= static_cast< size_t >(val3
);
36408 arg4
= wxString_in_helper(obj3
);
36409 if (arg4
== NULL
) SWIG_fail
;
36413 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36414 if (!SWIG_IsOK(ecode5
)) {
36415 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36417 arg5
= static_cast< int >(val5
);
36420 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36421 if (!SWIG_IsOK(ecode6
)) {
36422 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36424 arg6
= static_cast< int >(val6
);
36427 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36428 if (!SWIG_IsOK(res7
)) {
36429 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36434 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36435 wxPyEndAllowThreads(__tstate
);
36436 if (PyErr_Occurred()) SWIG_fail
;
36438 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36453 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36454 PyObject
*resultobj
= 0;
36455 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36456 wxTreeItemId
*arg2
= 0 ;
36457 wxString
*arg3
= 0 ;
36458 int arg4
= (int) -1 ;
36459 int arg5
= (int) -1 ;
36460 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36461 wxTreeItemId result
;
36466 bool temp3
= false ;
36472 PyObject
* obj0
= 0 ;
36473 PyObject
* obj1
= 0 ;
36474 PyObject
* obj2
= 0 ;
36475 PyObject
* obj3
= 0 ;
36476 PyObject
* obj4
= 0 ;
36477 PyObject
* obj5
= 0 ;
36478 char * kwnames
[] = {
36479 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36484 if (!SWIG_IsOK(res1
)) {
36485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36487 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36488 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36489 if (!SWIG_IsOK(res2
)) {
36490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36495 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36497 arg3
= wxString_in_helper(obj2
);
36498 if (arg3
== NULL
) SWIG_fail
;
36502 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36503 if (!SWIG_IsOK(ecode4
)) {
36504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36506 arg4
= static_cast< int >(val4
);
36509 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36510 if (!SWIG_IsOK(ecode5
)) {
36511 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36513 arg5
= static_cast< int >(val5
);
36516 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36517 if (!SWIG_IsOK(res6
)) {
36518 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36523 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36524 wxPyEndAllowThreads(__tstate
);
36525 if (PyErr_Occurred()) SWIG_fail
;
36527 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36542 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36543 PyObject
*resultobj
= 0;
36544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36545 wxTreeItemId
*arg2
= 0 ;
36550 PyObject
* obj0
= 0 ;
36551 PyObject
* obj1
= 0 ;
36552 char * kwnames
[] = {
36553 (char *) "self",(char *) "item", NULL
36556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36558 if (!SWIG_IsOK(res1
)) {
36559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36561 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36563 if (!SWIG_IsOK(res2
)) {
36564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36569 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36572 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36573 wxPyEndAllowThreads(__tstate
);
36574 if (PyErr_Occurred()) SWIG_fail
;
36576 resultobj
= SWIG_Py_Void();
36583 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36584 PyObject
*resultobj
= 0;
36585 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36586 wxTreeItemId
*arg2
= 0 ;
36591 PyObject
* obj0
= 0 ;
36592 PyObject
* obj1
= 0 ;
36593 char * kwnames
[] = {
36594 (char *) "self",(char *) "item", NULL
36597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36599 if (!SWIG_IsOK(res1
)) {
36600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36602 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36603 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36604 if (!SWIG_IsOK(res2
)) {
36605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36608 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36610 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36613 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36614 wxPyEndAllowThreads(__tstate
);
36615 if (PyErr_Occurred()) SWIG_fail
;
36617 resultobj
= SWIG_Py_Void();
36624 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36625 PyObject
*resultobj
= 0;
36626 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36629 PyObject
*swig_obj
[1] ;
36631 if (!args
) SWIG_fail
;
36632 swig_obj
[0] = args
;
36633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36634 if (!SWIG_IsOK(res1
)) {
36635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36637 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36640 (arg1
)->DeleteAllItems();
36641 wxPyEndAllowThreads(__tstate
);
36642 if (PyErr_Occurred()) SWIG_fail
;
36644 resultobj
= SWIG_Py_Void();
36651 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36652 PyObject
*resultobj
= 0;
36653 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36654 wxTreeItemId
*arg2
= 0 ;
36659 PyObject
* obj0
= 0 ;
36660 PyObject
* obj1
= 0 ;
36661 char * kwnames
[] = {
36662 (char *) "self",(char *) "item", NULL
36665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36667 if (!SWIG_IsOK(res1
)) {
36668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36670 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36671 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36672 if (!SWIG_IsOK(res2
)) {
36673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36678 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36681 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36682 wxPyEndAllowThreads(__tstate
);
36683 if (PyErr_Occurred()) SWIG_fail
;
36685 resultobj
= SWIG_Py_Void();
36692 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36693 PyObject
*resultobj
= 0;
36694 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36695 wxTreeItemId
*arg2
= 0 ;
36700 PyObject
* obj0
= 0 ;
36701 PyObject
* obj1
= 0 ;
36702 char * kwnames
[] = {
36703 (char *) "self",(char *) "item", NULL
36706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36708 if (!SWIG_IsOK(res1
)) {
36709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36711 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36712 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36713 if (!SWIG_IsOK(res2
)) {
36714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36719 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36722 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36723 wxPyEndAllowThreads(__tstate
);
36724 if (PyErr_Occurred()) SWIG_fail
;
36726 resultobj
= SWIG_Py_Void();
36733 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36734 PyObject
*resultobj
= 0;
36735 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36738 PyObject
*swig_obj
[1] ;
36740 if (!args
) SWIG_fail
;
36741 swig_obj
[0] = args
;
36742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36743 if (!SWIG_IsOK(res1
)) {
36744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36746 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36749 (arg1
)->ExpandAll();
36750 wxPyEndAllowThreads(__tstate
);
36751 if (PyErr_Occurred()) SWIG_fail
;
36753 resultobj
= SWIG_Py_Void();
36760 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36761 PyObject
*resultobj
= 0;
36762 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36763 wxTreeItemId
*arg2
= 0 ;
36768 PyObject
* obj0
= 0 ;
36769 PyObject
* obj1
= 0 ;
36770 char * kwnames
[] = {
36771 (char *) "self",(char *) "item", NULL
36774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36776 if (!SWIG_IsOK(res1
)) {
36777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36779 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36780 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36781 if (!SWIG_IsOK(res2
)) {
36782 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36787 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36790 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36791 wxPyEndAllowThreads(__tstate
);
36792 if (PyErr_Occurred()) SWIG_fail
;
36794 resultobj
= SWIG_Py_Void();
36801 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36802 PyObject
*resultobj
= 0;
36803 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36804 wxTreeItemId
*arg2
= 0 ;
36809 PyObject
* obj0
= 0 ;
36810 PyObject
* obj1
= 0 ;
36811 char * kwnames
[] = {
36812 (char *) "self",(char *) "item", NULL
36815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36817 if (!SWIG_IsOK(res1
)) {
36818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36820 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36821 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36822 if (!SWIG_IsOK(res2
)) {
36823 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36826 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36828 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36831 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36832 wxPyEndAllowThreads(__tstate
);
36833 if (PyErr_Occurred()) SWIG_fail
;
36835 resultobj
= SWIG_Py_Void();
36842 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36843 PyObject
*resultobj
= 0;
36844 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36845 wxTreeItemId
*arg2
= 0 ;
36850 PyObject
* obj0
= 0 ;
36851 PyObject
* obj1
= 0 ;
36852 char * kwnames
[] = {
36853 (char *) "self",(char *) "item", NULL
36856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36858 if (!SWIG_IsOK(res1
)) {
36859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36861 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36862 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36863 if (!SWIG_IsOK(res2
)) {
36864 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36867 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36869 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36872 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 resultobj
= SWIG_Py_Void();
36883 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36884 PyObject
*resultobj
= 0;
36885 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36888 PyObject
*swig_obj
[1] ;
36890 if (!args
) SWIG_fail
;
36891 swig_obj
[0] = args
;
36892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36893 if (!SWIG_IsOK(res1
)) {
36894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36896 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36899 (arg1
)->Unselect();
36900 wxPyEndAllowThreads(__tstate
);
36901 if (PyErr_Occurred()) SWIG_fail
;
36903 resultobj
= SWIG_Py_Void();
36910 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36911 PyObject
*resultobj
= 0;
36912 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36913 wxTreeItemId
*arg2
= 0 ;
36918 PyObject
* obj0
= 0 ;
36919 PyObject
* obj1
= 0 ;
36920 char * kwnames
[] = {
36921 (char *) "self",(char *) "item", NULL
36924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36926 if (!SWIG_IsOK(res1
)) {
36927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36929 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36930 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36931 if (!SWIG_IsOK(res2
)) {
36932 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36935 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36937 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36940 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36941 wxPyEndAllowThreads(__tstate
);
36942 if (PyErr_Occurred()) SWIG_fail
;
36944 resultobj
= SWIG_Py_Void();
36951 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36952 PyObject
*resultobj
= 0;
36953 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36956 PyObject
*swig_obj
[1] ;
36958 if (!args
) SWIG_fail
;
36959 swig_obj
[0] = args
;
36960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36961 if (!SWIG_IsOK(res1
)) {
36962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36964 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36967 (arg1
)->UnselectAll();
36968 wxPyEndAllowThreads(__tstate
);
36969 if (PyErr_Occurred()) SWIG_fail
;
36971 resultobj
= SWIG_Py_Void();
36978 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36979 PyObject
*resultobj
= 0;
36980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36981 wxTreeItemId
*arg2
= 0 ;
36982 bool arg3
= (bool) true ;
36989 PyObject
* obj0
= 0 ;
36990 PyObject
* obj1
= 0 ;
36991 PyObject
* obj2
= 0 ;
36992 char * kwnames
[] = {
36993 (char *) "self",(char *) "item",(char *) "select", NULL
36996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36998 if (!SWIG_IsOK(res1
)) {
36999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37001 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37002 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37003 if (!SWIG_IsOK(res2
)) {
37004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37007 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37009 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37011 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37012 if (!SWIG_IsOK(ecode3
)) {
37013 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37015 arg3
= static_cast< bool >(val3
);
37018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37019 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37020 wxPyEndAllowThreads(__tstate
);
37021 if (PyErr_Occurred()) SWIG_fail
;
37023 resultobj
= SWIG_Py_Void();
37030 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37031 PyObject
*resultobj
= 0;
37032 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37033 wxTreeItemId
*arg2
= 0 ;
37038 PyObject
* obj0
= 0 ;
37039 PyObject
* obj1
= 0 ;
37040 char * kwnames
[] = {
37041 (char *) "self",(char *) "item", NULL
37044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37046 if (!SWIG_IsOK(res1
)) {
37047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37049 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37050 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37051 if (!SWIG_IsOK(res2
)) {
37052 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37055 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37057 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37060 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37061 wxPyEndAllowThreads(__tstate
);
37062 if (PyErr_Occurred()) SWIG_fail
;
37064 resultobj
= SWIG_Py_Void();
37071 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37072 PyObject
*resultobj
= 0;
37073 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37074 wxTreeItemId
*arg2
= 0 ;
37079 PyObject
* obj0
= 0 ;
37080 PyObject
* obj1
= 0 ;
37081 char * kwnames
[] = {
37082 (char *) "self",(char *) "item", NULL
37085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37087 if (!SWIG_IsOK(res1
)) {
37088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37090 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37091 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37092 if (!SWIG_IsOK(res2
)) {
37093 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37098 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37101 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37102 wxPyEndAllowThreads(__tstate
);
37103 if (PyErr_Occurred()) SWIG_fail
;
37105 resultobj
= SWIG_Py_Void();
37112 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37113 PyObject
*resultobj
= 0;
37114 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37115 wxTreeItemId
*arg2
= 0 ;
37120 PyObject
* obj0
= 0 ;
37121 PyObject
* obj1
= 0 ;
37122 char * kwnames
[] = {
37123 (char *) "self",(char *) "item", NULL
37126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37128 if (!SWIG_IsOK(res1
)) {
37129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37131 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37132 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37133 if (!SWIG_IsOK(res2
)) {
37134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37137 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37139 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37142 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37143 wxPyEndAllowThreads(__tstate
);
37144 if (PyErr_Occurred()) SWIG_fail
;
37146 resultobj
= SWIG_Py_Void();
37153 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37154 PyObject
*resultobj
= 0;
37155 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37156 wxTreeItemId
*arg2
= 0 ;
37161 PyObject
* obj0
= 0 ;
37162 PyObject
* obj1
= 0 ;
37163 char * kwnames
[] = {
37164 (char *) "self",(char *) "item", NULL
37167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37169 if (!SWIG_IsOK(res1
)) {
37170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37172 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37173 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37174 if (!SWIG_IsOK(res2
)) {
37175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37178 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37180 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37183 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37184 wxPyEndAllowThreads(__tstate
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37187 resultobj
= SWIG_Py_Void();
37194 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37195 PyObject
*resultobj
= 0;
37196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37197 wxTextCtrl
*result
= 0 ;
37200 PyObject
*swig_obj
[1] ;
37202 if (!args
) SWIG_fail
;
37203 swig_obj
[0] = args
;
37204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37205 if (!SWIG_IsOK(res1
)) {
37206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37208 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37211 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37212 wxPyEndAllowThreads(__tstate
);
37213 if (PyErr_Occurred()) SWIG_fail
;
37216 resultobj
= wxPyMake_wxObject(result
, 0);
37224 SWIGINTERN PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37225 PyObject
*resultobj
= 0;
37226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37227 wxTreeItemId
*arg2
= 0 ;
37228 bool arg3
= (bool) false ;
37235 PyObject
* obj0
= 0 ;
37236 PyObject
* obj1
= 0 ;
37237 PyObject
* obj2
= 0 ;
37238 char * kwnames
[] = {
37239 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
37242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37244 if (!SWIG_IsOK(res1
)) {
37245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37247 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37249 if (!SWIG_IsOK(res2
)) {
37250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37255 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37257 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37258 if (!SWIG_IsOK(ecode3
)) {
37259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_EndEditLabel" "', expected argument " "3"" of type '" "bool""'");
37261 arg3
= static_cast< bool >(val3
);
37264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37265 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
37266 wxPyEndAllowThreads(__tstate
);
37267 if (PyErr_Occurred()) SWIG_fail
;
37269 resultobj
= SWIG_Py_Void();
37276 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37277 PyObject
*resultobj
= 0;
37278 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37279 wxTreeItemId
*arg2
= 0 ;
37284 PyObject
* obj0
= 0 ;
37285 PyObject
* obj1
= 0 ;
37286 char * kwnames
[] = {
37287 (char *) "self",(char *) "item", NULL
37290 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37291 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37292 if (!SWIG_IsOK(res1
)) {
37293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37295 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37296 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37297 if (!SWIG_IsOK(res2
)) {
37298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37301 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37303 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37306 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37307 wxPyEndAllowThreads(__tstate
);
37308 if (PyErr_Occurred()) SWIG_fail
;
37310 resultobj
= SWIG_Py_Void();
37317 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37318 PyObject
*resultobj
= 0;
37319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37320 wxPoint
*arg2
= 0 ;
37322 wxTreeItemId result
;
37327 int res3
= SWIG_TMPOBJ
;
37328 PyObject
* obj0
= 0 ;
37329 PyObject
* obj1
= 0 ;
37330 char * kwnames
[] = {
37331 (char *) "self",(char *) "point", NULL
37335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37337 if (!SWIG_IsOK(res1
)) {
37338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37340 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37343 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37347 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37348 wxPyEndAllowThreads(__tstate
);
37349 if (PyErr_Occurred()) SWIG_fail
;
37351 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37352 if (SWIG_IsTmpObj(res3
)) {
37353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37355 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37364 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37365 PyObject
*resultobj
= 0;
37366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37367 wxTreeItemId
*arg2
= 0 ;
37368 bool arg3
= (bool) false ;
37369 PyObject
*result
= 0 ;
37376 PyObject
* obj0
= 0 ;
37377 PyObject
* obj1
= 0 ;
37378 PyObject
* obj2
= 0 ;
37379 char * kwnames
[] = {
37380 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37385 if (!SWIG_IsOK(res1
)) {
37386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37388 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37389 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37390 if (!SWIG_IsOK(res2
)) {
37391 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37394 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37396 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37398 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37399 if (!SWIG_IsOK(ecode3
)) {
37400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37402 arg3
= static_cast< bool >(val3
);
37405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37406 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37407 wxPyEndAllowThreads(__tstate
);
37408 if (PyErr_Occurred()) SWIG_fail
;
37410 resultobj
= result
;
37417 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37418 PyObject
*resultobj
= 0;
37419 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37420 wxTreeItemId
*arg2
= 0 ;
37428 PyObject
* obj0
= 0 ;
37429 PyObject
* obj1
= 0 ;
37430 PyObject
* obj2
= 0 ;
37431 char * kwnames
[] = {
37432 (char *) "self",(char *) "node",(char *) "state", NULL
37435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37437 if (!SWIG_IsOK(res1
)) {
37438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37440 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37442 if (!SWIG_IsOK(res2
)) {
37443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37448 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37450 if (!SWIG_IsOK(ecode3
)) {
37451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetState" "', expected argument " "3"" of type '" "int""'");
37453 arg3
= static_cast< int >(val3
);
37455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37456 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
37457 wxPyEndAllowThreads(__tstate
);
37458 if (PyErr_Occurred()) SWIG_fail
;
37460 resultobj
= SWIG_Py_Void();
37467 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37468 PyObject
*resultobj
= 0;
37469 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37470 wxTreeItemId
*arg2
= 0 ;
37476 PyObject
* obj0
= 0 ;
37477 PyObject
* obj1
= 0 ;
37478 char * kwnames
[] = {
37479 (char *) "self",(char *) "node", NULL
37482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37484 if (!SWIG_IsOK(res1
)) {
37485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetState" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37487 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37488 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37489 if (!SWIG_IsOK(res2
)) {
37490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetState" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37495 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37498 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
37499 wxPyEndAllowThreads(__tstate
);
37500 if (PyErr_Occurred()) SWIG_fail
;
37502 resultobj
= SWIG_From_int(static_cast< int >(result
));
37509 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37510 PyObject
*resultobj
= 0;
37511 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37512 SwigValueWrapper
<wxVisualAttributes
> result
;
37515 PyObject
* obj0
= 0 ;
37516 char * kwnames
[] = {
37517 (char *) "variant", NULL
37520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37522 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37523 if (!SWIG_IsOK(ecode1
)) {
37524 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37526 arg1
= static_cast< wxWindowVariant
>(val1
);
37529 if (!wxPyCheckForApp()) SWIG_fail
;
37530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37531 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37532 wxPyEndAllowThreads(__tstate
);
37533 if (PyErr_Occurred()) SWIG_fail
;
37535 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37542 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37543 PyObject
*resultobj
= 0;
37544 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37550 PyObject
* obj0
= 0 ;
37551 PyObject
* obj1
= 0 ;
37552 char * kwnames
[] = {
37553 (char *) "self",(char *) "q", NULL
37556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37558 if (!SWIG_IsOK(res1
)) {
37559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37561 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37562 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37563 if (!SWIG_IsOK(ecode2
)) {
37564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37566 arg2
= static_cast< bool >(val2
);
37568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37569 (arg1
)->SetQuickBestSize(arg2
);
37570 wxPyEndAllowThreads(__tstate
);
37571 if (PyErr_Occurred()) SWIG_fail
;
37573 resultobj
= SWIG_Py_Void();
37580 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37581 PyObject
*resultobj
= 0;
37582 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37586 PyObject
*swig_obj
[1] ;
37588 if (!args
) SWIG_fail
;
37589 swig_obj
[0] = args
;
37590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37591 if (!SWIG_IsOK(res1
)) {
37592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37594 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37597 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37598 wxPyEndAllowThreads(__tstate
);
37599 if (PyErr_Occurred()) SWIG_fail
;
37602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37610 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37612 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37613 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37614 return SWIG_Py_Void();
37617 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37618 return SWIG_Python_InitShadowInstance(args
);
37621 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37622 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37627 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37628 PyObject
*pyobj
= 0;
37632 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37634 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37641 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37642 PyObject
*resultobj
= 0;
37643 wxWindow
*arg1
= (wxWindow
*) 0 ;
37644 int arg2
= (int) (int)-1 ;
37645 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37646 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37647 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37648 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37649 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37650 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37651 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37652 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37653 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37654 int arg8
= (int) 0 ;
37655 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37656 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37657 wxGenericDirCtrl
*result
= 0 ;
37662 bool temp3
= false ;
37667 bool temp7
= false ;
37670 bool temp9
= false ;
37671 PyObject
* obj0
= 0 ;
37672 PyObject
* obj1
= 0 ;
37673 PyObject
* obj2
= 0 ;
37674 PyObject
* obj3
= 0 ;
37675 PyObject
* obj4
= 0 ;
37676 PyObject
* obj5
= 0 ;
37677 PyObject
* obj6
= 0 ;
37678 PyObject
* obj7
= 0 ;
37679 PyObject
* obj8
= 0 ;
37680 char * kwnames
[] = {
37681 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37686 if (!SWIG_IsOK(res1
)) {
37687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37689 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37692 if (!SWIG_IsOK(ecode2
)) {
37693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37695 arg2
= static_cast< int >(val2
);
37699 arg3
= wxString_in_helper(obj2
);
37700 if (arg3
== NULL
) SWIG_fail
;
37707 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37713 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37717 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37718 if (!SWIG_IsOK(ecode6
)) {
37719 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37721 arg6
= static_cast< long >(val6
);
37725 arg7
= wxString_in_helper(obj6
);
37726 if (arg7
== NULL
) SWIG_fail
;
37731 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37732 if (!SWIG_IsOK(ecode8
)) {
37733 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37735 arg8
= static_cast< int >(val8
);
37739 arg9
= wxString_in_helper(obj8
);
37740 if (arg9
== NULL
) SWIG_fail
;
37745 if (!wxPyCheckForApp()) SWIG_fail
;
37746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37747 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37748 wxPyEndAllowThreads(__tstate
);
37749 if (PyErr_Occurred()) SWIG_fail
;
37751 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37782 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37783 PyObject
*resultobj
= 0;
37784 wxGenericDirCtrl
*result
= 0 ;
37786 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37788 if (!wxPyCheckForApp()) SWIG_fail
;
37789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37790 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37791 wxPyEndAllowThreads(__tstate
);
37792 if (PyErr_Occurred()) SWIG_fail
;
37794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37801 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37802 PyObject
*resultobj
= 0;
37803 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37804 wxWindow
*arg2
= (wxWindow
*) 0 ;
37805 int arg3
= (int) (int)-1 ;
37806 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37807 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37808 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37809 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37810 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37811 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37812 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37813 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37814 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37815 int arg9
= (int) 0 ;
37816 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37817 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37825 bool temp4
= false ;
37830 bool temp8
= false ;
37833 bool temp10
= false ;
37834 PyObject
* obj0
= 0 ;
37835 PyObject
* obj1
= 0 ;
37836 PyObject
* obj2
= 0 ;
37837 PyObject
* obj3
= 0 ;
37838 PyObject
* obj4
= 0 ;
37839 PyObject
* obj5
= 0 ;
37840 PyObject
* obj6
= 0 ;
37841 PyObject
* obj7
= 0 ;
37842 PyObject
* obj8
= 0 ;
37843 PyObject
* obj9
= 0 ;
37844 char * kwnames
[] = {
37845 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37850 if (!SWIG_IsOK(res1
)) {
37851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37853 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37854 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37855 if (!SWIG_IsOK(res2
)) {
37856 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37858 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37861 if (!SWIG_IsOK(ecode3
)) {
37862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37864 arg3
= static_cast< int >(val3
);
37868 arg4
= wxString_in_helper(obj3
);
37869 if (arg4
== NULL
) SWIG_fail
;
37876 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37882 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37886 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37887 if (!SWIG_IsOK(ecode7
)) {
37888 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37890 arg7
= static_cast< long >(val7
);
37894 arg8
= wxString_in_helper(obj7
);
37895 if (arg8
== NULL
) SWIG_fail
;
37900 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37901 if (!SWIG_IsOK(ecode9
)) {
37902 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37904 arg9
= static_cast< int >(val9
);
37908 arg10
= wxString_in_helper(obj9
);
37909 if (arg10
== NULL
) SWIG_fail
;
37914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37915 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37916 wxPyEndAllowThreads(__tstate
);
37917 if (PyErr_Occurred()) SWIG_fail
;
37920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37952 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37953 PyObject
*resultobj
= 0;
37954 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37955 wxString
*arg2
= 0 ;
37959 bool temp2
= false ;
37960 PyObject
* obj0
= 0 ;
37961 PyObject
* obj1
= 0 ;
37962 char * kwnames
[] = {
37963 (char *) "self",(char *) "path", NULL
37966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37968 if (!SWIG_IsOK(res1
)) {
37969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37971 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37973 arg2
= wxString_in_helper(obj1
);
37974 if (arg2
== NULL
) SWIG_fail
;
37978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37979 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37980 wxPyEndAllowThreads(__tstate
);
37981 if (PyErr_Occurred()) SWIG_fail
;
37984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38000 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38001 PyObject
*resultobj
= 0;
38002 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38003 wxString
*arg2
= 0 ;
38007 bool temp2
= false ;
38008 PyObject
* obj0
= 0 ;
38009 PyObject
* obj1
= 0 ;
38010 char * kwnames
[] = {
38011 (char *) "self",(char *) "path", NULL
38014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38016 if (!SWIG_IsOK(res1
)) {
38017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38019 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38021 arg2
= wxString_in_helper(obj1
);
38022 if (arg2
== NULL
) SWIG_fail
;
38026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38027 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38028 wxPyEndAllowThreads(__tstate
);
38029 if (PyErr_Occurred()) SWIG_fail
;
38032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38048 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38049 PyObject
*resultobj
= 0;
38050 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38054 PyObject
*swig_obj
[1] ;
38056 if (!args
) SWIG_fail
;
38057 swig_obj
[0] = args
;
38058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38059 if (!SWIG_IsOK(res1
)) {
38060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38062 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38065 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38066 wxPyEndAllowThreads(__tstate
);
38067 if (PyErr_Occurred()) SWIG_fail
;
38071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38082 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38083 PyObject
*resultobj
= 0;
38084 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38085 wxString
*arg2
= 0 ;
38088 bool temp2
= false ;
38089 PyObject
* obj0
= 0 ;
38090 PyObject
* obj1
= 0 ;
38091 char * kwnames
[] = {
38092 (char *) "self",(char *) "path", NULL
38095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38097 if (!SWIG_IsOK(res1
)) {
38098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38100 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38102 arg2
= wxString_in_helper(obj1
);
38103 if (arg2
== NULL
) SWIG_fail
;
38107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38108 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38109 wxPyEndAllowThreads(__tstate
);
38110 if (PyErr_Occurred()) SWIG_fail
;
38112 resultobj
= SWIG_Py_Void();
38127 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38128 PyObject
*resultobj
= 0;
38129 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38133 PyObject
*swig_obj
[1] ;
38135 if (!args
) SWIG_fail
;
38136 swig_obj
[0] = args
;
38137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38138 if (!SWIG_IsOK(res1
)) {
38139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38141 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38144 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38145 wxPyEndAllowThreads(__tstate
);
38146 if (PyErr_Occurred()) SWIG_fail
;
38150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38161 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38162 PyObject
*resultobj
= 0;
38163 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38167 PyObject
*swig_obj
[1] ;
38169 if (!args
) SWIG_fail
;
38170 swig_obj
[0] = args
;
38171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38172 if (!SWIG_IsOK(res1
)) {
38173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38175 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38178 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38179 wxPyEndAllowThreads(__tstate
);
38180 if (PyErr_Occurred()) SWIG_fail
;
38184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38195 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38196 PyObject
*resultobj
= 0;
38197 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38198 wxString
*arg2
= 0 ;
38201 bool temp2
= false ;
38202 PyObject
* obj0
= 0 ;
38203 PyObject
* obj1
= 0 ;
38204 char * kwnames
[] = {
38205 (char *) "self",(char *) "path", NULL
38208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38210 if (!SWIG_IsOK(res1
)) {
38211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38213 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38215 arg2
= wxString_in_helper(obj1
);
38216 if (arg2
== NULL
) SWIG_fail
;
38220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38221 (arg1
)->SetPath((wxString
const &)*arg2
);
38222 wxPyEndAllowThreads(__tstate
);
38223 if (PyErr_Occurred()) SWIG_fail
;
38225 resultobj
= SWIG_Py_Void();
38240 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38241 PyObject
*resultobj
= 0;
38242 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38248 PyObject
* obj0
= 0 ;
38249 PyObject
* obj1
= 0 ;
38250 char * kwnames
[] = {
38251 (char *) "self",(char *) "show", NULL
38254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38256 if (!SWIG_IsOK(res1
)) {
38257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38259 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38260 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38261 if (!SWIG_IsOK(ecode2
)) {
38262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38264 arg2
= static_cast< bool >(val2
);
38266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38267 (arg1
)->ShowHidden(arg2
);
38268 wxPyEndAllowThreads(__tstate
);
38269 if (PyErr_Occurred()) SWIG_fail
;
38271 resultobj
= SWIG_Py_Void();
38278 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38279 PyObject
*resultobj
= 0;
38280 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38284 PyObject
*swig_obj
[1] ;
38286 if (!args
) SWIG_fail
;
38287 swig_obj
[0] = args
;
38288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38289 if (!SWIG_IsOK(res1
)) {
38290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38292 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38295 result
= (bool)(arg1
)->GetShowHidden();
38296 wxPyEndAllowThreads(__tstate
);
38297 if (PyErr_Occurred()) SWIG_fail
;
38300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38308 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38309 PyObject
*resultobj
= 0;
38310 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38314 PyObject
*swig_obj
[1] ;
38316 if (!args
) SWIG_fail
;
38317 swig_obj
[0] = args
;
38318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38319 if (!SWIG_IsOK(res1
)) {
38320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38322 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38325 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38326 wxPyEndAllowThreads(__tstate
);
38327 if (PyErr_Occurred()) SWIG_fail
;
38331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38342 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38343 PyObject
*resultobj
= 0;
38344 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38345 wxString
*arg2
= 0 ;
38348 bool temp2
= false ;
38349 PyObject
* obj0
= 0 ;
38350 PyObject
* obj1
= 0 ;
38351 char * kwnames
[] = {
38352 (char *) "self",(char *) "filter", NULL
38355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38357 if (!SWIG_IsOK(res1
)) {
38358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38360 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38362 arg2
= wxString_in_helper(obj1
);
38363 if (arg2
== NULL
) SWIG_fail
;
38367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38368 (arg1
)->SetFilter((wxString
const &)*arg2
);
38369 wxPyEndAllowThreads(__tstate
);
38370 if (PyErr_Occurred()) SWIG_fail
;
38372 resultobj
= SWIG_Py_Void();
38387 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38388 PyObject
*resultobj
= 0;
38389 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38393 PyObject
*swig_obj
[1] ;
38395 if (!args
) SWIG_fail
;
38396 swig_obj
[0] = args
;
38397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38398 if (!SWIG_IsOK(res1
)) {
38399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38401 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38405 wxPyEndAllowThreads(__tstate
);
38406 if (PyErr_Occurred()) SWIG_fail
;
38408 resultobj
= SWIG_From_int(static_cast< int >(result
));
38415 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38416 PyObject
*resultobj
= 0;
38417 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38423 PyObject
* obj0
= 0 ;
38424 PyObject
* obj1
= 0 ;
38425 char * kwnames
[] = {
38426 (char *) "self",(char *) "n", NULL
38429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38431 if (!SWIG_IsOK(res1
)) {
38432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38434 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38435 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38436 if (!SWIG_IsOK(ecode2
)) {
38437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38439 arg2
= static_cast< int >(val2
);
38441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38442 (arg1
)->SetFilterIndex(arg2
);
38443 wxPyEndAllowThreads(__tstate
);
38444 if (PyErr_Occurred()) SWIG_fail
;
38446 resultobj
= SWIG_Py_Void();
38453 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38454 PyObject
*resultobj
= 0;
38455 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38456 wxTreeItemId result
;
38459 PyObject
*swig_obj
[1] ;
38461 if (!args
) SWIG_fail
;
38462 swig_obj
[0] = args
;
38463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38464 if (!SWIG_IsOK(res1
)) {
38465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38467 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38470 result
= (arg1
)->GetRootId();
38471 wxPyEndAllowThreads(__tstate
);
38472 if (PyErr_Occurred()) SWIG_fail
;
38474 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38481 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38482 PyObject
*resultobj
= 0;
38483 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38484 wxPyTreeCtrl
*result
= 0 ;
38487 PyObject
*swig_obj
[1] ;
38489 if (!args
) SWIG_fail
;
38490 swig_obj
[0] = args
;
38491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38492 if (!SWIG_IsOK(res1
)) {
38493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38495 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38498 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38499 wxPyEndAllowThreads(__tstate
);
38500 if (PyErr_Occurred()) SWIG_fail
;
38503 resultobj
= wxPyMake_wxObject(result
, 0);
38511 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38512 PyObject
*resultobj
= 0;
38513 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38514 wxDirFilterListCtrl
*result
= 0 ;
38517 PyObject
*swig_obj
[1] ;
38519 if (!args
) SWIG_fail
;
38520 swig_obj
[0] = args
;
38521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38522 if (!SWIG_IsOK(res1
)) {
38523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38525 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38528 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38529 wxPyEndAllowThreads(__tstate
);
38530 if (PyErr_Occurred()) SWIG_fail
;
38532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38539 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38540 PyObject
*resultobj
= 0;
38541 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38542 wxTreeItemId arg2
;
38543 wxString
*arg3
= 0 ;
38545 wxTreeItemId result
;
38550 bool temp3
= false ;
38552 int res4
= SWIG_TMPOBJ
;
38553 PyObject
* obj0
= 0 ;
38554 PyObject
* obj1
= 0 ;
38555 PyObject
* obj2
= 0 ;
38556 char * kwnames
[] = {
38557 (char *) "self",(char *) "parentId",(char *) "path", NULL
38561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38563 if (!SWIG_IsOK(res1
)) {
38564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38566 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38568 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38569 if (!SWIG_IsOK(res2
)) {
38570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38575 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38577 if (SWIG_IsNewObj(res2
)) delete temp
;
38581 arg3
= wxString_in_helper(obj2
);
38582 if (arg3
== NULL
) SWIG_fail
;
38586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38587 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38588 wxPyEndAllowThreads(__tstate
);
38589 if (PyErr_Occurred()) SWIG_fail
;
38591 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38592 if (SWIG_IsTmpObj(res4
)) {
38593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38595 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38612 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38613 PyObject
*resultobj
= 0;
38614 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38617 PyObject
*swig_obj
[1] ;
38619 if (!args
) SWIG_fail
;
38620 swig_obj
[0] = args
;
38621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38622 if (!SWIG_IsOK(res1
)) {
38623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38625 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38628 (arg1
)->DoResize();
38629 wxPyEndAllowThreads(__tstate
);
38630 if (PyErr_Occurred()) SWIG_fail
;
38632 resultobj
= SWIG_Py_Void();
38639 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38640 PyObject
*resultobj
= 0;
38641 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38644 PyObject
*swig_obj
[1] ;
38646 if (!args
) SWIG_fail
;
38647 swig_obj
[0] = args
;
38648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38649 if (!SWIG_IsOK(res1
)) {
38650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38652 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38655 (arg1
)->ReCreateTree();
38656 wxPyEndAllowThreads(__tstate
);
38657 if (PyErr_Occurred()) SWIG_fail
;
38659 resultobj
= SWIG_Py_Void();
38666 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38668 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38669 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38670 return SWIG_Py_Void();
38673 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38674 return SWIG_Python_InitShadowInstance(args
);
38677 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38678 PyObject
*resultobj
= 0;
38679 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38680 int arg2
= (int) (int)-1 ;
38681 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38682 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38683 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38684 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38685 long arg5
= (long) 0 ;
38686 wxDirFilterListCtrl
*result
= 0 ;
38695 PyObject
* obj0
= 0 ;
38696 PyObject
* obj1
= 0 ;
38697 PyObject
* obj2
= 0 ;
38698 PyObject
* obj3
= 0 ;
38699 PyObject
* obj4
= 0 ;
38700 char * kwnames
[] = {
38701 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38706 if (!SWIG_IsOK(res1
)) {
38707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38709 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38712 if (!SWIG_IsOK(ecode2
)) {
38713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38715 arg2
= static_cast< int >(val2
);
38720 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38726 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38730 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38731 if (!SWIG_IsOK(ecode5
)) {
38732 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38734 arg5
= static_cast< long >(val5
);
38737 if (!wxPyCheckForApp()) SWIG_fail
;
38738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38739 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38740 wxPyEndAllowThreads(__tstate
);
38741 if (PyErr_Occurred()) SWIG_fail
;
38743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38750 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38751 PyObject
*resultobj
= 0;
38752 wxDirFilterListCtrl
*result
= 0 ;
38754 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38756 if (!wxPyCheckForApp()) SWIG_fail
;
38757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38758 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38759 wxPyEndAllowThreads(__tstate
);
38760 if (PyErr_Occurred()) SWIG_fail
;
38762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38769 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38770 PyObject
*resultobj
= 0;
38771 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38772 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38773 int arg3
= (int) (int)-1 ;
38774 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38775 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38776 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38777 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38778 long arg6
= (long) 0 ;
38790 PyObject
* obj0
= 0 ;
38791 PyObject
* obj1
= 0 ;
38792 PyObject
* obj2
= 0 ;
38793 PyObject
* obj3
= 0 ;
38794 PyObject
* obj4
= 0 ;
38795 PyObject
* obj5
= 0 ;
38796 char * kwnames
[] = {
38797 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38802 if (!SWIG_IsOK(res1
)) {
38803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38805 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38806 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38807 if (!SWIG_IsOK(res2
)) {
38808 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38810 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38813 if (!SWIG_IsOK(ecode3
)) {
38814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38816 arg3
= static_cast< int >(val3
);
38821 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38827 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38831 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38832 if (!SWIG_IsOK(ecode6
)) {
38833 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38835 arg6
= static_cast< long >(val6
);
38838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38839 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38840 wxPyEndAllowThreads(__tstate
);
38841 if (PyErr_Occurred()) SWIG_fail
;
38844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38852 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38853 PyObject
*resultobj
= 0;
38854 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38855 wxString
*arg2
= 0 ;
38859 bool temp2
= false ;
38862 PyObject
* obj0
= 0 ;
38863 PyObject
* obj1
= 0 ;
38864 PyObject
* obj2
= 0 ;
38865 char * kwnames
[] = {
38866 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38871 if (!SWIG_IsOK(res1
)) {
38872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38874 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38876 arg2
= wxString_in_helper(obj1
);
38877 if (arg2
== NULL
) SWIG_fail
;
38880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38881 if (!SWIG_IsOK(ecode3
)) {
38882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38884 arg3
= static_cast< int >(val3
);
38886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38887 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38888 wxPyEndAllowThreads(__tstate
);
38889 if (PyErr_Occurred()) SWIG_fail
;
38891 resultobj
= SWIG_Py_Void();
38906 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38909 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38910 return SWIG_Py_Void();
38913 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38914 return SWIG_Python_InitShadowInstance(args
);
38917 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38918 PyObject
*resultobj
= 0;
38919 wxWindow
*arg1
= (wxWindow
*) 0 ;
38920 int arg2
= (int) (int)-1 ;
38921 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38922 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38923 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38924 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38925 long arg5
= (long) 0 ;
38926 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38927 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38928 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38929 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38930 wxPyControl
*result
= 0 ;
38941 bool temp7
= false ;
38942 PyObject
* obj0
= 0 ;
38943 PyObject
* obj1
= 0 ;
38944 PyObject
* obj2
= 0 ;
38945 PyObject
* obj3
= 0 ;
38946 PyObject
* obj4
= 0 ;
38947 PyObject
* obj5
= 0 ;
38948 PyObject
* obj6
= 0 ;
38949 char * kwnames
[] = {
38950 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38955 if (!SWIG_IsOK(res1
)) {
38956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38958 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38961 if (!SWIG_IsOK(ecode2
)) {
38962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38964 arg2
= static_cast< int >(val2
);
38969 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38975 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38979 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38980 if (!SWIG_IsOK(ecode5
)) {
38981 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38983 arg5
= static_cast< long >(val5
);
38986 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38987 if (!SWIG_IsOK(res6
)) {
38988 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38991 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38993 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38997 arg7
= wxString_in_helper(obj6
);
38998 if (arg7
== NULL
) SWIG_fail
;
39003 if (!wxPyCheckForApp()) SWIG_fail
;
39004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39005 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39006 wxPyEndAllowThreads(__tstate
);
39007 if (PyErr_Occurred()) SWIG_fail
;
39009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39024 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39025 PyObject
*resultobj
= 0;
39026 wxPyControl
*result
= 0 ;
39028 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39030 if (!wxPyCheckForApp()) SWIG_fail
;
39031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39032 result
= (wxPyControl
*)new wxPyControl();
39033 wxPyEndAllowThreads(__tstate
);
39034 if (PyErr_Occurred()) SWIG_fail
;
39036 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39043 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39044 PyObject
*resultobj
= 0;
39045 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39046 PyObject
*arg2
= (PyObject
*) 0 ;
39047 PyObject
*arg3
= (PyObject
*) 0 ;
39050 PyObject
* obj0
= 0 ;
39051 PyObject
* obj1
= 0 ;
39052 PyObject
* obj2
= 0 ;
39053 char * kwnames
[] = {
39054 (char *) "self",(char *) "self",(char *) "_class", NULL
39057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39059 if (!SWIG_IsOK(res1
)) {
39060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39062 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39067 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39068 wxPyEndAllowThreads(__tstate
);
39069 if (PyErr_Occurred()) SWIG_fail
;
39071 resultobj
= SWIG_Py_Void();
39078 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39079 PyObject
*resultobj
= 0;
39080 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39081 wxDC
*arg2
= (wxDC
*) 0 ;
39087 PyObject
* obj0
= 0 ;
39088 PyObject
* obj1
= 0 ;
39089 char * kwnames
[] = {
39090 (char *) "self",(char *) "dc", NULL
39093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39095 if (!SWIG_IsOK(res1
)) {
39096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39098 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39099 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39100 if (!SWIG_IsOK(res2
)) {
39101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39103 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39106 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39107 wxPyEndAllowThreads(__tstate
);
39108 if (PyErr_Occurred()) SWIG_fail
;
39111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39119 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39120 PyObject
*resultobj
= 0;
39121 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39136 PyObject
* obj0
= 0 ;
39137 PyObject
* obj1
= 0 ;
39138 PyObject
* obj2
= 0 ;
39139 PyObject
* obj3
= 0 ;
39140 PyObject
* obj4
= 0 ;
39141 char * kwnames
[] = {
39142 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39147 if (!SWIG_IsOK(res1
)) {
39148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39150 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39152 if (!SWIG_IsOK(ecode2
)) {
39153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39155 arg2
= static_cast< int >(val2
);
39156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39157 if (!SWIG_IsOK(ecode3
)) {
39158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39160 arg3
= static_cast< int >(val3
);
39161 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39162 if (!SWIG_IsOK(ecode4
)) {
39163 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39165 arg4
= static_cast< int >(val4
);
39166 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39167 if (!SWIG_IsOK(ecode5
)) {
39168 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39170 arg5
= static_cast< int >(val5
);
39172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39173 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39174 wxPyEndAllowThreads(__tstate
);
39175 if (PyErr_Occurred()) SWIG_fail
;
39177 resultobj
= SWIG_Py_Void();
39184 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39185 PyObject
*resultobj
= 0;
39186 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39191 int arg6
= (int) wxSIZE_AUTO
;
39204 PyObject
* obj0
= 0 ;
39205 PyObject
* obj1
= 0 ;
39206 PyObject
* obj2
= 0 ;
39207 PyObject
* obj3
= 0 ;
39208 PyObject
* obj4
= 0 ;
39209 PyObject
* obj5
= 0 ;
39210 char * kwnames
[] = {
39211 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39216 if (!SWIG_IsOK(res1
)) {
39217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39219 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39220 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39221 if (!SWIG_IsOK(ecode2
)) {
39222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39224 arg2
= static_cast< int >(val2
);
39225 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39226 if (!SWIG_IsOK(ecode3
)) {
39227 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39229 arg3
= static_cast< int >(val3
);
39230 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39231 if (!SWIG_IsOK(ecode4
)) {
39232 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39234 arg4
= static_cast< int >(val4
);
39235 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39236 if (!SWIG_IsOK(ecode5
)) {
39237 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39239 arg5
= static_cast< int >(val5
);
39241 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39242 if (!SWIG_IsOK(ecode6
)) {
39243 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39245 arg6
= static_cast< int >(val6
);
39248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39249 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39250 wxPyEndAllowThreads(__tstate
);
39251 if (PyErr_Occurred()) SWIG_fail
;
39253 resultobj
= SWIG_Py_Void();
39260 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39261 PyObject
*resultobj
= 0;
39262 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39271 PyObject
* obj0
= 0 ;
39272 PyObject
* obj1
= 0 ;
39273 PyObject
* obj2
= 0 ;
39274 char * kwnames
[] = {
39275 (char *) "self",(char *) "width",(char *) "height", NULL
39278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39280 if (!SWIG_IsOK(res1
)) {
39281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39283 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39285 if (!SWIG_IsOK(ecode2
)) {
39286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39288 arg2
= static_cast< int >(val2
);
39289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39290 if (!SWIG_IsOK(ecode3
)) {
39291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39293 arg3
= static_cast< int >(val3
);
39295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39296 (arg1
)->DoSetClientSize(arg2
,arg3
);
39297 wxPyEndAllowThreads(__tstate
);
39298 if (PyErr_Occurred()) SWIG_fail
;
39300 resultobj
= SWIG_Py_Void();
39307 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39308 PyObject
*resultobj
= 0;
39309 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39318 PyObject
* obj0
= 0 ;
39319 PyObject
* obj1
= 0 ;
39320 PyObject
* obj2
= 0 ;
39321 char * kwnames
[] = {
39322 (char *) "self",(char *) "x",(char *) "y", NULL
39325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39327 if (!SWIG_IsOK(res1
)) {
39328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39330 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39332 if (!SWIG_IsOK(ecode2
)) {
39333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39335 arg2
= static_cast< int >(val2
);
39336 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39337 if (!SWIG_IsOK(ecode3
)) {
39338 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39340 arg3
= static_cast< int >(val3
);
39342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39343 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39344 wxPyEndAllowThreads(__tstate
);
39345 if (PyErr_Occurred()) SWIG_fail
;
39347 resultobj
= SWIG_Py_Void();
39354 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39355 PyObject
*resultobj
= 0;
39356 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39357 int *arg2
= (int *) 0 ;
39358 int *arg3
= (int *) 0 ;
39362 int res2
= SWIG_TMPOBJ
;
39364 int res3
= SWIG_TMPOBJ
;
39365 PyObject
*swig_obj
[1] ;
39369 if (!args
) SWIG_fail
;
39370 swig_obj
[0] = args
;
39371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39372 if (!SWIG_IsOK(res1
)) {
39373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39375 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39378 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39379 wxPyEndAllowThreads(__tstate
);
39380 if (PyErr_Occurred()) SWIG_fail
;
39382 resultobj
= SWIG_Py_Void();
39383 if (SWIG_IsTmpObj(res2
)) {
39384 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39386 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39387 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39389 if (SWIG_IsTmpObj(res3
)) {
39390 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39392 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39401 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39402 PyObject
*resultobj
= 0;
39403 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39404 int *arg2
= (int *) 0 ;
39405 int *arg3
= (int *) 0 ;
39409 int res2
= SWIG_TMPOBJ
;
39411 int res3
= SWIG_TMPOBJ
;
39412 PyObject
*swig_obj
[1] ;
39416 if (!args
) SWIG_fail
;
39417 swig_obj
[0] = args
;
39418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39419 if (!SWIG_IsOK(res1
)) {
39420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39422 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39425 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39426 wxPyEndAllowThreads(__tstate
);
39427 if (PyErr_Occurred()) SWIG_fail
;
39429 resultobj
= SWIG_Py_Void();
39430 if (SWIG_IsTmpObj(res2
)) {
39431 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39433 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39434 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39436 if (SWIG_IsTmpObj(res3
)) {
39437 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39439 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39440 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39448 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39449 PyObject
*resultobj
= 0;
39450 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39451 int *arg2
= (int *) 0 ;
39452 int *arg3
= (int *) 0 ;
39456 int res2
= SWIG_TMPOBJ
;
39458 int res3
= SWIG_TMPOBJ
;
39459 PyObject
*swig_obj
[1] ;
39463 if (!args
) SWIG_fail
;
39464 swig_obj
[0] = args
;
39465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39466 if (!SWIG_IsOK(res1
)) {
39467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39469 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39472 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39473 wxPyEndAllowThreads(__tstate
);
39474 if (PyErr_Occurred()) SWIG_fail
;
39476 resultobj
= SWIG_Py_Void();
39477 if (SWIG_IsTmpObj(res2
)) {
39478 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39480 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39481 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39483 if (SWIG_IsTmpObj(res3
)) {
39484 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39486 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39495 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39496 PyObject
*resultobj
= 0;
39497 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39501 PyObject
*swig_obj
[1] ;
39503 if (!args
) SWIG_fail
;
39504 swig_obj
[0] = args
;
39505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39506 if (!SWIG_IsOK(res1
)) {
39507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39509 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39512 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39513 wxPyEndAllowThreads(__tstate
);
39514 if (PyErr_Occurred()) SWIG_fail
;
39516 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39523 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39524 PyObject
*resultobj
= 0;
39525 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39529 PyObject
*swig_obj
[1] ;
39531 if (!args
) SWIG_fail
;
39532 swig_obj
[0] = args
;
39533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39534 if (!SWIG_IsOK(res1
)) {
39535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39537 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39540 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39541 wxPyEndAllowThreads(__tstate
);
39542 if (PyErr_Occurred()) SWIG_fail
;
39544 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39551 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39552 PyObject
*resultobj
= 0;
39553 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39554 SwigValueWrapper
<wxVisualAttributes
> result
;
39557 PyObject
*swig_obj
[1] ;
39559 if (!args
) SWIG_fail
;
39560 swig_obj
[0] = args
;
39561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39562 if (!SWIG_IsOK(res1
)) {
39563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39565 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39568 result
= (arg1
)->GetDefaultAttributes();
39569 wxPyEndAllowThreads(__tstate
);
39570 if (PyErr_Occurred()) SWIG_fail
;
39572 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39579 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39580 PyObject
*resultobj
= 0;
39581 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39584 PyObject
*swig_obj
[1] ;
39586 if (!args
) SWIG_fail
;
39587 swig_obj
[0] = args
;
39588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39589 if (!SWIG_IsOK(res1
)) {
39590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39592 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39595 (arg1
)->OnInternalIdle();
39596 wxPyEndAllowThreads(__tstate
);
39597 if (PyErr_Occurred()) SWIG_fail
;
39599 resultobj
= SWIG_Py_Void();
39606 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39608 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39609 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39610 return SWIG_Py_Void();
39613 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39614 return SWIG_Python_InitShadowInstance(args
);
39617 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39618 PyObject
*resultobj
= 0;
39619 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39620 int arg2
= (int) 0 ;
39621 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39622 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39623 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39624 wxHelpEvent
*result
= 0 ;
39632 PyObject
* obj0
= 0 ;
39633 PyObject
* obj1
= 0 ;
39634 PyObject
* obj2
= 0 ;
39635 PyObject
* obj3
= 0 ;
39636 char * kwnames
[] = {
39637 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39642 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39643 if (!SWIG_IsOK(ecode1
)) {
39644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39646 arg1
= static_cast< wxEventType
>(val1
);
39649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39650 if (!SWIG_IsOK(ecode2
)) {
39651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39653 arg2
= static_cast< int >(val2
);
39658 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39662 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39663 if (!SWIG_IsOK(ecode4
)) {
39664 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39666 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39670 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39671 wxPyEndAllowThreads(__tstate
);
39672 if (PyErr_Occurred()) SWIG_fail
;
39674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39681 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39682 PyObject
*resultobj
= 0;
39683 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39687 PyObject
*swig_obj
[1] ;
39689 if (!args
) SWIG_fail
;
39690 swig_obj
[0] = args
;
39691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39692 if (!SWIG_IsOK(res1
)) {
39693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39695 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39698 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39699 wxPyEndAllowThreads(__tstate
);
39700 if (PyErr_Occurred()) SWIG_fail
;
39702 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39709 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39710 PyObject
*resultobj
= 0;
39711 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39712 wxPoint
*arg2
= 0 ;
39716 PyObject
* obj0
= 0 ;
39717 PyObject
* obj1
= 0 ;
39718 char * kwnames
[] = {
39719 (char *) "self",(char *) "pos", NULL
39722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39724 if (!SWIG_IsOK(res1
)) {
39725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39727 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39730 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39734 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39735 wxPyEndAllowThreads(__tstate
);
39736 if (PyErr_Occurred()) SWIG_fail
;
39738 resultobj
= SWIG_Py_Void();
39745 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39746 PyObject
*resultobj
= 0;
39747 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39748 wxString
*result
= 0 ;
39751 PyObject
*swig_obj
[1] ;
39753 if (!args
) SWIG_fail
;
39754 swig_obj
[0] = args
;
39755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39756 if (!SWIG_IsOK(res1
)) {
39757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39759 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39763 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39764 result
= (wxString
*) &_result_ref
;
39766 wxPyEndAllowThreads(__tstate
);
39767 if (PyErr_Occurred()) SWIG_fail
;
39771 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39773 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39782 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39783 PyObject
*resultobj
= 0;
39784 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39785 wxString
*arg2
= 0 ;
39788 bool temp2
= false ;
39789 PyObject
* obj0
= 0 ;
39790 PyObject
* obj1
= 0 ;
39791 char * kwnames
[] = {
39792 (char *) "self",(char *) "link", NULL
39795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39797 if (!SWIG_IsOK(res1
)) {
39798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39800 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39802 arg2
= wxString_in_helper(obj1
);
39803 if (arg2
== NULL
) SWIG_fail
;
39807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39808 (arg1
)->SetLink((wxString
const &)*arg2
);
39809 wxPyEndAllowThreads(__tstate
);
39810 if (PyErr_Occurred()) SWIG_fail
;
39812 resultobj
= SWIG_Py_Void();
39827 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39828 PyObject
*resultobj
= 0;
39829 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39830 wxString
*result
= 0 ;
39833 PyObject
*swig_obj
[1] ;
39835 if (!args
) SWIG_fail
;
39836 swig_obj
[0] = args
;
39837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39838 if (!SWIG_IsOK(res1
)) {
39839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39841 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39845 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39846 result
= (wxString
*) &_result_ref
;
39848 wxPyEndAllowThreads(__tstate
);
39849 if (PyErr_Occurred()) SWIG_fail
;
39853 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39855 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39864 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39865 PyObject
*resultobj
= 0;
39866 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39867 wxString
*arg2
= 0 ;
39870 bool temp2
= false ;
39871 PyObject
* obj0
= 0 ;
39872 PyObject
* obj1
= 0 ;
39873 char * kwnames
[] = {
39874 (char *) "self",(char *) "target", NULL
39877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39879 if (!SWIG_IsOK(res1
)) {
39880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39882 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39884 arg2
= wxString_in_helper(obj1
);
39885 if (arg2
== NULL
) SWIG_fail
;
39889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39890 (arg1
)->SetTarget((wxString
const &)*arg2
);
39891 wxPyEndAllowThreads(__tstate
);
39892 if (PyErr_Occurred()) SWIG_fail
;
39894 resultobj
= SWIG_Py_Void();
39909 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39910 PyObject
*resultobj
= 0;
39911 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39912 wxHelpEvent::Origin result
;
39915 PyObject
*swig_obj
[1] ;
39917 if (!args
) SWIG_fail
;
39918 swig_obj
[0] = args
;
39919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39920 if (!SWIG_IsOK(res1
)) {
39921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39923 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39926 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39927 wxPyEndAllowThreads(__tstate
);
39928 if (PyErr_Occurred()) SWIG_fail
;
39930 resultobj
= SWIG_From_int(static_cast< int >(result
));
39937 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39938 PyObject
*resultobj
= 0;
39939 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39940 wxHelpEvent::Origin arg2
;
39945 PyObject
* obj0
= 0 ;
39946 PyObject
* obj1
= 0 ;
39947 char * kwnames
[] = {
39948 (char *) "self",(char *) "origin", NULL
39951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39953 if (!SWIG_IsOK(res1
)) {
39954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39956 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39957 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39958 if (!SWIG_IsOK(ecode2
)) {
39959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39961 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39964 (arg1
)->SetOrigin(arg2
);
39965 wxPyEndAllowThreads(__tstate
);
39966 if (PyErr_Occurred()) SWIG_fail
;
39968 resultobj
= SWIG_Py_Void();
39975 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39977 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39978 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39979 return SWIG_Py_Void();
39982 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39983 return SWIG_Python_InitShadowInstance(args
);
39986 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39987 PyObject
*resultobj
= 0;
39988 wxWindow
*arg1
= (wxWindow
*) NULL
;
39989 bool arg2
= (bool) true ;
39990 wxContextHelp
*result
= 0 ;
39995 PyObject
* obj0
= 0 ;
39996 PyObject
* obj1
= 0 ;
39997 char * kwnames
[] = {
39998 (char *) "window",(char *) "doNow", NULL
40001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40004 if (!SWIG_IsOK(res1
)) {
40005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40007 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40010 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40011 if (!SWIG_IsOK(ecode2
)) {
40012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40014 arg2
= static_cast< bool >(val2
);
40017 if (!wxPyCheckForApp()) SWIG_fail
;
40018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40019 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40020 wxPyEndAllowThreads(__tstate
);
40021 if (PyErr_Occurred()) SWIG_fail
;
40023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40030 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40031 PyObject
*resultobj
= 0;
40032 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40035 PyObject
*swig_obj
[1] ;
40037 if (!args
) SWIG_fail
;
40038 swig_obj
[0] = args
;
40039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40040 if (!SWIG_IsOK(res1
)) {
40041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40043 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40048 wxPyEndAllowThreads(__tstate
);
40049 if (PyErr_Occurred()) SWIG_fail
;
40051 resultobj
= SWIG_Py_Void();
40058 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40059 PyObject
*resultobj
= 0;
40060 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40061 wxWindow
*arg2
= (wxWindow
*) NULL
;
40067 PyObject
* obj0
= 0 ;
40068 PyObject
* obj1
= 0 ;
40069 char * kwnames
[] = {
40070 (char *) "self",(char *) "window", NULL
40073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40075 if (!SWIG_IsOK(res1
)) {
40076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40078 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40081 if (!SWIG_IsOK(res2
)) {
40082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40088 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40089 wxPyEndAllowThreads(__tstate
);
40090 if (PyErr_Occurred()) SWIG_fail
;
40093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40101 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40102 PyObject
*resultobj
= 0;
40103 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40107 PyObject
*swig_obj
[1] ;
40109 if (!args
) SWIG_fail
;
40110 swig_obj
[0] = args
;
40111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40112 if (!SWIG_IsOK(res1
)) {
40113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40115 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40118 result
= (bool)(arg1
)->EndContextHelp();
40119 wxPyEndAllowThreads(__tstate
);
40120 if (PyErr_Occurred()) SWIG_fail
;
40123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40131 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40134 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40135 return SWIG_Py_Void();
40138 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40139 return SWIG_Python_InitShadowInstance(args
);
40142 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40143 PyObject
*resultobj
= 0;
40144 wxWindow
*arg1
= (wxWindow
*) 0 ;
40145 int arg2
= (int) wxID_CONTEXT_HELP
;
40146 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40147 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40148 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40149 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40150 long arg5
= (long) wxBU_AUTODRAW
;
40151 wxContextHelpButton
*result
= 0 ;
40160 PyObject
* obj0
= 0 ;
40161 PyObject
* obj1
= 0 ;
40162 PyObject
* obj2
= 0 ;
40163 PyObject
* obj3
= 0 ;
40164 PyObject
* obj4
= 0 ;
40165 char * kwnames
[] = {
40166 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40171 if (!SWIG_IsOK(res1
)) {
40172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40174 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40177 if (!SWIG_IsOK(ecode2
)) {
40178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40180 arg2
= static_cast< int >(val2
);
40185 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40191 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40195 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40196 if (!SWIG_IsOK(ecode5
)) {
40197 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40199 arg5
= static_cast< long >(val5
);
40202 if (!wxPyCheckForApp()) SWIG_fail
;
40203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40204 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40205 wxPyEndAllowThreads(__tstate
);
40206 if (PyErr_Occurred()) SWIG_fail
;
40208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40215 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40217 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40218 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40219 return SWIG_Py_Void();
40222 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40223 return SWIG_Python_InitShadowInstance(args
);
40226 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40227 PyObject
*resultobj
= 0;
40228 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40231 PyObject
*swig_obj
[1] ;
40233 if (!args
) SWIG_fail
;
40234 swig_obj
[0] = args
;
40235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40236 if (!SWIG_IsOK(res1
)) {
40237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40239 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40244 wxPyEndAllowThreads(__tstate
);
40245 if (PyErr_Occurred()) SWIG_fail
;
40247 resultobj
= SWIG_Py_Void();
40254 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40255 PyObject
*resultobj
= 0;
40256 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40257 wxHelpProvider
*result
= 0 ;
40259 PyObject
* obj0
= 0 ;
40260 char * kwnames
[] = {
40261 (char *) "helpProvider", NULL
40264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40265 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40266 if (!SWIG_IsOK(res1
)) {
40267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40271 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40272 wxPyEndAllowThreads(__tstate
);
40273 if (PyErr_Occurred()) SWIG_fail
;
40275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40282 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40283 PyObject
*resultobj
= 0;
40284 wxHelpProvider
*result
= 0 ;
40286 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40289 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40290 wxPyEndAllowThreads(__tstate
);
40291 if (PyErr_Occurred()) SWIG_fail
;
40293 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40300 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40301 PyObject
*resultobj
= 0;
40302 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40303 wxWindow
*arg2
= (wxWindow
*) 0 ;
40309 PyObject
* obj0
= 0 ;
40310 PyObject
* obj1
= 0 ;
40311 char * kwnames
[] = {
40312 (char *) "self",(char *) "window", NULL
40315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40317 if (!SWIG_IsOK(res1
)) {
40318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40320 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40321 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40322 if (!SWIG_IsOK(res2
)) {
40323 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40325 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40328 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40329 wxPyEndAllowThreads(__tstate
);
40330 if (PyErr_Occurred()) SWIG_fail
;
40334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40345 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40346 PyObject
*resultobj
= 0;
40347 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40348 wxWindow
*arg2
= (wxWindow
*) 0 ;
40354 PyObject
* obj0
= 0 ;
40355 PyObject
* obj1
= 0 ;
40356 char * kwnames
[] = {
40357 (char *) "self",(char *) "window", NULL
40360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40362 if (!SWIG_IsOK(res1
)) {
40363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40365 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40366 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40367 if (!SWIG_IsOK(res2
)) {
40368 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40370 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40373 result
= (bool)(arg1
)->ShowHelp(arg2
);
40374 wxPyEndAllowThreads(__tstate
);
40375 if (PyErr_Occurred()) SWIG_fail
;
40378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40386 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40387 PyObject
*resultobj
= 0;
40388 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40389 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40390 wxPoint
*arg3
= 0 ;
40391 wxHelpEvent::Origin arg4
;
40400 PyObject
* obj0
= 0 ;
40401 PyObject
* obj1
= 0 ;
40402 PyObject
* obj2
= 0 ;
40403 PyObject
* obj3
= 0 ;
40404 char * kwnames
[] = {
40405 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40410 if (!SWIG_IsOK(res1
)) {
40411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40413 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40414 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40415 if (!SWIG_IsOK(res2
)) {
40416 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40418 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40421 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40423 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40424 if (!SWIG_IsOK(ecode4
)) {
40425 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40427 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40430 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40431 wxPyEndAllowThreads(__tstate
);
40432 if (PyErr_Occurred()) SWIG_fail
;
40435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40443 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40444 PyObject
*resultobj
= 0;
40445 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40446 wxWindow
*arg2
= (wxWindow
*) 0 ;
40447 wxString
*arg3
= 0 ;
40452 bool temp3
= false ;
40453 PyObject
* obj0
= 0 ;
40454 PyObject
* obj1
= 0 ;
40455 PyObject
* obj2
= 0 ;
40456 char * kwnames
[] = {
40457 (char *) "self",(char *) "window",(char *) "text", NULL
40460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40462 if (!SWIG_IsOK(res1
)) {
40463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40465 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40466 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40467 if (!SWIG_IsOK(res2
)) {
40468 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40470 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40472 arg3
= wxString_in_helper(obj2
);
40473 if (arg3
== NULL
) SWIG_fail
;
40477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40478 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40479 wxPyEndAllowThreads(__tstate
);
40480 if (PyErr_Occurred()) SWIG_fail
;
40482 resultobj
= SWIG_Py_Void();
40497 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40498 PyObject
*resultobj
= 0;
40499 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40501 wxString
*arg3
= 0 ;
40506 bool temp3
= false ;
40507 PyObject
* obj0
= 0 ;
40508 PyObject
* obj1
= 0 ;
40509 PyObject
* obj2
= 0 ;
40510 char * kwnames
[] = {
40511 (char *) "self",(char *) "id",(char *) "text", NULL
40514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40516 if (!SWIG_IsOK(res1
)) {
40517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40519 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40520 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40521 if (!SWIG_IsOK(ecode2
)) {
40522 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40524 arg2
= static_cast< int >(val2
);
40526 arg3
= wxString_in_helper(obj2
);
40527 if (arg3
== NULL
) SWIG_fail
;
40531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40532 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40533 wxPyEndAllowThreads(__tstate
);
40534 if (PyErr_Occurred()) SWIG_fail
;
40536 resultobj
= SWIG_Py_Void();
40551 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40552 PyObject
*resultobj
= 0;
40553 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40554 wxWindow
*arg2
= (wxWindow
*) 0 ;
40559 PyObject
* obj0
= 0 ;
40560 PyObject
* obj1
= 0 ;
40561 char * kwnames
[] = {
40562 (char *) "self",(char *) "window", NULL
40565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40567 if (!SWIG_IsOK(res1
)) {
40568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40570 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40572 if (!SWIG_IsOK(res2
)) {
40573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40575 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40578 (arg1
)->RemoveHelp(arg2
);
40579 wxPyEndAllowThreads(__tstate
);
40580 if (PyErr_Occurred()) SWIG_fail
;
40582 resultobj
= SWIG_Py_Void();
40589 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40590 PyObject
*resultobj
= 0;
40591 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40594 PyObject
*swig_obj
[1] ;
40596 if (!args
) SWIG_fail
;
40597 swig_obj
[0] = args
;
40598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40599 if (!SWIG_IsOK(res1
)) {
40600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40602 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40605 wxHelpProvider_Destroy(arg1
);
40606 wxPyEndAllowThreads(__tstate
);
40607 if (PyErr_Occurred()) SWIG_fail
;
40609 resultobj
= SWIG_Py_Void();
40616 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40618 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40619 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40620 return SWIG_Py_Void();
40623 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40624 PyObject
*resultobj
= 0;
40625 wxSimpleHelpProvider
*result
= 0 ;
40627 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40630 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40631 wxPyEndAllowThreads(__tstate
);
40632 if (PyErr_Occurred()) SWIG_fail
;
40634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40641 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40644 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40645 return SWIG_Py_Void();
40648 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40649 return SWIG_Python_InitShadowInstance(args
);
40652 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40653 PyObject
*resultobj
= 0;
40654 wxBitmap
*arg1
= 0 ;
40655 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40656 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40657 wxGenericDragImage
*result
= 0 ;
40662 PyObject
* obj0
= 0 ;
40663 PyObject
* obj1
= 0 ;
40664 char * kwnames
[] = {
40665 (char *) "image",(char *) "cursor", NULL
40668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40669 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40670 if (!SWIG_IsOK(res1
)) {
40671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40674 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40676 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40678 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40679 if (!SWIG_IsOK(res2
)) {
40680 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40685 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40688 if (!wxPyCheckForApp()) SWIG_fail
;
40689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40690 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40691 wxPyEndAllowThreads(__tstate
);
40692 if (PyErr_Occurred()) SWIG_fail
;
40694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40701 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40702 PyObject
*resultobj
= 0;
40704 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40705 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40706 wxGenericDragImage
*result
= 0 ;
40711 PyObject
* obj0
= 0 ;
40712 PyObject
* obj1
= 0 ;
40713 char * kwnames
[] = {
40714 (char *) "image",(char *) "cursor", NULL
40717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40718 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40719 if (!SWIG_IsOK(res1
)) {
40720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40723 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40725 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40727 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40728 if (!SWIG_IsOK(res2
)) {
40729 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40732 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40734 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40737 if (!wxPyCheckForApp()) SWIG_fail
;
40738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40739 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40740 wxPyEndAllowThreads(__tstate
);
40741 if (PyErr_Occurred()) SWIG_fail
;
40743 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40750 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40751 PyObject
*resultobj
= 0;
40752 wxString
*arg1
= 0 ;
40753 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40754 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40755 wxGenericDragImage
*result
= 0 ;
40756 bool temp1
= false ;
40759 PyObject
* obj0
= 0 ;
40760 PyObject
* obj1
= 0 ;
40761 char * kwnames
[] = {
40762 (char *) "str",(char *) "cursor", NULL
40765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40767 arg1
= wxString_in_helper(obj0
);
40768 if (arg1
== NULL
) SWIG_fail
;
40772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40773 if (!SWIG_IsOK(res2
)) {
40774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40779 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40782 if (!wxPyCheckForApp()) SWIG_fail
;
40783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40784 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40785 wxPyEndAllowThreads(__tstate
);
40786 if (PyErr_Occurred()) SWIG_fail
;
40788 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40803 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40804 PyObject
*resultobj
= 0;
40805 wxPyTreeCtrl
*arg1
= 0 ;
40806 wxTreeItemId
*arg2
= 0 ;
40807 wxGenericDragImage
*result
= 0 ;
40812 PyObject
* obj0
= 0 ;
40813 PyObject
* obj1
= 0 ;
40814 char * kwnames
[] = {
40815 (char *) "treeCtrl",(char *) "id", NULL
40818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40819 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40820 if (!SWIG_IsOK(res1
)) {
40821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40824 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40826 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40827 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40828 if (!SWIG_IsOK(res2
)) {
40829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40832 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40834 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40836 if (!wxPyCheckForApp()) SWIG_fail
;
40837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40838 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40839 wxPyEndAllowThreads(__tstate
);
40840 if (PyErr_Occurred()) SWIG_fail
;
40842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40849 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40850 PyObject
*resultobj
= 0;
40851 wxPyListCtrl
*arg1
= 0 ;
40853 wxGenericDragImage
*result
= 0 ;
40858 PyObject
* obj0
= 0 ;
40859 PyObject
* obj1
= 0 ;
40860 char * kwnames
[] = {
40861 (char *) "listCtrl",(char *) "id", NULL
40864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40865 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40866 if (!SWIG_IsOK(res1
)) {
40867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40872 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40873 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40874 if (!SWIG_IsOK(ecode2
)) {
40875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40877 arg2
= static_cast< long >(val2
);
40879 if (!wxPyCheckForApp()) SWIG_fail
;
40880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40881 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40882 wxPyEndAllowThreads(__tstate
);
40883 if (PyErr_Occurred()) SWIG_fail
;
40885 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40892 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40893 PyObject
*resultobj
= 0;
40894 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40897 PyObject
*swig_obj
[1] ;
40899 if (!args
) SWIG_fail
;
40900 swig_obj
[0] = args
;
40901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40902 if (!SWIG_IsOK(res1
)) {
40903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40905 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40910 wxPyEndAllowThreads(__tstate
);
40911 if (PyErr_Occurred()) SWIG_fail
;
40913 resultobj
= SWIG_Py_Void();
40920 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40921 PyObject
*resultobj
= 0;
40922 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40923 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40928 PyObject
* obj0
= 0 ;
40929 PyObject
* obj1
= 0 ;
40930 char * kwnames
[] = {
40931 (char *) "self",(char *) "bitmap", NULL
40934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40936 if (!SWIG_IsOK(res1
)) {
40937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40939 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40940 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40941 if (!SWIG_IsOK(res2
)) {
40942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40944 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40947 (arg1
)->SetBackingBitmap(arg2
);
40948 wxPyEndAllowThreads(__tstate
);
40949 if (PyErr_Occurred()) SWIG_fail
;
40951 resultobj
= SWIG_Py_Void();
40958 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40959 PyObject
*resultobj
= 0;
40960 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40961 wxPoint
*arg2
= 0 ;
40962 wxWindow
*arg3
= (wxWindow
*) 0 ;
40963 bool arg4
= (bool) false ;
40964 wxRect
*arg5
= (wxRect
*) NULL
;
40975 PyObject
* obj0
= 0 ;
40976 PyObject
* obj1
= 0 ;
40977 PyObject
* obj2
= 0 ;
40978 PyObject
* obj3
= 0 ;
40979 PyObject
* obj4
= 0 ;
40980 char * kwnames
[] = {
40981 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40986 if (!SWIG_IsOK(res1
)) {
40987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40989 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40992 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40994 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40995 if (!SWIG_IsOK(res3
)) {
40996 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40998 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41000 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41001 if (!SWIG_IsOK(ecode4
)) {
41002 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41004 arg4
= static_cast< bool >(val4
);
41007 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41008 if (!SWIG_IsOK(res5
)) {
41009 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41011 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41015 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41016 wxPyEndAllowThreads(__tstate
);
41017 if (PyErr_Occurred()) SWIG_fail
;
41020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41028 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41029 PyObject
*resultobj
= 0;
41030 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41031 wxPoint
*arg2
= 0 ;
41032 wxWindow
*arg3
= (wxWindow
*) 0 ;
41033 wxWindow
*arg4
= (wxWindow
*) 0 ;
41042 PyObject
* obj0
= 0 ;
41043 PyObject
* obj1
= 0 ;
41044 PyObject
* obj2
= 0 ;
41045 PyObject
* obj3
= 0 ;
41046 char * kwnames
[] = {
41047 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41052 if (!SWIG_IsOK(res1
)) {
41053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41055 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41058 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41060 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41061 if (!SWIG_IsOK(res3
)) {
41062 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41064 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41065 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41066 if (!SWIG_IsOK(res4
)) {
41067 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41069 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41072 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41073 wxPyEndAllowThreads(__tstate
);
41074 if (PyErr_Occurred()) SWIG_fail
;
41077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41085 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41086 PyObject
*resultobj
= 0;
41087 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41091 PyObject
*swig_obj
[1] ;
41093 if (!args
) SWIG_fail
;
41094 swig_obj
[0] = args
;
41095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41096 if (!SWIG_IsOK(res1
)) {
41097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41099 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41102 result
= (bool)(arg1
)->EndDrag();
41103 wxPyEndAllowThreads(__tstate
);
41104 if (PyErr_Occurred()) SWIG_fail
;
41107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41115 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41116 PyObject
*resultobj
= 0;
41117 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41118 wxPoint
*arg2
= 0 ;
41123 PyObject
* obj0
= 0 ;
41124 PyObject
* obj1
= 0 ;
41125 char * kwnames
[] = {
41126 (char *) "self",(char *) "pt", NULL
41129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41131 if (!SWIG_IsOK(res1
)) {
41132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41134 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41137 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41141 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41142 wxPyEndAllowThreads(__tstate
);
41143 if (PyErr_Occurred()) SWIG_fail
;
41146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41154 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41155 PyObject
*resultobj
= 0;
41156 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41160 PyObject
*swig_obj
[1] ;
41162 if (!args
) SWIG_fail
;
41163 swig_obj
[0] = args
;
41164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41165 if (!SWIG_IsOK(res1
)) {
41166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41168 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41171 result
= (bool)(arg1
)->Show();
41172 wxPyEndAllowThreads(__tstate
);
41173 if (PyErr_Occurred()) SWIG_fail
;
41176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41184 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41185 PyObject
*resultobj
= 0;
41186 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41190 PyObject
*swig_obj
[1] ;
41192 if (!args
) SWIG_fail
;
41193 swig_obj
[0] = args
;
41194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41195 if (!SWIG_IsOK(res1
)) {
41196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41198 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41201 result
= (bool)(arg1
)->Hide();
41202 wxPyEndAllowThreads(__tstate
);
41203 if (PyErr_Occurred()) SWIG_fail
;
41206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41214 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41215 PyObject
*resultobj
= 0;
41216 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41217 wxPoint
*arg2
= 0 ;
41222 PyObject
* obj0
= 0 ;
41223 PyObject
* obj1
= 0 ;
41224 char * kwnames
[] = {
41225 (char *) "self",(char *) "pos", NULL
41228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41230 if (!SWIG_IsOK(res1
)) {
41231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41233 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41240 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41241 wxPyEndAllowThreads(__tstate
);
41242 if (PyErr_Occurred()) SWIG_fail
;
41244 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41251 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41252 PyObject
*resultobj
= 0;
41253 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41255 wxPoint
*arg3
= 0 ;
41262 PyObject
* obj0
= 0 ;
41263 PyObject
* obj1
= 0 ;
41264 PyObject
* obj2
= 0 ;
41265 char * kwnames
[] = {
41266 (char *) "self",(char *) "dc",(char *) "pos", NULL
41269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41271 if (!SWIG_IsOK(res1
)) {
41272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41274 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41275 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41276 if (!SWIG_IsOK(res2
)) {
41277 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41280 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41282 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41285 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41289 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41290 wxPyEndAllowThreads(__tstate
);
41291 if (PyErr_Occurred()) SWIG_fail
;
41294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41302 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41303 PyObject
*resultobj
= 0;
41304 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41306 wxMemoryDC
*arg3
= 0 ;
41318 PyObject
* obj0
= 0 ;
41319 PyObject
* obj1
= 0 ;
41320 PyObject
* obj2
= 0 ;
41321 PyObject
* obj3
= 0 ;
41322 PyObject
* obj4
= 0 ;
41323 char * kwnames
[] = {
41324 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41329 if (!SWIG_IsOK(res1
)) {
41330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41332 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41333 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41334 if (!SWIG_IsOK(res2
)) {
41335 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41338 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41340 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41341 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41342 if (!SWIG_IsOK(res3
)) {
41343 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41346 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41348 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41351 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41355 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41359 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41360 wxPyEndAllowThreads(__tstate
);
41361 if (PyErr_Occurred()) SWIG_fail
;
41364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41372 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41373 PyObject
*resultobj
= 0;
41374 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41375 wxPoint
*arg2
= 0 ;
41376 wxPoint
*arg3
= 0 ;
41388 PyObject
* obj0
= 0 ;
41389 PyObject
* obj1
= 0 ;
41390 PyObject
* obj2
= 0 ;
41391 PyObject
* obj3
= 0 ;
41392 PyObject
* obj4
= 0 ;
41393 char * kwnames
[] = {
41394 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41399 if (!SWIG_IsOK(res1
)) {
41400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41402 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41409 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41411 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41412 if (!SWIG_IsOK(ecode4
)) {
41413 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41415 arg4
= static_cast< bool >(val4
);
41416 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41417 if (!SWIG_IsOK(ecode5
)) {
41418 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41420 arg5
= static_cast< bool >(val5
);
41422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41423 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41424 wxPyEndAllowThreads(__tstate
);
41425 if (PyErr_Occurred()) SWIG_fail
;
41428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41436 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41438 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41439 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41440 return SWIG_Py_Void();
41443 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41444 return SWIG_Python_InitShadowInstance(args
);
41447 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41448 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41453 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41454 PyObject
*pyobj
= 0;
41458 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41460 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41467 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41468 PyObject
*resultobj
= 0;
41469 wxWindow
*arg1
= (wxWindow
*) 0 ;
41470 int arg2
= (int) -1 ;
41471 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41472 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41473 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41474 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41475 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41476 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41477 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41478 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41479 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41480 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41481 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41482 wxDatePickerCtrl
*result
= 0 ;
41495 bool temp8
= false ;
41496 PyObject
* obj0
= 0 ;
41497 PyObject
* obj1
= 0 ;
41498 PyObject
* obj2
= 0 ;
41499 PyObject
* obj3
= 0 ;
41500 PyObject
* obj4
= 0 ;
41501 PyObject
* obj5
= 0 ;
41502 PyObject
* obj6
= 0 ;
41503 PyObject
* obj7
= 0 ;
41504 char * kwnames
[] = {
41505 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41510 if (!SWIG_IsOK(res1
)) {
41511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41513 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41516 if (!SWIG_IsOK(ecode2
)) {
41517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41519 arg2
= static_cast< int >(val2
);
41522 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41523 if (!SWIG_IsOK(res3
)) {
41524 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41527 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41529 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41534 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41540 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41544 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41545 if (!SWIG_IsOK(ecode6
)) {
41546 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41548 arg6
= static_cast< long >(val6
);
41551 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41552 if (!SWIG_IsOK(res7
)) {
41553 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41558 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41562 arg8
= wxString_in_helper(obj7
);
41563 if (arg8
== NULL
) SWIG_fail
;
41568 if (!wxPyCheckForApp()) SWIG_fail
;
41569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41570 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41571 wxPyEndAllowThreads(__tstate
);
41572 if (PyErr_Occurred()) SWIG_fail
;
41574 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41589 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41590 PyObject
*resultobj
= 0;
41591 wxDatePickerCtrl
*result
= 0 ;
41593 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41595 if (!wxPyCheckForApp()) SWIG_fail
;
41596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41597 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41598 wxPyEndAllowThreads(__tstate
);
41599 if (PyErr_Occurred()) SWIG_fail
;
41601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41608 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41609 PyObject
*resultobj
= 0;
41610 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41611 wxWindow
*arg2
= (wxWindow
*) 0 ;
41612 int arg3
= (int) -1 ;
41613 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41614 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41615 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41616 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41617 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41618 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41619 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41620 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41621 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41622 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41623 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41639 bool temp9
= false ;
41640 PyObject
* obj0
= 0 ;
41641 PyObject
* obj1
= 0 ;
41642 PyObject
* obj2
= 0 ;
41643 PyObject
* obj3
= 0 ;
41644 PyObject
* obj4
= 0 ;
41645 PyObject
* obj5
= 0 ;
41646 PyObject
* obj6
= 0 ;
41647 PyObject
* obj7
= 0 ;
41648 PyObject
* obj8
= 0 ;
41649 char * kwnames
[] = {
41650 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41655 if (!SWIG_IsOK(res1
)) {
41656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41658 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41659 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41660 if (!SWIG_IsOK(res2
)) {
41661 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41663 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41666 if (!SWIG_IsOK(ecode3
)) {
41667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41669 arg3
= static_cast< int >(val3
);
41672 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41673 if (!SWIG_IsOK(res4
)) {
41674 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41679 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41684 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41690 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41694 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41695 if (!SWIG_IsOK(ecode7
)) {
41696 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41698 arg7
= static_cast< long >(val7
);
41701 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41702 if (!SWIG_IsOK(res8
)) {
41703 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41706 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41708 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41712 arg9
= wxString_in_helper(obj8
);
41713 if (arg9
== NULL
) SWIG_fail
;
41718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41719 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41720 wxPyEndAllowThreads(__tstate
);
41721 if (PyErr_Occurred()) SWIG_fail
;
41724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41740 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41741 PyObject
*resultobj
= 0;
41742 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41743 wxDateTime
*arg2
= 0 ;
41748 PyObject
* obj0
= 0 ;
41749 PyObject
* obj1
= 0 ;
41750 char * kwnames
[] = {
41751 (char *) "self",(char *) "dt", NULL
41754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41756 if (!SWIG_IsOK(res1
)) {
41757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41759 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41760 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41761 if (!SWIG_IsOK(res2
)) {
41762 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41765 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41767 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41770 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41771 wxPyEndAllowThreads(__tstate
);
41772 if (PyErr_Occurred()) SWIG_fail
;
41774 resultobj
= SWIG_Py_Void();
41781 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41782 PyObject
*resultobj
= 0;
41783 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41787 PyObject
*swig_obj
[1] ;
41789 if (!args
) SWIG_fail
;
41790 swig_obj
[0] = args
;
41791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41792 if (!SWIG_IsOK(res1
)) {
41793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41795 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41798 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41799 wxPyEndAllowThreads(__tstate
);
41800 if (PyErr_Occurred()) SWIG_fail
;
41802 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41809 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41810 PyObject
*resultobj
= 0;
41811 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41812 wxDateTime
*arg2
= 0 ;
41813 wxDateTime
*arg3
= 0 ;
41820 PyObject
* obj0
= 0 ;
41821 PyObject
* obj1
= 0 ;
41822 PyObject
* obj2
= 0 ;
41823 char * kwnames
[] = {
41824 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41829 if (!SWIG_IsOK(res1
)) {
41830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41832 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41833 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41834 if (!SWIG_IsOK(res2
)) {
41835 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41838 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41840 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41841 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41842 if (!SWIG_IsOK(res3
)) {
41843 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41848 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41851 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41852 wxPyEndAllowThreads(__tstate
);
41853 if (PyErr_Occurred()) SWIG_fail
;
41855 resultobj
= SWIG_Py_Void();
41862 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41863 PyObject
*resultobj
= 0;
41864 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41868 PyObject
*swig_obj
[1] ;
41870 if (!args
) SWIG_fail
;
41871 swig_obj
[0] = args
;
41872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41873 if (!SWIG_IsOK(res1
)) {
41874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41876 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41879 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41880 wxPyEndAllowThreads(__tstate
);
41881 if (PyErr_Occurred()) SWIG_fail
;
41883 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41890 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41891 PyObject
*resultobj
= 0;
41892 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41896 PyObject
*swig_obj
[1] ;
41898 if (!args
) SWIG_fail
;
41899 swig_obj
[0] = args
;
41900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41901 if (!SWIG_IsOK(res1
)) {
41902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41904 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41907 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41908 wxPyEndAllowThreads(__tstate
);
41909 if (PyErr_Occurred()) SWIG_fail
;
41911 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41918 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41921 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41922 return SWIG_Py_Void();
41925 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41926 return SWIG_Python_InitShadowInstance(args
);
41929 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41930 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41935 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41936 PyObject
*pyobj
= 0;
41940 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41942 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41949 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41950 PyObject
*resultobj
= 0;
41951 wxWindow
*arg1
= (wxWindow
*) 0 ;
41953 wxString
*arg3
= 0 ;
41954 wxString
*arg4
= 0 ;
41955 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41956 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41957 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41958 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41959 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41960 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41961 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41962 wxHyperlinkCtrl
*result
= 0 ;
41967 bool temp3
= false ;
41968 bool temp4
= false ;
41973 bool temp8
= false ;
41974 PyObject
* obj0
= 0 ;
41975 PyObject
* obj1
= 0 ;
41976 PyObject
* obj2
= 0 ;
41977 PyObject
* obj3
= 0 ;
41978 PyObject
* obj4
= 0 ;
41979 PyObject
* obj5
= 0 ;
41980 PyObject
* obj6
= 0 ;
41981 PyObject
* obj7
= 0 ;
41982 char * kwnames
[] = {
41983 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41988 if (!SWIG_IsOK(res1
)) {
41989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41991 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41993 if (!SWIG_IsOK(ecode2
)) {
41994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41996 arg2
= static_cast< int >(val2
);
41998 arg3
= wxString_in_helper(obj2
);
41999 if (arg3
== NULL
) SWIG_fail
;
42003 arg4
= wxString_in_helper(obj3
);
42004 if (arg4
== NULL
) SWIG_fail
;
42010 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42016 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42020 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42021 if (!SWIG_IsOK(ecode7
)) {
42022 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42024 arg7
= static_cast< long >(val7
);
42028 arg8
= wxString_in_helper(obj7
);
42029 if (arg8
== NULL
) SWIG_fail
;
42034 if (!wxPyCheckForApp()) SWIG_fail
;
42035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42036 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42037 wxPyEndAllowThreads(__tstate
);
42038 if (PyErr_Occurred()) SWIG_fail
;
42040 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42071 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42072 PyObject
*resultobj
= 0;
42073 wxHyperlinkCtrl
*result
= 0 ;
42075 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42077 if (!wxPyCheckForApp()) SWIG_fail
;
42078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42079 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42080 wxPyEndAllowThreads(__tstate
);
42081 if (PyErr_Occurred()) SWIG_fail
;
42083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42090 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42091 PyObject
*resultobj
= 0;
42092 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42093 wxWindow
*arg2
= (wxWindow
*) 0 ;
42095 wxString
*arg4
= 0 ;
42096 wxString
*arg5
= 0 ;
42097 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42098 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42099 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42100 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42101 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42102 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42103 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42111 bool temp4
= false ;
42112 bool temp5
= false ;
42117 bool temp9
= false ;
42118 PyObject
* obj0
= 0 ;
42119 PyObject
* obj1
= 0 ;
42120 PyObject
* obj2
= 0 ;
42121 PyObject
* obj3
= 0 ;
42122 PyObject
* obj4
= 0 ;
42123 PyObject
* obj5
= 0 ;
42124 PyObject
* obj6
= 0 ;
42125 PyObject
* obj7
= 0 ;
42126 PyObject
* obj8
= 0 ;
42127 char * kwnames
[] = {
42128 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42133 if (!SWIG_IsOK(res1
)) {
42134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42136 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42138 if (!SWIG_IsOK(res2
)) {
42139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42141 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42142 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42143 if (!SWIG_IsOK(ecode3
)) {
42144 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42146 arg3
= static_cast< int >(val3
);
42148 arg4
= wxString_in_helper(obj3
);
42149 if (arg4
== NULL
) SWIG_fail
;
42153 arg5
= wxString_in_helper(obj4
);
42154 if (arg5
== NULL
) SWIG_fail
;
42160 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42166 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42170 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42171 if (!SWIG_IsOK(ecode8
)) {
42172 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42174 arg8
= static_cast< long >(val8
);
42178 arg9
= wxString_in_helper(obj8
);
42179 if (arg9
== NULL
) SWIG_fail
;
42184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42185 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42186 wxPyEndAllowThreads(__tstate
);
42187 if (PyErr_Occurred()) SWIG_fail
;
42190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42222 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42223 PyObject
*resultobj
= 0;
42224 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42228 PyObject
*swig_obj
[1] ;
42230 if (!args
) SWIG_fail
;
42231 swig_obj
[0] = args
;
42232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42233 if (!SWIG_IsOK(res1
)) {
42234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42236 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42239 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42240 wxPyEndAllowThreads(__tstate
);
42241 if (PyErr_Occurred()) SWIG_fail
;
42243 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42250 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42251 PyObject
*resultobj
= 0;
42252 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42253 wxColour
*arg2
= 0 ;
42257 PyObject
* obj0
= 0 ;
42258 PyObject
* obj1
= 0 ;
42259 char * kwnames
[] = {
42260 (char *) "self",(char *) "colour", NULL
42263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42265 if (!SWIG_IsOK(res1
)) {
42266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42268 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42271 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42275 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42276 wxPyEndAllowThreads(__tstate
);
42277 if (PyErr_Occurred()) SWIG_fail
;
42279 resultobj
= SWIG_Py_Void();
42286 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42287 PyObject
*resultobj
= 0;
42288 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42292 PyObject
*swig_obj
[1] ;
42294 if (!args
) SWIG_fail
;
42295 swig_obj
[0] = args
;
42296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42297 if (!SWIG_IsOK(res1
)) {
42298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42300 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42303 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42304 wxPyEndAllowThreads(__tstate
);
42305 if (PyErr_Occurred()) SWIG_fail
;
42307 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42314 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42315 PyObject
*resultobj
= 0;
42316 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42317 wxColour
*arg2
= 0 ;
42321 PyObject
* obj0
= 0 ;
42322 PyObject
* obj1
= 0 ;
42323 char * kwnames
[] = {
42324 (char *) "self",(char *) "colour", NULL
42327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42329 if (!SWIG_IsOK(res1
)) {
42330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42332 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42335 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42339 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42340 wxPyEndAllowThreads(__tstate
);
42341 if (PyErr_Occurred()) SWIG_fail
;
42343 resultobj
= SWIG_Py_Void();
42350 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42351 PyObject
*resultobj
= 0;
42352 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42356 PyObject
*swig_obj
[1] ;
42358 if (!args
) SWIG_fail
;
42359 swig_obj
[0] = args
;
42360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42361 if (!SWIG_IsOK(res1
)) {
42362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42364 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42367 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42368 wxPyEndAllowThreads(__tstate
);
42369 if (PyErr_Occurred()) SWIG_fail
;
42371 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42378 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42379 PyObject
*resultobj
= 0;
42380 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42381 wxColour
*arg2
= 0 ;
42385 PyObject
* obj0
= 0 ;
42386 PyObject
* obj1
= 0 ;
42387 char * kwnames
[] = {
42388 (char *) "self",(char *) "colour", NULL
42391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42393 if (!SWIG_IsOK(res1
)) {
42394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42396 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42399 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42403 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42404 wxPyEndAllowThreads(__tstate
);
42405 if (PyErr_Occurred()) SWIG_fail
;
42407 resultobj
= SWIG_Py_Void();
42414 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42415 PyObject
*resultobj
= 0;
42416 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42420 PyObject
*swig_obj
[1] ;
42422 if (!args
) SWIG_fail
;
42423 swig_obj
[0] = args
;
42424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42425 if (!SWIG_IsOK(res1
)) {
42426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42428 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42431 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42432 wxPyEndAllowThreads(__tstate
);
42433 if (PyErr_Occurred()) SWIG_fail
;
42437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42448 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42449 PyObject
*resultobj
= 0;
42450 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42451 wxString
*arg2
= 0 ;
42454 bool temp2
= false ;
42455 PyObject
* obj0
= 0 ;
42456 PyObject
* obj1
= 0 ;
42457 char * kwnames
[] = {
42458 (char *) "self",(char *) "url", NULL
42461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42463 if (!SWIG_IsOK(res1
)) {
42464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42466 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42468 arg2
= wxString_in_helper(obj1
);
42469 if (arg2
== NULL
) SWIG_fail
;
42473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42474 (arg1
)->SetURL((wxString
const &)*arg2
);
42475 wxPyEndAllowThreads(__tstate
);
42476 if (PyErr_Occurred()) SWIG_fail
;
42478 resultobj
= SWIG_Py_Void();
42493 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42494 PyObject
*resultobj
= 0;
42495 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42496 bool arg2
= (bool) true ;
42501 PyObject
* obj0
= 0 ;
42502 PyObject
* obj1
= 0 ;
42503 char * kwnames
[] = {
42504 (char *) "self",(char *) "visited", NULL
42507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42509 if (!SWIG_IsOK(res1
)) {
42510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42512 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42514 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42515 if (!SWIG_IsOK(ecode2
)) {
42516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42518 arg2
= static_cast< bool >(val2
);
42521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42522 (arg1
)->SetVisited(arg2
);
42523 wxPyEndAllowThreads(__tstate
);
42524 if (PyErr_Occurred()) SWIG_fail
;
42526 resultobj
= SWIG_Py_Void();
42533 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42534 PyObject
*resultobj
= 0;
42535 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42539 PyObject
*swig_obj
[1] ;
42541 if (!args
) SWIG_fail
;
42542 swig_obj
[0] = args
;
42543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42544 if (!SWIG_IsOK(res1
)) {
42545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42547 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42550 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42551 wxPyEndAllowThreads(__tstate
);
42552 if (PyErr_Occurred()) SWIG_fail
;
42555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42563 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42566 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42567 return SWIG_Py_Void();
42570 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42571 return SWIG_Python_InitShadowInstance(args
);
42574 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42575 PyObject
*resultobj
= 0;
42576 wxObject
*arg1
= (wxObject
*) 0 ;
42578 wxString
*arg3
= 0 ;
42579 wxHyperlinkEvent
*result
= 0 ;
42584 bool temp3
= false ;
42585 PyObject
* obj0
= 0 ;
42586 PyObject
* obj1
= 0 ;
42587 PyObject
* obj2
= 0 ;
42588 char * kwnames
[] = {
42589 (char *) "generator",(char *) "id",(char *) "url", NULL
42592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42594 if (!SWIG_IsOK(res1
)) {
42595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42597 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42599 if (!SWIG_IsOK(ecode2
)) {
42600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42602 arg2
= static_cast< int >(val2
);
42604 arg3
= wxString_in_helper(obj2
);
42605 if (arg3
== NULL
) SWIG_fail
;
42609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42610 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42611 wxPyEndAllowThreads(__tstate
);
42612 if (PyErr_Occurred()) SWIG_fail
;
42614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42629 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42630 PyObject
*resultobj
= 0;
42631 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42635 PyObject
*swig_obj
[1] ;
42637 if (!args
) SWIG_fail
;
42638 swig_obj
[0] = args
;
42639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42640 if (!SWIG_IsOK(res1
)) {
42641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42643 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42646 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42647 wxPyEndAllowThreads(__tstate
);
42648 if (PyErr_Occurred()) SWIG_fail
;
42652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42663 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42664 PyObject
*resultobj
= 0;
42665 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42666 wxString
*arg2
= 0 ;
42669 bool temp2
= false ;
42670 PyObject
* obj0
= 0 ;
42671 PyObject
* obj1
= 0 ;
42672 char * kwnames
[] = {
42673 (char *) "self",(char *) "url", NULL
42676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42678 if (!SWIG_IsOK(res1
)) {
42679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42681 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42683 arg2
= wxString_in_helper(obj1
);
42684 if (arg2
== NULL
) SWIG_fail
;
42688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42689 (arg1
)->SetURL((wxString
const &)*arg2
);
42690 wxPyEndAllowThreads(__tstate
);
42691 if (PyErr_Occurred()) SWIG_fail
;
42693 resultobj
= SWIG_Py_Void();
42708 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42710 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42711 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42712 return SWIG_Py_Void();
42715 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42716 return SWIG_Python_InitShadowInstance(args
);
42719 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42720 PyObject
*resultobj
= 0;
42721 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42722 wxWindow
*arg2
= (wxWindow
*) 0 ;
42724 wxString
const &arg4_defvalue
= wxEmptyString
;
42725 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42726 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42727 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42728 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42729 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42730 long arg7
= (long) 0 ;
42731 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42732 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42733 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42734 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42742 bool temp4
= false ;
42749 bool temp9
= false ;
42750 PyObject
* obj0
= 0 ;
42751 PyObject
* obj1
= 0 ;
42752 PyObject
* obj2
= 0 ;
42753 PyObject
* obj3
= 0 ;
42754 PyObject
* obj4
= 0 ;
42755 PyObject
* obj5
= 0 ;
42756 PyObject
* obj6
= 0 ;
42757 PyObject
* obj7
= 0 ;
42758 PyObject
* obj8
= 0 ;
42759 char * kwnames
[] = {
42760 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42765 if (!SWIG_IsOK(res1
)) {
42766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42768 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42770 if (!SWIG_IsOK(res2
)) {
42771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42773 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42774 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42775 if (!SWIG_IsOK(ecode3
)) {
42776 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42778 arg3
= static_cast< int >(val3
);
42781 arg4
= wxString_in_helper(obj3
);
42782 if (arg4
== NULL
) SWIG_fail
;
42789 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42795 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42799 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42800 if (!SWIG_IsOK(ecode7
)) {
42801 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42803 arg7
= static_cast< long >(val7
);
42806 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42807 if (!SWIG_IsOK(res8
)) {
42808 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42813 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42817 arg9
= wxString_in_helper(obj8
);
42818 if (arg9
== NULL
) SWIG_fail
;
42823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42824 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42825 wxPyEndAllowThreads(__tstate
);
42826 if (PyErr_Occurred()) SWIG_fail
;
42829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42853 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42854 PyObject
*resultobj
= 0;
42855 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42861 PyObject
* obj0
= 0 ;
42862 PyObject
* obj1
= 0 ;
42863 char * kwnames
[] = {
42864 (char *) "self",(char *) "newmargin", NULL
42867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42869 if (!SWIG_IsOK(res1
)) {
42870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42872 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42874 if (!SWIG_IsOK(ecode2
)) {
42875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42877 arg2
= static_cast< int >(val2
);
42879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42880 (arg1
)->SetInternalMargin(arg2
);
42881 wxPyEndAllowThreads(__tstate
);
42882 if (PyErr_Occurred()) SWIG_fail
;
42884 resultobj
= SWIG_Py_Void();
42891 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42892 PyObject
*resultobj
= 0;
42893 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42897 PyObject
*swig_obj
[1] ;
42899 if (!args
) SWIG_fail
;
42900 swig_obj
[0] = args
;
42901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42902 if (!SWIG_IsOK(res1
)) {
42903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42905 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42908 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42909 wxPyEndAllowThreads(__tstate
);
42910 if (PyErr_Occurred()) SWIG_fail
;
42912 resultobj
= SWIG_From_int(static_cast< int >(result
));
42919 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42920 PyObject
*resultobj
= 0;
42921 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42927 PyObject
* obj0
= 0 ;
42928 PyObject
* obj1
= 0 ;
42929 char * kwnames
[] = {
42930 (char *) "self",(char *) "prop", NULL
42933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42935 if (!SWIG_IsOK(res1
)) {
42936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42938 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42940 if (!SWIG_IsOK(ecode2
)) {
42941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42943 arg2
= static_cast< int >(val2
);
42945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42946 (arg1
)->SetTextCtrlProportion(arg2
);
42947 wxPyEndAllowThreads(__tstate
);
42948 if (PyErr_Occurred()) SWIG_fail
;
42950 resultobj
= SWIG_Py_Void();
42957 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42958 PyObject
*resultobj
= 0;
42959 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42963 PyObject
*swig_obj
[1] ;
42965 if (!args
) SWIG_fail
;
42966 swig_obj
[0] = args
;
42967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42968 if (!SWIG_IsOK(res1
)) {
42969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42971 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42974 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42975 wxPyEndAllowThreads(__tstate
);
42976 if (PyErr_Occurred()) SWIG_fail
;
42978 resultobj
= SWIG_From_int(static_cast< int >(result
));
42985 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42986 PyObject
*resultobj
= 0;
42987 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42993 PyObject
* obj0
= 0 ;
42994 PyObject
* obj1
= 0 ;
42995 char * kwnames
[] = {
42996 (char *) "self",(char *) "prop", NULL
42999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43001 if (!SWIG_IsOK(res1
)) {
43002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43004 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43006 if (!SWIG_IsOK(ecode2
)) {
43007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43009 arg2
= static_cast< int >(val2
);
43011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43012 (arg1
)->SetPickerCtrlProportion(arg2
);
43013 wxPyEndAllowThreads(__tstate
);
43014 if (PyErr_Occurred()) SWIG_fail
;
43016 resultobj
= SWIG_Py_Void();
43023 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43024 PyObject
*resultobj
= 0;
43025 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43029 PyObject
*swig_obj
[1] ;
43031 if (!args
) SWIG_fail
;
43032 swig_obj
[0] = args
;
43033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43034 if (!SWIG_IsOK(res1
)) {
43035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43037 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43040 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43041 wxPyEndAllowThreads(__tstate
);
43042 if (PyErr_Occurred()) SWIG_fail
;
43044 resultobj
= SWIG_From_int(static_cast< int >(result
));
43051 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43052 PyObject
*resultobj
= 0;
43053 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43057 PyObject
*swig_obj
[1] ;
43059 if (!args
) SWIG_fail
;
43060 swig_obj
[0] = args
;
43061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43062 if (!SWIG_IsOK(res1
)) {
43063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43065 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43068 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43069 wxPyEndAllowThreads(__tstate
);
43070 if (PyErr_Occurred()) SWIG_fail
;
43073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43081 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43082 PyObject
*resultobj
= 0;
43083 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43084 bool arg2
= (bool) true ;
43089 PyObject
* obj0
= 0 ;
43090 PyObject
* obj1
= 0 ;
43091 char * kwnames
[] = {
43092 (char *) "self",(char *) "grow", NULL
43095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43097 if (!SWIG_IsOK(res1
)) {
43098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43100 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43102 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43103 if (!SWIG_IsOK(ecode2
)) {
43104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43106 arg2
= static_cast< bool >(val2
);
43109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43110 (arg1
)->SetTextCtrlGrowable(arg2
);
43111 wxPyEndAllowThreads(__tstate
);
43112 if (PyErr_Occurred()) SWIG_fail
;
43114 resultobj
= SWIG_Py_Void();
43121 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43122 PyObject
*resultobj
= 0;
43123 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43127 PyObject
*swig_obj
[1] ;
43129 if (!args
) SWIG_fail
;
43130 swig_obj
[0] = args
;
43131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43132 if (!SWIG_IsOK(res1
)) {
43133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43135 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43138 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43139 wxPyEndAllowThreads(__tstate
);
43140 if (PyErr_Occurred()) SWIG_fail
;
43143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43151 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43152 PyObject
*resultobj
= 0;
43153 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43154 bool arg2
= (bool) true ;
43159 PyObject
* obj0
= 0 ;
43160 PyObject
* obj1
= 0 ;
43161 char * kwnames
[] = {
43162 (char *) "self",(char *) "grow", NULL
43165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43167 if (!SWIG_IsOK(res1
)) {
43168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43170 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43172 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43173 if (!SWIG_IsOK(ecode2
)) {
43174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43176 arg2
= static_cast< bool >(val2
);
43179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43180 (arg1
)->SetPickerCtrlGrowable(arg2
);
43181 wxPyEndAllowThreads(__tstate
);
43182 if (PyErr_Occurred()) SWIG_fail
;
43184 resultobj
= SWIG_Py_Void();
43191 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43192 PyObject
*resultobj
= 0;
43193 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43197 PyObject
*swig_obj
[1] ;
43199 if (!args
) SWIG_fail
;
43200 swig_obj
[0] = args
;
43201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43202 if (!SWIG_IsOK(res1
)) {
43203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43205 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43208 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43209 wxPyEndAllowThreads(__tstate
);
43210 if (PyErr_Occurred()) SWIG_fail
;
43213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43221 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43222 PyObject
*resultobj
= 0;
43223 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43224 wxTextCtrl
*result
= 0 ;
43227 PyObject
*swig_obj
[1] ;
43229 if (!args
) SWIG_fail
;
43230 swig_obj
[0] = args
;
43231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43232 if (!SWIG_IsOK(res1
)) {
43233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43235 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43238 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43239 wxPyEndAllowThreads(__tstate
);
43240 if (PyErr_Occurred()) SWIG_fail
;
43243 resultobj
= wxPyMake_wxObject(result
, 0);
43251 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43252 PyObject
*resultobj
= 0;
43253 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43254 wxControl
*result
= 0 ;
43257 PyObject
*swig_obj
[1] ;
43259 if (!args
) SWIG_fail
;
43260 swig_obj
[0] = args
;
43261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43262 if (!SWIG_IsOK(res1
)) {
43263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43265 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43268 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43269 wxPyEndAllowThreads(__tstate
);
43270 if (PyErr_Occurred()) SWIG_fail
;
43273 resultobj
= wxPyMake_wxObject(result
, 0);
43281 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43283 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43284 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43285 return SWIG_Py_Void();
43288 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43289 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43294 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43295 PyObject
*pyobj
= 0;
43299 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43301 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43308 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43309 PyObject
*resultobj
= 0;
43310 wxWindow
*arg1
= (wxWindow
*) 0 ;
43311 int arg2
= (int) -1 ;
43312 wxColour
const &arg3_defvalue
= *wxBLACK
;
43313 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43314 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43315 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43316 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43317 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43318 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43319 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43320 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43321 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43322 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43323 wxColourPickerCtrl
*result
= 0 ;
43335 bool temp8
= false ;
43336 PyObject
* obj0
= 0 ;
43337 PyObject
* obj1
= 0 ;
43338 PyObject
* obj2
= 0 ;
43339 PyObject
* obj3
= 0 ;
43340 PyObject
* obj4
= 0 ;
43341 PyObject
* obj5
= 0 ;
43342 PyObject
* obj6
= 0 ;
43343 PyObject
* obj7
= 0 ;
43344 char * kwnames
[] = {
43345 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43350 if (!SWIG_IsOK(res1
)) {
43351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43353 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43356 if (!SWIG_IsOK(ecode2
)) {
43357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43359 arg2
= static_cast< int >(val2
);
43364 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43370 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43376 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43380 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43381 if (!SWIG_IsOK(ecode6
)) {
43382 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43384 arg6
= static_cast< long >(val6
);
43387 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43388 if (!SWIG_IsOK(res7
)) {
43389 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43394 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43398 arg8
= wxString_in_helper(obj7
);
43399 if (arg8
== NULL
) SWIG_fail
;
43404 if (!wxPyCheckForApp()) SWIG_fail
;
43405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43406 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43407 wxPyEndAllowThreads(__tstate
);
43408 if (PyErr_Occurred()) SWIG_fail
;
43410 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43425 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43426 PyObject
*resultobj
= 0;
43427 wxColourPickerCtrl
*result
= 0 ;
43429 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43431 if (!wxPyCheckForApp()) SWIG_fail
;
43432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43433 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43434 wxPyEndAllowThreads(__tstate
);
43435 if (PyErr_Occurred()) SWIG_fail
;
43437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43444 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43445 PyObject
*resultobj
= 0;
43446 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43447 wxWindow
*arg2
= (wxWindow
*) 0 ;
43449 wxColour
const &arg4_defvalue
= *wxBLACK
;
43450 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43451 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43452 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43453 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43454 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43455 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43456 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43457 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43458 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43459 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43474 bool temp9
= false ;
43475 PyObject
* obj0
= 0 ;
43476 PyObject
* obj1
= 0 ;
43477 PyObject
* obj2
= 0 ;
43478 PyObject
* obj3
= 0 ;
43479 PyObject
* obj4
= 0 ;
43480 PyObject
* obj5
= 0 ;
43481 PyObject
* obj6
= 0 ;
43482 PyObject
* obj7
= 0 ;
43483 PyObject
* obj8
= 0 ;
43484 char * kwnames
[] = {
43485 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43490 if (!SWIG_IsOK(res1
)) {
43491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43493 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43495 if (!SWIG_IsOK(res2
)) {
43496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43498 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43499 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43500 if (!SWIG_IsOK(ecode3
)) {
43501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43503 arg3
= static_cast< int >(val3
);
43507 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43513 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43519 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43523 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43524 if (!SWIG_IsOK(ecode7
)) {
43525 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43527 arg7
= static_cast< long >(val7
);
43530 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43531 if (!SWIG_IsOK(res8
)) {
43532 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43537 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43541 arg9
= wxString_in_helper(obj8
);
43542 if (arg9
== NULL
) SWIG_fail
;
43547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43548 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43549 wxPyEndAllowThreads(__tstate
);
43550 if (PyErr_Occurred()) SWIG_fail
;
43553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43569 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43570 PyObject
*resultobj
= 0;
43571 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43575 PyObject
*swig_obj
[1] ;
43577 if (!args
) SWIG_fail
;
43578 swig_obj
[0] = args
;
43579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43580 if (!SWIG_IsOK(res1
)) {
43581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43583 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43586 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43587 wxPyEndAllowThreads(__tstate
);
43588 if (PyErr_Occurred()) SWIG_fail
;
43590 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43597 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43598 PyObject
*resultobj
= 0;
43599 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43600 wxColour
*arg2
= 0 ;
43604 PyObject
* obj0
= 0 ;
43605 PyObject
* obj1
= 0 ;
43606 char * kwnames
[] = {
43607 (char *) "self",(char *) "col", NULL
43610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43612 if (!SWIG_IsOK(res1
)) {
43613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43615 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43618 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43622 (arg1
)->SetColour((wxColour
const &)*arg2
);
43623 wxPyEndAllowThreads(__tstate
);
43624 if (PyErr_Occurred()) SWIG_fail
;
43626 resultobj
= SWIG_Py_Void();
43633 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43636 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43637 return SWIG_Py_Void();
43640 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43641 return SWIG_Python_InitShadowInstance(args
);
43644 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43645 PyObject
*resultobj
= 0;
43646 wxObject
*arg1
= (wxObject
*) 0 ;
43648 wxColour
*arg3
= 0 ;
43649 wxColourPickerEvent
*result
= 0 ;
43655 PyObject
* obj0
= 0 ;
43656 PyObject
* obj1
= 0 ;
43657 PyObject
* obj2
= 0 ;
43658 char * kwnames
[] = {
43659 (char *) "generator",(char *) "id",(char *) "col", NULL
43662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43664 if (!SWIG_IsOK(res1
)) {
43665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43667 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43669 if (!SWIG_IsOK(ecode2
)) {
43670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43672 arg2
= static_cast< int >(val2
);
43675 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43679 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43680 wxPyEndAllowThreads(__tstate
);
43681 if (PyErr_Occurred()) SWIG_fail
;
43683 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43690 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43691 PyObject
*resultobj
= 0;
43692 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43696 PyObject
*swig_obj
[1] ;
43698 if (!args
) SWIG_fail
;
43699 swig_obj
[0] = args
;
43700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43701 if (!SWIG_IsOK(res1
)) {
43702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43704 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43707 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43708 wxPyEndAllowThreads(__tstate
);
43709 if (PyErr_Occurred()) SWIG_fail
;
43711 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43718 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43719 PyObject
*resultobj
= 0;
43720 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43721 wxColour
*arg2
= 0 ;
43725 PyObject
* obj0
= 0 ;
43726 PyObject
* obj1
= 0 ;
43727 char * kwnames
[] = {
43728 (char *) "self",(char *) "c", NULL
43731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43733 if (!SWIG_IsOK(res1
)) {
43734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43736 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43739 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43743 (arg1
)->SetColour((wxColour
const &)*arg2
);
43744 wxPyEndAllowThreads(__tstate
);
43745 if (PyErr_Occurred()) SWIG_fail
;
43747 resultobj
= SWIG_Py_Void();
43754 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43756 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43757 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43758 return SWIG_Py_Void();
43761 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43762 return SWIG_Python_InitShadowInstance(args
);
43765 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43766 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43771 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43772 PyObject
*pyobj
= 0;
43776 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43778 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43785 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43786 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43791 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43792 PyObject
*pyobj
= 0;
43796 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43798 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43805 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43806 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43811 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43812 PyObject
*pyobj
= 0;
43816 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43818 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43825 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43826 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43831 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43832 PyObject
*pyobj
= 0;
43836 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43838 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43845 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43846 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43851 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43852 PyObject
*pyobj
= 0;
43856 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43858 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43865 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43866 PyObject
*resultobj
= 0;
43867 wxWindow
*arg1
= (wxWindow
*) 0 ;
43868 int arg2
= (int) -1 ;
43869 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43870 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43871 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43872 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43873 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43874 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43875 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43876 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43877 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43878 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43879 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43880 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43881 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43882 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43883 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43884 wxFilePickerCtrl
*result
= 0 ;
43889 bool temp3
= false ;
43890 bool temp4
= false ;
43891 bool temp5
= false ;
43898 bool temp10
= false ;
43899 PyObject
* obj0
= 0 ;
43900 PyObject
* obj1
= 0 ;
43901 PyObject
* obj2
= 0 ;
43902 PyObject
* obj3
= 0 ;
43903 PyObject
* obj4
= 0 ;
43904 PyObject
* obj5
= 0 ;
43905 PyObject
* obj6
= 0 ;
43906 PyObject
* obj7
= 0 ;
43907 PyObject
* obj8
= 0 ;
43908 PyObject
* obj9
= 0 ;
43909 char * kwnames
[] = {
43910 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43915 if (!SWIG_IsOK(res1
)) {
43916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43918 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43921 if (!SWIG_IsOK(ecode2
)) {
43922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43924 arg2
= static_cast< int >(val2
);
43928 arg3
= wxString_in_helper(obj2
);
43929 if (arg3
== NULL
) SWIG_fail
;
43935 arg4
= wxString_in_helper(obj3
);
43936 if (arg4
== NULL
) SWIG_fail
;
43942 arg5
= wxString_in_helper(obj4
);
43943 if (arg5
== NULL
) SWIG_fail
;
43950 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43956 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43960 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43961 if (!SWIG_IsOK(ecode8
)) {
43962 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43964 arg8
= static_cast< long >(val8
);
43967 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43968 if (!SWIG_IsOK(res9
)) {
43969 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43972 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43974 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43978 arg10
= wxString_in_helper(obj9
);
43979 if (arg10
== NULL
) SWIG_fail
;
43984 if (!wxPyCheckForApp()) SWIG_fail
;
43985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43986 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
43987 wxPyEndAllowThreads(__tstate
);
43988 if (PyErr_Occurred()) SWIG_fail
;
43990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44029 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44030 PyObject
*resultobj
= 0;
44031 wxFilePickerCtrl
*result
= 0 ;
44033 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44035 if (!wxPyCheckForApp()) SWIG_fail
;
44036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44037 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44038 wxPyEndAllowThreads(__tstate
);
44039 if (PyErr_Occurred()) SWIG_fail
;
44041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44048 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44049 PyObject
*resultobj
= 0;
44050 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44051 wxWindow
*arg2
= (wxWindow
*) 0 ;
44052 int arg3
= (int) -1 ;
44053 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44054 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44055 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44056 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44057 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44058 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44059 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44060 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44061 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44062 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44063 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44064 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44065 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44066 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44067 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44075 bool temp4
= false ;
44076 bool temp5
= false ;
44077 bool temp6
= false ;
44084 bool temp11
= false ;
44085 PyObject
* obj0
= 0 ;
44086 PyObject
* obj1
= 0 ;
44087 PyObject
* obj2
= 0 ;
44088 PyObject
* obj3
= 0 ;
44089 PyObject
* obj4
= 0 ;
44090 PyObject
* obj5
= 0 ;
44091 PyObject
* obj6
= 0 ;
44092 PyObject
* obj7
= 0 ;
44093 PyObject
* obj8
= 0 ;
44094 PyObject
* obj9
= 0 ;
44095 PyObject
* obj10
= 0 ;
44096 char * kwnames
[] = {
44097 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44102 if (!SWIG_IsOK(res1
)) {
44103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44105 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44106 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44107 if (!SWIG_IsOK(res2
)) {
44108 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44110 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44113 if (!SWIG_IsOK(ecode3
)) {
44114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44116 arg3
= static_cast< int >(val3
);
44120 arg4
= wxString_in_helper(obj3
);
44121 if (arg4
== NULL
) SWIG_fail
;
44127 arg5
= wxString_in_helper(obj4
);
44128 if (arg5
== NULL
) SWIG_fail
;
44134 arg6
= wxString_in_helper(obj5
);
44135 if (arg6
== NULL
) SWIG_fail
;
44142 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44148 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44152 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44153 if (!SWIG_IsOK(ecode9
)) {
44154 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44156 arg9
= static_cast< long >(val9
);
44159 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44160 if (!SWIG_IsOK(res10
)) {
44161 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44166 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44170 arg11
= wxString_in_helper(obj10
);
44171 if (arg11
== NULL
) SWIG_fail
;
44176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44177 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxString
const &)*arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
44178 wxPyEndAllowThreads(__tstate
);
44179 if (PyErr_Occurred()) SWIG_fail
;
44182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44222 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44223 PyObject
*resultobj
= 0;
44224 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44228 PyObject
*swig_obj
[1] ;
44230 if (!args
) SWIG_fail
;
44231 swig_obj
[0] = args
;
44232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44233 if (!SWIG_IsOK(res1
)) {
44234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44236 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44239 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44240 wxPyEndAllowThreads(__tstate
);
44241 if (PyErr_Occurred()) SWIG_fail
;
44245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44256 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44257 PyObject
*resultobj
= 0;
44258 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44259 wxString
*arg2
= 0 ;
44262 bool temp2
= false ;
44263 PyObject
* obj0
= 0 ;
44264 PyObject
* obj1
= 0 ;
44265 char * kwnames
[] = {
44266 (char *) "self",(char *) "str", NULL
44269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44271 if (!SWIG_IsOK(res1
)) {
44272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44274 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44276 arg2
= wxString_in_helper(obj1
);
44277 if (arg2
== NULL
) SWIG_fail
;
44281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44282 (arg1
)->SetPath((wxString
const &)*arg2
);
44283 wxPyEndAllowThreads(__tstate
);
44284 if (PyErr_Occurred()) SWIG_fail
;
44286 resultobj
= SWIG_Py_Void();
44301 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44302 PyObject
*resultobj
= 0;
44303 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44304 wxString
*arg2
= 0 ;
44308 bool temp2
= false ;
44309 PyObject
* obj0
= 0 ;
44310 PyObject
* obj1
= 0 ;
44311 char * kwnames
[] = {
44312 (char *) "self",(char *) "path", NULL
44315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44317 if (!SWIG_IsOK(res1
)) {
44318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44320 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44322 arg2
= wxString_in_helper(obj1
);
44323 if (arg2
== NULL
) SWIG_fail
;
44327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44328 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44329 wxPyEndAllowThreads(__tstate
);
44330 if (PyErr_Occurred()) SWIG_fail
;
44333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44349 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44350 PyObject
*resultobj
= 0;
44351 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44355 PyObject
*swig_obj
[1] ;
44357 if (!args
) SWIG_fail
;
44358 swig_obj
[0] = args
;
44359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44360 if (!SWIG_IsOK(res1
)) {
44361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44363 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44366 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44367 wxPyEndAllowThreads(__tstate
);
44368 if (PyErr_Occurred()) SWIG_fail
;
44372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44383 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44386 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44387 return SWIG_Py_Void();
44390 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44391 return SWIG_Python_InitShadowInstance(args
);
44394 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44395 PyObject
*resultobj
= 0;
44396 wxWindow
*arg1
= (wxWindow
*) 0 ;
44397 int arg2
= (int) -1 ;
44398 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44399 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44400 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44401 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44402 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44403 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44404 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44405 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44406 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44407 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44408 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44409 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44410 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44411 wxDirPickerCtrl
*result
= 0 ;
44416 bool temp3
= false ;
44417 bool temp4
= false ;
44424 bool temp9
= false ;
44425 PyObject
* obj0
= 0 ;
44426 PyObject
* obj1
= 0 ;
44427 PyObject
* obj2
= 0 ;
44428 PyObject
* obj3
= 0 ;
44429 PyObject
* obj4
= 0 ;
44430 PyObject
* obj5
= 0 ;
44431 PyObject
* obj6
= 0 ;
44432 PyObject
* obj7
= 0 ;
44433 PyObject
* obj8
= 0 ;
44434 char * kwnames
[] = {
44435 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44440 if (!SWIG_IsOK(res1
)) {
44441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44446 if (!SWIG_IsOK(ecode2
)) {
44447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44449 arg2
= static_cast< int >(val2
);
44453 arg3
= wxString_in_helper(obj2
);
44454 if (arg3
== NULL
) SWIG_fail
;
44460 arg4
= wxString_in_helper(obj3
);
44461 if (arg4
== NULL
) SWIG_fail
;
44468 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44474 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44478 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44479 if (!SWIG_IsOK(ecode7
)) {
44480 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44482 arg7
= static_cast< long >(val7
);
44485 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44486 if (!SWIG_IsOK(res8
)) {
44487 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44492 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44496 arg9
= wxString_in_helper(obj8
);
44497 if (arg9
== NULL
) SWIG_fail
;
44502 if (!wxPyCheckForApp()) SWIG_fail
;
44503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44504 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
44505 wxPyEndAllowThreads(__tstate
);
44506 if (PyErr_Occurred()) SWIG_fail
;
44508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44539 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44540 PyObject
*resultobj
= 0;
44541 wxDirPickerCtrl
*result
= 0 ;
44543 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44545 if (!wxPyCheckForApp()) SWIG_fail
;
44546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44547 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44548 wxPyEndAllowThreads(__tstate
);
44549 if (PyErr_Occurred()) SWIG_fail
;
44551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44558 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44559 PyObject
*resultobj
= 0;
44560 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44561 wxWindow
*arg2
= (wxWindow
*) 0 ;
44562 int arg3
= (int) -1 ;
44563 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44564 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44565 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44566 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44567 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44568 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44569 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44570 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44571 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44572 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44573 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44574 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44575 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44583 bool temp4
= false ;
44584 bool temp5
= false ;
44591 bool temp10
= false ;
44592 PyObject
* obj0
= 0 ;
44593 PyObject
* obj1
= 0 ;
44594 PyObject
* obj2
= 0 ;
44595 PyObject
* obj3
= 0 ;
44596 PyObject
* obj4
= 0 ;
44597 PyObject
* obj5
= 0 ;
44598 PyObject
* obj6
= 0 ;
44599 PyObject
* obj7
= 0 ;
44600 PyObject
* obj8
= 0 ;
44601 PyObject
* obj9
= 0 ;
44602 char * kwnames
[] = {
44603 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44608 if (!SWIG_IsOK(res1
)) {
44609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44611 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44612 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44613 if (!SWIG_IsOK(res2
)) {
44614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44616 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44618 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44619 if (!SWIG_IsOK(ecode3
)) {
44620 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44622 arg3
= static_cast< int >(val3
);
44626 arg4
= wxString_in_helper(obj3
);
44627 if (arg4
== NULL
) SWIG_fail
;
44633 arg5
= wxString_in_helper(obj4
);
44634 if (arg5
== NULL
) SWIG_fail
;
44641 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44647 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44651 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44652 if (!SWIG_IsOK(ecode8
)) {
44653 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44655 arg8
= static_cast< long >(val8
);
44658 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44659 if (!SWIG_IsOK(res9
)) {
44660 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44663 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44665 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44669 arg10
= wxString_in_helper(obj9
);
44670 if (arg10
== NULL
) SWIG_fail
;
44675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44676 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
44677 wxPyEndAllowThreads(__tstate
);
44678 if (PyErr_Occurred()) SWIG_fail
;
44681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44713 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44714 PyObject
*resultobj
= 0;
44715 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44719 PyObject
*swig_obj
[1] ;
44721 if (!args
) SWIG_fail
;
44722 swig_obj
[0] = args
;
44723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44724 if (!SWIG_IsOK(res1
)) {
44725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44727 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44730 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44731 wxPyEndAllowThreads(__tstate
);
44732 if (PyErr_Occurred()) SWIG_fail
;
44736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44747 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44748 PyObject
*resultobj
= 0;
44749 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44750 wxString
*arg2
= 0 ;
44753 bool temp2
= false ;
44754 PyObject
* obj0
= 0 ;
44755 PyObject
* obj1
= 0 ;
44756 char * kwnames
[] = {
44757 (char *) "self",(char *) "str", NULL
44760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44762 if (!SWIG_IsOK(res1
)) {
44763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44765 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44767 arg2
= wxString_in_helper(obj1
);
44768 if (arg2
== NULL
) SWIG_fail
;
44772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44773 (arg1
)->SetPath((wxString
const &)*arg2
);
44774 wxPyEndAllowThreads(__tstate
);
44775 if (PyErr_Occurred()) SWIG_fail
;
44777 resultobj
= SWIG_Py_Void();
44792 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44793 PyObject
*resultobj
= 0;
44794 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44795 wxString
*arg2
= 0 ;
44799 bool temp2
= false ;
44800 PyObject
* obj0
= 0 ;
44801 PyObject
* obj1
= 0 ;
44802 char * kwnames
[] = {
44803 (char *) "self",(char *) "path", NULL
44806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44808 if (!SWIG_IsOK(res1
)) {
44809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44811 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44813 arg2
= wxString_in_helper(obj1
);
44814 if (arg2
== NULL
) SWIG_fail
;
44818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44819 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44820 wxPyEndAllowThreads(__tstate
);
44821 if (PyErr_Occurred()) SWIG_fail
;
44824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44840 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44841 PyObject
*resultobj
= 0;
44842 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44846 PyObject
*swig_obj
[1] ;
44848 if (!args
) SWIG_fail
;
44849 swig_obj
[0] = args
;
44850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44851 if (!SWIG_IsOK(res1
)) {
44852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44854 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44857 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44858 wxPyEndAllowThreads(__tstate
);
44859 if (PyErr_Occurred()) SWIG_fail
;
44863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44874 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44876 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44877 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44878 return SWIG_Py_Void();
44881 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44882 return SWIG_Python_InitShadowInstance(args
);
44885 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44886 PyObject
*resultobj
= 0;
44888 wxObject
*arg2
= (wxObject
*) 0 ;
44890 wxString
*arg4
= 0 ;
44891 wxFileDirPickerEvent
*result
= 0 ;
44898 bool temp4
= false ;
44899 PyObject
* obj0
= 0 ;
44900 PyObject
* obj1
= 0 ;
44901 PyObject
* obj2
= 0 ;
44902 PyObject
* obj3
= 0 ;
44903 char * kwnames
[] = {
44904 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44908 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44909 if (!SWIG_IsOK(ecode1
)) {
44910 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44912 arg1
= static_cast< wxEventType
>(val1
);
44913 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44914 if (!SWIG_IsOK(res2
)) {
44915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44917 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44919 if (!SWIG_IsOK(ecode3
)) {
44920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44922 arg3
= static_cast< int >(val3
);
44924 arg4
= wxString_in_helper(obj3
);
44925 if (arg4
== NULL
) SWIG_fail
;
44929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44930 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44931 wxPyEndAllowThreads(__tstate
);
44932 if (PyErr_Occurred()) SWIG_fail
;
44934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44949 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44950 PyObject
*resultobj
= 0;
44951 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44955 PyObject
*swig_obj
[1] ;
44957 if (!args
) SWIG_fail
;
44958 swig_obj
[0] = args
;
44959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44960 if (!SWIG_IsOK(res1
)) {
44961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44963 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44966 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44967 wxPyEndAllowThreads(__tstate
);
44968 if (PyErr_Occurred()) SWIG_fail
;
44972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44983 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44984 PyObject
*resultobj
= 0;
44985 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44986 wxString
*arg2
= 0 ;
44989 bool temp2
= false ;
44990 PyObject
* obj0
= 0 ;
44991 PyObject
* obj1
= 0 ;
44992 char * kwnames
[] = {
44993 (char *) "self",(char *) "p", NULL
44996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44998 if (!SWIG_IsOK(res1
)) {
44999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45001 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45003 arg2
= wxString_in_helper(obj1
);
45004 if (arg2
== NULL
) SWIG_fail
;
45008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45009 (arg1
)->SetPath((wxString
const &)*arg2
);
45010 wxPyEndAllowThreads(__tstate
);
45011 if (PyErr_Occurred()) SWIG_fail
;
45013 resultobj
= SWIG_Py_Void();
45028 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45030 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45031 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45032 return SWIG_Py_Void();
45035 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45036 return SWIG_Python_InitShadowInstance(args
);
45039 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45040 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45045 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45046 PyObject
*pyobj
= 0;
45050 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45052 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45059 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45060 PyObject
*resultobj
= 0;
45061 wxWindow
*arg1
= (wxWindow
*) 0 ;
45062 int arg2
= (int) -1 ;
45063 wxFont
const &arg3_defvalue
= wxNullFont
;
45064 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45065 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45066 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45067 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45068 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45069 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45070 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45071 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45072 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45073 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45074 wxFontPickerCtrl
*result
= 0 ;
45087 bool temp8
= false ;
45088 PyObject
* obj0
= 0 ;
45089 PyObject
* obj1
= 0 ;
45090 PyObject
* obj2
= 0 ;
45091 PyObject
* obj3
= 0 ;
45092 PyObject
* obj4
= 0 ;
45093 PyObject
* obj5
= 0 ;
45094 PyObject
* obj6
= 0 ;
45095 PyObject
* obj7
= 0 ;
45096 char * kwnames
[] = {
45097 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45102 if (!SWIG_IsOK(res1
)) {
45103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45105 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45108 if (!SWIG_IsOK(ecode2
)) {
45109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45111 arg2
= static_cast< int >(val2
);
45114 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45115 if (!SWIG_IsOK(res3
)) {
45116 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45121 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45126 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45132 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45136 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45137 if (!SWIG_IsOK(ecode6
)) {
45138 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45140 arg6
= static_cast< long >(val6
);
45143 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45144 if (!SWIG_IsOK(res7
)) {
45145 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45150 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45154 arg8
= wxString_in_helper(obj7
);
45155 if (arg8
== NULL
) SWIG_fail
;
45160 if (!wxPyCheckForApp()) SWIG_fail
;
45161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45162 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45163 wxPyEndAllowThreads(__tstate
);
45164 if (PyErr_Occurred()) SWIG_fail
;
45166 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45181 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45182 PyObject
*resultobj
= 0;
45183 wxFontPickerCtrl
*result
= 0 ;
45185 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45187 if (!wxPyCheckForApp()) SWIG_fail
;
45188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45189 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45190 wxPyEndAllowThreads(__tstate
);
45191 if (PyErr_Occurred()) SWIG_fail
;
45193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45200 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45201 PyObject
*resultobj
= 0;
45202 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45203 wxWindow
*arg2
= (wxWindow
*) 0 ;
45204 int arg3
= (int) -1 ;
45205 wxFont
const &arg4_defvalue
= wxNullFont
;
45206 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45207 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45208 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45209 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45210 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45211 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45212 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45213 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45214 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45215 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45231 bool temp9
= false ;
45232 PyObject
* obj0
= 0 ;
45233 PyObject
* obj1
= 0 ;
45234 PyObject
* obj2
= 0 ;
45235 PyObject
* obj3
= 0 ;
45236 PyObject
* obj4
= 0 ;
45237 PyObject
* obj5
= 0 ;
45238 PyObject
* obj6
= 0 ;
45239 PyObject
* obj7
= 0 ;
45240 PyObject
* obj8
= 0 ;
45241 char * kwnames
[] = {
45242 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45247 if (!SWIG_IsOK(res1
)) {
45248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45250 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45251 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45252 if (!SWIG_IsOK(res2
)) {
45253 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45255 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45257 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45258 if (!SWIG_IsOK(ecode3
)) {
45259 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45261 arg3
= static_cast< int >(val3
);
45264 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45265 if (!SWIG_IsOK(res4
)) {
45266 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45271 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45276 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45282 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45286 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45287 if (!SWIG_IsOK(ecode7
)) {
45288 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45290 arg7
= static_cast< long >(val7
);
45293 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45294 if (!SWIG_IsOK(res8
)) {
45295 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45298 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45300 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45304 arg9
= wxString_in_helper(obj8
);
45305 if (arg9
== NULL
) SWIG_fail
;
45310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45311 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45312 wxPyEndAllowThreads(__tstate
);
45313 if (PyErr_Occurred()) SWIG_fail
;
45316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45332 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45333 PyObject
*resultobj
= 0;
45334 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45338 PyObject
*swig_obj
[1] ;
45340 if (!args
) SWIG_fail
;
45341 swig_obj
[0] = args
;
45342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45343 if (!SWIG_IsOK(res1
)) {
45344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45346 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45349 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45350 wxPyEndAllowThreads(__tstate
);
45351 if (PyErr_Occurred()) SWIG_fail
;
45353 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45360 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45361 PyObject
*resultobj
= 0;
45362 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45368 PyObject
* obj0
= 0 ;
45369 PyObject
* obj1
= 0 ;
45370 char * kwnames
[] = {
45371 (char *) "self",(char *) "f", NULL
45374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45376 if (!SWIG_IsOK(res1
)) {
45377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45379 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45380 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45381 if (!SWIG_IsOK(res2
)) {
45382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45385 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45387 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45390 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45391 wxPyEndAllowThreads(__tstate
);
45392 if (PyErr_Occurred()) SWIG_fail
;
45394 resultobj
= SWIG_Py_Void();
45401 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45402 PyObject
*resultobj
= 0;
45403 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45404 unsigned int arg2
;
45407 unsigned int val2
;
45409 PyObject
* obj0
= 0 ;
45410 PyObject
* obj1
= 0 ;
45411 char * kwnames
[] = {
45412 (char *) "self",(char *) "max", NULL
45415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45417 if (!SWIG_IsOK(res1
)) {
45418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45420 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45421 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45422 if (!SWIG_IsOK(ecode2
)) {
45423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45425 arg2
= static_cast< unsigned int >(val2
);
45427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45428 (arg1
)->SetMaxPointSize(arg2
);
45429 wxPyEndAllowThreads(__tstate
);
45430 if (PyErr_Occurred()) SWIG_fail
;
45432 resultobj
= SWIG_Py_Void();
45439 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45440 PyObject
*resultobj
= 0;
45441 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45442 unsigned int result
;
45445 PyObject
*swig_obj
[1] ;
45447 if (!args
) SWIG_fail
;
45448 swig_obj
[0] = args
;
45449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45450 if (!SWIG_IsOK(res1
)) {
45451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45453 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45456 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45457 wxPyEndAllowThreads(__tstate
);
45458 if (PyErr_Occurred()) SWIG_fail
;
45460 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45467 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45470 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45471 return SWIG_Py_Void();
45474 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45475 return SWIG_Python_InitShadowInstance(args
);
45478 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45479 PyObject
*resultobj
= 0;
45480 wxObject
*arg1
= (wxObject
*) 0 ;
45483 wxFontPickerEvent
*result
= 0 ;
45490 PyObject
* obj0
= 0 ;
45491 PyObject
* obj1
= 0 ;
45492 PyObject
* obj2
= 0 ;
45493 char * kwnames
[] = {
45494 (char *) "generator",(char *) "id",(char *) "f", NULL
45497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45499 if (!SWIG_IsOK(res1
)) {
45500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45502 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45504 if (!SWIG_IsOK(ecode2
)) {
45505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45507 arg2
= static_cast< int >(val2
);
45508 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45509 if (!SWIG_IsOK(res3
)) {
45510 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45513 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45515 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45518 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45519 wxPyEndAllowThreads(__tstate
);
45520 if (PyErr_Occurred()) SWIG_fail
;
45522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45529 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45530 PyObject
*resultobj
= 0;
45531 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45535 PyObject
*swig_obj
[1] ;
45537 if (!args
) SWIG_fail
;
45538 swig_obj
[0] = args
;
45539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45540 if (!SWIG_IsOK(res1
)) {
45541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45543 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45546 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45547 wxPyEndAllowThreads(__tstate
);
45548 if (PyErr_Occurred()) SWIG_fail
;
45550 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45557 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45558 PyObject
*resultobj
= 0;
45559 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45565 PyObject
* obj0
= 0 ;
45566 PyObject
* obj1
= 0 ;
45567 char * kwnames
[] = {
45568 (char *) "self",(char *) "c", NULL
45571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45573 if (!SWIG_IsOK(res1
)) {
45574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45576 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45577 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45578 if (!SWIG_IsOK(res2
)) {
45579 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45582 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45584 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45587 (arg1
)->SetFont((wxFont
const &)*arg2
);
45588 wxPyEndAllowThreads(__tstate
);
45589 if (PyErr_Occurred()) SWIG_fail
;
45591 resultobj
= SWIG_Py_Void();
45598 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45601 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45602 return SWIG_Py_Void();
45605 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45606 return SWIG_Python_InitShadowInstance(args
);
45609 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45610 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45615 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45616 PyObject
*pyobj
= 0;
45620 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45622 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45629 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45630 PyObject
*resultobj
= 0;
45631 wxWindow
*arg1
= (wxWindow
*) 0 ;
45632 int arg2
= (int) -1 ;
45633 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45634 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45639 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45640 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45641 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45642 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45643 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45644 wxCollapsiblePane
*result
= 0 ;
45649 bool temp3
= false ;
45656 bool temp8
= false ;
45657 PyObject
* obj0
= 0 ;
45658 PyObject
* obj1
= 0 ;
45659 PyObject
* obj2
= 0 ;
45660 PyObject
* obj3
= 0 ;
45661 PyObject
* obj4
= 0 ;
45662 PyObject
* obj5
= 0 ;
45663 PyObject
* obj6
= 0 ;
45664 PyObject
* obj7
= 0 ;
45665 char * kwnames
[] = {
45666 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45671 if (!SWIG_IsOK(res1
)) {
45672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45674 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45677 if (!SWIG_IsOK(ecode2
)) {
45678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45680 arg2
= static_cast< int >(val2
);
45684 arg3
= wxString_in_helper(obj2
);
45685 if (arg3
== NULL
) SWIG_fail
;
45692 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45698 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45702 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45703 if (!SWIG_IsOK(ecode6
)) {
45704 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45706 arg6
= static_cast< long >(val6
);
45709 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45710 if (!SWIG_IsOK(res7
)) {
45711 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45714 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45716 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45720 arg8
= wxString_in_helper(obj7
);
45721 if (arg8
== NULL
) SWIG_fail
;
45726 if (!wxPyCheckForApp()) SWIG_fail
;
45727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45728 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45729 wxPyEndAllowThreads(__tstate
);
45730 if (PyErr_Occurred()) SWIG_fail
;
45732 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45755 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45756 PyObject
*resultobj
= 0;
45757 wxCollapsiblePane
*result
= 0 ;
45759 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45761 if (!wxPyCheckForApp()) SWIG_fail
;
45762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45763 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45764 wxPyEndAllowThreads(__tstate
);
45765 if (PyErr_Occurred()) SWIG_fail
;
45767 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45774 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45775 PyObject
*resultobj
= 0;
45776 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45777 wxWindow
*arg2
= (wxWindow
*) 0 ;
45778 int arg3
= (int) -1 ;
45779 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45780 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45781 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45782 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45783 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45784 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45785 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45786 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45787 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45788 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45789 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45797 bool temp4
= false ;
45804 bool temp9
= false ;
45805 PyObject
* obj0
= 0 ;
45806 PyObject
* obj1
= 0 ;
45807 PyObject
* obj2
= 0 ;
45808 PyObject
* obj3
= 0 ;
45809 PyObject
* obj4
= 0 ;
45810 PyObject
* obj5
= 0 ;
45811 PyObject
* obj6
= 0 ;
45812 PyObject
* obj7
= 0 ;
45813 PyObject
* obj8
= 0 ;
45814 char * kwnames
[] = {
45815 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45820 if (!SWIG_IsOK(res1
)) {
45821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45823 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45824 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45825 if (!SWIG_IsOK(res2
)) {
45826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45828 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45831 if (!SWIG_IsOK(ecode3
)) {
45832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45834 arg3
= static_cast< int >(val3
);
45838 arg4
= wxString_in_helper(obj3
);
45839 if (arg4
== NULL
) SWIG_fail
;
45846 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45852 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45856 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45857 if (!SWIG_IsOK(ecode7
)) {
45858 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45860 arg7
= static_cast< long >(val7
);
45863 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45864 if (!SWIG_IsOK(res8
)) {
45865 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45870 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45874 arg9
= wxString_in_helper(obj8
);
45875 if (arg9
== NULL
) SWIG_fail
;
45880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45881 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45882 wxPyEndAllowThreads(__tstate
);
45883 if (PyErr_Occurred()) SWIG_fail
;
45886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45910 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45911 PyObject
*resultobj
= 0;
45912 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45913 bool arg2
= (bool) true ;
45918 PyObject
* obj0
= 0 ;
45919 PyObject
* obj1
= 0 ;
45920 char * kwnames
[] = {
45921 (char *) "self",(char *) "collapse", NULL
45924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45926 if (!SWIG_IsOK(res1
)) {
45927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45929 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45931 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45932 if (!SWIG_IsOK(ecode2
)) {
45933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45935 arg2
= static_cast< bool >(val2
);
45938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45939 (arg1
)->Collapse(arg2
);
45940 wxPyEndAllowThreads(__tstate
);
45941 if (PyErr_Occurred()) SWIG_fail
;
45943 resultobj
= SWIG_Py_Void();
45950 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45951 PyObject
*resultobj
= 0;
45952 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45955 PyObject
*swig_obj
[1] ;
45957 if (!args
) SWIG_fail
;
45958 swig_obj
[0] = args
;
45959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45960 if (!SWIG_IsOK(res1
)) {
45961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45963 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45967 wxPyEndAllowThreads(__tstate
);
45968 if (PyErr_Occurred()) SWIG_fail
;
45970 resultobj
= SWIG_Py_Void();
45977 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45978 PyObject
*resultobj
= 0;
45979 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45983 PyObject
*swig_obj
[1] ;
45985 if (!args
) SWIG_fail
;
45986 swig_obj
[0] = args
;
45987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45988 if (!SWIG_IsOK(res1
)) {
45989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45991 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45994 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45995 wxPyEndAllowThreads(__tstate
);
45996 if (PyErr_Occurred()) SWIG_fail
;
45999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46007 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46008 PyObject
*resultobj
= 0;
46009 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46013 PyObject
*swig_obj
[1] ;
46015 if (!args
) SWIG_fail
;
46016 swig_obj
[0] = args
;
46017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46018 if (!SWIG_IsOK(res1
)) {
46019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46021 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46024 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46025 wxPyEndAllowThreads(__tstate
);
46026 if (PyErr_Occurred()) SWIG_fail
;
46029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46037 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46038 PyObject
*resultobj
= 0;
46039 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46040 wxWindow
*result
= 0 ;
46043 PyObject
*swig_obj
[1] ;
46045 if (!args
) SWIG_fail
;
46046 swig_obj
[0] = args
;
46047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46048 if (!SWIG_IsOK(res1
)) {
46049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46051 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46054 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46055 wxPyEndAllowThreads(__tstate
);
46056 if (PyErr_Occurred()) SWIG_fail
;
46059 resultobj
= wxPyMake_wxObject(result
, 0);
46067 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46069 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46070 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46071 return SWIG_Py_Void();
46074 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46075 return SWIG_Python_InitShadowInstance(args
);
46078 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46079 PyObject
*resultobj
= 0;
46080 wxObject
*arg1
= (wxObject
*) 0 ;
46083 wxCollapsiblePaneEvent
*result
= 0 ;
46090 PyObject
* obj0
= 0 ;
46091 PyObject
* obj1
= 0 ;
46092 PyObject
* obj2
= 0 ;
46093 char * kwnames
[] = {
46094 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46099 if (!SWIG_IsOK(res1
)) {
46100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46102 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46104 if (!SWIG_IsOK(ecode2
)) {
46105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46107 arg2
= static_cast< int >(val2
);
46108 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46109 if (!SWIG_IsOK(ecode3
)) {
46110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46112 arg3
= static_cast< bool >(val3
);
46114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46115 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46116 wxPyEndAllowThreads(__tstate
);
46117 if (PyErr_Occurred()) SWIG_fail
;
46119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46126 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46127 PyObject
*resultobj
= 0;
46128 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46132 PyObject
*swig_obj
[1] ;
46134 if (!args
) SWIG_fail
;
46135 swig_obj
[0] = args
;
46136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46137 if (!SWIG_IsOK(res1
)) {
46138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46140 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46143 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46144 wxPyEndAllowThreads(__tstate
);
46145 if (PyErr_Occurred()) SWIG_fail
;
46148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46156 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46157 PyObject
*resultobj
= 0;
46158 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46164 PyObject
* obj0
= 0 ;
46165 PyObject
* obj1
= 0 ;
46166 char * kwnames
[] = {
46167 (char *) "self",(char *) "c", NULL
46170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46172 if (!SWIG_IsOK(res1
)) {
46173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46175 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46176 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46177 if (!SWIG_IsOK(ecode2
)) {
46178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46180 arg2
= static_cast< bool >(val2
);
46182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46183 (arg1
)->SetCollapsed(arg2
);
46184 wxPyEndAllowThreads(__tstate
);
46185 if (PyErr_Occurred()) SWIG_fail
;
46187 resultobj
= SWIG_Py_Void();
46194 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46196 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46197 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46198 return SWIG_Py_Void();
46201 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46202 return SWIG_Python_InitShadowInstance(args
);
46205 static PyMethodDef SwigMethods
[] = {
46206 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46207 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46208 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46209 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46210 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46211 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46212 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46213 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46214 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46215 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46216 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46217 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46218 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46219 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46220 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46221 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46222 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46223 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46224 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46225 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46226 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46227 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46228 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46229 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46230 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46231 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46232 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46233 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46234 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46235 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46236 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46237 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46238 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46239 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46240 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46241 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46242 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46243 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46244 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46245 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46246 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46247 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46248 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46249 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46250 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46251 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46252 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46253 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46254 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46255 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46256 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46257 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46258 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46259 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46260 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46261 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46262 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46263 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46264 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46265 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
46266 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46267 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46268 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46269 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46270 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46271 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46272 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46273 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46274 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46275 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46276 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46277 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46278 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46279 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46280 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46281 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46282 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46283 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46284 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46285 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46286 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46287 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46288 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46289 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46290 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46291 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46292 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46293 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46294 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46295 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46296 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46297 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46298 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46299 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46300 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46301 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46302 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46303 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46304 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46305 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46306 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46307 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46308 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46309 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46310 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46311 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46312 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46313 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46314 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46315 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46316 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46317 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46318 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46319 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46320 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46321 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46322 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46323 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46324 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46325 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46326 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46327 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46328 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46329 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46330 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46331 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46332 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46333 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46334 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46335 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46336 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46337 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46338 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46339 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46340 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46341 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46342 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46343 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46344 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46345 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46346 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46347 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46348 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46349 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46350 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46351 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46352 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46353 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46354 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46355 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46356 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46357 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46358 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46359 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
46360 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46361 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46362 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46363 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46364 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46365 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46366 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46367 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46368 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46369 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46370 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46371 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46372 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46373 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46374 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46375 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46376 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46377 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46378 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46379 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46380 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46381 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46382 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46383 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46384 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46385 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46386 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46387 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46388 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46389 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46390 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46391 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46392 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46393 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46394 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46395 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46396 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46397 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46398 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46399 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46400 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46401 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46402 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46403 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46404 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46405 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46406 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46407 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46408 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46409 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46410 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46411 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46412 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46413 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46414 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46415 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46416 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46417 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46418 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46419 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46420 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46421 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46422 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46423 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46424 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46425 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46426 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46427 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46428 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46429 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46430 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46431 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46432 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46433 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46434 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46435 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46436 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46437 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46438 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46439 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46440 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46441 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46442 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46443 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46444 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46445 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46446 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46447 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46448 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46449 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46450 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46451 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46452 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46453 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
)_wrap_TextCtrl_HideNativeCaret
, METH_O
, NULL
},
46454 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46455 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46456 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46457 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46458 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46459 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46460 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46461 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46462 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46463 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46464 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46465 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46466 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46467 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46468 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46469 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46470 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46471 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46472 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46473 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46474 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46475 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46476 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46477 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46478 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46479 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46480 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46481 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46482 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46483 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46484 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46485 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46486 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46487 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
46488 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46489 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
46490 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
46491 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46492 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
46493 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46494 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
46495 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46496 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46497 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46498 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
46499 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
46500 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46501 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46502 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
46503 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
46504 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46505 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
46506 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46507 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
46508 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
46509 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46510 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
46511 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46512 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46513 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
46514 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
46515 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46516 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
46517 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46518 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46519 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46520 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46521 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46522 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46523 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46524 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
46525 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
46526 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46527 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46528 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46529 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46530 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46531 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46532 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
46533 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
46534 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46535 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
46536 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46537 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
46538 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46539 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46540 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
46541 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
46542 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46543 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
46544 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46545 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
46546 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46547 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46548 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
46549 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
46550 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46551 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46552 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46553 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46554 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
46555 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
46556 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46557 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
46558 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46559 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
46560 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
46561 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46562 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
46563 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
46564 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
46565 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46566 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46567 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
46568 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
46569 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46570 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
46571 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46572 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46573 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
46574 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46575 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
46576 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
46577 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
46578 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46579 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
46580 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
46581 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46582 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46583 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46584 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46585 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
46586 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46587 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46588 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46589 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46590 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
46591 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46592 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
46593 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46594 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
46595 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46596 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
46597 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
46598 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46599 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46600 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
46601 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46602 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46603 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46604 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46605 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46606 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46607 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46608 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
46609 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46610 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
46611 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46612 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
46613 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46614 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
46615 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
46616 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46617 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
46618 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46619 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
46620 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46621 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46622 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
46623 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46624 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46625 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46626 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
46627 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
46628 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46629 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
46630 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
46631 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46632 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
46633 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46634 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
46635 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
46636 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
46637 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46638 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
46639 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
46640 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46641 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
46642 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46643 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
46644 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
46645 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
46646 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46647 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
46648 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
46649 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46650 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
46651 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46652 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46653 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46654 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46655 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46656 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46657 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46658 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
46659 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
46660 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
46661 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46662 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
46663 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
46664 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46665 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
46666 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46667 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
46668 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
46669 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
46670 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
46671 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46672 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
46673 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
46674 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
46675 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
46676 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
46677 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
46678 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
46679 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
46680 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
46681 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
46682 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
46683 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
46684 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
46685 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
46686 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
46687 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
46688 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
46689 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
46690 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
46691 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46692 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
46693 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46694 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46695 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46696 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46697 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46698 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46699 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
46700 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46701 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
46702 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46703 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
46704 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46705 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46706 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46707 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46708 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46709 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46710 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46711 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
46712 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46713 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46714 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46715 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46716 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
46717 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
46718 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46719 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46720 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46721 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46722 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46723 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46724 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46726 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46727 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46728 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46729 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46731 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46732 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46733 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46734 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
46735 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
46736 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
46737 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
46738 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46739 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46740 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
46741 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
46742 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46743 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
46744 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
46745 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46747 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
46748 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
46749 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
46750 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46751 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
46752 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46754 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
46755 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
46756 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46757 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
46758 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46759 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46760 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46761 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
46762 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
46763 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
46764 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
46765 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
46766 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
46767 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
46769 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
46770 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
46771 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
46772 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
46773 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
46774 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
46775 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46776 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46777 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46778 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46779 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46780 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46781 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46782 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46784 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46785 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46786 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46787 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46788 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
46789 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
46790 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
46791 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
46792 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
46793 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
46794 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
46795 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
46796 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
46797 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
46798 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
46799 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
46800 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
46801 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
46802 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
46803 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
46804 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
46805 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
46806 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
46807 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
46808 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
46809 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
46810 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
46811 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
46812 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
46813 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
46814 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
46815 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
46816 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
46817 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
46818 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
46819 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
46820 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
46821 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
46822 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
46823 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
46824 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46825 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
46826 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
46827 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
46828 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
46829 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
46830 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
46831 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
46832 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
46833 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
46834 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
46835 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
46836 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
46837 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
46838 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
46839 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
46840 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
46841 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
46842 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
46843 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
46844 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
46845 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
46846 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
46847 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
46848 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
46849 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
46851 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
46852 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
46854 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46855 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46856 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46857 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46858 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46859 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46860 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
46861 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
46862 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
46863 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46864 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46866 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46869 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46870 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46871 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46872 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46873 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46876 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46877 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
46878 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
46879 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
46880 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
46881 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
46882 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
46884 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46887 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46889 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
46890 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
46891 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46892 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46893 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46894 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46895 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
46896 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46897 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
46898 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
46899 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46900 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46901 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46902 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46903 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46904 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46905 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46906 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46907 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46908 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46909 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46910 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46911 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46913 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46914 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46915 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46917 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46918 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46920 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46922 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
46923 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46924 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
46925 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
46926 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46927 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
46928 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46929 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
46932 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
46934 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46935 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46937 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
46938 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
46939 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
46940 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
46941 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
46942 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46944 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
46945 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
46946 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
46947 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
46948 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
46950 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
46951 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46952 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
46953 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46954 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
46955 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
46956 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
46957 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
46958 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
46959 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46960 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
46961 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46962 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
46963 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
46965 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
46966 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46967 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
46968 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
46970 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46971 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46972 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
46973 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
46974 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
46975 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46976 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
46977 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46978 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46979 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
46980 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
46981 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46982 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
46983 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46984 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
46985 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
46986 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46987 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46989 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46990 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46991 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46992 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46993 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46995 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46996 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46997 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47001 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47002 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47004 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47005 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47006 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47007 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47009 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47011 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47012 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47013 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47014 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47015 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47016 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47017 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47018 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47020 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47022 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47023 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47025 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47028 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47029 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47031 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47033 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47034 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47036 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47037 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47039 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47040 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47042 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47044 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47046 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47047 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47048 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47049 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47050 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47051 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47052 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47053 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47054 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47055 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47056 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47057 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47058 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47059 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47060 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47061 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47063 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47064 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47065 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47066 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47067 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47068 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47069 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47070 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47071 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47072 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47074 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47075 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47076 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47077 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47078 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47079 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47080 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47081 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47082 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47083 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47084 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47085 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47086 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47087 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47088 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47089 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47090 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47091 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47092 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47093 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47094 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47095 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47096 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47097 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47098 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47099 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47100 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47101 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47102 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47103 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47104 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47105 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47106 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47107 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47108 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47109 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47110 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47111 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47112 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47114 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47115 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47116 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47117 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47118 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47119 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47121 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47122 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47123 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47124 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47125 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47126 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47127 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47129 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47130 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47131 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47132 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47133 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47134 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47136 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47137 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47138 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47139 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47140 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47141 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47142 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47144 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47145 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47146 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47147 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47148 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47149 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47150 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47151 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47152 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47153 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47158 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47159 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47160 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47161 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47162 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47163 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47164 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47165 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47166 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47167 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47168 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47169 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47170 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47171 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47172 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47173 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47174 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47175 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47176 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47177 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47178 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47179 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47180 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47182 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47183 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47184 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47185 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47186 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47187 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47188 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47189 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47190 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47191 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47192 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47193 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47194 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47196 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47197 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47198 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47199 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47200 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47201 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47202 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47203 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47204 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47205 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47206 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47207 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47208 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47209 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47210 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47211 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47212 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47213 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47214 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47215 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47216 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47217 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47218 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47219 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47220 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47221 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47222 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47223 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47224 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47225 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47227 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47229 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47230 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47232 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47233 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47234 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47235 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47236 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47238 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47239 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47240 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47241 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47243 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47246 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47247 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47248 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47249 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47250 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47251 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47252 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47253 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47255 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47256 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47258 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47259 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47260 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47261 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47262 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47263 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47264 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47265 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47266 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47267 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47268 { NULL
, NULL
, 0, NULL
}
47272 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47274 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47275 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47277 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47278 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47280 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47281 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47283 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47284 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47286 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47287 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47289 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47290 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47292 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47293 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47295 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47296 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47298 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47299 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47301 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47302 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47304 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47305 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47307 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47308 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47310 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47311 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47313 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47314 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47316 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47317 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47319 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47320 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47322 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47323 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47325 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47326 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47328 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47329 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47331 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47332 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47334 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47335 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47337 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47338 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47340 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47341 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47343 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47344 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47346 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47347 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47349 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47350 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47352 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47353 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47355 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47356 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47358 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47359 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47361 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47362 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47364 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47365 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47367 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47368 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47370 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47371 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47373 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47374 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47376 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47377 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47379 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47380 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47382 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47383 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47385 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47386 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47388 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47389 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47391 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47392 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47394 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47395 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47397 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47398 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47400 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47401 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47403 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47404 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47406 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47407 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47409 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47410 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47412 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47413 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47415 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47416 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47418 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47419 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47421 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47422 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47424 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47425 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47427 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47428 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47430 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47431 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47433 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47434 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47436 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47437 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47439 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47440 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47442 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47443 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47445 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47446 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47448 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47449 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47451 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47452 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47454 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47455 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47457 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47458 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47460 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47461 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47463 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47464 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47466 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47467 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47469 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47470 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
47472 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
47473 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
47475 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
47476 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
47478 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
47479 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
47481 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
47482 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
47484 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
47485 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
47487 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
47488 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
47490 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
47491 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
47493 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
47494 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47496 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
47497 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
47499 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
47500 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47502 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
47503 return (void *)((wxControl
*) ((wxPyControl
*) x
));
47505 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
47506 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
47508 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
47509 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
47511 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
47512 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
47514 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
47515 return (void *)((wxControl
*) ((wxGauge
*) x
));
47517 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
47518 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
47520 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
47521 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47523 static void *_p_wxListbookTo_p_wxControl(void *x
) {
47524 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
47526 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
47527 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
47529 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
47530 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
47532 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
47533 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
47535 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
47536 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
47538 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
47539 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47541 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
47542 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47544 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
47545 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47547 static void *_p_wxListViewTo_p_wxControl(void *x
) {
47548 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
47550 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
47551 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
47553 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
47554 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
47556 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
47557 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
47559 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
47560 return (void *)((wxControl
*) ((wxStaticText
*) x
));
47562 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
47563 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
47565 static void *_p_wxSliderTo_p_wxControl(void *x
) {
47566 return (void *)((wxControl
*) ((wxSlider
*) x
));
47568 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
47569 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
47571 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
47572 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
47574 static void *_p_wxButtonTo_p_wxControl(void *x
) {
47575 return (void *)((wxControl
*) ((wxButton
*) x
));
47577 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
47578 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
47580 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
47581 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47583 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
47584 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
47586 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
47587 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47589 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
47590 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47592 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
47593 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47595 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
47596 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47598 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
47599 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
47601 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
47602 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
47604 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
47605 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
47607 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
47608 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47610 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
47611 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47613 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
47614 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47616 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
47617 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
47619 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
47620 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47622 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
47623 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47625 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
47626 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47628 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
47629 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47631 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
47632 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47634 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
47635 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47637 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
47638 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47640 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
47641 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
47643 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
47644 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
47646 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
47647 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
47649 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
47650 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
47652 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
47653 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
47655 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
47656 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
47658 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
47659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
47661 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
47662 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
47664 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
47665 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
47667 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
47668 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
47670 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
47671 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47673 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
47674 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
47676 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
47677 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47679 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
47680 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47682 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
47683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47685 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
47686 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
47688 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
47689 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
47691 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
47692 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
47694 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
47695 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47697 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
47698 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47700 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
47701 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47703 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
47704 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47706 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
47707 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
47709 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
47710 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47712 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
47713 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
47715 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
47716 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
47718 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
47719 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47721 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
47722 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47724 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
47725 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47727 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
47728 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47730 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
47731 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
47733 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
47734 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47736 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
47737 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47739 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
47740 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
47742 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
47743 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47745 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
47746 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
47748 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
47749 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47751 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
47752 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47754 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
47755 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47757 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
47758 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47760 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
47761 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
47763 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
47764 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
47766 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
47767 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
47769 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
47770 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47772 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
47773 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47775 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
47776 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
47778 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
47779 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
47781 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
47782 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
47784 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
47785 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47787 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
47788 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
47790 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
47791 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47793 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
47794 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47796 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
47797 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47799 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
47800 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47802 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
47803 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47805 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
47806 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
47808 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
47809 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
47811 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
47812 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47814 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
47815 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
47817 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
47818 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
47820 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
47821 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
47823 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
47824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
47826 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
47827 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
47829 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
47830 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
47832 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
47833 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
47835 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
47836 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
47838 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
47839 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47841 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
47842 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
47844 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
47845 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
47847 static void *_p_wxSizerTo_p_wxObject(void *x
) {
47848 return (void *)((wxObject
*) ((wxSizer
*) x
));
47850 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
47851 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
47853 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
47854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
47856 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
47857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
47859 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
47860 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47862 static void *_p_wxEventTo_p_wxObject(void *x
) {
47863 return (void *)((wxObject
*) ((wxEvent
*) x
));
47865 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
47866 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
47868 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
47869 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
47871 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
47872 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
47874 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
47875 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
47877 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
47878 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
47880 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
47881 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
47883 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
47884 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47886 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
47887 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47889 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
47890 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
47892 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
47893 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
47895 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
47896 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47898 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
47899 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47901 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
47902 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47904 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
47905 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47907 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
47908 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
47910 static void *_p_wxControlTo_p_wxObject(void *x
) {
47911 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
47913 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
47914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
47916 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
47917 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
47919 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
47920 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
47922 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
47923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
47925 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
47926 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
47928 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
47929 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
47931 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
47932 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47934 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
47935 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47937 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
47938 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47940 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
47941 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
47943 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
47944 return (void *)((wxObject
*) ((wxFSFile
*) x
));
47946 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
47947 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
47949 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
47950 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
47952 static void *_p_wxListViewTo_p_wxObject(void *x
) {
47953 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
47955 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
47956 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47958 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
47959 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
47961 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
47962 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
47964 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
47965 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
47967 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
47968 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47970 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
47971 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
47973 static void *_p_wxListbookTo_p_wxObject(void *x
) {
47974 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
47976 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
47977 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
47979 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
47980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
47982 static void *_p_wxSliderTo_p_wxObject(void *x
) {
47983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
47985 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
47986 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
47988 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
47989 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
47991 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
47992 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
47994 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
47995 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47997 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
47998 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48000 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48001 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48003 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48004 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48006 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48007 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48009 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48010 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48012 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48013 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48015 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48016 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48018 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48019 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48021 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48022 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48024 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48025 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48027 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48028 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48030 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48031 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48033 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48034 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48036 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48037 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48039 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48040 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48042 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48043 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48045 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48046 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48048 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48049 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48051 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48052 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48054 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48055 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48057 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48058 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48060 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48061 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48063 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48064 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48066 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48067 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48069 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48070 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48072 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48073 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48075 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48076 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48078 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48079 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48081 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48082 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48084 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48085 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48087 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48088 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48090 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48091 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48093 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48094 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48096 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48097 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48099 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48100 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48102 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48103 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48105 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48106 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48108 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48111 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48112 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48114 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48115 return (void *)((wxObject
*) ((wxListItem
*) x
));
48117 static void *_p_wxImageTo_p_wxObject(void *x
) {
48118 return (void *)((wxObject
*) ((wxImage
*) x
));
48120 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48121 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48123 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48124 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48126 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48127 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48129 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48130 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48132 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48133 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48135 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48136 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48138 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48141 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48142 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48144 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48145 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48147 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48148 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48150 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48151 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48153 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48154 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48156 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48157 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48159 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48160 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48162 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48163 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48165 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48166 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48168 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48171 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48172 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48174 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48175 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48177 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48178 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48180 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48181 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48183 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48184 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48186 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48187 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48189 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48190 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48192 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48193 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48195 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48196 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48198 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48199 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48201 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48202 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48204 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48205 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48207 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48208 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48210 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48211 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48213 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48216 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48219 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48222 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48223 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48225 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48226 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48228 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48231 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48232 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48234 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48235 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48237 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48238 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48240 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48241 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48243 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48244 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48246 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48247 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48249 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48250 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48252 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48253 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48255 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48256 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48258 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48259 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48261 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48262 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48264 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48265 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48267 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48268 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48270 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48271 return (void *)((wxWindow
*) ((wxControl
*) x
));
48273 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48274 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48276 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48277 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48279 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48280 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
48282 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48283 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48285 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48286 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48288 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48289 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48291 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48292 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48294 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48295 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48297 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48298 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48300 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48301 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48303 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48304 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48306 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48307 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48309 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48310 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48312 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48313 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48315 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48316 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48318 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48319 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48321 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48322 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48324 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48325 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48327 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48328 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48330 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48331 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48333 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48334 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48336 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48337 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48339 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48340 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48342 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48343 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48345 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48346 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48348 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48349 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48351 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48352 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48354 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48355 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48357 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48358 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48360 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48361 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48363 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48364 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48366 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48367 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48369 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48370 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48372 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48373 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48375 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48376 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48378 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48379 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48381 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48382 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48384 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48385 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48387 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48388 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48390 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48391 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48393 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48394 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48396 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48397 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48399 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48400 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48402 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48403 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48405 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48406 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48408 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48409 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48411 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48412 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48414 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48415 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48417 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48418 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48420 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48421 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48423 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48424 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48426 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48427 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48429 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48430 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48432 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48433 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48435 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48436 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48438 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48439 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48441 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48442 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48444 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48445 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48447 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48448 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48450 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48451 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48453 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48454 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48456 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48457 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48459 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
48460 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48462 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
48463 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48465 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
48466 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48468 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
48469 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
48471 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
48472 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48474 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
48475 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48477 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
48478 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
48480 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
48481 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48483 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
48484 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
48486 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
48487 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
48489 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
48490 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
48492 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
48493 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
48495 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
48496 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
48497 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};
48498 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
48499 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
48500 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
48501 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
48502 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
48503 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
48504 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
48505 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
48506 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
48507 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
48508 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
48509 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
48510 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
48511 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
48512 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
48513 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
48514 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
48515 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
48516 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
48517 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
48518 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
48519 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
48520 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
48521 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
48522 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
48523 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
48524 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
48525 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
48526 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
48527 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
48528 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
48529 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
48530 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
48531 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
48532 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
48533 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
48534 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
48535 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
48536 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
48537 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
48538 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
48539 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
48540 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
48541 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
48542 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
48543 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
48544 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
48545 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
48546 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
48547 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
48548 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
48549 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
48550 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
48551 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
48552 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
48553 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
48554 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
48555 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
48556 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
48557 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
48558 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
48559 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
48560 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
48561 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
48562 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
48563 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
48564 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
48565 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
48566 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
48567 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
48568 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
48569 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
48570 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
48571 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
48572 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
48573 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", 0, 0, 0, 0, 0};
48574 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
48575 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
48576 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
48577 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
48578 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
48579 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
48580 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
48581 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
48582 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
48583 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
48584 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
48585 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
48586 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
48587 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
48588 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
48589 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
48590 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
48591 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
48592 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
48593 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
48594 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
48595 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
48596 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
48597 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
48598 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
48599 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
48600 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
48601 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
48602 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
48603 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
48604 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
48605 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
48606 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
48607 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
48608 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
48609 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
48610 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
48611 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
48612 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
48613 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
48614 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
48615 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
48616 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
48617 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
48618 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
48619 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
48620 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
48621 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
48622 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
48623 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
48624 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
48625 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
48626 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
48627 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
48628 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
48629 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
48630 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
48631 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
48632 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
48633 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
48634 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
48635 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
48636 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
48637 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
48638 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
48639 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
48640 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
48641 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
48642 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
48643 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
48644 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
48645 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
48646 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
48647 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
48648 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
48649 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
48650 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
48651 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
48652 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
48653 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
48654 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
48655 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
48656 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
48657 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
48658 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
48659 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
48660 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
48661 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
48662 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
48663 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
48664 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
48665 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
48666 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
48667 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
48668 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
48669 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
48670 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
48671 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
48672 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
48674 static swig_type_info
*swig_type_initial
[] = {
48677 &_swigt__p_form_ops_t
,
48680 &_swigt__p_unsigned_char
,
48681 &_swigt__p_unsigned_int
,
48682 &_swigt__p_unsigned_long
,
48684 &_swigt__p_wxANIHandler
,
48685 &_swigt__p_wxAcceleratorTable
,
48686 &_swigt__p_wxActivateEvent
,
48687 &_swigt__p_wxArrayInt
,
48688 &_swigt__p_wxArrayString
,
48689 &_swigt__p_wxBMPHandler
,
48690 &_swigt__p_wxBitmap
,
48691 &_swigt__p_wxBitmapButton
,
48692 &_swigt__p_wxBookCtrlBase
,
48693 &_swigt__p_wxBookCtrlBaseEvent
,
48694 &_swigt__p_wxBoxSizer
,
48695 &_swigt__p_wxButton
,
48696 &_swigt__p_wxCURHandler
,
48697 &_swigt__p_wxCheckBox
,
48698 &_swigt__p_wxCheckListBox
,
48699 &_swigt__p_wxChildFocusEvent
,
48700 &_swigt__p_wxChoice
,
48701 &_swigt__p_wxChoicebook
,
48702 &_swigt__p_wxChoicebookEvent
,
48703 &_swigt__p_wxClipboardTextEvent
,
48704 &_swigt__p_wxCloseEvent
,
48705 &_swigt__p_wxCollapsiblePane
,
48706 &_swigt__p_wxCollapsiblePaneEvent
,
48707 &_swigt__p_wxColour
,
48708 &_swigt__p_wxColourPickerCtrl
,
48709 &_swigt__p_wxColourPickerEvent
,
48710 &_swigt__p_wxComboBox
,
48711 &_swigt__p_wxCommandEvent
,
48712 &_swigt__p_wxContextHelp
,
48713 &_swigt__p_wxContextHelpButton
,
48714 &_swigt__p_wxContextMenuEvent
,
48715 &_swigt__p_wxControl
,
48716 &_swigt__p_wxControlWithItems
,
48717 &_swigt__p_wxCursor
,
48719 &_swigt__p_wxDateEvent
,
48720 &_swigt__p_wxDatePickerCtrl
,
48721 &_swigt__p_wxDateTime
,
48722 &_swigt__p_wxDirFilterListCtrl
,
48723 &_swigt__p_wxDirPickerCtrl
,
48724 &_swigt__p_wxDisplayChangedEvent
,
48725 &_swigt__p_wxDropFilesEvent
,
48726 &_swigt__p_wxDuplexMode
,
48727 &_swigt__p_wxEraseEvent
,
48728 &_swigt__p_wxEvent
,
48729 &_swigt__p_wxEvtHandler
,
48730 &_swigt__p_wxFSFile
,
48731 &_swigt__p_wxFileDirPickerEvent
,
48732 &_swigt__p_wxFilePickerCtrl
,
48733 &_swigt__p_wxFileSystem
,
48734 &_swigt__p_wxFlexGridSizer
,
48735 &_swigt__p_wxFocusEvent
,
48737 &_swigt__p_wxFontPickerCtrl
,
48738 &_swigt__p_wxFontPickerEvent
,
48739 &_swigt__p_wxGBSizerItem
,
48740 &_swigt__p_wxGIFHandler
,
48741 &_swigt__p_wxGauge
,
48742 &_swigt__p_wxGenericDirCtrl
,
48743 &_swigt__p_wxGenericDragImage
,
48744 &_swigt__p_wxGridBagSizer
,
48745 &_swigt__p_wxGridSizer
,
48746 &_swigt__p_wxHelpEvent
,
48747 &_swigt__p_wxHelpProvider
,
48748 &_swigt__p_wxHyperlinkCtrl
,
48749 &_swigt__p_wxHyperlinkEvent
,
48750 &_swigt__p_wxICOHandler
,
48752 &_swigt__p_wxIconizeEvent
,
48753 &_swigt__p_wxIdleEvent
,
48754 &_swigt__p_wxImage
,
48755 &_swigt__p_wxImageHandler
,
48756 &_swigt__p_wxImageList
,
48757 &_swigt__p_wxIndividualLayoutConstraint
,
48758 &_swigt__p_wxInitDialogEvent
,
48759 &_swigt__p_wxItemContainer
,
48760 &_swigt__p_wxJPEGHandler
,
48761 &_swigt__p_wxKeyEvent
,
48762 &_swigt__p_wxLayoutConstraints
,
48763 &_swigt__p_wxListBox
,
48764 &_swigt__p_wxListEvent
,
48765 &_swigt__p_wxListItem
,
48766 &_swigt__p_wxListItemAttr
,
48767 &_swigt__p_wxListView
,
48768 &_swigt__p_wxListbook
,
48769 &_swigt__p_wxListbookEvent
,
48770 &_swigt__p_wxMaximizeEvent
,
48771 &_swigt__p_wxMemoryDC
,
48773 &_swigt__p_wxMenuBar
,
48774 &_swigt__p_wxMenuEvent
,
48775 &_swigt__p_wxMenuItem
,
48776 &_swigt__p_wxMouseCaptureChangedEvent
,
48777 &_swigt__p_wxMouseCaptureLostEvent
,
48778 &_swigt__p_wxMouseEvent
,
48779 &_swigt__p_wxMoveEvent
,
48780 &_swigt__p_wxNavigationKeyEvent
,
48781 &_swigt__p_wxNcPaintEvent
,
48782 &_swigt__p_wxNotebook
,
48783 &_swigt__p_wxNotebookEvent
,
48784 &_swigt__p_wxNotifyEvent
,
48785 &_swigt__p_wxObject
,
48786 &_swigt__p_wxPCXHandler
,
48787 &_swigt__p_wxPNGHandler
,
48788 &_swigt__p_wxPNMHandler
,
48789 &_swigt__p_wxPaintEvent
,
48790 &_swigt__p_wxPaletteChangedEvent
,
48791 &_swigt__p_wxPaperSize
,
48792 &_swigt__p_wxPickerBase
,
48793 &_swigt__p_wxPoint
,
48794 &_swigt__p_wxPyApp
,
48795 &_swigt__p_wxPyCommandEvent
,
48796 &_swigt__p_wxPyControl
,
48797 &_swigt__p_wxPyEvent
,
48798 &_swigt__p_wxPyImageHandler
,
48799 &_swigt__p_wxPyListCtrl
,
48800 &_swigt__p_wxPySizer
,
48801 &_swigt__p_wxPyTreeCtrl
,
48802 &_swigt__p_wxPyTreeItemData
,
48803 &_swigt__p_wxPyValidator
,
48804 &_swigt__p_wxQueryNewPaletteEvent
,
48805 &_swigt__p_wxRadioBox
,
48806 &_swigt__p_wxRadioButton
,
48808 &_swigt__p_wxScrollBar
,
48809 &_swigt__p_wxScrollEvent
,
48810 &_swigt__p_wxScrollWinEvent
,
48811 &_swigt__p_wxSetCursorEvent
,
48812 &_swigt__p_wxShowEvent
,
48813 &_swigt__p_wxSimpleHelpProvider
,
48815 &_swigt__p_wxSizeEvent
,
48816 &_swigt__p_wxSizer
,
48817 &_swigt__p_wxSizerItem
,
48818 &_swigt__p_wxSlider
,
48819 &_swigt__p_wxSpinButton
,
48820 &_swigt__p_wxSpinCtrl
,
48821 &_swigt__p_wxSpinEvent
,
48822 &_swigt__p_wxStaticBitmap
,
48823 &_swigt__p_wxStaticBox
,
48824 &_swigt__p_wxStaticBoxSizer
,
48825 &_swigt__p_wxStaticLine
,
48826 &_swigt__p_wxStaticText
,
48827 &_swigt__p_wxStdDialogButtonSizer
,
48828 &_swigt__p_wxString
,
48829 &_swigt__p_wxSysColourChangedEvent
,
48830 &_swigt__p_wxTGAHandler
,
48831 &_swigt__p_wxTIFFHandler
,
48832 &_swigt__p_wxTextAttr
,
48833 &_swigt__p_wxTextCtrl
,
48834 &_swigt__p_wxTextUrlEvent
,
48835 &_swigt__p_wxToggleButton
,
48836 &_swigt__p_wxToolBar
,
48837 &_swigt__p_wxToolBarBase
,
48838 &_swigt__p_wxToolBarToolBase
,
48839 &_swigt__p_wxToolbook
,
48840 &_swigt__p_wxToolbookEvent
,
48841 &_swigt__p_wxTreeEvent
,
48842 &_swigt__p_wxTreeItemId
,
48843 &_swigt__p_wxTreebook
,
48844 &_swigt__p_wxTreebookEvent
,
48845 &_swigt__p_wxUpdateUIEvent
,
48846 &_swigt__p_wxValidator
,
48847 &_swigt__p_wxVisualAttributes
,
48848 &_swigt__p_wxWindow
,
48849 &_swigt__p_wxWindowBase
,
48850 &_swigt__p_wxWindowCreateEvent
,
48851 &_swigt__p_wxWindowDestroyEvent
,
48852 &_swigt__p_wxXPMHandler
,
48855 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
48856 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
48857 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
48858 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
48859 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
48860 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
48861 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
48862 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
48863 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
48864 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
48865 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
48866 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
48867 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}};
48868 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}};
48869 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}};
48870 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}};
48871 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
48872 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
48873 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}};
48874 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
48875 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48876 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
48877 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
48878 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
48879 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48880 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48881 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
48882 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48883 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
48884 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
48885 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
48886 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48887 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48888 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48889 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48890 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
48891 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotebookEvent
, _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListbookEvent
, _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChoicebookEvent
, _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxTreebookEvent
, _p_wxTreebookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxToolbookEvent
, _p_wxToolbookEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_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}};
48892 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
48893 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
48894 static swig_cast_info _swigc__p_wxControl
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBookCtrlBase
, _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolBar
, _p_wxToolBarTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPickerBase
, _p_wxPickerBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxControl
, 0, 0, 0}, {&_swigt__p_wxToolBarBase
, _p_wxToolBarBaseTo_p_wxControl
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_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_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_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_wxSpinButton
, _p_wxSpinButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxButton
, _p_wxButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxBitmapButton
, _p_wxBitmapButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxContextHelpButton
, _p_wxContextHelpButtonTo_p_wxControl
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxControl
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_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}};
48895 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}};
48896 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
48897 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
48898 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48899 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
48900 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48901 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48902 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
48903 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
48904 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48905 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48906 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
48907 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
48908 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48909 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
48910 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
48911 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48912 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48913 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
48914 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
48915 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
48916 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
48917 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48918 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
48919 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48920 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48921 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48922 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
48923 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
48924 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
48925 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
48926 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48927 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
48928 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_wxFontPickerEvent
, _p_wxFontPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTextUrlEvent
, _p_wxTextUrlEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_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_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_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_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}};
48929 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
48930 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
48931 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
48932 static swig_cast_info _swigc__p_wxMenu
[] = {{&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
48933 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_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_wxPickerBase
, _p_wxPickerBaseTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxToolbook
, _p_wxToolbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyControl
, _p_wxPyControlTo_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_wxChoicebook
, _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxStaticLine
, _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxListbook
, _p_wxListbookTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_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_wxSpinButton
, _p_wxSpinButtonTo_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_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}};
48934 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48935 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48936 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
48937 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48938 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
48939 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
48940 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48941 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
48942 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
48943 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}};
48944 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
48945 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
48946 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
48947 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
48948 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}};
48949 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
48950 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}};
48951 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
48952 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
48953 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
48954 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
48955 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
48956 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48957 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
48958 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
48959 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
48960 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
48961 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}};
48962 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
48963 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48964 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
48965 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
48966 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48967 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48968 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
48969 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
48970 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48971 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
48972 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
48973 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
48974 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
48975 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48976 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
48977 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48978 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48979 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
48980 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
48981 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
48982 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
48983 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
48984 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48985 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
48986 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
48987 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
48988 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
48989 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
48990 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
48991 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
48992 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
48993 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_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_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_wxPickerBase
, _p_wxPickerBaseTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyListCtrl
, _p_wxPyListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_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_wxColourPickerEvent
, _p_wxColourPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDirPickerEvent
, _p_wxFileDirPickerEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerEvent
, _p_wxFontPickerEventTo_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_wxListView
, _p_wxListViewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTreebook
, _p_wxTreebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkEvent
, _p_wxHyperlinkEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotebook
, _p_wxNotebookTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextCtrl
, _p_wxTextCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChoicebook
, _p_wxChoicebookTo_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_wxCollapsiblePaneEvent
, _p_wxCollapsiblePaneEventTo_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_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxListEvent
, _p_wxListEventTo_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_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_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_wxSpinButton
, _p_wxSpinButtonTo_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_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_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_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_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_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDatePickerCtrl
, _p_wxDatePickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_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}};
48994 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
48995 static swig_cast_info _swigc__p_wxPickerBase
[] = { {&_swigt__p_wxPickerBase
, 0, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxPickerBase
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxPickerBase
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_p_wxPickerBase
, 0, 0}, {&_swigt__p_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxPickerBase
, 0, 0},{0, 0, 0, 0}};
48996 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
48997 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
48998 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}};
48999 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49000 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49001 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49002 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49003 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49004 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49005 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49006 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49007 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49008 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49009 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49010 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49011 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49012 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49013 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49014 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49015 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49016 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49017 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49018 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49019 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49020 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49021 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}};
49022 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49023 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49024 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49025 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49026 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49027 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49028 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49029 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}};
49030 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49031 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxWindow
, 0, 0}, {&_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_wxPickerBase
, _p_wxPickerBaseTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxRadioButton
, _p_wxRadioButtonTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxToggleButton
, _p_wxToggleButtonTo_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_wxHyperlinkCtrl
, _p_wxHyperlinkCtrlTo_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_wxSpinButton
, _p_wxSpinButtonTo_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_wxFontPickerCtrl
, _p_wxFontPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirPickerCtrl
, _p_wxDirPickerCtrlTo_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}};
49032 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49034 static swig_cast_info
*swig_cast_initial
[] = {
49037 _swigc__p_form_ops_t
,
49040 _swigc__p_unsigned_char
,
49041 _swigc__p_unsigned_int
,
49042 _swigc__p_unsigned_long
,
49044 _swigc__p_wxANIHandler
,
49045 _swigc__p_wxAcceleratorTable
,
49046 _swigc__p_wxActivateEvent
,
49047 _swigc__p_wxArrayInt
,
49048 _swigc__p_wxArrayString
,
49049 _swigc__p_wxBMPHandler
,
49050 _swigc__p_wxBitmap
,
49051 _swigc__p_wxBitmapButton
,
49052 _swigc__p_wxBookCtrlBase
,
49053 _swigc__p_wxBookCtrlBaseEvent
,
49054 _swigc__p_wxBoxSizer
,
49055 _swigc__p_wxButton
,
49056 _swigc__p_wxCURHandler
,
49057 _swigc__p_wxCheckBox
,
49058 _swigc__p_wxCheckListBox
,
49059 _swigc__p_wxChildFocusEvent
,
49060 _swigc__p_wxChoice
,
49061 _swigc__p_wxChoicebook
,
49062 _swigc__p_wxChoicebookEvent
,
49063 _swigc__p_wxClipboardTextEvent
,
49064 _swigc__p_wxCloseEvent
,
49065 _swigc__p_wxCollapsiblePane
,
49066 _swigc__p_wxCollapsiblePaneEvent
,
49067 _swigc__p_wxColour
,
49068 _swigc__p_wxColourPickerCtrl
,
49069 _swigc__p_wxColourPickerEvent
,
49070 _swigc__p_wxComboBox
,
49071 _swigc__p_wxCommandEvent
,
49072 _swigc__p_wxContextHelp
,
49073 _swigc__p_wxContextHelpButton
,
49074 _swigc__p_wxContextMenuEvent
,
49075 _swigc__p_wxControl
,
49076 _swigc__p_wxControlWithItems
,
49077 _swigc__p_wxCursor
,
49079 _swigc__p_wxDateEvent
,
49080 _swigc__p_wxDatePickerCtrl
,
49081 _swigc__p_wxDateTime
,
49082 _swigc__p_wxDirFilterListCtrl
,
49083 _swigc__p_wxDirPickerCtrl
,
49084 _swigc__p_wxDisplayChangedEvent
,
49085 _swigc__p_wxDropFilesEvent
,
49086 _swigc__p_wxDuplexMode
,
49087 _swigc__p_wxEraseEvent
,
49089 _swigc__p_wxEvtHandler
,
49090 _swigc__p_wxFSFile
,
49091 _swigc__p_wxFileDirPickerEvent
,
49092 _swigc__p_wxFilePickerCtrl
,
49093 _swigc__p_wxFileSystem
,
49094 _swigc__p_wxFlexGridSizer
,
49095 _swigc__p_wxFocusEvent
,
49097 _swigc__p_wxFontPickerCtrl
,
49098 _swigc__p_wxFontPickerEvent
,
49099 _swigc__p_wxGBSizerItem
,
49100 _swigc__p_wxGIFHandler
,
49102 _swigc__p_wxGenericDirCtrl
,
49103 _swigc__p_wxGenericDragImage
,
49104 _swigc__p_wxGridBagSizer
,
49105 _swigc__p_wxGridSizer
,
49106 _swigc__p_wxHelpEvent
,
49107 _swigc__p_wxHelpProvider
,
49108 _swigc__p_wxHyperlinkCtrl
,
49109 _swigc__p_wxHyperlinkEvent
,
49110 _swigc__p_wxICOHandler
,
49112 _swigc__p_wxIconizeEvent
,
49113 _swigc__p_wxIdleEvent
,
49115 _swigc__p_wxImageHandler
,
49116 _swigc__p_wxImageList
,
49117 _swigc__p_wxIndividualLayoutConstraint
,
49118 _swigc__p_wxInitDialogEvent
,
49119 _swigc__p_wxItemContainer
,
49120 _swigc__p_wxJPEGHandler
,
49121 _swigc__p_wxKeyEvent
,
49122 _swigc__p_wxLayoutConstraints
,
49123 _swigc__p_wxListBox
,
49124 _swigc__p_wxListEvent
,
49125 _swigc__p_wxListItem
,
49126 _swigc__p_wxListItemAttr
,
49127 _swigc__p_wxListView
,
49128 _swigc__p_wxListbook
,
49129 _swigc__p_wxListbookEvent
,
49130 _swigc__p_wxMaximizeEvent
,
49131 _swigc__p_wxMemoryDC
,
49133 _swigc__p_wxMenuBar
,
49134 _swigc__p_wxMenuEvent
,
49135 _swigc__p_wxMenuItem
,
49136 _swigc__p_wxMouseCaptureChangedEvent
,
49137 _swigc__p_wxMouseCaptureLostEvent
,
49138 _swigc__p_wxMouseEvent
,
49139 _swigc__p_wxMoveEvent
,
49140 _swigc__p_wxNavigationKeyEvent
,
49141 _swigc__p_wxNcPaintEvent
,
49142 _swigc__p_wxNotebook
,
49143 _swigc__p_wxNotebookEvent
,
49144 _swigc__p_wxNotifyEvent
,
49145 _swigc__p_wxObject
,
49146 _swigc__p_wxPCXHandler
,
49147 _swigc__p_wxPNGHandler
,
49148 _swigc__p_wxPNMHandler
,
49149 _swigc__p_wxPaintEvent
,
49150 _swigc__p_wxPaletteChangedEvent
,
49151 _swigc__p_wxPaperSize
,
49152 _swigc__p_wxPickerBase
,
49155 _swigc__p_wxPyCommandEvent
,
49156 _swigc__p_wxPyControl
,
49157 _swigc__p_wxPyEvent
,
49158 _swigc__p_wxPyImageHandler
,
49159 _swigc__p_wxPyListCtrl
,
49160 _swigc__p_wxPySizer
,
49161 _swigc__p_wxPyTreeCtrl
,
49162 _swigc__p_wxPyTreeItemData
,
49163 _swigc__p_wxPyValidator
,
49164 _swigc__p_wxQueryNewPaletteEvent
,
49165 _swigc__p_wxRadioBox
,
49166 _swigc__p_wxRadioButton
,
49168 _swigc__p_wxScrollBar
,
49169 _swigc__p_wxScrollEvent
,
49170 _swigc__p_wxScrollWinEvent
,
49171 _swigc__p_wxSetCursorEvent
,
49172 _swigc__p_wxShowEvent
,
49173 _swigc__p_wxSimpleHelpProvider
,
49175 _swigc__p_wxSizeEvent
,
49177 _swigc__p_wxSizerItem
,
49178 _swigc__p_wxSlider
,
49179 _swigc__p_wxSpinButton
,
49180 _swigc__p_wxSpinCtrl
,
49181 _swigc__p_wxSpinEvent
,
49182 _swigc__p_wxStaticBitmap
,
49183 _swigc__p_wxStaticBox
,
49184 _swigc__p_wxStaticBoxSizer
,
49185 _swigc__p_wxStaticLine
,
49186 _swigc__p_wxStaticText
,
49187 _swigc__p_wxStdDialogButtonSizer
,
49188 _swigc__p_wxString
,
49189 _swigc__p_wxSysColourChangedEvent
,
49190 _swigc__p_wxTGAHandler
,
49191 _swigc__p_wxTIFFHandler
,
49192 _swigc__p_wxTextAttr
,
49193 _swigc__p_wxTextCtrl
,
49194 _swigc__p_wxTextUrlEvent
,
49195 _swigc__p_wxToggleButton
,
49196 _swigc__p_wxToolBar
,
49197 _swigc__p_wxToolBarBase
,
49198 _swigc__p_wxToolBarToolBase
,
49199 _swigc__p_wxToolbook
,
49200 _swigc__p_wxToolbookEvent
,
49201 _swigc__p_wxTreeEvent
,
49202 _swigc__p_wxTreeItemId
,
49203 _swigc__p_wxTreebook
,
49204 _swigc__p_wxTreebookEvent
,
49205 _swigc__p_wxUpdateUIEvent
,
49206 _swigc__p_wxValidator
,
49207 _swigc__p_wxVisualAttributes
,
49208 _swigc__p_wxWindow
,
49209 _swigc__p_wxWindowBase
,
49210 _swigc__p_wxWindowCreateEvent
,
49211 _swigc__p_wxWindowDestroyEvent
,
49212 _swigc__p_wxXPMHandler
,
49216 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49218 static swig_const_info swig_const_table
[] = {
49219 {0, 0, 0, 0.0, 0, 0}};
49224 /* -----------------------------------------------------------------------------
49225 * Type initialization:
49226 * This problem is tough by the requirement that no dynamic
49227 * memory is used. Also, since swig_type_info structures store pointers to
49228 * swig_cast_info structures and swig_cast_info structures store pointers back
49229 * to swig_type_info structures, we need some lookup code at initialization.
49230 * The idea is that swig generates all the structures that are needed.
49231 * The runtime then collects these partially filled structures.
49232 * The SWIG_InitializeModule function takes these initial arrays out of
49233 * swig_module, and does all the lookup, filling in the swig_module.types
49234 * array with the correct data and linking the correct swig_cast_info
49235 * structures together.
49237 * The generated swig_type_info structures are assigned staticly to an initial
49238 * array. We just loop though that array, and handle each type individually.
49239 * First we lookup if this type has been already loaded, and if so, use the
49240 * loaded structure instead of the generated one. Then we have to fill in the
49241 * cast linked list. The cast data is initially stored in something like a
49242 * two-dimensional array. Each row corresponds to a type (there are the same
49243 * number of rows as there are in the swig_type_initial array). Each entry in
49244 * a column is one of the swig_cast_info structures for that type.
49245 * The cast_initial array is actually an array of arrays, because each row has
49246 * a variable number of columns. So to actually build the cast linked list,
49247 * we find the array of casts associated with the type, and loop through it
49248 * adding the casts to the list. The one last trick we need to do is making
49249 * sure the type pointer in the swig_cast_info struct is correct.
49251 * First off, we lookup the cast->type name to see if it is already loaded.
49252 * There are three cases to handle:
49253 * 1) If the cast->type has already been loaded AND the type we are adding
49254 * casting info to has not been loaded (it is in this module), THEN we
49255 * replace the cast->type pointer with the type pointer that has already
49257 * 2) If BOTH types (the one we are adding casting info to, and the
49258 * cast->type) are loaded, THEN the cast info has already been loaded by
49259 * the previous module so we just ignore it.
49260 * 3) Finally, if cast->type has not already been loaded, then we add that
49261 * swig_cast_info to the linked list (because the cast->type) pointer will
49263 * ----------------------------------------------------------------------------- */
49273 #define SWIGRUNTIME_DEBUG
49277 SWIG_InitializeModule(void *clientdata
) {
49279 swig_module_info
*module_head
;
49280 static int init_run
= 0;
49282 clientdata
= clientdata
;
49284 if (init_run
) return;
49287 /* Initialize the swig_module */
49288 swig_module
.type_initial
= swig_type_initial
;
49289 swig_module
.cast_initial
= swig_cast_initial
;
49291 /* Try and load any already created modules */
49292 module_head
= SWIG_GetModule(clientdata
);
49294 swig_module
.next
= module_head
->next
;
49295 module_head
->next
= &swig_module
;
49297 /* This is the first module loaded */
49298 swig_module
.next
= &swig_module
;
49299 SWIG_SetModule(clientdata
, &swig_module
);
49302 /* Now work on filling in swig_module.types */
49303 #ifdef SWIGRUNTIME_DEBUG
49304 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49306 for (i
= 0; i
< swig_module
.size
; ++i
) {
49307 swig_type_info
*type
= 0;
49308 swig_type_info
*ret
;
49309 swig_cast_info
*cast
;
49311 #ifdef SWIGRUNTIME_DEBUG
49312 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49315 /* if there is another module already loaded */
49316 if (swig_module
.next
!= &swig_module
) {
49317 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49320 /* Overwrite clientdata field */
49321 #ifdef SWIGRUNTIME_DEBUG
49322 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49324 if (swig_module
.type_initial
[i
]->clientdata
) {
49325 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49326 #ifdef SWIGRUNTIME_DEBUG
49327 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49331 type
= swig_module
.type_initial
[i
];
49334 /* Insert casting types */
49335 cast
= swig_module
.cast_initial
[i
];
49336 while (cast
->type
) {
49337 /* Don't need to add information already in the list */
49339 #ifdef SWIGRUNTIME_DEBUG
49340 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49342 if (swig_module
.next
!= &swig_module
) {
49343 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49344 #ifdef SWIGRUNTIME_DEBUG
49345 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49349 if (type
== swig_module
.type_initial
[i
]) {
49350 #ifdef SWIGRUNTIME_DEBUG
49351 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49356 /* Check for casting already in the list */
49357 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49358 #ifdef SWIGRUNTIME_DEBUG
49359 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49361 if (!ocast
) ret
= 0;
49366 #ifdef SWIGRUNTIME_DEBUG
49367 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49370 type
->cast
->prev
= cast
;
49371 cast
->next
= type
->cast
;
49377 /* Set entry in modules->types array equal to the type */
49378 swig_module
.types
[i
] = type
;
49380 swig_module
.types
[i
] = 0;
49382 #ifdef SWIGRUNTIME_DEBUG
49383 printf("**** SWIG_InitializeModule: Cast List ******\n");
49384 for (i
= 0; i
< swig_module
.size
; ++i
) {
49386 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49387 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49388 while (cast
->type
) {
49389 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49393 printf("---- Total casts: %d\n",j
);
49395 printf("**** SWIG_InitializeModule: Cast List ******\n");
49399 /* This function will propagate the clientdata field of type to
49400 * any new swig_type_info structures that have been added into the list
49401 * of equivalent types. It is like calling
49402 * SWIG_TypeClientData(type, clientdata) a second time.
49405 SWIG_PropagateClientData(void) {
49407 swig_cast_info
*equiv
;
49408 static int init_run
= 0;
49410 if (init_run
) return;
49413 for (i
= 0; i
< swig_module
.size
; i
++) {
49414 if (swig_module
.types
[i
]->clientdata
) {
49415 equiv
= swig_module
.types
[i
]->cast
;
49417 if (!equiv
->converter
) {
49418 if (equiv
->type
&& !equiv
->type
->clientdata
)
49419 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49421 equiv
= equiv
->next
;
49441 /* Python-specific SWIG API */
49442 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49443 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49444 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49446 /* -----------------------------------------------------------------------------
49447 * global variable support code.
49448 * ----------------------------------------------------------------------------- */
49450 typedef struct swig_globalvar
{
49451 char *name
; /* Name of global variable */
49452 PyObject
*(*get_attr
)(void); /* Return the current value */
49453 int (*set_attr
)(PyObject
*); /* Set the value */
49454 struct swig_globalvar
*next
;
49457 typedef struct swig_varlinkobject
{
49459 swig_globalvar
*vars
;
49460 } swig_varlinkobject
;
49462 SWIGINTERN PyObject
*
49463 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
49464 return PyString_FromString("<Swig global variables>");
49467 SWIGINTERN PyObject
*
49468 swig_varlink_str(swig_varlinkobject
*v
) {
49469 PyObject
*str
= PyString_FromString("(");
49470 swig_globalvar
*var
;
49471 for (var
= v
->vars
; var
; var
=var
->next
) {
49472 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
49473 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
49475 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
49480 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
49481 PyObject
*str
= swig_varlink_str(v
);
49482 fprintf(fp
,"Swig global variables ");
49483 fprintf(fp
,"%s\n", PyString_AsString(str
));
49489 swig_varlink_dealloc(swig_varlinkobject
*v
) {
49490 swig_globalvar
*var
= v
->vars
;
49492 swig_globalvar
*n
= var
->next
;
49499 SWIGINTERN PyObject
*
49500 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
49501 PyObject
*res
= NULL
;
49502 swig_globalvar
*var
= v
->vars
;
49504 if (strcmp(var
->name
,n
) == 0) {
49505 res
= (*var
->get_attr
)();
49510 if (res
== NULL
&& !PyErr_Occurred()) {
49511 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49517 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
49519 swig_globalvar
*var
= v
->vars
;
49521 if (strcmp(var
->name
,n
) == 0) {
49522 res
= (*var
->set_attr
)(p
);
49527 if (res
== 1 && !PyErr_Occurred()) {
49528 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
49533 SWIGINTERN PyTypeObject
*
49534 swig_varlink_type(void) {
49535 static char varlink__doc__
[] = "Swig var link object";
49536 static PyTypeObject varlink_type
;
49537 static int type_init
= 0;
49539 const PyTypeObject tmp
49541 PyObject_HEAD_INIT(NULL
)
49542 0, /* Number of items in variable part (ob_size) */
49543 (char *)"swigvarlink", /* Type name (tp_name) */
49544 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
49545 0, /* Itemsize (tp_itemsize) */
49546 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
49547 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
49548 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
49549 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
49550 0, /* tp_compare */
49551 (reprfunc
) swig_varlink_repr
, /* tp_repr */
49552 0, /* tp_as_number */
49553 0, /* tp_as_sequence */
49554 0, /* tp_as_mapping */
49557 (reprfunc
)swig_varlink_str
, /* tp_str */
49558 0, /* tp_getattro */
49559 0, /* tp_setattro */
49560 0, /* tp_as_buffer */
49562 varlink__doc__
, /* tp_doc */
49563 0, /* tp_traverse */
49565 0, /* tp_richcompare */
49566 0, /* tp_weaklistoffset */
49567 #if PY_VERSION_HEX >= 0x02020000
49568 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
49570 #if PY_VERSION_HEX >= 0x02030000
49573 #ifdef COUNT_ALLOCS
49574 0,0,0,0 /* tp_alloc -> tp_next */
49577 varlink_type
= tmp
;
49578 varlink_type
.ob_type
= &PyType_Type
;
49581 return &varlink_type
;
49584 /* Create a variable linking object for use later */
49585 SWIGINTERN PyObject
*
49586 SWIG_Python_newvarlink(void) {
49587 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
49591 return ((PyObject
*) result
);
49595 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
49596 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
49597 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
49599 size_t size
= strlen(name
)+1;
49600 gv
->name
= (char *)malloc(size
);
49602 strncpy(gv
->name
,name
,size
);
49603 gv
->get_attr
= get_attr
;
49604 gv
->set_attr
= set_attr
;
49605 gv
->next
= v
->vars
;
49611 SWIGINTERN PyObject
*
49613 static PyObject
*_SWIG_globals
= 0;
49614 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
49615 return _SWIG_globals
;
49618 /* -----------------------------------------------------------------------------
49619 * constants/methods manipulation
49620 * ----------------------------------------------------------------------------- */
49622 /* Install Constants */
49624 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
49627 for (i
= 0; constants
[i
].type
; ++i
) {
49628 switch(constants
[i
].type
) {
49629 case SWIG_PY_POINTER
:
49630 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
49632 case SWIG_PY_BINARY
:
49633 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
49640 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
49646 /* -----------------------------------------------------------------------------*/
49647 /* Fix SwigMethods to carry the callback ptrs when needed */
49648 /* -----------------------------------------------------------------------------*/
49651 SWIG_Python_FixMethods(PyMethodDef
*methods
,
49652 swig_const_info
*const_table
,
49653 swig_type_info
**types
,
49654 swig_type_info
**types_initial
) {
49656 for (i
= 0; methods
[i
].ml_name
; ++i
) {
49657 const char *c
= methods
[i
].ml_doc
;
49658 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
49660 swig_const_info
*ci
= 0;
49661 const char *name
= c
+ 10;
49662 for (j
= 0; const_table
[j
].type
; ++j
) {
49663 if (strncmp(const_table
[j
].name
, name
,
49664 strlen(const_table
[j
].name
)) == 0) {
49665 ci
= &(const_table
[j
]);
49670 size_t shift
= (ci
->ptype
) - types
;
49671 swig_type_info
*ty
= types_initial
[shift
];
49672 size_t ldoc
= (c
- methods
[i
].ml_doc
);
49673 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
49674 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
49677 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
49679 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
49681 strncpy(buff
, "swig_ptr: ", 10);
49683 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
49684 methods
[i
].ml_doc
= ndoc
;
49696 /* -----------------------------------------------------------------------------*
49697 * Partial Init method
49698 * -----------------------------------------------------------------------------*/
49703 SWIGEXPORT
void SWIG_init(void) {
49706 /* Fix SwigMethods to carry the callback ptrs when needed */
49707 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
49709 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
49710 d
= PyModule_GetDict(m
);
49712 SWIG_InitializeModule(0);
49713 SWIG_InstallConstants(d
,swig_const_table
);
49716 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
49717 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
49718 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
49719 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
49720 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
49721 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
49722 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
49723 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
49724 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
49725 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
49726 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
49727 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
49728 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
49729 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
49730 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
49731 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
49732 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
49733 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
49734 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
49735 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
49736 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
49737 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
49738 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
49739 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
49740 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
49741 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
49742 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
49743 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
49744 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
49745 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
49746 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
49747 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
49748 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
49749 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
49750 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
49751 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
49752 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
49753 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
49754 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
49755 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
49756 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
49757 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
49758 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
49759 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
49760 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
49761 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
49762 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
49763 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
49764 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
49765 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
49766 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
49767 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
49768 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
49769 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
49770 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
49771 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
49772 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
49773 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
49774 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
49775 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
49776 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
49777 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
49778 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
49779 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
49780 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
49781 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
49782 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
49783 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
49784 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
49785 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
49786 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
49787 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
49788 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
49789 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
49790 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
49791 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
49792 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
49793 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
49794 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
49795 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
49796 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
49797 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
49798 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
49799 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
49800 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
49801 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
49802 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
49803 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
49804 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
49805 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
49806 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
49807 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
49808 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
49809 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
49810 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
49811 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
49812 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
49813 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
49814 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
49815 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
49816 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
49817 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
49818 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
49819 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
49820 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
49821 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
49822 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
49823 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
49824 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
49825 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
49826 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
49827 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
49828 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
49829 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
49830 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
49831 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
49832 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
49833 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
49834 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
49835 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
49836 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
49837 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
49838 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
49839 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
49840 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
49841 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
49842 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
49843 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
49844 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
49845 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
49846 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
49847 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
49848 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
49849 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
49850 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
49851 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
49852 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
49853 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
49854 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
49855 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
49856 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
49857 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
49858 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
49859 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
49860 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
49861 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
49862 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
49863 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
49864 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
49865 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
49866 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
49867 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
49868 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
49869 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
49870 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
49871 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
49872 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
49873 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
49874 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
49875 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
49876 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
49877 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
49878 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
49879 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
49880 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
49881 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
49882 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
49883 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
49884 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
49885 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
49886 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
49887 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
49888 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
49889 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
49890 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
49891 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
49892 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
49893 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
49894 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
49895 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
49896 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
49897 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
49898 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
49899 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
49900 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
49901 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
49902 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
49903 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
49904 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
49905 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
49906 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
49907 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
49908 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
49909 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
49910 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
49911 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
49912 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
49913 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
49914 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
49915 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
49916 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
49917 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
49918 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
49919 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
49920 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
49921 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
49922 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
49923 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
49924 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
49925 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
49926 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
49927 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
49928 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
49929 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
49930 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
49931 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
49932 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
49933 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
49934 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
49935 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
49936 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
49937 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
49938 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
49939 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
49940 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
49941 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
49942 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
49943 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
49944 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
49945 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
49946 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
49947 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
49948 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
49949 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
49950 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
49951 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
49952 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
49953 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
49954 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
49955 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
49956 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
49957 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
49958 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
49959 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
49960 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
49961 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
49962 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
49963 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
49964 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
49965 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
49966 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
49967 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
49968 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
49969 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
49970 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
49971 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
49972 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
49973 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
49974 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
49975 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
49977 // Map renamed classes back to their common name for OOR
49978 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
49980 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
49981 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
49982 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
49983 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
49984 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
49985 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
49986 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
49987 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
49988 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
49989 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
49990 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
49991 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
49992 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
49993 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
49994 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
49995 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
49996 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
49997 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
49998 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
49999 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50000 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50001 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50002 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50003 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50004 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50005 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50006 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50007 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50008 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50009 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50010 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50011 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50012 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50013 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50014 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50015 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50016 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50017 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50018 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50019 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50020 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50021 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50022 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50023 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50024 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50025 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50026 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50027 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50028 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50029 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50030 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50031 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50032 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50033 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50034 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50035 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50037 // Map renamed classes back to their common name for OOR
50038 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50039 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50041 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50042 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50043 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50044 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50045 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50046 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50047 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50048 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50049 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50050 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50051 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50053 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50055 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50056 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50057 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50058 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50059 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50060 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50061 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50062 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50063 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50064 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50065 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50066 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50067 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50068 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50069 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50070 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50071 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50072 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50073 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50074 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50075 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50076 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50077 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50078 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50079 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50080 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50081 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50082 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50083 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50084 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50085 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50086 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50087 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50088 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50089 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50090 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50091 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50092 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50093 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50094 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50095 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50096 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50097 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50098 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50099 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50100 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50101 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));