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_wxSearchCtrl swig_types[136]
2603 #define SWIGTYPE_p_wxSetCursorEvent swig_types[137]
2604 #define SWIGTYPE_p_wxShowEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[139]
2606 #define SWIGTYPE_p_wxSize swig_types[140]
2607 #define SWIGTYPE_p_wxSizeEvent swig_types[141]
2608 #define SWIGTYPE_p_wxSizer swig_types[142]
2609 #define SWIGTYPE_p_wxSizerItem swig_types[143]
2610 #define SWIGTYPE_p_wxSlider swig_types[144]
2611 #define SWIGTYPE_p_wxSpinButton swig_types[145]
2612 #define SWIGTYPE_p_wxSpinCtrl swig_types[146]
2613 #define SWIGTYPE_p_wxSpinEvent swig_types[147]
2614 #define SWIGTYPE_p_wxStaticBitmap swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBox swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStaticLine swig_types[151]
2618 #define SWIGTYPE_p_wxStaticText swig_types[152]
2619 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[153]
2620 #define SWIGTYPE_p_wxString swig_types[154]
2621 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[155]
2622 #define SWIGTYPE_p_wxTGAHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTIFFHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTextAttr swig_types[158]
2625 #define SWIGTYPE_p_wxTextCtrl swig_types[159]
2626 #define SWIGTYPE_p_wxTextUrlEvent swig_types[160]
2627 #define SWIGTYPE_p_wxToggleButton swig_types[161]
2628 #define SWIGTYPE_p_wxToolBar swig_types[162]
2629 #define SWIGTYPE_p_wxToolBarBase swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarToolBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolbook swig_types[165]
2632 #define SWIGTYPE_p_wxToolbookEvent swig_types[166]
2633 #define SWIGTYPE_p_wxTreeEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeItemId swig_types[168]
2635 #define SWIGTYPE_p_wxTreebook swig_types[169]
2636 #define SWIGTYPE_p_wxTreebookEvent swig_types[170]
2637 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[171]
2638 #define SWIGTYPE_p_wxValidator swig_types[172]
2639 #define SWIGTYPE_p_wxVisualAttributes swig_types[173]
2640 #define SWIGTYPE_p_wxWindow swig_types[174]
2641 #define SWIGTYPE_p_wxWindowBase swig_types[175]
2642 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[176]
2643 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[177]
2644 #define SWIGTYPE_p_wxXPMHandler swig_types[178]
2645 static swig_type_info
*swig_types
[180];
2646 static swig_module_info swig_module
= {swig_types
, 179, 0, 0, 0, 0};
2647 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2648 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2650 /* -------- TYPES TABLE (END) -------- */
2652 #if (PY_VERSION_HEX <= 0x02000000)
2653 # if !defined(SWIG_PYTHON_CLASSIC)
2654 # error "This python version requires to use swig with the '-classic' option"
2657 #if (PY_VERSION_HEX <= 0x02020000)
2658 # error "This python version requires to use swig with the '-nomodern' option"
2660 #if (PY_VERSION_HEX <= 0x02020000)
2661 # error "This python version requires to use swig with the '-nomodernargs' option"
2664 # error "This python version requires to use swig with the '-nofastunpack' option"
2667 /*-----------------------------------------------
2668 @(target):= _controls_.so
2669 ------------------------------------------------*/
2670 #define SWIG_init init_controls_
2672 #define SWIG_name "_controls_"
2674 #define SWIGVERSION 0x010329
2677 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2678 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2681 #include <stdexcept>
2685 class PyObject_ptr
{
2690 PyObject_ptr() :_obj(0)
2694 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2699 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2701 if (initial_ref
) Py_XINCREF(_obj
);
2704 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2706 Py_XINCREF(item
._obj
);
2717 operator PyObject
*() const
2722 PyObject
*operator->() const
2731 struct PyObject_var
: PyObject_ptr
{
2732 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2734 PyObject_var
& operator = (PyObject
* obj
)
2744 #include "wx/wxPython/wxPython.h"
2745 #include "wx/wxPython/pyclasses.h"
2747 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2748 static const wxString
wxPyEmptyString(wxEmptyString
);
2749 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2751 const wxArrayString wxPyEmptyStringArray
;
2753 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2755 #define SWIG_From_long PyInt_FromLong
2758 SWIGINTERNINLINE PyObject
*
2759 SWIG_From_int (int value
)
2761 return SWIG_From_long (value
);
2767 # define LLONG_MIN LONG_LONG_MIN
2770 # define LLONG_MAX LONG_LONG_MAX
2773 # define ULLONG_MAX ULONG_LONG_MAX
2778 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2780 if (PyNumber_Check(obj
)) {
2781 if (val
) *val
= PyInt_AsLong(obj
);
2784 return SWIG_TypeError
;
2789 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2792 int res
= SWIG_AsVal_long (obj
, &v
);
2793 if (SWIG_IsOK(res
)) {
2794 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2795 return SWIG_OverflowError
;
2797 if (val
) *val
= static_cast< int >(v
);
2803 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2806 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2808 if (obj
== Py_True
) {
2809 if (val
) *val
= true;
2811 } else if (obj
== Py_False
) {
2812 if (val
) *val
= false;
2816 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2817 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2822 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2823 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2824 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2825 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2826 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2827 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2828 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2830 #include <wx/checklst.h>
2832 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2833 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2836 wxPyClientData
* data
= new wxPyClientData(clientData
);
2837 self
->Insert(item
, pos
, data
);
2840 self
->Insert(item
, pos
);
2844 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2847 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2848 return SWIG_TypeError
;
2851 *val
= (unsigned long)v
;
2857 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2860 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2861 if (SWIG_IsOK(res
)) {
2862 if ((v
> UINT_MAX
)) {
2863 return SWIG_OverflowError
;
2865 if (val
) *val
= static_cast< unsigned int >(v
);
2871 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2872 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2874 self
->GetSelections(lst
);
2875 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2876 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2878 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2880 wxPyEndBlockThreads(blocked
);
2883 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2885 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2886 self
->GetItem(item
)->SetTextColour(c
);
2889 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2891 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2892 self
->GetItem(item
)->SetBackgroundColour(c
);
2895 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2897 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2898 self
->GetItem(item
)->SetFont(f
);
2901 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2902 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2903 self
->AppendText(text
);
2905 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2906 return self
->GetValue().Mid(from
, to
- from
);
2908 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2909 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2910 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2911 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2912 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2914 SWIGINTERNINLINE PyObject
*
2915 SWIG_From_unsigned_SS_long (unsigned long value
)
2917 return (value
> LONG_MAX
) ?
2918 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2922 SWIGINTERNINLINE PyObject
*
2923 SWIG_From_size_t (size_t value
)
2925 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2929 SWIGINTERNINLINE PyObject
*
2930 SWIG_From_unsigned_SS_int (unsigned int value
)
2932 return SWIG_From_unsigned_SS_long (value
);
2936 #include <wx/slider.h>
2939 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2940 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2942 #if !wxUSE_TOGGLEBTN
2943 // implement dummy items for platforms that don't have this class
2945 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2947 class wxToggleButton
: public wxControl
2950 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2951 const wxPoint
&, const wxSize
&, long,
2952 const wxValidator
&, const wxString
&)
2953 { wxPyRaiseNotImplemented(); }
2956 { wxPyRaiseNotImplemented(); }
2960 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2962 SWIGINTERNINLINE
int
2963 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2966 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2967 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2971 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2972 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2973 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2975 Py_INCREF(udata
->m_obj
);
2976 return udata
->m_obj
;
2982 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2983 self
->SetClientData(new wxPyUserData(clientData
));
2985 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
){
2986 wxPyUserData
* udata
= NULL
;
2987 if (clientData
&& clientData
!= Py_None
)
2988 udata
= new wxPyUserData(clientData
);
2989 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2990 shortHelp
, longHelp
, udata
);
2992 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
){
2993 wxPyUserData
* udata
= NULL
;
2994 if (clientData
&& clientData
!= Py_None
)
2995 udata
= new wxPyUserData(clientData
);
2996 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2997 shortHelp
, longHelp
, udata
);
2999 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3000 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3002 Py_INCREF(udata
->m_obj
);
3003 return udata
->m_obj
;
3009 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3010 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3013 #include <wx/listctrl.h>
3015 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3016 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3017 // Python aware sorting function for wxPyListCtrl
3018 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3020 PyObject
* func
= (PyObject
*)funcPtr
;
3021 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3023 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3024 PyObject
* result
= PyEval_CallObject(func
, args
);
3027 retval
= PyInt_AsLong(result
);
3031 wxPyEndBlockThreads(blocked
);
3035 // C++ Version of a Python aware class
3036 class wxPyListCtrl
: public wxListCtrl
{
3037 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3039 wxPyListCtrl() : wxListCtrl() {}
3040 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3044 const wxValidator
& validator
,
3045 const wxString
& name
) :
3046 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3048 bool Create(wxWindow
* parent
, wxWindowID id
,
3052 const wxValidator
& validator
,
3053 const wxString
& name
) {
3054 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3057 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3058 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3060 // use the virtual version to avoid a confusing assert in the base class
3061 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3062 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3067 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3069 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3070 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3071 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3072 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3075 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3077 item
.SetMask( wxLIST_MASK_STATE
|
3085 if (self
->GetColumn(col
, item
))
3086 return new wxListItem(item
);
3090 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3091 wxListItem
* info
= new wxListItem
;
3092 info
->m_itemId
= itemId
;
3094 info
->m_mask
= 0xFFFF;
3095 self
->GetItem(*info
);
3098 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3100 self
->GetItemPosition(item
, pos
);
3103 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3105 self
->GetItemRect(item
, rect
, code
);
3108 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3109 if (!PyCallable_Check(func
))
3111 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3113 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3121 #include <wx/treectrl.h>
3122 #include "wx/wxPython/pytree.h"
3124 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3125 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3126 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3127 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3129 static wxTreeItemId wxNullTreeItemId
;
3131 // C++ version of Python aware wxTreeCtrl
3132 class wxPyTreeCtrl
: public wxTreeCtrl
{
3133 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3135 wxPyTreeCtrl() : wxTreeCtrl() {}
3136 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3140 const wxValidator
& validator
,
3141 const wxString
& name
) :
3142 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3144 bool Create(wxWindow
*parent
, wxWindowID id
,
3148 const wxValidator
& validator
,
3149 const wxString
& name
) {
3150 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3154 int OnCompareItems(const wxTreeItemId
& item1
,
3155 const wxTreeItemId
& item2
) {
3158 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3159 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3160 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3161 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3162 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3166 wxPyEndBlockThreads(blocked
);
3168 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3174 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3177 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3178 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3180 data
= new wxPyTreeItemData();
3181 data
->SetId(item
); // set the id
3182 self
->SetItemData(item
, data
);
3186 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3187 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3189 data
= new wxPyTreeItemData();
3190 data
->SetId(item
); // set the id
3191 self
->SetItemData(item
, data
);
3193 return data
->GetData();
3195 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3196 data
->SetId(item
); // set the id
3197 self
->SetItemData(item
, data
);
3199 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3200 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3202 data
= new wxPyTreeItemData(obj
);
3203 data
->SetId(item
); // set the id
3204 self
->SetItemData(item
, data
);
3208 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3209 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3210 PyObject
* rval
= PyList_New(0);
3211 wxArrayTreeItemIds array
;
3213 num
= self
->GetSelections(array
);
3214 for (x
=0; x
< num
; x
++) {
3215 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3216 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3217 PyList_Append(rval
, item
);
3220 wxPyEndBlockThreads(blocked
);
3223 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3225 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3226 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3227 PyObject
* tup
= PyTuple_New(2);
3228 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3229 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3230 wxPyEndBlockThreads(blocked
);
3233 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3234 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3235 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3236 PyObject
* tup
= PyTuple_New(2);
3237 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3238 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3239 wxPyEndBlockThreads(blocked
);
3242 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3244 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3245 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3246 wxRect
* r
= new wxRect(rect
);
3247 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3248 wxPyEndBlockThreads(blocked
);
3254 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3256 SWIGINTERNINLINE PyObject
*
3257 SWIG_From_bool (bool value
)
3259 return PyBool_FromLong(value
? 1 : 0);
3262 // C++ version of Python aware wxControl
3263 class wxPyControl
: public wxControl
3265 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3267 wxPyControl() : wxControl() {}
3268 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3269 const wxPoint
& pos
= wxDefaultPosition
,
3270 const wxSize
& size
= wxDefaultSize
,
3272 const wxValidator
& validator
=wxDefaultValidator
,
3273 const wxString
& name
= wxPyControlNameStr
)
3274 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3277 bool DoEraseBackground(wxDC
* dc
) {
3279 return wxWindow::DoEraseBackground(dc
->GetHDC());
3281 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3288 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3299 DEC_PYCALLBACK__(InitDialog
);
3300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3302 DEC_PYCALLBACK_BOOL_(Validate
);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3306 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3316 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3321 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3323 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3324 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3332 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3335 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3336 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3337 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3340 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3342 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3347 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3348 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3350 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3352 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3356 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3358 #include <wx/generic/dragimgg.h>
3360 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3361 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3363 self
->GetRange(&rv
, NULL
);
3366 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3368 self
->GetRange(NULL
, &rv
);
3371 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3372 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3373 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3374 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3375 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3376 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3377 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3378 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3379 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3380 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3382 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3383 // define a dummy class for builds that don't have wxSearchCtrl
3386 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3387 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3390 class wxSearchCtrl
: public wxTextCtrl
3393 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3394 wxSearchCtrl(wxWindow
*, wxWindowID
,
3400 const wxString
& name
)
3401 { wxPyRaiseNotImplemented(); }
3403 bool Create( wxWindow
*, wxWindowID
,
3409 const wxString
& name
) {}
3411 virtual void SetMenu( wxMenu
* ) {}
3412 virtual wxMenu
* GetMenu() { return NULL
; }
3414 // get/set search options
3415 // ----------------------
3416 virtual void ShowSearchButton( bool ) {}
3417 virtual bool IsSearchButtonVisible() const { return false; }
3419 virtual void ShowCancelButton( bool ) {}
3420 virtual bool IsCancelButtonVisible() const { return false; }
3424 SWIGINTERN
void wxSearchCtrl_SetSearchBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3425 SWIGINTERN
void wxSearchCtrl_SetSearchMenuBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3426 SWIGINTERN
void wxSearchCtrl_SetCancelBitmap(wxSearchCtrl
*self
,wxBitmap
const &){}
3430 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3431 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3436 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3437 PyObject
*pyobj
= 0;
3441 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3443 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3450 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3451 PyObject
*resultobj
= 0;
3452 wxWindow
*arg1
= (wxWindow
*) 0 ;
3453 int arg2
= (int) -1 ;
3454 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3455 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3456 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3457 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3458 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3459 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3460 long arg6
= (long) 0 ;
3461 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3462 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3463 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3464 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3465 wxButton
*result
= 0 ;
3470 bool temp3
= false ;
3477 bool temp8
= false ;
3478 PyObject
* obj0
= 0 ;
3479 PyObject
* obj1
= 0 ;
3480 PyObject
* obj2
= 0 ;
3481 PyObject
* obj3
= 0 ;
3482 PyObject
* obj4
= 0 ;
3483 PyObject
* obj5
= 0 ;
3484 PyObject
* obj6
= 0 ;
3485 PyObject
* obj7
= 0 ;
3486 char * kwnames
[] = {
3487 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3492 if (!SWIG_IsOK(res1
)) {
3493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3495 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3498 if (!SWIG_IsOK(ecode2
)) {
3499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3501 arg2
= static_cast< int >(val2
);
3505 arg3
= wxString_in_helper(obj2
);
3506 if (arg3
== NULL
) SWIG_fail
;
3513 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3519 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3523 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3524 if (!SWIG_IsOK(ecode6
)) {
3525 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3527 arg6
= static_cast< long >(val6
);
3530 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3531 if (!SWIG_IsOK(res7
)) {
3532 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3537 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3541 arg8
= wxString_in_helper(obj7
);
3542 if (arg8
== NULL
) SWIG_fail
;
3547 if (!wxPyCheckForApp()) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3550 wxPyEndAllowThreads(__tstate
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3576 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3577 PyObject
*resultobj
= 0;
3578 wxButton
*result
= 0 ;
3580 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3582 if (!wxPyCheckForApp()) SWIG_fail
;
3583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3584 result
= (wxButton
*)new wxButton();
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3595 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
= 0;
3597 wxButton
*arg1
= (wxButton
*) 0 ;
3598 wxWindow
*arg2
= (wxWindow
*) 0 ;
3599 int arg3
= (int) -1 ;
3600 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3601 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3602 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3603 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3604 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3605 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3606 long arg7
= (long) 0 ;
3607 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3608 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3609 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3610 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3618 bool temp4
= false ;
3625 bool temp9
= false ;
3626 PyObject
* obj0
= 0 ;
3627 PyObject
* obj1
= 0 ;
3628 PyObject
* obj2
= 0 ;
3629 PyObject
* obj3
= 0 ;
3630 PyObject
* obj4
= 0 ;
3631 PyObject
* obj5
= 0 ;
3632 PyObject
* obj6
= 0 ;
3633 PyObject
* obj7
= 0 ;
3634 PyObject
* obj8
= 0 ;
3635 char * kwnames
[] = {
3636 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3641 if (!SWIG_IsOK(res1
)) {
3642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3644 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3646 if (!SWIG_IsOK(res2
)) {
3647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3649 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3652 if (!SWIG_IsOK(ecode3
)) {
3653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3655 arg3
= static_cast< int >(val3
);
3659 arg4
= wxString_in_helper(obj3
);
3660 if (arg4
== NULL
) SWIG_fail
;
3667 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3673 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3677 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3678 if (!SWIG_IsOK(ecode7
)) {
3679 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3681 arg7
= static_cast< long >(val7
);
3684 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3685 if (!SWIG_IsOK(res8
)) {
3686 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3691 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3695 arg9
= wxString_in_helper(obj8
);
3696 if (arg9
== NULL
) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3703 wxPyEndAllowThreads(__tstate
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3731 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3732 PyObject
*resultobj
= 0;
3733 wxButton
*arg1
= (wxButton
*) 0 ;
3736 PyObject
*swig_obj
[1] ;
3738 if (!args
) SWIG_fail
;
3740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3741 if (!SWIG_IsOK(res1
)) {
3742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3744 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3747 (arg1
)->SetDefault();
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3751 resultobj
= SWIG_Py_Void();
3758 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3759 PyObject
*resultobj
= 0;
3762 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3765 result
= wxButton::GetDefaultSize();
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3776 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
= 0;
3778 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3779 SwigValueWrapper
<wxVisualAttributes
> result
;
3782 PyObject
* obj0
= 0 ;
3783 char * kwnames
[] = {
3784 (char *) "variant", NULL
3787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3789 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3790 if (!SWIG_IsOK(ecode1
)) {
3791 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3793 arg1
= static_cast< wxWindowVariant
>(val1
);
3796 if (!wxPyCheckForApp()) SWIG_fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 result
= wxButton::GetClassDefaultAttributes(arg1
);
3799 wxPyEndAllowThreads(__tstate
);
3800 if (PyErr_Occurred()) SWIG_fail
;
3802 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3809 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3812 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3813 return SWIG_Py_Void();
3816 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3817 return SWIG_Python_InitShadowInstance(args
);
3820 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
= 0;
3822 wxWindow
*arg1
= (wxWindow
*) 0 ;
3823 int arg2
= (int) -1 ;
3824 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3825 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3826 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3827 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3828 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3829 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3830 long arg6
= (long) wxBU_AUTODRAW
;
3831 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3832 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3833 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3834 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3835 wxBitmapButton
*result
= 0 ;
3848 bool temp8
= false ;
3849 PyObject
* obj0
= 0 ;
3850 PyObject
* obj1
= 0 ;
3851 PyObject
* obj2
= 0 ;
3852 PyObject
* obj3
= 0 ;
3853 PyObject
* obj4
= 0 ;
3854 PyObject
* obj5
= 0 ;
3855 PyObject
* obj6
= 0 ;
3856 PyObject
* obj7
= 0 ;
3857 char * kwnames
[] = {
3858 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3863 if (!SWIG_IsOK(res1
)) {
3864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3866 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3869 if (!SWIG_IsOK(ecode2
)) {
3870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3872 arg2
= static_cast< int >(val2
);
3875 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3876 if (!SWIG_IsOK(res3
)) {
3877 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3882 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3887 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3893 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3897 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3898 if (!SWIG_IsOK(ecode6
)) {
3899 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3901 arg6
= static_cast< long >(val6
);
3904 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3905 if (!SWIG_IsOK(res7
)) {
3906 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3909 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3911 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3915 arg8
= wxString_in_helper(obj7
);
3916 if (arg8
== NULL
) SWIG_fail
;
3921 if (!wxPyCheckForApp()) SWIG_fail
;
3922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3923 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3942 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3943 PyObject
*resultobj
= 0;
3944 wxBitmapButton
*result
= 0 ;
3946 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3948 if (!wxPyCheckForApp()) SWIG_fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 result
= (wxBitmapButton
*)new wxBitmapButton();
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3961 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
= 0;
3963 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3964 wxWindow
*arg2
= (wxWindow
*) 0 ;
3965 int arg3
= (int) -1 ;
3966 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3967 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3968 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3969 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3970 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3971 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3972 long arg7
= (long) wxBU_AUTODRAW
;
3973 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3974 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3975 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3976 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3992 bool temp9
= false ;
3993 PyObject
* obj0
= 0 ;
3994 PyObject
* obj1
= 0 ;
3995 PyObject
* obj2
= 0 ;
3996 PyObject
* obj3
= 0 ;
3997 PyObject
* obj4
= 0 ;
3998 PyObject
* obj5
= 0 ;
3999 PyObject
* obj6
= 0 ;
4000 PyObject
* obj7
= 0 ;
4001 PyObject
* obj8
= 0 ;
4002 char * kwnames
[] = {
4003 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4008 if (!SWIG_IsOK(res1
)) {
4009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4011 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4012 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4013 if (!SWIG_IsOK(res2
)) {
4014 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4016 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4018 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4019 if (!SWIG_IsOK(ecode3
)) {
4020 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4022 arg3
= static_cast< int >(val3
);
4025 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4026 if (!SWIG_IsOK(res4
)) {
4027 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4032 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4037 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4043 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4047 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4048 if (!SWIG_IsOK(ecode7
)) {
4049 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4051 arg7
= static_cast< long >(val7
);
4054 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4055 if (!SWIG_IsOK(res8
)) {
4056 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4061 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4065 arg9
= wxString_in_helper(obj8
);
4066 if (arg9
== NULL
) SWIG_fail
;
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4093 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4094 PyObject
*resultobj
= 0;
4095 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4099 PyObject
*swig_obj
[1] ;
4101 if (!args
) SWIG_fail
;
4103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4104 if (!SWIG_IsOK(res1
)) {
4105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4107 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4110 result
= (arg1
)->GetBitmapLabel();
4111 wxPyEndAllowThreads(__tstate
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4114 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4121 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4122 PyObject
*resultobj
= 0;
4123 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4127 PyObject
*swig_obj
[1] ;
4129 if (!args
) SWIG_fail
;
4131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4132 if (!SWIG_IsOK(res1
)) {
4133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4135 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4138 result
= (arg1
)->GetBitmapDisabled();
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4149 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4150 PyObject
*resultobj
= 0;
4151 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4155 PyObject
*swig_obj
[1] ;
4157 if (!args
) SWIG_fail
;
4159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4160 if (!SWIG_IsOK(res1
)) {
4161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4163 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= (arg1
)->GetBitmapFocus();
4167 wxPyEndAllowThreads(__tstate
);
4168 if (PyErr_Occurred()) SWIG_fail
;
4170 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4177 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4178 PyObject
*resultobj
= 0;
4179 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4183 PyObject
*swig_obj
[1] ;
4185 if (!args
) SWIG_fail
;
4187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4188 if (!SWIG_IsOK(res1
)) {
4189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4191 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (arg1
)->GetBitmapSelected();
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4205 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4206 PyObject
*resultobj
= 0;
4207 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4211 PyObject
*swig_obj
[1] ;
4213 if (!args
) SWIG_fail
;
4215 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4216 if (!SWIG_IsOK(res1
)) {
4217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4219 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 result
= (arg1
)->GetBitmapHover();
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4226 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4233 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4234 PyObject
*resultobj
= 0;
4235 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4236 wxBitmap
*arg2
= 0 ;
4241 PyObject
* obj0
= 0 ;
4242 PyObject
* obj1
= 0 ;
4243 char * kwnames
[] = {
4244 (char *) "self",(char *) "bitmap", NULL
4247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4249 if (!SWIG_IsOK(res1
)) {
4250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4252 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4253 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4254 if (!SWIG_IsOK(res2
)) {
4255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4258 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4260 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= SWIG_Py_Void();
4274 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
= 0;
4276 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4277 wxBitmap
*arg2
= 0 ;
4282 PyObject
* obj0
= 0 ;
4283 PyObject
* obj1
= 0 ;
4284 char * kwnames
[] = {
4285 (char *) "self",(char *) "bitmap", NULL
4288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4290 if (!SWIG_IsOK(res1
)) {
4291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4293 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4294 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4295 if (!SWIG_IsOK(res2
)) {
4296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4301 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4305 wxPyEndAllowThreads(__tstate
);
4306 if (PyErr_Occurred()) SWIG_fail
;
4308 resultobj
= SWIG_Py_Void();
4315 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
= 0;
4317 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4318 wxBitmap
*arg2
= 0 ;
4323 PyObject
* obj0
= 0 ;
4324 PyObject
* obj1
= 0 ;
4325 char * kwnames
[] = {
4326 (char *) "self",(char *) "bitmap", NULL
4329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4331 if (!SWIG_IsOK(res1
)) {
4332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4334 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4335 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4336 if (!SWIG_IsOK(res2
)) {
4337 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4340 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4342 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4345 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4346 wxPyEndAllowThreads(__tstate
);
4347 if (PyErr_Occurred()) SWIG_fail
;
4349 resultobj
= SWIG_Py_Void();
4356 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4357 PyObject
*resultobj
= 0;
4358 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4359 wxBitmap
*arg2
= 0 ;
4364 PyObject
* obj0
= 0 ;
4365 PyObject
* obj1
= 0 ;
4366 char * kwnames
[] = {
4367 (char *) "self",(char *) "bitmap", NULL
4370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4372 if (!SWIG_IsOK(res1
)) {
4373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4375 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4377 if (!SWIG_IsOK(res2
)) {
4378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4383 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4390 resultobj
= SWIG_Py_Void();
4397 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
= 0;
4399 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4400 wxBitmap
*arg2
= 0 ;
4405 PyObject
* obj0
= 0 ;
4406 PyObject
* obj1
= 0 ;
4407 char * kwnames
[] = {
4408 (char *) "self",(char *) "hover", NULL
4411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4413 if (!SWIG_IsOK(res1
)) {
4414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4416 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4417 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4418 if (!SWIG_IsOK(res2
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4422 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4424 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4428 wxPyEndAllowThreads(__tstate
);
4429 if (PyErr_Occurred()) SWIG_fail
;
4431 resultobj
= SWIG_Py_Void();
4438 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4439 PyObject
*resultobj
= 0;
4440 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4449 PyObject
* obj0
= 0 ;
4450 PyObject
* obj1
= 0 ;
4451 PyObject
* obj2
= 0 ;
4452 char * kwnames
[] = {
4453 (char *) "self",(char *) "x",(char *) "y", NULL
4456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4458 if (!SWIG_IsOK(res1
)) {
4459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4461 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4463 if (!SWIG_IsOK(ecode2
)) {
4464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4466 arg2
= static_cast< int >(val2
);
4467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4468 if (!SWIG_IsOK(ecode3
)) {
4469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4471 arg3
= static_cast< int >(val3
);
4473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4474 (arg1
)->SetMargins(arg2
,arg3
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 resultobj
= SWIG_Py_Void();
4485 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4486 PyObject
*resultobj
= 0;
4487 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4491 PyObject
*swig_obj
[1] ;
4493 if (!args
) SWIG_fail
;
4495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4496 if (!SWIG_IsOK(res1
)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4499 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4503 wxPyEndAllowThreads(__tstate
);
4504 if (PyErr_Occurred()) SWIG_fail
;
4506 resultobj
= SWIG_From_int(static_cast< int >(result
));
4513 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4514 PyObject
*resultobj
= 0;
4515 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4519 PyObject
*swig_obj
[1] ;
4521 if (!args
) SWIG_fail
;
4523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4524 if (!SWIG_IsOK(res1
)) {
4525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4527 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4530 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= SWIG_From_int(static_cast< int >(result
));
4541 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4543 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4544 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4545 return SWIG_Py_Void();
4548 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4549 return SWIG_Python_InitShadowInstance(args
);
4552 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4553 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4558 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4559 PyObject
*pyobj
= 0;
4563 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4565 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4572 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4573 PyObject
*resultobj
= 0;
4574 wxWindow
*arg1
= (wxWindow
*) 0 ;
4575 int arg2
= (int) -1 ;
4576 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4577 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4578 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4579 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4580 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4581 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4582 long arg6
= (long) 0 ;
4583 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4584 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4585 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4586 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4587 wxCheckBox
*result
= 0 ;
4592 bool temp3
= false ;
4599 bool temp8
= false ;
4600 PyObject
* obj0
= 0 ;
4601 PyObject
* obj1
= 0 ;
4602 PyObject
* obj2
= 0 ;
4603 PyObject
* obj3
= 0 ;
4604 PyObject
* obj4
= 0 ;
4605 PyObject
* obj5
= 0 ;
4606 PyObject
* obj6
= 0 ;
4607 PyObject
* obj7
= 0 ;
4608 char * kwnames
[] = {
4609 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4614 if (!SWIG_IsOK(res1
)) {
4615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4620 if (!SWIG_IsOK(ecode2
)) {
4621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4623 arg2
= static_cast< int >(val2
);
4627 arg3
= wxString_in_helper(obj2
);
4628 if (arg3
== NULL
) SWIG_fail
;
4635 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4641 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4645 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4646 if (!SWIG_IsOK(ecode6
)) {
4647 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4649 arg6
= static_cast< long >(val6
);
4652 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4653 if (!SWIG_IsOK(res7
)) {
4654 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4657 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4659 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4663 arg8
= wxString_in_helper(obj7
);
4664 if (arg8
== NULL
) SWIG_fail
;
4669 if (!wxPyCheckForApp()) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4672 wxPyEndAllowThreads(__tstate
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4698 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4699 PyObject
*resultobj
= 0;
4700 wxCheckBox
*result
= 0 ;
4702 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4704 if (!wxPyCheckForApp()) SWIG_fail
;
4705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4706 result
= (wxCheckBox
*)new wxCheckBox();
4707 wxPyEndAllowThreads(__tstate
);
4708 if (PyErr_Occurred()) SWIG_fail
;
4710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4717 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4718 PyObject
*resultobj
= 0;
4719 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4720 wxWindow
*arg2
= (wxWindow
*) 0 ;
4721 int arg3
= (int) -1 ;
4722 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4723 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4724 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4725 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4726 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4727 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4728 long arg7
= (long) 0 ;
4729 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4730 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4731 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4732 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4740 bool temp4
= false ;
4747 bool temp9
= false ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4750 PyObject
* obj2
= 0 ;
4751 PyObject
* obj3
= 0 ;
4752 PyObject
* obj4
= 0 ;
4753 PyObject
* obj5
= 0 ;
4754 PyObject
* obj6
= 0 ;
4755 PyObject
* obj7
= 0 ;
4756 PyObject
* obj8
= 0 ;
4757 char * kwnames
[] = {
4758 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4763 if (!SWIG_IsOK(res1
)) {
4764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4766 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4768 if (!SWIG_IsOK(res2
)) {
4769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4771 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4774 if (!SWIG_IsOK(ecode3
)) {
4775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4777 arg3
= static_cast< int >(val3
);
4781 arg4
= wxString_in_helper(obj3
);
4782 if (arg4
== NULL
) SWIG_fail
;
4789 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4795 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4799 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4800 if (!SWIG_IsOK(ecode7
)) {
4801 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4803 arg7
= static_cast< long >(val7
);
4806 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4807 if (!SWIG_IsOK(res8
)) {
4808 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4811 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4813 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4817 arg9
= wxString_in_helper(obj8
);
4818 if (arg9
== NULL
) SWIG_fail
;
4823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4824 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4825 wxPyEndAllowThreads(__tstate
);
4826 if (PyErr_Occurred()) SWIG_fail
;
4829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4853 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4854 PyObject
*resultobj
= 0;
4855 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4859 PyObject
*swig_obj
[1] ;
4861 if (!args
) SWIG_fail
;
4863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4864 if (!SWIG_IsOK(res1
)) {
4865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4867 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 result
= (bool)(arg1
)->GetValue();
4871 wxPyEndAllowThreads(__tstate
);
4872 if (PyErr_Occurred()) SWIG_fail
;
4875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4883 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4884 PyObject
*resultobj
= 0;
4885 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4889 PyObject
*swig_obj
[1] ;
4891 if (!args
) SWIG_fail
;
4893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4894 if (!SWIG_IsOK(res1
)) {
4895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4897 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= (bool)(arg1
)->IsChecked();
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4913 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4914 PyObject
*resultobj
= 0;
4915 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4923 char * kwnames
[] = {
4924 (char *) "self",(char *) "state", NULL
4927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4929 if (!SWIG_IsOK(res1
)) {
4930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4932 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4933 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4934 if (!SWIG_IsOK(ecode2
)) {
4935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4937 arg2
= static_cast< bool >(val2
);
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 (arg1
)->SetValue(arg2
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 resultobj
= SWIG_Py_Void();
4951 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4952 PyObject
*resultobj
= 0;
4953 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4954 wxCheckBoxState result
;
4957 PyObject
*swig_obj
[1] ;
4959 if (!args
) SWIG_fail
;
4961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4962 if (!SWIG_IsOK(res1
)) {
4963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4965 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4968 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= SWIG_From_int(static_cast< int >(result
));
4979 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
= 0;
4981 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4982 wxCheckBoxState arg2
;
4987 PyObject
* obj0
= 0 ;
4988 PyObject
* obj1
= 0 ;
4989 char * kwnames
[] = {
4990 (char *) "self",(char *) "state", NULL
4993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4995 if (!SWIG_IsOK(res1
)) {
4996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4998 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4999 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5000 if (!SWIG_IsOK(ecode2
)) {
5001 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5003 arg2
= static_cast< wxCheckBoxState
>(val2
);
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 (arg1
)->Set3StateValue(arg2
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_Py_Void();
5017 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5018 PyObject
*resultobj
= 0;
5019 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5023 PyObject
*swig_obj
[1] ;
5025 if (!args
) SWIG_fail
;
5027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5028 if (!SWIG_IsOK(res1
)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5031 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5034 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5047 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5048 PyObject
*resultobj
= 0;
5049 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5053 PyObject
*swig_obj
[1] ;
5055 if (!args
) SWIG_fail
;
5057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5058 if (!SWIG_IsOK(res1
)) {
5059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5061 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5065 wxPyEndAllowThreads(__tstate
);
5066 if (PyErr_Occurred()) SWIG_fail
;
5069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5077 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
= 0;
5079 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5080 SwigValueWrapper
<wxVisualAttributes
> result
;
5083 PyObject
* obj0
= 0 ;
5084 char * kwnames
[] = {
5085 (char *) "variant", NULL
5088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5090 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5091 if (!SWIG_IsOK(ecode1
)) {
5092 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5094 arg1
= static_cast< wxWindowVariant
>(val1
);
5097 if (!wxPyCheckForApp()) SWIG_fail
;
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5110 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5112 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5113 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5114 return SWIG_Py_Void();
5117 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5118 return SWIG_Python_InitShadowInstance(args
);
5121 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5122 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5127 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5128 PyObject
*pyobj
= 0;
5132 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5134 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5141 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5142 PyObject
*resultobj
= 0;
5143 wxWindow
*arg1
= (wxWindow
*) 0 ;
5144 int arg2
= (int) -1 ;
5145 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5146 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5147 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5148 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5149 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5150 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5151 long arg6
= (long) 0 ;
5152 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5153 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5154 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5155 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5156 wxChoice
*result
= 0 ;
5163 bool temp5
= false ;
5168 bool temp8
= false ;
5169 PyObject
* obj0
= 0 ;
5170 PyObject
* obj1
= 0 ;
5171 PyObject
* obj2
= 0 ;
5172 PyObject
* obj3
= 0 ;
5173 PyObject
* obj4
= 0 ;
5174 PyObject
* obj5
= 0 ;
5175 PyObject
* obj6
= 0 ;
5176 PyObject
* obj7
= 0 ;
5177 char * kwnames
[] = {
5178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5183 if (!SWIG_IsOK(res1
)) {
5184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5186 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5189 if (!SWIG_IsOK(ecode2
)) {
5190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5192 arg2
= static_cast< int >(val2
);
5197 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5203 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5208 if (! PySequence_Check(obj4
)) {
5209 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5212 arg5
= new wxArrayString
;
5214 int i
, len
=PySequence_Length(obj4
);
5215 for (i
=0; i
<len
; i
++) {
5216 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5217 wxString
* s
= wxString_in_helper(item
);
5218 if (PyErr_Occurred()) SWIG_fail
;
5226 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5227 if (!SWIG_IsOK(ecode6
)) {
5228 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5230 arg6
= static_cast< long >(val6
);
5233 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5234 if (!SWIG_IsOK(res7
)) {
5235 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5238 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5240 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5244 arg8
= wxString_in_helper(obj7
);
5245 if (arg8
== NULL
) SWIG_fail
;
5250 if (!wxPyCheckForApp()) SWIG_fail
;
5251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5252 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5258 if (temp5
) delete arg5
;
5267 if (temp5
) delete arg5
;
5277 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 PyObject
*resultobj
= 0;
5279 wxChoice
*result
= 0 ;
5281 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5283 if (!wxPyCheckForApp()) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 result
= (wxChoice
*)new wxChoice();
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5296 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
= 0;
5298 wxChoice
*arg1
= (wxChoice
*) 0 ;
5299 wxWindow
*arg2
= (wxWindow
*) 0 ;
5300 int arg3
= (int) -1 ;
5301 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5302 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5303 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5304 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5305 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5306 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5307 long arg7
= (long) 0 ;
5308 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5309 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5310 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5311 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5321 bool temp6
= false ;
5326 bool temp9
= false ;
5327 PyObject
* obj0
= 0 ;
5328 PyObject
* obj1
= 0 ;
5329 PyObject
* obj2
= 0 ;
5330 PyObject
* obj3
= 0 ;
5331 PyObject
* obj4
= 0 ;
5332 PyObject
* obj5
= 0 ;
5333 PyObject
* obj6
= 0 ;
5334 PyObject
* obj7
= 0 ;
5335 PyObject
* obj8
= 0 ;
5336 char * kwnames
[] = {
5337 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5342 if (!SWIG_IsOK(res1
)) {
5343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5345 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5346 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5347 if (!SWIG_IsOK(res2
)) {
5348 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5350 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5352 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5353 if (!SWIG_IsOK(ecode3
)) {
5354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5356 arg3
= static_cast< int >(val3
);
5361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5367 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5372 if (! PySequence_Check(obj5
)) {
5373 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5376 arg6
= new wxArrayString
;
5378 int i
, len
=PySequence_Length(obj5
);
5379 for (i
=0; i
<len
; i
++) {
5380 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5381 wxString
* s
= wxString_in_helper(item
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5390 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5391 if (!SWIG_IsOK(ecode7
)) {
5392 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5394 arg7
= static_cast< long >(val7
);
5397 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5398 if (!SWIG_IsOK(res8
)) {
5399 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5402 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5404 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5408 arg9
= wxString_in_helper(obj8
);
5409 if (arg9
== NULL
) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5423 if (temp6
) delete arg6
;
5432 if (temp6
) delete arg6
;
5442 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5443 PyObject
*resultobj
= 0;
5444 wxChoice
*arg1
= (wxChoice
*) 0 ;
5448 PyObject
*swig_obj
[1] ;
5450 if (!args
) SWIG_fail
;
5452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5453 if (!SWIG_IsOK(res1
)) {
5454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5456 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= SWIG_From_int(static_cast< int >(result
));
5470 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
= 0;
5472 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5473 SwigValueWrapper
<wxVisualAttributes
> result
;
5476 PyObject
* obj0
= 0 ;
5477 char * kwnames
[] = {
5478 (char *) "variant", NULL
5481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5483 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5484 if (!SWIG_IsOK(ecode1
)) {
5485 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5487 arg1
= static_cast< wxWindowVariant
>(val1
);
5490 if (!wxPyCheckForApp()) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5503 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5506 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5507 return SWIG_Py_Void();
5510 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5511 return SWIG_Python_InitShadowInstance(args
);
5514 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5515 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5520 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5521 PyObject
*pyobj
= 0;
5525 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5527 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5534 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
= 0;
5536 wxWindow
*arg1
= (wxWindow
*) 0 ;
5537 int arg2
= (int) -1 ;
5538 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5539 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5540 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5541 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5542 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5543 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5544 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5545 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5546 long arg7
= (long) 0 ;
5547 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5548 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5549 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5550 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5551 wxComboBox
*result
= 0 ;
5556 bool temp3
= false ;
5559 bool temp6
= false ;
5564 bool temp9
= false ;
5565 PyObject
* obj0
= 0 ;
5566 PyObject
* obj1
= 0 ;
5567 PyObject
* obj2
= 0 ;
5568 PyObject
* obj3
= 0 ;
5569 PyObject
* obj4
= 0 ;
5570 PyObject
* obj5
= 0 ;
5571 PyObject
* obj6
= 0 ;
5572 PyObject
* obj7
= 0 ;
5573 PyObject
* obj8
= 0 ;
5574 char * kwnames
[] = {
5575 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5580 if (!SWIG_IsOK(res1
)) {
5581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5583 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5586 if (!SWIG_IsOK(ecode2
)) {
5587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5589 arg2
= static_cast< int >(val2
);
5593 arg3
= wxString_in_helper(obj2
);
5594 if (arg3
== NULL
) SWIG_fail
;
5601 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5607 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5612 if (! PySequence_Check(obj5
)) {
5613 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5616 arg6
= new wxArrayString
;
5618 int i
, len
=PySequence_Length(obj5
);
5619 for (i
=0; i
<len
; i
++) {
5620 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5621 wxString
* s
= wxString_in_helper(item
);
5622 if (PyErr_Occurred()) SWIG_fail
;
5630 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5631 if (!SWIG_IsOK(ecode7
)) {
5632 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5634 arg7
= static_cast< long >(val7
);
5637 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5638 if (!SWIG_IsOK(res8
)) {
5639 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5642 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5644 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5648 arg9
= wxString_in_helper(obj8
);
5649 if (arg9
== NULL
) SWIG_fail
;
5654 if (!wxPyCheckForApp()) SWIG_fail
;
5655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5656 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
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5666 if (temp6
) delete arg6
;
5679 if (temp6
) delete arg6
;
5689 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5690 PyObject
*resultobj
= 0;
5691 wxComboBox
*result
= 0 ;
5693 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5695 if (!wxPyCheckForApp()) SWIG_fail
;
5696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5697 result
= (wxComboBox
*)new wxComboBox();
5698 wxPyEndAllowThreads(__tstate
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5708 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
= 0;
5710 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5711 wxWindow
*arg2
= (wxWindow
*) 0 ;
5712 int arg3
= (int) -1 ;
5713 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5714 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5715 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5716 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5717 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5718 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5719 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5720 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5721 long arg8
= (long) 0 ;
5722 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5723 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5724 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5725 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5733 bool temp4
= false ;
5736 bool temp7
= false ;
5741 bool temp10
= false ;
5742 PyObject
* obj0
= 0 ;
5743 PyObject
* obj1
= 0 ;
5744 PyObject
* obj2
= 0 ;
5745 PyObject
* obj3
= 0 ;
5746 PyObject
* obj4
= 0 ;
5747 PyObject
* obj5
= 0 ;
5748 PyObject
* obj6
= 0 ;
5749 PyObject
* obj7
= 0 ;
5750 PyObject
* obj8
= 0 ;
5751 PyObject
* obj9
= 0 ;
5752 char * kwnames
[] = {
5753 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5758 if (!SWIG_IsOK(res1
)) {
5759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5761 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5762 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5763 if (!SWIG_IsOK(res2
)) {
5764 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5766 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5769 if (!SWIG_IsOK(ecode3
)) {
5770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5772 arg3
= static_cast< int >(val3
);
5776 arg4
= wxString_in_helper(obj3
);
5777 if (arg4
== NULL
) SWIG_fail
;
5784 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5790 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5795 if (! PySequence_Check(obj6
)) {
5796 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5799 arg7
= new wxArrayString
;
5801 int i
, len
=PySequence_Length(obj6
);
5802 for (i
=0; i
<len
; i
++) {
5803 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5804 wxString
* s
= wxString_in_helper(item
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5813 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5814 if (!SWIG_IsOK(ecode8
)) {
5815 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5817 arg8
= static_cast< long >(val8
);
5820 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5821 if (!SWIG_IsOK(res9
)) {
5822 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5827 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5831 arg10
= wxString_in_helper(obj9
);
5832 if (arg10
== NULL
) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 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
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5850 if (temp7
) delete arg7
;
5863 if (temp7
) delete arg7
;
5873 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5874 PyObject
*resultobj
= 0;
5875 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5879 PyObject
*swig_obj
[1] ;
5881 if (!args
) SWIG_fail
;
5883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5884 if (!SWIG_IsOK(res1
)) {
5885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5887 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5890 result
= ((wxComboBox
const *)arg1
)->GetValue();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5896 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5898 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5907 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
= 0;
5909 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5910 wxString
*arg2
= 0 ;
5913 bool temp2
= false ;
5914 PyObject
* obj0
= 0 ;
5915 PyObject
* obj1
= 0 ;
5916 char * kwnames
[] = {
5917 (char *) "self",(char *) "value", NULL
5920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5922 if (!SWIG_IsOK(res1
)) {
5923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5925 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5927 arg2
= wxString_in_helper(obj1
);
5928 if (arg2
== NULL
) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 (arg1
)->SetValue((wxString
const &)*arg2
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5937 resultobj
= SWIG_Py_Void();
5952 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5953 PyObject
*resultobj
= 0;
5954 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5957 PyObject
*swig_obj
[1] ;
5959 if (!args
) SWIG_fail
;
5961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5962 if (!SWIG_IsOK(res1
)) {
5963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5965 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= SWIG_Py_Void();
5979 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5980 PyObject
*resultobj
= 0;
5981 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5984 PyObject
*swig_obj
[1] ;
5986 if (!args
) SWIG_fail
;
5988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5989 if (!SWIG_IsOK(res1
)) {
5990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5992 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_Py_Void();
6006 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6007 PyObject
*resultobj
= 0;
6008 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6011 PyObject
*swig_obj
[1] ;
6013 if (!args
) SWIG_fail
;
6015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6016 if (!SWIG_IsOK(res1
)) {
6017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6019 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 resultobj
= SWIG_Py_Void();
6033 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
= 0;
6035 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6043 char * kwnames
[] = {
6044 (char *) "self",(char *) "pos", NULL
6047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6049 if (!SWIG_IsOK(res1
)) {
6050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6052 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6053 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6054 if (!SWIG_IsOK(ecode2
)) {
6055 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6057 arg2
= static_cast< long >(val2
);
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 (arg1
)->SetInsertionPoint(arg2
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= SWIG_Py_Void();
6071 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6072 PyObject
*resultobj
= 0;
6073 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6077 PyObject
*swig_obj
[1] ;
6079 if (!args
) SWIG_fail
;
6081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6082 if (!SWIG_IsOK(res1
)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6085 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6089 wxPyEndAllowThreads(__tstate
);
6090 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= SWIG_From_long(static_cast< long >(result
));
6099 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6100 PyObject
*resultobj
= 0;
6101 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6105 PyObject
*swig_obj
[1] ;
6107 if (!args
) SWIG_fail
;
6109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6110 if (!SWIG_IsOK(res1
)) {
6111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6113 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6117 wxPyEndAllowThreads(__tstate
);
6118 if (PyErr_Occurred()) SWIG_fail
;
6120 resultobj
= SWIG_From_long(static_cast< long >(result
));
6127 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
= 0;
6129 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6132 wxString
*arg4
= 0 ;
6139 bool temp4
= false ;
6140 PyObject
* obj0
= 0 ;
6141 PyObject
* obj1
= 0 ;
6142 PyObject
* obj2
= 0 ;
6143 PyObject
* obj3
= 0 ;
6144 char * kwnames
[] = {
6145 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6150 if (!SWIG_IsOK(res1
)) {
6151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6153 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6154 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6155 if (!SWIG_IsOK(ecode2
)) {
6156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6158 arg2
= static_cast< long >(val2
);
6159 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6160 if (!SWIG_IsOK(ecode3
)) {
6161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6163 arg3
= static_cast< long >(val3
);
6165 arg4
= wxString_in_helper(obj3
);
6166 if (arg4
== NULL
) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6172 wxPyEndAllowThreads(__tstate
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 resultobj
= SWIG_Py_Void();
6190 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
= 0;
6192 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6203 PyObject
* obj2
= 0 ;
6204 char * kwnames
[] = {
6205 (char *) "self",(char *) "from",(char *) "to", NULL
6208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6210 if (!SWIG_IsOK(res1
)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6213 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6214 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6215 if (!SWIG_IsOK(ecode2
)) {
6216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6218 arg2
= static_cast< long >(val2
);
6219 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6220 if (!SWIG_IsOK(ecode3
)) {
6221 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6223 arg3
= static_cast< long >(val3
);
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 (arg1
)->SetSelection(arg2
,arg3
);
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6230 resultobj
= SWIG_Py_Void();
6237 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6238 PyObject
*resultobj
= 0;
6239 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6243 PyObject
*swig_obj
[1] ;
6245 if (!args
) SWIG_fail
;
6247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6248 if (!SWIG_IsOK(res1
)) {
6249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6251 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6255 wxPyEndAllowThreads(__tstate
);
6256 if (PyErr_Occurred()) SWIG_fail
;
6258 resultobj
= SWIG_From_int(static_cast< int >(result
));
6265 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6266 PyObject
*resultobj
= 0;
6267 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6268 wxString
*arg2
= 0 ;
6272 bool temp2
= false ;
6273 PyObject
* obj0
= 0 ;
6274 PyObject
* obj1
= 0 ;
6275 char * kwnames
[] = {
6276 (char *) "self",(char *) "string", NULL
6279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6281 if (!SWIG_IsOK(res1
)) {
6282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6284 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6286 arg2
= wxString_in_helper(obj1
);
6287 if (arg2
== NULL
) SWIG_fail
;
6291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6292 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6293 wxPyEndAllowThreads(__tstate
);
6294 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6313 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6314 PyObject
*resultobj
= 0;
6315 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6321 PyObject
* obj0
= 0 ;
6322 PyObject
* obj1
= 0 ;
6323 char * kwnames
[] = {
6324 (char *) "self",(char *) "editable", NULL
6327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6329 if (!SWIG_IsOK(res1
)) {
6330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6332 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6333 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6334 if (!SWIG_IsOK(ecode2
)) {
6335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6337 arg2
= static_cast< bool >(val2
);
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 (arg1
)->SetEditable(arg2
);
6341 wxPyEndAllowThreads(__tstate
);
6342 if (PyErr_Occurred()) SWIG_fail
;
6344 resultobj
= SWIG_Py_Void();
6351 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6352 PyObject
*resultobj
= 0;
6353 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6356 PyObject
*swig_obj
[1] ;
6358 if (!args
) SWIG_fail
;
6360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6361 if (!SWIG_IsOK(res1
)) {
6362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6364 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6367 (arg1
)->SetInsertionPointEnd();
6368 wxPyEndAllowThreads(__tstate
);
6369 if (PyErr_Occurred()) SWIG_fail
;
6371 resultobj
= SWIG_Py_Void();
6378 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
= 0;
6380 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6389 PyObject
* obj0
= 0 ;
6390 PyObject
* obj1
= 0 ;
6391 PyObject
* obj2
= 0 ;
6392 char * kwnames
[] = {
6393 (char *) "self",(char *) "from",(char *) "to", NULL
6396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6398 if (!SWIG_IsOK(res1
)) {
6399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6401 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6402 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6403 if (!SWIG_IsOK(ecode2
)) {
6404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6406 arg2
= static_cast< long >(val2
);
6407 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6408 if (!SWIG_IsOK(ecode3
)) {
6409 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6411 arg3
= static_cast< long >(val3
);
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 (arg1
)->Remove(arg2
,arg3
);
6415 wxPyEndAllowThreads(__tstate
);
6416 if (PyErr_Occurred()) SWIG_fail
;
6418 resultobj
= SWIG_Py_Void();
6425 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6426 PyObject
*resultobj
= 0;
6427 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6431 PyObject
*swig_obj
[1] ;
6433 if (!args
) SWIG_fail
;
6435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6436 if (!SWIG_IsOK(res1
)) {
6437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6439 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6442 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6443 wxPyEndAllowThreads(__tstate
);
6444 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6455 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6456 PyObject
*resultobj
= 0;
6457 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6460 PyObject
*swig_obj
[1] ;
6462 if (!args
) SWIG_fail
;
6464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6465 if (!SWIG_IsOK(res1
)) {
6466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6468 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6475 resultobj
= SWIG_Py_Void();
6482 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6483 PyObject
*resultobj
= 0;
6484 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6487 PyObject
*swig_obj
[1] ;
6489 if (!args
) SWIG_fail
;
6491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6492 if (!SWIG_IsOK(res1
)) {
6493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6495 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6502 resultobj
= SWIG_Py_Void();
6509 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6510 PyObject
*resultobj
= 0;
6511 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6514 PyObject
*swig_obj
[1] ;
6516 if (!args
) SWIG_fail
;
6518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6519 if (!SWIG_IsOK(res1
)) {
6520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6522 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 (arg1
)->SelectAll();
6526 wxPyEndAllowThreads(__tstate
);
6527 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= SWIG_Py_Void();
6536 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6537 PyObject
*resultobj
= 0;
6538 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6542 PyObject
*swig_obj
[1] ;
6544 if (!args
) SWIG_fail
;
6546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6547 if (!SWIG_IsOK(res1
)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6550 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6554 wxPyEndAllowThreads(__tstate
);
6555 if (PyErr_Occurred()) SWIG_fail
;
6558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6566 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6567 PyObject
*resultobj
= 0;
6568 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6572 PyObject
*swig_obj
[1] ;
6574 if (!args
) SWIG_fail
;
6576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6577 if (!SWIG_IsOK(res1
)) {
6578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6580 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6584 wxPyEndAllowThreads(__tstate
);
6585 if (PyErr_Occurred()) SWIG_fail
;
6588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6596 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6597 PyObject
*resultobj
= 0;
6598 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6602 PyObject
*swig_obj
[1] ;
6604 if (!args
) SWIG_fail
;
6606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6607 if (!SWIG_IsOK(res1
)) {
6608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6610 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6614 wxPyEndAllowThreads(__tstate
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6626 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6627 PyObject
*resultobj
= 0;
6628 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6632 PyObject
*swig_obj
[1] ;
6634 if (!args
) SWIG_fail
;
6636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6637 if (!SWIG_IsOK(res1
)) {
6638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6640 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6644 wxPyEndAllowThreads(__tstate
);
6645 if (PyErr_Occurred()) SWIG_fail
;
6648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6656 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6657 PyObject
*resultobj
= 0;
6658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6662 PyObject
*swig_obj
[1] ;
6664 if (!args
) SWIG_fail
;
6666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6667 if (!SWIG_IsOK(res1
)) {
6668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6670 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6673 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6674 wxPyEndAllowThreads(__tstate
);
6675 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6686 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6687 PyObject
*resultobj
= 0;
6688 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6689 SwigValueWrapper
<wxVisualAttributes
> result
;
6692 PyObject
* obj0
= 0 ;
6693 char * kwnames
[] = {
6694 (char *) "variant", NULL
6697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6699 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6700 if (!SWIG_IsOK(ecode1
)) {
6701 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6703 arg1
= static_cast< wxWindowVariant
>(val1
);
6706 if (!wxPyCheckForApp()) SWIG_fail
;
6707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6708 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6709 wxPyEndAllowThreads(__tstate
);
6710 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6719 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6722 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6723 return SWIG_Py_Void();
6726 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6727 return SWIG_Python_InitShadowInstance(args
);
6730 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6731 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6736 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6737 PyObject
*pyobj
= 0;
6741 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6743 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6750 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
= 0;
6752 wxWindow
*arg1
= (wxWindow
*) 0 ;
6753 int arg2
= (int) -1 ;
6754 int arg3
= (int) 100 ;
6755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6759 long arg6
= (long) wxGA_HORIZONTAL
;
6760 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6761 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6762 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6763 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6764 wxGauge
*result
= 0 ;
6777 bool temp8
= false ;
6778 PyObject
* obj0
= 0 ;
6779 PyObject
* obj1
= 0 ;
6780 PyObject
* obj2
= 0 ;
6781 PyObject
* obj3
= 0 ;
6782 PyObject
* obj4
= 0 ;
6783 PyObject
* obj5
= 0 ;
6784 PyObject
* obj6
= 0 ;
6785 PyObject
* obj7
= 0 ;
6786 char * kwnames
[] = {
6787 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6792 if (!SWIG_IsOK(res1
)) {
6793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6795 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6797 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6798 if (!SWIG_IsOK(ecode2
)) {
6799 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6801 arg2
= static_cast< int >(val2
);
6804 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6805 if (!SWIG_IsOK(ecode3
)) {
6806 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6808 arg3
= static_cast< int >(val3
);
6813 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6819 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6823 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6824 if (!SWIG_IsOK(ecode6
)) {
6825 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6827 arg6
= static_cast< long >(val6
);
6830 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6831 if (!SWIG_IsOK(res7
)) {
6832 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6835 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6837 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6841 arg8
= wxString_in_helper(obj7
);
6842 if (arg8
== NULL
) SWIG_fail
;
6847 if (!wxPyCheckForApp()) SWIG_fail
;
6848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6849 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6850 wxPyEndAllowThreads(__tstate
);
6851 if (PyErr_Occurred()) SWIG_fail
;
6853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6868 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6869 PyObject
*resultobj
= 0;
6870 wxGauge
*result
= 0 ;
6872 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6874 if (!wxPyCheckForApp()) SWIG_fail
;
6875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6876 result
= (wxGauge
*)new wxGauge();
6877 wxPyEndAllowThreads(__tstate
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6887 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6888 PyObject
*resultobj
= 0;
6889 wxGauge
*arg1
= (wxGauge
*) 0 ;
6890 wxWindow
*arg2
= (wxWindow
*) 0 ;
6891 int arg3
= (int) -1 ;
6892 int arg4
= (int) 100 ;
6893 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6894 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6895 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6896 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6897 long arg7
= (long) wxGA_HORIZONTAL
;
6898 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6899 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6900 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6901 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6917 bool temp9
= false ;
6918 PyObject
* obj0
= 0 ;
6919 PyObject
* obj1
= 0 ;
6920 PyObject
* obj2
= 0 ;
6921 PyObject
* obj3
= 0 ;
6922 PyObject
* obj4
= 0 ;
6923 PyObject
* obj5
= 0 ;
6924 PyObject
* obj6
= 0 ;
6925 PyObject
* obj7
= 0 ;
6926 PyObject
* obj8
= 0 ;
6927 char * kwnames
[] = {
6928 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6933 if (!SWIG_IsOK(res1
)) {
6934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6936 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6938 if (!SWIG_IsOK(res2
)) {
6939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6941 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6943 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6944 if (!SWIG_IsOK(ecode3
)) {
6945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6947 arg3
= static_cast< int >(val3
);
6950 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6951 if (!SWIG_IsOK(ecode4
)) {
6952 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
6954 arg4
= static_cast< int >(val4
);
6959 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6965 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6969 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6970 if (!SWIG_IsOK(ecode7
)) {
6971 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
6973 arg7
= static_cast< long >(val7
);
6976 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
6977 if (!SWIG_IsOK(res8
)) {
6978 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6981 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
6983 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
6987 arg9
= wxString_in_helper(obj8
);
6988 if (arg9
== NULL
) SWIG_fail
;
6993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6994 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6995 wxPyEndAllowThreads(__tstate
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7015 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
= 0;
7017 wxGauge
*arg1
= (wxGauge
*) 0 ;
7023 PyObject
* obj0
= 0 ;
7024 PyObject
* obj1
= 0 ;
7025 char * kwnames
[] = {
7026 (char *) "self",(char *) "range", NULL
7029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7031 if (!SWIG_IsOK(res1
)) {
7032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7034 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7036 if (!SWIG_IsOK(ecode2
)) {
7037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7039 arg2
= static_cast< int >(val2
);
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 (arg1
)->SetRange(arg2
);
7043 wxPyEndAllowThreads(__tstate
);
7044 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= SWIG_Py_Void();
7053 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7054 PyObject
*resultobj
= 0;
7055 wxGauge
*arg1
= (wxGauge
*) 0 ;
7059 PyObject
*swig_obj
[1] ;
7061 if (!args
) SWIG_fail
;
7063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7064 if (!SWIG_IsOK(res1
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7067 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= SWIG_From_int(static_cast< int >(result
));
7081 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
= 0;
7083 wxGauge
*arg1
= (wxGauge
*) 0 ;
7089 PyObject
* obj0
= 0 ;
7090 PyObject
* obj1
= 0 ;
7091 char * kwnames
[] = {
7092 (char *) "self",(char *) "pos", NULL
7095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7097 if (!SWIG_IsOK(res1
)) {
7098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7100 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7102 if (!SWIG_IsOK(ecode2
)) {
7103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7105 arg2
= static_cast< int >(val2
);
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 (arg1
)->SetValue(arg2
);
7109 wxPyEndAllowThreads(__tstate
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7112 resultobj
= SWIG_Py_Void();
7119 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7120 PyObject
*resultobj
= 0;
7121 wxGauge
*arg1
= (wxGauge
*) 0 ;
7125 PyObject
*swig_obj
[1] ;
7127 if (!args
) SWIG_fail
;
7129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7130 if (!SWIG_IsOK(res1
)) {
7131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7133 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7140 resultobj
= SWIG_From_int(static_cast< int >(result
));
7147 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7148 PyObject
*resultobj
= 0;
7149 wxGauge
*arg1
= (wxGauge
*) 0 ;
7152 PyObject
*swig_obj
[1] ;
7154 if (!args
) SWIG_fail
;
7156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7157 if (!SWIG_IsOK(res1
)) {
7158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7160 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 resultobj
= SWIG_Py_Void();
7174 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7175 PyObject
*resultobj
= 0;
7176 wxGauge
*arg1
= (wxGauge
*) 0 ;
7180 PyObject
*swig_obj
[1] ;
7182 if (!args
) SWIG_fail
;
7184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7185 if (!SWIG_IsOK(res1
)) {
7186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7188 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7192 wxPyEndAllowThreads(__tstate
);
7193 if (PyErr_Occurred()) SWIG_fail
;
7196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7204 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
= 0;
7206 wxGauge
*arg1
= (wxGauge
*) 0 ;
7212 PyObject
* obj0
= 0 ;
7213 PyObject
* obj1
= 0 ;
7214 char * kwnames
[] = {
7215 (char *) "self",(char *) "w", NULL
7218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7220 if (!SWIG_IsOK(res1
)) {
7221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7223 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7225 if (!SWIG_IsOK(ecode2
)) {
7226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7228 arg2
= static_cast< int >(val2
);
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 (arg1
)->SetShadowWidth(arg2
);
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 resultobj
= SWIG_Py_Void();
7242 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7243 PyObject
*resultobj
= 0;
7244 wxGauge
*arg1
= (wxGauge
*) 0 ;
7248 PyObject
*swig_obj
[1] ;
7250 if (!args
) SWIG_fail
;
7252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7253 if (!SWIG_IsOK(res1
)) {
7254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7256 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7260 wxPyEndAllowThreads(__tstate
);
7261 if (PyErr_Occurred()) SWIG_fail
;
7263 resultobj
= SWIG_From_int(static_cast< int >(result
));
7270 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7271 PyObject
*resultobj
= 0;
7272 wxGauge
*arg1
= (wxGauge
*) 0 ;
7278 PyObject
* obj0
= 0 ;
7279 PyObject
* obj1
= 0 ;
7280 char * kwnames
[] = {
7281 (char *) "self",(char *) "w", NULL
7284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7286 if (!SWIG_IsOK(res1
)) {
7287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7289 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7291 if (!SWIG_IsOK(ecode2
)) {
7292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7294 arg2
= static_cast< int >(val2
);
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 (arg1
)->SetBezelFace(arg2
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= SWIG_Py_Void();
7308 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7309 PyObject
*resultobj
= 0;
7310 wxGauge
*arg1
= (wxGauge
*) 0 ;
7314 PyObject
*swig_obj
[1] ;
7316 if (!args
) SWIG_fail
;
7318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7319 if (!SWIG_IsOK(res1
)) {
7320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7322 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= SWIG_From_int(static_cast< int >(result
));
7336 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
*resultobj
= 0;
7338 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7339 SwigValueWrapper
<wxVisualAttributes
> result
;
7342 PyObject
* obj0
= 0 ;
7343 char * kwnames
[] = {
7344 (char *) "variant", NULL
7347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7349 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7350 if (!SWIG_IsOK(ecode1
)) {
7351 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7353 arg1
= static_cast< wxWindowVariant
>(val1
);
7356 if (!wxPyCheckForApp()) SWIG_fail
;
7357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7358 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7359 wxPyEndAllowThreads(__tstate
);
7360 if (PyErr_Occurred()) SWIG_fail
;
7362 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7369 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7371 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7372 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7373 return SWIG_Py_Void();
7376 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7377 return SWIG_Python_InitShadowInstance(args
);
7380 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7381 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7386 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7387 PyObject
*pyobj
= 0;
7391 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7393 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7400 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7401 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7406 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7407 PyObject
*pyobj
= 0;
7411 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7413 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7420 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7421 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7426 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7427 PyObject
*pyobj
= 0;
7431 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7433 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7440 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7441 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7446 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7447 PyObject
*pyobj
= 0;
7451 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7453 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7460 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
= 0;
7462 wxWindow
*arg1
= (wxWindow
*) 0 ;
7463 int arg2
= (int) -1 ;
7464 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7465 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7466 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7467 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7468 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7469 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7470 long arg6
= (long) 0 ;
7471 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7472 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7473 wxStaticBox
*result
= 0 ;
7478 bool temp3
= false ;
7483 bool temp7
= false ;
7484 PyObject
* obj0
= 0 ;
7485 PyObject
* obj1
= 0 ;
7486 PyObject
* obj2
= 0 ;
7487 PyObject
* obj3
= 0 ;
7488 PyObject
* obj4
= 0 ;
7489 PyObject
* obj5
= 0 ;
7490 PyObject
* obj6
= 0 ;
7491 char * kwnames
[] = {
7492 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7497 if (!SWIG_IsOK(res1
)) {
7498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7503 if (!SWIG_IsOK(ecode2
)) {
7504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7506 arg2
= static_cast< int >(val2
);
7510 arg3
= wxString_in_helper(obj2
);
7511 if (arg3
== NULL
) SWIG_fail
;
7518 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7524 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7528 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7529 if (!SWIG_IsOK(ecode6
)) {
7530 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7532 arg6
= static_cast< long >(val6
);
7536 arg7
= wxString_in_helper(obj6
);
7537 if (arg7
== NULL
) SWIG_fail
;
7542 if (!wxPyCheckForApp()) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7571 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7572 PyObject
*resultobj
= 0;
7573 wxStaticBox
*result
= 0 ;
7575 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7577 if (!wxPyCheckForApp()) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= (wxStaticBox
*)new wxStaticBox();
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7583 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7590 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7591 PyObject
*resultobj
= 0;
7592 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7593 wxWindow
*arg2
= (wxWindow
*) 0 ;
7594 int arg3
= (int) -1 ;
7595 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7596 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7597 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7598 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7599 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7600 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7601 long arg7
= (long) 0 ;
7602 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7603 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7611 bool temp4
= false ;
7616 bool temp8
= false ;
7617 PyObject
* obj0
= 0 ;
7618 PyObject
* obj1
= 0 ;
7619 PyObject
* obj2
= 0 ;
7620 PyObject
* obj3
= 0 ;
7621 PyObject
* obj4
= 0 ;
7622 PyObject
* obj5
= 0 ;
7623 PyObject
* obj6
= 0 ;
7624 PyObject
* obj7
= 0 ;
7625 char * kwnames
[] = {
7626 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7631 if (!SWIG_IsOK(res1
)) {
7632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7634 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7635 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7636 if (!SWIG_IsOK(res2
)) {
7637 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7639 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7642 if (!SWIG_IsOK(ecode3
)) {
7643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7645 arg3
= static_cast< int >(val3
);
7649 arg4
= wxString_in_helper(obj3
);
7650 if (arg4
== NULL
) SWIG_fail
;
7657 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7663 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7667 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7668 if (!SWIG_IsOK(ecode7
)) {
7669 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7671 arg7
= static_cast< long >(val7
);
7675 arg8
= wxString_in_helper(obj7
);
7676 if (arg8
== NULL
) SWIG_fail
;
7681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7682 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7711 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
= 0;
7713 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7714 SwigValueWrapper
<wxVisualAttributes
> result
;
7717 PyObject
* obj0
= 0 ;
7718 char * kwnames
[] = {
7719 (char *) "variant", NULL
7722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7724 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7725 if (!SWIG_IsOK(ecode1
)) {
7726 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7728 arg1
= static_cast< wxWindowVariant
>(val1
);
7731 if (!wxPyCheckForApp()) SWIG_fail
;
7732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7733 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7744 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7747 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7748 return SWIG_Py_Void();
7751 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7752 return SWIG_Python_InitShadowInstance(args
);
7755 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
= 0;
7757 wxWindow
*arg1
= (wxWindow
*) 0 ;
7758 int arg2
= (int) -1 ;
7759 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7760 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7761 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7762 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7763 long arg5
= (long) wxLI_HORIZONTAL
;
7764 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7765 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7766 wxStaticLine
*result
= 0 ;
7775 bool temp6
= false ;
7776 PyObject
* obj0
= 0 ;
7777 PyObject
* obj1
= 0 ;
7778 PyObject
* obj2
= 0 ;
7779 PyObject
* obj3
= 0 ;
7780 PyObject
* obj4
= 0 ;
7781 PyObject
* obj5
= 0 ;
7782 char * kwnames
[] = {
7783 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7788 if (!SWIG_IsOK(res1
)) {
7789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7791 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7793 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7794 if (!SWIG_IsOK(ecode2
)) {
7795 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7797 arg2
= static_cast< int >(val2
);
7802 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7808 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7812 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7813 if (!SWIG_IsOK(ecode5
)) {
7814 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7816 arg5
= static_cast< long >(val5
);
7820 arg6
= wxString_in_helper(obj5
);
7821 if (arg6
== NULL
) SWIG_fail
;
7826 if (!wxPyCheckForApp()) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7847 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7848 PyObject
*resultobj
= 0;
7849 wxStaticLine
*result
= 0 ;
7851 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7853 if (!wxPyCheckForApp()) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 result
= (wxStaticLine
*)new wxStaticLine();
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7866 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
= 0;
7868 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7869 wxWindow
*arg2
= (wxWindow
*) 0 ;
7870 int arg3
= (int) -1 ;
7871 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7872 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7873 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7874 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7875 long arg6
= (long) wxLI_HORIZONTAL
;
7876 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7877 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7889 bool temp7
= false ;
7890 PyObject
* obj0
= 0 ;
7891 PyObject
* obj1
= 0 ;
7892 PyObject
* obj2
= 0 ;
7893 PyObject
* obj3
= 0 ;
7894 PyObject
* obj4
= 0 ;
7895 PyObject
* obj5
= 0 ;
7896 PyObject
* obj6
= 0 ;
7897 char * kwnames
[] = {
7898 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7903 if (!SWIG_IsOK(res1
)) {
7904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7906 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7907 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7908 if (!SWIG_IsOK(res2
)) {
7909 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7911 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7914 if (!SWIG_IsOK(ecode3
)) {
7915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7917 arg3
= static_cast< int >(val3
);
7922 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7928 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7932 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7933 if (!SWIG_IsOK(ecode6
)) {
7934 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7936 arg6
= static_cast< long >(val6
);
7940 arg7
= wxString_in_helper(obj6
);
7941 if (arg7
== NULL
) SWIG_fail
;
7946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7947 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7968 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7969 PyObject
*resultobj
= 0;
7970 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7974 PyObject
*swig_obj
[1] ;
7976 if (!args
) SWIG_fail
;
7978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7979 if (!SWIG_IsOK(res1
)) {
7980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
7982 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7998 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7999 PyObject
*resultobj
= 0;
8002 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8005 result
= (int)wxStaticLine::GetDefaultSize();
8006 wxPyEndAllowThreads(__tstate
);
8007 if (PyErr_Occurred()) SWIG_fail
;
8009 resultobj
= SWIG_From_int(static_cast< int >(result
));
8016 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
= 0;
8018 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8019 SwigValueWrapper
<wxVisualAttributes
> result
;
8022 PyObject
* obj0
= 0 ;
8023 char * kwnames
[] = {
8024 (char *) "variant", NULL
8027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8029 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8030 if (!SWIG_IsOK(ecode1
)) {
8031 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8033 arg1
= static_cast< wxWindowVariant
>(val1
);
8036 if (!wxPyCheckForApp()) SWIG_fail
;
8037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8038 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8049 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8051 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8052 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8053 return SWIG_Py_Void();
8056 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8057 return SWIG_Python_InitShadowInstance(args
);
8060 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
= 0;
8062 wxWindow
*arg1
= (wxWindow
*) 0 ;
8063 int arg2
= (int) -1 ;
8064 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8065 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8066 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8067 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8068 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8069 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8070 long arg6
= (long) 0 ;
8071 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8072 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8073 wxStaticText
*result
= 0 ;
8078 bool temp3
= false ;
8083 bool temp7
= false ;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8086 PyObject
* obj2
= 0 ;
8087 PyObject
* obj3
= 0 ;
8088 PyObject
* obj4
= 0 ;
8089 PyObject
* obj5
= 0 ;
8090 PyObject
* obj6
= 0 ;
8091 char * kwnames
[] = {
8092 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8097 if (!SWIG_IsOK(res1
)) {
8098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8100 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8102 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8103 if (!SWIG_IsOK(ecode2
)) {
8104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8106 arg2
= static_cast< int >(val2
);
8110 arg3
= wxString_in_helper(obj2
);
8111 if (arg3
== NULL
) SWIG_fail
;
8118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8128 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8129 if (!SWIG_IsOK(ecode6
)) {
8130 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8132 arg6
= static_cast< long >(val6
);
8136 arg7
= wxString_in_helper(obj6
);
8137 if (arg7
== NULL
) SWIG_fail
;
8142 if (!wxPyCheckForApp()) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8171 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8172 PyObject
*resultobj
= 0;
8173 wxStaticText
*result
= 0 ;
8175 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8177 if (!wxPyCheckForApp()) SWIG_fail
;
8178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8179 result
= (wxStaticText
*)new wxStaticText();
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8190 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
= 0;
8192 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8193 wxWindow
*arg2
= (wxWindow
*) 0 ;
8194 int arg3
= (int) -1 ;
8195 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8196 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8197 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8198 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8199 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8200 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8201 long arg7
= (long) 0 ;
8202 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8203 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8211 bool temp4
= false ;
8216 bool temp8
= false ;
8217 PyObject
* obj0
= 0 ;
8218 PyObject
* obj1
= 0 ;
8219 PyObject
* obj2
= 0 ;
8220 PyObject
* obj3
= 0 ;
8221 PyObject
* obj4
= 0 ;
8222 PyObject
* obj5
= 0 ;
8223 PyObject
* obj6
= 0 ;
8224 PyObject
* obj7
= 0 ;
8225 char * kwnames
[] = {
8226 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8231 if (!SWIG_IsOK(res1
)) {
8232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8234 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8236 if (!SWIG_IsOK(res2
)) {
8237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8239 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8242 if (!SWIG_IsOK(ecode3
)) {
8243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8245 arg3
= static_cast< int >(val3
);
8249 arg4
= wxString_in_helper(obj3
);
8250 if (arg4
== NULL
) SWIG_fail
;
8257 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8263 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8267 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8268 if (!SWIG_IsOK(ecode7
)) {
8269 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8271 arg7
= static_cast< long >(val7
);
8275 arg8
= wxString_in_helper(obj7
);
8276 if (arg8
== NULL
) SWIG_fail
;
8281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8282 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8311 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
= 0;
8313 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8321 char * kwnames
[] = {
8322 (char *) "self",(char *) "width", NULL
8325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8327 if (!SWIG_IsOK(res1
)) {
8328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8330 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8332 if (!SWIG_IsOK(ecode2
)) {
8333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8335 arg2
= static_cast< int >(val2
);
8337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 resultobj
= SWIG_Py_Void();
8349 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
= 0;
8351 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8352 SwigValueWrapper
<wxVisualAttributes
> result
;
8355 PyObject
* obj0
= 0 ;
8356 char * kwnames
[] = {
8357 (char *) "variant", NULL
8360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8362 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8363 if (!SWIG_IsOK(ecode1
)) {
8364 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8366 arg1
= static_cast< wxWindowVariant
>(val1
);
8369 if (!wxPyCheckForApp()) SWIG_fail
;
8370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8371 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8382 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8384 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8385 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8386 return SWIG_Py_Void();
8389 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8390 return SWIG_Python_InitShadowInstance(args
);
8393 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8394 PyObject
*resultobj
= 0;
8395 wxWindow
*arg1
= (wxWindow
*) 0 ;
8396 int arg2
= (int) -1 ;
8397 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8398 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8399 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8400 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8401 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8402 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8403 long arg6
= (long) 0 ;
8404 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8405 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8406 wxStaticBitmap
*result
= 0 ;
8417 bool temp7
= false ;
8418 PyObject
* obj0
= 0 ;
8419 PyObject
* obj1
= 0 ;
8420 PyObject
* obj2
= 0 ;
8421 PyObject
* obj3
= 0 ;
8422 PyObject
* obj4
= 0 ;
8423 PyObject
* obj5
= 0 ;
8424 PyObject
* obj6
= 0 ;
8425 char * kwnames
[] = {
8426 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8431 if (!SWIG_IsOK(res1
)) {
8432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8434 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8437 if (!SWIG_IsOK(ecode2
)) {
8438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8440 arg2
= static_cast< int >(val2
);
8443 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8444 if (!SWIG_IsOK(res3
)) {
8445 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8450 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8455 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8461 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8465 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8466 if (!SWIG_IsOK(ecode6
)) {
8467 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8469 arg6
= static_cast< long >(val6
);
8473 arg7
= wxString_in_helper(obj6
);
8474 if (arg7
== NULL
) SWIG_fail
;
8479 if (!wxPyCheckForApp()) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8500 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8501 PyObject
*resultobj
= 0;
8502 wxStaticBitmap
*result
= 0 ;
8504 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8506 if (!wxPyCheckForApp()) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8509 wxPyEndAllowThreads(__tstate
);
8510 if (PyErr_Occurred()) SWIG_fail
;
8512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8519 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8520 PyObject
*resultobj
= 0;
8521 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8522 wxWindow
*arg2
= (wxWindow
*) 0 ;
8523 int arg3
= (int) -1 ;
8524 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8525 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8526 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8527 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8528 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8529 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8530 long arg7
= (long) 0 ;
8531 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8546 bool temp8
= false ;
8547 PyObject
* obj0
= 0 ;
8548 PyObject
* obj1
= 0 ;
8549 PyObject
* obj2
= 0 ;
8550 PyObject
* obj3
= 0 ;
8551 PyObject
* obj4
= 0 ;
8552 PyObject
* obj5
= 0 ;
8553 PyObject
* obj6
= 0 ;
8554 PyObject
* obj7
= 0 ;
8555 char * kwnames
[] = {
8556 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8561 if (!SWIG_IsOK(res1
)) {
8562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8564 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8566 if (!SWIG_IsOK(res2
)) {
8567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8569 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8572 if (!SWIG_IsOK(ecode3
)) {
8573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8575 arg3
= static_cast< int >(val3
);
8578 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8579 if (!SWIG_IsOK(res4
)) {
8580 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8583 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8585 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8590 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8596 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8600 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8601 if (!SWIG_IsOK(ecode7
)) {
8602 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8604 arg7
= static_cast< long >(val7
);
8608 arg8
= wxString_in_helper(obj7
);
8609 if (arg8
== NULL
) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8616 wxPyEndAllowThreads(__tstate
);
8617 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8636 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8637 PyObject
*resultobj
= 0;
8638 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8642 PyObject
*swig_obj
[1] ;
8644 if (!args
) SWIG_fail
;
8646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8647 if (!SWIG_IsOK(res1
)) {
8648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8650 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (arg1
)->GetBitmap();
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8657 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8664 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
= 0;
8666 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8667 wxBitmap
*arg2
= 0 ;
8672 PyObject
* obj0
= 0 ;
8673 PyObject
* obj1
= 0 ;
8674 char * kwnames
[] = {
8675 (char *) "self",(char *) "bitmap", NULL
8678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8680 if (!SWIG_IsOK(res1
)) {
8681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8683 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8685 if (!SWIG_IsOK(res2
)) {
8686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8691 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8695 wxPyEndAllowThreads(__tstate
);
8696 if (PyErr_Occurred()) SWIG_fail
;
8698 resultobj
= SWIG_Py_Void();
8705 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8706 PyObject
*resultobj
= 0;
8707 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8713 PyObject
* obj0
= 0 ;
8714 PyObject
* obj1
= 0 ;
8715 char * kwnames
[] = {
8716 (char *) "self",(char *) "icon", NULL
8719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8721 if (!SWIG_IsOK(res1
)) {
8722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8724 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8725 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8726 if (!SWIG_IsOK(res2
)) {
8727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8730 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8732 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8736 wxPyEndAllowThreads(__tstate
);
8737 if (PyErr_Occurred()) SWIG_fail
;
8739 resultobj
= SWIG_Py_Void();
8746 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
= 0;
8748 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8749 SwigValueWrapper
<wxVisualAttributes
> result
;
8752 PyObject
* obj0
= 0 ;
8753 char * kwnames
[] = {
8754 (char *) "variant", NULL
8757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8759 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8760 if (!SWIG_IsOK(ecode1
)) {
8761 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8763 arg1
= static_cast< wxWindowVariant
>(val1
);
8766 if (!wxPyCheckForApp()) SWIG_fail
;
8767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8768 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8769 wxPyEndAllowThreads(__tstate
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8779 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8782 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8783 return SWIG_Py_Void();
8786 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8787 return SWIG_Python_InitShadowInstance(args
);
8790 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8791 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8796 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8797 PyObject
*pyobj
= 0;
8801 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8803 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8810 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8811 PyObject
*resultobj
= 0;
8812 wxWindow
*arg1
= (wxWindow
*) 0 ;
8813 int arg2
= (int) -1 ;
8814 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8815 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8816 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8817 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8818 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8819 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8820 long arg6
= (long) 0 ;
8821 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8822 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8823 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8824 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8825 wxListBox
*result
= 0 ;
8832 bool temp5
= false ;
8837 bool temp8
= false ;
8838 PyObject
* obj0
= 0 ;
8839 PyObject
* obj1
= 0 ;
8840 PyObject
* obj2
= 0 ;
8841 PyObject
* obj3
= 0 ;
8842 PyObject
* obj4
= 0 ;
8843 PyObject
* obj5
= 0 ;
8844 PyObject
* obj6
= 0 ;
8845 PyObject
* obj7
= 0 ;
8846 char * kwnames
[] = {
8847 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
8850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8852 if (!SWIG_IsOK(res1
)) {
8853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
8855 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8858 if (!SWIG_IsOK(ecode2
)) {
8859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
8861 arg2
= static_cast< int >(val2
);
8866 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8872 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8877 if (! PySequence_Check(obj4
)) {
8878 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
8881 arg5
= new wxArrayString
;
8883 int i
, len
=PySequence_Length(obj4
);
8884 for (i
=0; i
<len
; i
++) {
8885 PyObject
* item
= PySequence_GetItem(obj4
, i
);
8886 wxString
* s
= wxString_in_helper(item
);
8887 if (PyErr_Occurred()) SWIG_fail
;
8895 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8896 if (!SWIG_IsOK(ecode6
)) {
8897 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
8899 arg6
= static_cast< long >(val6
);
8902 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
8903 if (!SWIG_IsOK(res7
)) {
8904 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
8909 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
8913 arg8
= wxString_in_helper(obj7
);
8914 if (arg8
== NULL
) SWIG_fail
;
8919 if (!wxPyCheckForApp()) SWIG_fail
;
8920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8921 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
8927 if (temp5
) delete arg5
;
8936 if (temp5
) delete arg5
;
8946 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8947 PyObject
*resultobj
= 0;
8948 wxListBox
*result
= 0 ;
8950 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
8952 if (!wxPyCheckForApp()) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (wxListBox
*)new wxListBox();
8955 wxPyEndAllowThreads(__tstate
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
8965 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
= 0;
8967 wxListBox
*arg1
= (wxListBox
*) 0 ;
8968 wxWindow
*arg2
= (wxWindow
*) 0 ;
8969 int arg3
= (int) -1 ;
8970 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8971 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8972 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8973 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8974 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
8975 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
8976 long arg7
= (long) 0 ;
8977 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8978 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8979 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
8980 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8990 bool temp6
= false ;
8995 bool temp9
= false ;
8996 PyObject
* obj0
= 0 ;
8997 PyObject
* obj1
= 0 ;
8998 PyObject
* obj2
= 0 ;
8999 PyObject
* obj3
= 0 ;
9000 PyObject
* obj4
= 0 ;
9001 PyObject
* obj5
= 0 ;
9002 PyObject
* obj6
= 0 ;
9003 PyObject
* obj7
= 0 ;
9004 PyObject
* obj8
= 0 ;
9005 char * kwnames
[] = {
9006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9011 if (!SWIG_IsOK(res1
)) {
9012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9014 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9016 if (!SWIG_IsOK(res2
)) {
9017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9019 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9022 if (!SWIG_IsOK(ecode3
)) {
9023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9025 arg3
= static_cast< int >(val3
);
9030 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9036 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9041 if (! PySequence_Check(obj5
)) {
9042 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9045 arg6
= new wxArrayString
;
9047 int i
, len
=PySequence_Length(obj5
);
9048 for (i
=0; i
<len
; i
++) {
9049 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9050 wxString
* s
= wxString_in_helper(item
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9059 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9060 if (!SWIG_IsOK(ecode7
)) {
9061 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9063 arg7
= static_cast< long >(val7
);
9066 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9067 if (!SWIG_IsOK(res8
)) {
9068 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9071 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9073 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9077 arg9
= wxString_in_helper(obj8
);
9078 if (arg9
== NULL
) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9092 if (temp6
) delete arg6
;
9101 if (temp6
) delete arg6
;
9111 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
= 0;
9113 wxListBox
*arg1
= (wxListBox
*) 0 ;
9114 wxString
*arg2
= 0 ;
9116 PyObject
*arg4
= (PyObject
*) NULL
;
9119 bool temp2
= false ;
9122 PyObject
* obj0
= 0 ;
9123 PyObject
* obj1
= 0 ;
9124 PyObject
* obj2
= 0 ;
9125 PyObject
* obj3
= 0 ;
9126 char * kwnames
[] = {
9127 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9132 if (!SWIG_IsOK(res1
)) {
9133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9135 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9137 arg2
= wxString_in_helper(obj1
);
9138 if (arg2
== NULL
) SWIG_fail
;
9141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9142 if (!SWIG_IsOK(ecode3
)) {
9143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9145 arg3
= static_cast< int >(val3
);
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_Py_Void();
9170 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
= 0;
9172 wxListBox
*arg1
= (wxListBox
*) 0 ;
9173 wxArrayString
*arg2
= 0 ;
9177 bool temp2
= false ;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9182 PyObject
* obj2
= 0 ;
9183 char * kwnames
[] = {
9184 (char *) "self",(char *) "items",(char *) "pos", NULL
9187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9189 if (!SWIG_IsOK(res1
)) {
9190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9192 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9194 if (! PySequence_Check(obj1
)) {
9195 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9198 arg2
= new wxArrayString
;
9200 int i
, len
=PySequence_Length(obj1
);
9201 for (i
=0; i
<len
; i
++) {
9202 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9203 wxString
* s
= wxString_in_helper(item
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9210 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9211 if (!SWIG_IsOK(ecode3
)) {
9212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9214 arg3
= static_cast< unsigned int >(val3
);
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 resultobj
= SWIG_Py_Void();
9223 if (temp2
) delete arg2
;
9228 if (temp2
) delete arg2
;
9234 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
= 0;
9236 wxListBox
*arg1
= (wxListBox
*) 0 ;
9237 wxArrayString
*arg2
= 0 ;
9240 bool temp2
= false ;
9241 PyObject
* obj0
= 0 ;
9242 PyObject
* obj1
= 0 ;
9243 char * kwnames
[] = {
9244 (char *) "self",(char *) "items", NULL
9247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9249 if (!SWIG_IsOK(res1
)) {
9250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9252 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9254 if (! PySequence_Check(obj1
)) {
9255 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9258 arg2
= new wxArrayString
;
9260 int i
, len
=PySequence_Length(obj1
);
9261 for (i
=0; i
<len
; i
++) {
9262 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9263 wxString
* s
= wxString_in_helper(item
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9272 (arg1
)->Set((wxArrayString
const &)*arg2
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= SWIG_Py_Void();
9278 if (temp2
) delete arg2
;
9283 if (temp2
) delete arg2
;
9289 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
= 0;
9291 wxListBox
*arg1
= (wxListBox
*) 0 ;
9298 PyObject
* obj0
= 0 ;
9299 PyObject
* obj1
= 0 ;
9300 char * kwnames
[] = {
9301 (char *) "self",(char *) "n", NULL
9304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9306 if (!SWIG_IsOK(res1
)) {
9307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9309 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9311 if (!SWIG_IsOK(ecode2
)) {
9312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9314 arg2
= static_cast< int >(val2
);
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9330 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
= 0;
9332 wxListBox
*arg1
= (wxListBox
*) 0 ;
9334 bool arg3
= (bool) true ;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9343 PyObject
* obj2
= 0 ;
9344 char * kwnames
[] = {
9345 (char *) "self",(char *) "n",(char *) "select", NULL
9348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9350 if (!SWIG_IsOK(res1
)) {
9351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9353 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9355 if (!SWIG_IsOK(ecode2
)) {
9356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9358 arg2
= static_cast< int >(val2
);
9360 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9361 if (!SWIG_IsOK(ecode3
)) {
9362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9364 arg3
= static_cast< bool >(val3
);
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 (arg1
)->SetSelection(arg2
,arg3
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_Py_Void();
9379 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
= 0;
9381 wxListBox
*arg1
= (wxListBox
*) 0 ;
9387 PyObject
* obj0
= 0 ;
9388 PyObject
* obj1
= 0 ;
9389 char * kwnames
[] = {
9390 (char *) "self",(char *) "n", NULL
9393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9395 if (!SWIG_IsOK(res1
)) {
9396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9398 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9400 if (!SWIG_IsOK(ecode2
)) {
9401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9403 arg2
= static_cast< int >(val2
);
9405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9406 (arg1
)->Select(arg2
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_Py_Void();
9417 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
= 0;
9419 wxListBox
*arg1
= (wxListBox
*) 0 ;
9425 PyObject
* obj0
= 0 ;
9426 PyObject
* obj1
= 0 ;
9427 char * kwnames
[] = {
9428 (char *) "self",(char *) "n", NULL
9431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9433 if (!SWIG_IsOK(res1
)) {
9434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9436 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9438 if (!SWIG_IsOK(ecode2
)) {
9439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9441 arg2
= static_cast< int >(val2
);
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 (arg1
)->Deselect(arg2
);
9445 wxPyEndAllowThreads(__tstate
);
9446 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= SWIG_Py_Void();
9455 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9456 PyObject
*resultobj
= 0;
9457 wxListBox
*arg1
= (wxListBox
*) 0 ;
9458 int arg2
= (int) -1 ;
9463 PyObject
* obj0
= 0 ;
9464 PyObject
* obj1
= 0 ;
9465 char * kwnames
[] = {
9466 (char *) "self",(char *) "itemToLeaveSelected", NULL
9469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9471 if (!SWIG_IsOK(res1
)) {
9472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9474 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9476 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9477 if (!SWIG_IsOK(ecode2
)) {
9478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9480 arg2
= static_cast< int >(val2
);
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 (arg1
)->DeselectAll(arg2
);
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9488 resultobj
= SWIG_Py_Void();
9495 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9496 PyObject
*resultobj
= 0;
9497 wxListBox
*arg1
= (wxListBox
*) 0 ;
9498 wxString
*arg2
= 0 ;
9499 bool arg3
= (bool) true ;
9503 bool temp2
= false ;
9506 PyObject
* obj0
= 0 ;
9507 PyObject
* obj1
= 0 ;
9508 PyObject
* obj2
= 0 ;
9509 char * kwnames
[] = {
9510 (char *) "self",(char *) "s",(char *) "select", NULL
9513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9515 if (!SWIG_IsOK(res1
)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9518 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9520 arg2
= wxString_in_helper(obj1
);
9521 if (arg2
== NULL
) SWIG_fail
;
9525 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9526 if (!SWIG_IsOK(ecode3
)) {
9527 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9529 arg3
= static_cast< bool >(val3
);
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9554 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9555 PyObject
*resultobj
= 0;
9556 wxListBox
*arg1
= (wxListBox
*) 0 ;
9557 PyObject
*result
= 0 ;
9560 PyObject
*swig_obj
[1] ;
9562 if (!args
) SWIG_fail
;
9564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9565 if (!SWIG_IsOK(res1
)) {
9566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9568 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9571 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9582 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9583 PyObject
*resultobj
= 0;
9584 wxListBox
*arg1
= (wxListBox
*) 0 ;
9590 PyObject
* obj0
= 0 ;
9591 PyObject
* obj1
= 0 ;
9592 char * kwnames
[] = {
9593 (char *) "self",(char *) "n", NULL
9596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9598 if (!SWIG_IsOK(res1
)) {
9599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9601 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9603 if (!SWIG_IsOK(ecode2
)) {
9604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9606 arg2
= static_cast< int >(val2
);
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9609 (arg1
)->SetFirstItem(arg2
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= SWIG_Py_Void();
9620 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
= 0;
9622 wxListBox
*arg1
= (wxListBox
*) 0 ;
9623 wxString
*arg2
= 0 ;
9626 bool temp2
= false ;
9627 PyObject
* obj0
= 0 ;
9628 PyObject
* obj1
= 0 ;
9629 char * kwnames
[] = {
9630 (char *) "self",(char *) "s", NULL
9633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9635 if (!SWIG_IsOK(res1
)) {
9636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9638 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9640 arg2
= wxString_in_helper(obj1
);
9641 if (arg2
== NULL
) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9650 resultobj
= SWIG_Py_Void();
9665 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9666 PyObject
*resultobj
= 0;
9667 wxListBox
*arg1
= (wxListBox
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9674 PyObject
* obj1
= 0 ;
9675 char * kwnames
[] = {
9676 (char *) "self",(char *) "n", NULL
9679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9681 if (!SWIG_IsOK(res1
)) {
9682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9684 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9685 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9686 if (!SWIG_IsOK(ecode2
)) {
9687 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9689 arg2
= static_cast< int >(val2
);
9691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9692 (arg1
)->EnsureVisible(arg2
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9696 resultobj
= SWIG_Py_Void();
9703 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
= 0;
9705 wxListBox
*arg1
= (wxListBox
*) 0 ;
9706 wxString
*arg2
= 0 ;
9709 bool temp2
= false ;
9710 PyObject
* obj0
= 0 ;
9711 PyObject
* obj1
= 0 ;
9712 char * kwnames
[] = {
9713 (char *) "self",(char *) "s", NULL
9716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9718 if (!SWIG_IsOK(res1
)) {
9719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9721 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9723 arg2
= wxString_in_helper(obj1
);
9724 if (arg2
== NULL
) SWIG_fail
;
9728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9729 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9730 wxPyEndAllowThreads(__tstate
);
9731 if (PyErr_Occurred()) SWIG_fail
;
9733 resultobj
= SWIG_Py_Void();
9748 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9749 PyObject
*resultobj
= 0;
9750 wxListBox
*arg1
= (wxListBox
*) 0 ;
9754 PyObject
*swig_obj
[1] ;
9756 if (!args
) SWIG_fail
;
9758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9759 if (!SWIG_IsOK(res1
)) {
9760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9762 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9778 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
= 0;
9780 wxListBox
*arg1
= (wxListBox
*) 0 ;
9786 PyObject
* obj0
= 0 ;
9787 PyObject
* obj1
= 0 ;
9788 char * kwnames
[] = {
9789 (char *) "self",(char *) "pt", NULL
9792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9794 if (!SWIG_IsOK(res1
)) {
9795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9797 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9800 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9805 wxPyEndAllowThreads(__tstate
);
9806 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= SWIG_From_int(static_cast< int >(result
));
9815 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9816 PyObject
*resultobj
= 0;
9817 wxListBox
*arg1
= (wxListBox
*) 0 ;
9819 wxColour
*arg3
= 0 ;
9825 PyObject
* obj0
= 0 ;
9826 PyObject
* obj1
= 0 ;
9827 PyObject
* obj2
= 0 ;
9828 char * kwnames
[] = {
9829 (char *) "self",(char *) "item",(char *) "c", NULL
9832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9834 if (!SWIG_IsOK(res1
)) {
9835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9837 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9839 if (!SWIG_IsOK(ecode2
)) {
9840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
9842 arg2
= static_cast< int >(val2
);
9845 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 resultobj
= SWIG_Py_Void();
9860 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
= 0;
9862 wxListBox
*arg1
= (wxListBox
*) 0 ;
9864 wxColour
*arg3
= 0 ;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9872 PyObject
* obj2
= 0 ;
9873 char * kwnames
[] = {
9874 (char *) "self",(char *) "item",(char *) "c", NULL
9877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9879 if (!SWIG_IsOK(res1
)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
9882 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9884 if (!SWIG_IsOK(ecode2
)) {
9885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
9887 arg2
= static_cast< int >(val2
);
9890 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
9895 wxPyEndAllowThreads(__tstate
);
9896 if (PyErr_Occurred()) SWIG_fail
;
9898 resultobj
= SWIG_Py_Void();
9905 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
= 0;
9907 wxListBox
*arg1
= (wxListBox
*) 0 ;
9916 PyObject
* obj0
= 0 ;
9917 PyObject
* obj1
= 0 ;
9918 PyObject
* obj2
= 0 ;
9919 char * kwnames
[] = {
9920 (char *) "self",(char *) "item",(char *) "f", NULL
9923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9925 if (!SWIG_IsOK(res1
)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
9928 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9930 if (!SWIG_IsOK(ecode2
)) {
9931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
9933 arg2
= static_cast< int >(val2
);
9934 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
9935 if (!SWIG_IsOK(res3
)) {
9936 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9939 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
9941 arg3
= reinterpret_cast< wxFont
* >(argp3
);
9943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9944 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9948 resultobj
= SWIG_Py_Void();
9955 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
= 0;
9957 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9958 SwigValueWrapper
<wxVisualAttributes
> result
;
9961 PyObject
* obj0
= 0 ;
9962 char * kwnames
[] = {
9963 (char *) "variant", NULL
9966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9968 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9969 if (!SWIG_IsOK(ecode1
)) {
9970 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9972 arg1
= static_cast< wxWindowVariant
>(val1
);
9975 if (!wxPyCheckForApp()) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= wxListBox::GetClassDefaultAttributes(arg1
);
9978 wxPyEndAllowThreads(__tstate
);
9979 if (PyErr_Occurred()) SWIG_fail
;
9981 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9988 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9991 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
9992 return SWIG_Py_Void();
9995 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9996 return SWIG_Python_InitShadowInstance(args
);
9999 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
= 0;
10001 wxWindow
*arg1
= (wxWindow
*) 0 ;
10002 int arg2
= (int) -1 ;
10003 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10004 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10005 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10006 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10007 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10008 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10009 long arg6
= (long) 0 ;
10010 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10011 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10012 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10013 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10014 wxCheckListBox
*result
= 0 ;
10021 bool temp5
= false ;
10026 bool temp8
= false ;
10027 PyObject
* obj0
= 0 ;
10028 PyObject
* obj1
= 0 ;
10029 PyObject
* obj2
= 0 ;
10030 PyObject
* obj3
= 0 ;
10031 PyObject
* obj4
= 0 ;
10032 PyObject
* obj5
= 0 ;
10033 PyObject
* obj6
= 0 ;
10034 PyObject
* obj7
= 0 ;
10035 char * kwnames
[] = {
10036 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10041 if (!SWIG_IsOK(res1
)) {
10042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10044 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10047 if (!SWIG_IsOK(ecode2
)) {
10048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10050 arg2
= static_cast< int >(val2
);
10055 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10061 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10066 if (! PySequence_Check(obj4
)) {
10067 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10070 arg5
= new wxArrayString
;
10072 int i
, len
=PySequence_Length(obj4
);
10073 for (i
=0; i
<len
; i
++) {
10074 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10075 wxString
* s
= wxString_in_helper(item
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10084 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10085 if (!SWIG_IsOK(ecode6
)) {
10086 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10088 arg6
= static_cast< long >(val6
);
10091 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10092 if (!SWIG_IsOK(res7
)) {
10093 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10096 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10098 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10102 arg8
= wxString_in_helper(obj7
);
10103 if (arg8
== NULL
) SWIG_fail
;
10108 if (!wxPyCheckForApp()) SWIG_fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10111 wxPyEndAllowThreads(__tstate
);
10112 if (PyErr_Occurred()) SWIG_fail
;
10114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10116 if (temp5
) delete arg5
;
10125 if (temp5
) delete arg5
;
10135 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10136 PyObject
*resultobj
= 0;
10137 wxCheckListBox
*result
= 0 ;
10139 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10141 if (!wxPyCheckForApp()) SWIG_fail
;
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 result
= (wxCheckListBox
*)new wxCheckListBox();
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10154 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10155 PyObject
*resultobj
= 0;
10156 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10157 wxWindow
*arg2
= (wxWindow
*) 0 ;
10158 int arg3
= (int) -1 ;
10159 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10160 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10161 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10162 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10163 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10164 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10165 long arg7
= (long) 0 ;
10166 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10167 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10168 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10169 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10179 bool temp6
= false ;
10184 bool temp9
= false ;
10185 PyObject
* obj0
= 0 ;
10186 PyObject
* obj1
= 0 ;
10187 PyObject
* obj2
= 0 ;
10188 PyObject
* obj3
= 0 ;
10189 PyObject
* obj4
= 0 ;
10190 PyObject
* obj5
= 0 ;
10191 PyObject
* obj6
= 0 ;
10192 PyObject
* obj7
= 0 ;
10193 PyObject
* obj8
= 0 ;
10194 char * kwnames
[] = {
10195 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10200 if (!SWIG_IsOK(res1
)) {
10201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10203 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10204 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10205 if (!SWIG_IsOK(res2
)) {
10206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10208 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10210 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10211 if (!SWIG_IsOK(ecode3
)) {
10212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10214 arg3
= static_cast< int >(val3
);
10219 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10225 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10230 if (! PySequence_Check(obj5
)) {
10231 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10234 arg6
= new wxArrayString
;
10236 int i
, len
=PySequence_Length(obj5
);
10237 for (i
=0; i
<len
; i
++) {
10238 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10239 wxString
* s
= wxString_in_helper(item
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10248 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10249 if (!SWIG_IsOK(ecode7
)) {
10250 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10252 arg7
= static_cast< long >(val7
);
10255 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10256 if (!SWIG_IsOK(res8
)) {
10257 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10260 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10262 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10266 arg9
= wxString_in_helper(obj8
);
10267 if (arg9
== NULL
) SWIG_fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10274 wxPyEndAllowThreads(__tstate
);
10275 if (PyErr_Occurred()) SWIG_fail
;
10278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10281 if (temp6
) delete arg6
;
10290 if (temp6
) delete arg6
;
10300 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
= 0;
10302 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10303 unsigned int arg2
;
10307 unsigned int val2
;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 char * kwnames
[] = {
10312 (char *) "self",(char *) "index", NULL
10315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10317 if (!SWIG_IsOK(res1
)) {
10318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10320 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10321 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10322 if (!SWIG_IsOK(ecode2
)) {
10323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10325 arg2
= static_cast< unsigned int >(val2
);
10327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10328 result
= (bool)(arg1
)->IsChecked(arg2
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10341 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
= 0;
10343 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10344 unsigned int arg2
;
10345 int arg3
= (int) true ;
10348 unsigned int val2
;
10352 PyObject
* obj0
= 0 ;
10353 PyObject
* obj1
= 0 ;
10354 PyObject
* obj2
= 0 ;
10355 char * kwnames
[] = {
10356 (char *) "self",(char *) "index",(char *) "check", NULL
10359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10361 if (!SWIG_IsOK(res1
)) {
10362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10364 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10365 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10366 if (!SWIG_IsOK(ecode2
)) {
10367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10369 arg2
= static_cast< unsigned int >(val2
);
10371 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10372 if (!SWIG_IsOK(ecode3
)) {
10373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10375 arg3
= static_cast< int >(val3
);
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 (arg1
)->Check(arg2
,arg3
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 resultobj
= SWIG_Py_Void();
10390 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10393 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10394 return SWIG_Py_Void();
10397 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10398 return SWIG_Python_InitShadowInstance(args
);
10401 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10402 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10407 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10408 PyObject
*pyobj
= 0;
10412 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10414 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10421 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
= 0;
10423 wxColour
const &arg1_defvalue
= wxNullColour
;
10424 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10425 wxColour
const &arg2_defvalue
= wxNullColour
;
10426 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10427 wxFont
const &arg3_defvalue
= wxNullFont
;
10428 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10429 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10430 wxTextAttr
*result
= 0 ;
10437 PyObject
* obj0
= 0 ;
10438 PyObject
* obj1
= 0 ;
10439 PyObject
* obj2
= 0 ;
10440 PyObject
* obj3
= 0 ;
10441 char * kwnames
[] = {
10442 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10449 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10455 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10459 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10460 if (!SWIG_IsOK(res3
)) {
10461 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10466 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10469 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10470 if (!SWIG_IsOK(ecode4
)) {
10471 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10473 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10488 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10489 PyObject
*resultobj
= 0;
10490 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10493 PyObject
*swig_obj
[1] ;
10495 if (!args
) SWIG_fail
;
10496 swig_obj
[0] = args
;
10497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10498 if (!SWIG_IsOK(res1
)) {
10499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10501 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_Py_Void();
10516 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10517 PyObject
*resultobj
= 0;
10518 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10521 PyObject
*swig_obj
[1] ;
10523 if (!args
) SWIG_fail
;
10524 swig_obj
[0] = args
;
10525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10526 if (!SWIG_IsOK(res1
)) {
10527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10529 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= SWIG_Py_Void();
10543 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10544 PyObject
*resultobj
= 0;
10545 wxTextAttr
*arg1
= 0 ;
10546 wxTextAttr
*arg2
= 0 ;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 char * kwnames
[] = {
10555 (char *) "base",(char *) "overlay", NULL
10558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10559 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10560 if (!SWIG_IsOK(res1
)) {
10561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10564 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10566 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10567 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10568 if (!SWIG_IsOK(res2
)) {
10569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10574 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10588 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
= 0;
10590 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10591 wxColour
*arg2
= 0 ;
10595 PyObject
* obj0
= 0 ;
10596 PyObject
* obj1
= 0 ;
10597 char * kwnames
[] = {
10598 (char *) "self",(char *) "colText", NULL
10601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10603 if (!SWIG_IsOK(res1
)) {
10604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10606 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10609 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10613 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10614 wxPyEndAllowThreads(__tstate
);
10615 if (PyErr_Occurred()) SWIG_fail
;
10617 resultobj
= SWIG_Py_Void();
10624 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
= 0;
10626 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10627 wxColour
*arg2
= 0 ;
10631 PyObject
* obj0
= 0 ;
10632 PyObject
* obj1
= 0 ;
10633 char * kwnames
[] = {
10634 (char *) "self",(char *) "colBack", NULL
10637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10639 if (!SWIG_IsOK(res1
)) {
10640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10642 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10645 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10653 resultobj
= SWIG_Py_Void();
10660 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
= 0;
10662 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10664 long arg3
= (long) wxTEXT_ATTR_FONT
;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj1
= 0 ;
10673 PyObject
* obj2
= 0 ;
10674 char * kwnames
[] = {
10675 (char *) "self",(char *) "font",(char *) "flags", NULL
10678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10680 if (!SWIG_IsOK(res1
)) {
10681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10683 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10685 if (!SWIG_IsOK(res2
)) {
10686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10691 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10693 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10694 if (!SWIG_IsOK(ecode3
)) {
10695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10697 arg3
= static_cast< long >(val3
);
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= SWIG_Py_Void();
10712 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
= 0;
10714 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10715 wxTextAttrAlignment arg2
;
10720 PyObject
* obj0
= 0 ;
10721 PyObject
* obj1
= 0 ;
10722 char * kwnames
[] = {
10723 (char *) "self",(char *) "alignment", NULL
10726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10728 if (!SWIG_IsOK(res1
)) {
10729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10731 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10733 if (!SWIG_IsOK(ecode2
)) {
10734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10736 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 (arg1
)->SetAlignment(arg2
);
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10743 resultobj
= SWIG_Py_Void();
10750 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
= 0;
10752 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10753 wxArrayInt
*arg2
= 0 ;
10756 bool temp2
= false ;
10757 PyObject
* obj0
= 0 ;
10758 PyObject
* obj1
= 0 ;
10759 char * kwnames
[] = {
10760 (char *) "self",(char *) "tabs", NULL
10763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10765 if (!SWIG_IsOK(res1
)) {
10766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10768 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10770 if (! PySequence_Check(obj1
)) {
10771 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10774 arg2
= new wxArrayInt
;
10776 int i
, len
=PySequence_Length(obj1
);
10777 for (i
=0; i
<len
; i
++) {
10778 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10779 PyObject
* number
= PyNumber_Int(item
);
10781 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10784 arg2
->Add(PyInt_AS_LONG(number
));
10790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= SWIG_Py_Void();
10797 if (temp2
) delete arg2
;
10802 if (temp2
) delete arg2
;
10808 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
= 0;
10810 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10812 int arg3
= (int) 0 ;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 PyObject
* obj2
= 0 ;
10822 char * kwnames
[] = {
10823 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
10826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10828 if (!SWIG_IsOK(res1
)) {
10829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10831 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10832 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10833 if (!SWIG_IsOK(ecode2
)) {
10834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
10836 arg2
= static_cast< int >(val2
);
10838 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10839 if (!SWIG_IsOK(ecode3
)) {
10840 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
10842 arg3
= static_cast< int >(val3
);
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 (arg1
)->SetLeftIndent(arg2
,arg3
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= SWIG_Py_Void();
10857 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
= 0;
10859 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10865 PyObject
* obj0
= 0 ;
10866 PyObject
* obj1
= 0 ;
10867 char * kwnames
[] = {
10868 (char *) "self",(char *) "indent", NULL
10871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10873 if (!SWIG_IsOK(res1
)) {
10874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10876 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10877 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10878 if (!SWIG_IsOK(ecode2
)) {
10879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
10881 arg2
= static_cast< int >(val2
);
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 (arg1
)->SetRightIndent(arg2
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 resultobj
= SWIG_Py_Void();
10895 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
= 0;
10897 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 PyObject
* obj1
= 0 ;
10905 char * kwnames
[] = {
10906 (char *) "self",(char *) "flags", NULL
10909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10911 if (!SWIG_IsOK(res1
)) {
10912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10914 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10915 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
10916 if (!SWIG_IsOK(ecode2
)) {
10917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
10919 arg2
= static_cast< long >(val2
);
10921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10922 (arg1
)->SetFlags(arg2
);
10923 wxPyEndAllowThreads(__tstate
);
10924 if (PyErr_Occurred()) SWIG_fail
;
10926 resultobj
= SWIG_Py_Void();
10933 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10934 PyObject
*resultobj
= 0;
10935 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10939 PyObject
*swig_obj
[1] ;
10941 if (!args
) SWIG_fail
;
10942 swig_obj
[0] = args
;
10943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10944 if (!SWIG_IsOK(res1
)) {
10945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10947 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
10951 wxPyEndAllowThreads(__tstate
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10963 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10964 PyObject
*resultobj
= 0;
10965 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10969 PyObject
*swig_obj
[1] ;
10971 if (!args
) SWIG_fail
;
10972 swig_obj
[0] = args
;
10973 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
10977 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10993 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10994 PyObject
*resultobj
= 0;
10995 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10999 PyObject
*swig_obj
[1] ;
11001 if (!args
) SWIG_fail
;
11002 swig_obj
[0] = args
;
11003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11004 if (!SWIG_IsOK(res1
)) {
11005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11007 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11011 wxPyEndAllowThreads(__tstate
);
11012 if (PyErr_Occurred()) SWIG_fail
;
11015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11023 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11024 PyObject
*resultobj
= 0;
11025 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11029 PyObject
*swig_obj
[1] ;
11031 if (!args
) SWIG_fail
;
11032 swig_obj
[0] = args
;
11033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11034 if (!SWIG_IsOK(res1
)) {
11035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11037 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11041 wxPyEndAllowThreads(__tstate
);
11042 if (PyErr_Occurred()) SWIG_fail
;
11045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11053 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11054 PyObject
*resultobj
= 0;
11055 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11059 PyObject
*swig_obj
[1] ;
11061 if (!args
) SWIG_fail
;
11062 swig_obj
[0] = args
;
11063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11067 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11083 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11084 PyObject
*resultobj
= 0;
11085 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11089 PyObject
*swig_obj
[1] ;
11091 if (!args
) SWIG_fail
;
11092 swig_obj
[0] = args
;
11093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11094 if (!SWIG_IsOK(res1
)) {
11095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11097 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11113 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11114 PyObject
*resultobj
= 0;
11115 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11119 PyObject
*swig_obj
[1] ;
11121 if (!args
) SWIG_fail
;
11122 swig_obj
[0] = args
;
11123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11127 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
= 0;
11145 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 PyObject
* obj1
= 0 ;
11154 char * kwnames
[] = {
11155 (char *) "self",(char *) "flag", NULL
11158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11160 if (!SWIG_IsOK(res1
)) {
11161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11163 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11164 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11165 if (!SWIG_IsOK(ecode2
)) {
11166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11168 arg2
= static_cast< long >(val2
);
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11172 wxPyEndAllowThreads(__tstate
);
11173 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11184 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11185 PyObject
*resultobj
= 0;
11186 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11187 wxColour
*result
= 0 ;
11190 PyObject
*swig_obj
[1] ;
11192 if (!args
) SWIG_fail
;
11193 swig_obj
[0] = args
;
11194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11195 if (!SWIG_IsOK(res1
)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11198 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11203 result
= (wxColour
*) &_result_ref
;
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11215 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11216 PyObject
*resultobj
= 0;
11217 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11218 wxColour
*result
= 0 ;
11221 PyObject
*swig_obj
[1] ;
11223 if (!args
) SWIG_fail
;
11224 swig_obj
[0] = args
;
11225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11226 if (!SWIG_IsOK(res1
)) {
11227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11229 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11234 result
= (wxColour
*) &_result_ref
;
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11246 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11247 PyObject
*resultobj
= 0;
11248 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11249 wxFont
*result
= 0 ;
11252 PyObject
*swig_obj
[1] ;
11254 if (!args
) SWIG_fail
;
11255 swig_obj
[0] = args
;
11256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11257 if (!SWIG_IsOK(res1
)) {
11258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11260 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11264 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11265 result
= (wxFont
*) &_result_ref
;
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11271 wxFont
* resultptr
= new wxFont(*result
);
11272 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11280 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11281 PyObject
*resultobj
= 0;
11282 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11283 wxTextAttrAlignment result
;
11286 PyObject
*swig_obj
[1] ;
11288 if (!args
) SWIG_fail
;
11289 swig_obj
[0] = args
;
11290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11291 if (!SWIG_IsOK(res1
)) {
11292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11294 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11298 wxPyEndAllowThreads(__tstate
);
11299 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= SWIG_From_int(static_cast< int >(result
));
11308 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11309 PyObject
*resultobj
= 0;
11310 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11311 wxArrayInt
*result
= 0 ;
11314 PyObject
*swig_obj
[1] ;
11316 if (!args
) SWIG_fail
;
11317 swig_obj
[0] = args
;
11318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11319 if (!SWIG_IsOK(res1
)) {
11320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11322 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11327 result
= (wxArrayInt
*) &_result_ref
;
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= wxArrayInt2PyList_helper(*result
);
11341 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11342 PyObject
*resultobj
= 0;
11343 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11347 PyObject
*swig_obj
[1] ;
11349 if (!args
) SWIG_fail
;
11350 swig_obj
[0] = args
;
11351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11352 if (!SWIG_IsOK(res1
)) {
11353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11355 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= SWIG_From_long(static_cast< long >(result
));
11369 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11370 PyObject
*resultobj
= 0;
11371 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11375 PyObject
*swig_obj
[1] ;
11377 if (!args
) SWIG_fail
;
11378 swig_obj
[0] = args
;
11379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11380 if (!SWIG_IsOK(res1
)) {
11381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11383 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_From_long(static_cast< long >(result
));
11397 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11398 PyObject
*resultobj
= 0;
11399 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11403 PyObject
*swig_obj
[1] ;
11405 if (!args
) SWIG_fail
;
11406 swig_obj
[0] = args
;
11407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11408 if (!SWIG_IsOK(res1
)) {
11409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11411 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= SWIG_From_long(static_cast< long >(result
));
11425 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11426 PyObject
*resultobj
= 0;
11427 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11431 PyObject
*swig_obj
[1] ;
11433 if (!args
) SWIG_fail
;
11434 swig_obj
[0] = args
;
11435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11436 if (!SWIG_IsOK(res1
)) {
11437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11439 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 resultobj
= SWIG_From_long(static_cast< long >(result
));
11453 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11454 PyObject
*resultobj
= 0;
11455 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11459 PyObject
*swig_obj
[1] ;
11461 if (!args
) SWIG_fail
;
11462 swig_obj
[0] = args
;
11463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11464 if (!SWIG_IsOK(res1
)) {
11465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11467 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11483 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11484 PyObject
*resultobj
= 0;
11485 wxTextAttr
*arg1
= 0 ;
11486 wxTextAttr
*arg2
= 0 ;
11487 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 PyObject
* obj2
= 0 ;
11498 char * kwnames
[] = {
11499 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11503 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11504 if (!SWIG_IsOK(res1
)) {
11505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11508 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11510 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11511 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11512 if (!SWIG_IsOK(res2
)) {
11513 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11516 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11518 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11519 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11520 if (!SWIG_IsOK(res3
)) {
11521 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11523 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11526 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11527 wxPyEndAllowThreads(__tstate
);
11528 if (PyErr_Occurred()) SWIG_fail
;
11530 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11537 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11540 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11541 return SWIG_Py_Void();
11544 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11545 return SWIG_Python_InitShadowInstance(args
);
11548 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11549 PyObject
*resultobj
= 0;
11550 wxWindow
*arg1
= (wxWindow
*) 0 ;
11551 int arg2
= (int) -1 ;
11552 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11553 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11554 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11555 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11556 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11557 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11558 long arg6
= (long) 0 ;
11559 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11560 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11561 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11562 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11563 wxTextCtrl
*result
= 0 ;
11568 bool temp3
= false ;
11575 bool temp8
= false ;
11576 PyObject
* obj0
= 0 ;
11577 PyObject
* obj1
= 0 ;
11578 PyObject
* obj2
= 0 ;
11579 PyObject
* obj3
= 0 ;
11580 PyObject
* obj4
= 0 ;
11581 PyObject
* obj5
= 0 ;
11582 PyObject
* obj6
= 0 ;
11583 PyObject
* obj7
= 0 ;
11584 char * kwnames
[] = {
11585 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11590 if (!SWIG_IsOK(res1
)) {
11591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11593 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11596 if (!SWIG_IsOK(ecode2
)) {
11597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11599 arg2
= static_cast< int >(val2
);
11603 arg3
= wxString_in_helper(obj2
);
11604 if (arg3
== NULL
) SWIG_fail
;
11611 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11617 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11621 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11622 if (!SWIG_IsOK(ecode6
)) {
11623 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11625 arg6
= static_cast< long >(val6
);
11628 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11629 if (!SWIG_IsOK(res7
)) {
11630 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11635 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11639 arg8
= wxString_in_helper(obj7
);
11640 if (arg8
== NULL
) SWIG_fail
;
11645 if (!wxPyCheckForApp()) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11674 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11675 PyObject
*resultobj
= 0;
11676 wxTextCtrl
*result
= 0 ;
11678 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11680 if (!wxPyCheckForApp()) SWIG_fail
;
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 result
= (wxTextCtrl
*)new wxTextCtrl();
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11693 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
= 0;
11695 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11696 wxWindow
*arg2
= (wxWindow
*) 0 ;
11697 int arg3
= (int) -1 ;
11698 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11699 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11700 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11701 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11702 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11703 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11704 long arg7
= (long) 0 ;
11705 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11706 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11707 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11708 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11716 bool temp4
= false ;
11723 bool temp9
= false ;
11724 PyObject
* obj0
= 0 ;
11725 PyObject
* obj1
= 0 ;
11726 PyObject
* obj2
= 0 ;
11727 PyObject
* obj3
= 0 ;
11728 PyObject
* obj4
= 0 ;
11729 PyObject
* obj5
= 0 ;
11730 PyObject
* obj6
= 0 ;
11731 PyObject
* obj7
= 0 ;
11732 PyObject
* obj8
= 0 ;
11733 char * kwnames
[] = {
11734 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11739 if (!SWIG_IsOK(res1
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11742 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11743 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11744 if (!SWIG_IsOK(res2
)) {
11745 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11747 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11749 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11750 if (!SWIG_IsOK(ecode3
)) {
11751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11753 arg3
= static_cast< int >(val3
);
11757 arg4
= wxString_in_helper(obj3
);
11758 if (arg4
== NULL
) SWIG_fail
;
11765 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11771 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11775 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11776 if (!SWIG_IsOK(ecode7
)) {
11777 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11779 arg7
= static_cast< long >(val7
);
11782 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11783 if (!SWIG_IsOK(res8
)) {
11784 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11787 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11789 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11793 arg9
= wxString_in_helper(obj8
);
11794 if (arg9
== NULL
) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11829 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11830 PyObject
*resultobj
= 0;
11831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11835 PyObject
*swig_obj
[1] ;
11837 if (!args
) SWIG_fail
;
11838 swig_obj
[0] = args
;
11839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11840 if (!SWIG_IsOK(res1
)) {
11841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11843 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11863 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
= 0;
11865 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11866 wxString
*arg2
= 0 ;
11869 bool temp2
= false ;
11870 PyObject
* obj0
= 0 ;
11871 PyObject
* obj1
= 0 ;
11872 char * kwnames
[] = {
11873 (char *) "self",(char *) "value", NULL
11876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11878 if (!SWIG_IsOK(res1
)) {
11879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11881 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11883 arg2
= wxString_in_helper(obj1
);
11884 if (arg2
== NULL
) SWIG_fail
;
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 (arg1
)->SetValue((wxString
const &)*arg2
);
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= SWIG_Py_Void();
11908 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11909 PyObject
*resultobj
= 0;
11910 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11914 PyObject
*swig_obj
[1] ;
11916 if (!args
) SWIG_fail
;
11917 swig_obj
[0] = args
;
11918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11919 if (!SWIG_IsOK(res1
)) {
11920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
11922 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11925 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
11926 wxPyEndAllowThreads(__tstate
);
11927 if (PyErr_Occurred()) SWIG_fail
;
11930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11938 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
= 0;
11940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11941 wxString
*arg2
= 0 ;
11944 bool temp2
= false ;
11945 PyObject
* obj0
= 0 ;
11946 PyObject
* obj1
= 0 ;
11947 char * kwnames
[] = {
11948 (char *) "self",(char *) "value", NULL
11951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11953 if (!SWIG_IsOK(res1
)) {
11954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11956 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11958 arg2
= wxString_in_helper(obj1
);
11959 if (arg2
== NULL
) SWIG_fail
;
11963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11964 (arg1
)->ChangeValue((wxString
const &)*arg2
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11968 resultobj
= SWIG_Py_Void();
11983 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
= 0;
11985 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 PyObject
* obj2
= 0 ;
11998 char * kwnames
[] = {
11999 (char *) "self",(char *) "from",(char *) "to", NULL
12002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12004 if (!SWIG_IsOK(res1
)) {
12005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12007 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12008 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12009 if (!SWIG_IsOK(ecode2
)) {
12010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12012 arg2
= static_cast< long >(val2
);
12013 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12014 if (!SWIG_IsOK(ecode3
)) {
12015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12017 arg3
= static_cast< long >(val3
);
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12037 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
= 0;
12039 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12046 PyObject
* obj0
= 0 ;
12047 PyObject
* obj1
= 0 ;
12048 char * kwnames
[] = {
12049 (char *) "self",(char *) "lineNo", NULL
12052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12054 if (!SWIG_IsOK(res1
)) {
12055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12057 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12058 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12059 if (!SWIG_IsOK(ecode2
)) {
12060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12062 arg2
= static_cast< long >(val2
);
12064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12065 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 resultobj
= SWIG_From_int(static_cast< int >(result
));
12076 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12077 PyObject
*resultobj
= 0;
12078 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 PyObject
* obj1
= 0 ;
12087 char * kwnames
[] = {
12088 (char *) "self",(char *) "lineNo", NULL
12091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12093 if (!SWIG_IsOK(res1
)) {
12094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12096 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12097 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12098 if (!SWIG_IsOK(ecode2
)) {
12099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12101 arg2
= static_cast< long >(val2
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12121 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12122 PyObject
*resultobj
= 0;
12123 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12127 PyObject
*swig_obj
[1] ;
12129 if (!args
) SWIG_fail
;
12130 swig_obj
[0] = args
;
12131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12132 if (!SWIG_IsOK(res1
)) {
12133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12135 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12138 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= SWIG_From_int(static_cast< int >(result
));
12149 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12150 PyObject
*resultobj
= 0;
12151 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12155 PyObject
*swig_obj
[1] ;
12157 if (!args
) SWIG_fail
;
12158 swig_obj
[0] = args
;
12159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12160 if (!SWIG_IsOK(res1
)) {
12161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12163 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12179 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12180 PyObject
*resultobj
= 0;
12181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12185 PyObject
*swig_obj
[1] ;
12187 if (!args
) SWIG_fail
;
12188 swig_obj
[0] = args
;
12189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12190 if (!SWIG_IsOK(res1
)) {
12191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12193 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12197 wxPyEndAllowThreads(__tstate
);
12198 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12209 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 PyObject
*resultobj
= 0;
12211 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12215 PyObject
*swig_obj
[1] ;
12217 if (!args
) SWIG_fail
;
12218 swig_obj
[0] = args
;
12219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12223 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12239 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12240 PyObject
*resultobj
= 0;
12241 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12245 PyObject
*swig_obj
[1] ;
12247 if (!args
) SWIG_fail
;
12248 swig_obj
[0] = args
;
12249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12250 if (!SWIG_IsOK(res1
)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12253 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12256 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12269 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12270 PyObject
*resultobj
= 0;
12271 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12272 long *arg2
= (long *) 0 ;
12273 long *arg3
= (long *) 0 ;
12277 int res2
= SWIG_TMPOBJ
;
12279 int res3
= SWIG_TMPOBJ
;
12280 PyObject
*swig_obj
[1] ;
12284 if (!args
) SWIG_fail
;
12285 swig_obj
[0] = args
;
12286 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12287 if (!SWIG_IsOK(res1
)) {
12288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12290 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= SWIG_Py_Void();
12298 if (SWIG_IsTmpObj(res2
)) {
12299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12301 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12304 if (SWIG_IsTmpObj(res3
)) {
12305 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12307 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12308 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12316 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12317 PyObject
*resultobj
= 0;
12318 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12322 PyObject
*swig_obj
[1] ;
12324 if (!args
) SWIG_fail
;
12325 swig_obj
[0] = args
;
12326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12327 if (!SWIG_IsOK(res1
)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12330 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12333 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12339 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12341 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12350 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12351 PyObject
*resultobj
= 0;
12352 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12355 PyObject
*swig_obj
[1] ;
12357 if (!args
) SWIG_fail
;
12358 swig_obj
[0] = args
;
12359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12360 if (!SWIG_IsOK(res1
)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12363 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_Py_Void();
12377 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
= 0;
12379 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12382 wxString
*arg4
= 0 ;
12389 bool temp4
= false ;
12390 PyObject
* obj0
= 0 ;
12391 PyObject
* obj1
= 0 ;
12392 PyObject
* obj2
= 0 ;
12393 PyObject
* obj3
= 0 ;
12394 char * kwnames
[] = {
12395 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12400 if (!SWIG_IsOK(res1
)) {
12401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12403 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12404 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12405 if (!SWIG_IsOK(ecode2
)) {
12406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12408 arg2
= static_cast< long >(val2
);
12409 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12410 if (!SWIG_IsOK(ecode3
)) {
12411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12413 arg3
= static_cast< long >(val3
);
12415 arg4
= wxString_in_helper(obj3
);
12416 if (arg4
== NULL
) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 resultobj
= SWIG_Py_Void();
12440 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
= 0;
12442 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 PyObject
* obj2
= 0 ;
12454 char * kwnames
[] = {
12455 (char *) "self",(char *) "from",(char *) "to", NULL
12458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12460 if (!SWIG_IsOK(res1
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12463 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12464 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12465 if (!SWIG_IsOK(ecode2
)) {
12466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12468 arg2
= static_cast< long >(val2
);
12469 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12470 if (!SWIG_IsOK(ecode3
)) {
12471 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12473 arg3
= static_cast< long >(val3
);
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 (arg1
)->Remove(arg2
,arg3
);
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_Py_Void();
12487 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
= 0;
12489 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12490 wxString
*arg2
= 0 ;
12491 int arg3
= (int) wxTEXT_TYPE_ANY
;
12495 bool temp2
= false ;
12498 PyObject
* obj0
= 0 ;
12499 PyObject
* obj1
= 0 ;
12500 PyObject
* obj2
= 0 ;
12501 char * kwnames
[] = {
12502 (char *) "self",(char *) "file",(char *) "fileType", NULL
12505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12507 if (!SWIG_IsOK(res1
)) {
12508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12510 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12512 arg2
= wxString_in_helper(obj1
);
12513 if (arg2
== NULL
) SWIG_fail
;
12517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12518 if (!SWIG_IsOK(ecode3
)) {
12519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12521 arg3
= static_cast< int >(val3
);
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12546 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12547 PyObject
*resultobj
= 0;
12548 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12549 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12550 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12551 int arg3
= (int) wxTEXT_TYPE_ANY
;
12555 bool temp2
= false ;
12558 PyObject
* obj0
= 0 ;
12559 PyObject
* obj1
= 0 ;
12560 PyObject
* obj2
= 0 ;
12561 char * kwnames
[] = {
12562 (char *) "self",(char *) "file",(char *) "fileType", NULL
12565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12567 if (!SWIG_IsOK(res1
)) {
12568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12570 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12573 arg2
= wxString_in_helper(obj1
);
12574 if (arg2
== NULL
) SWIG_fail
;
12579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12580 if (!SWIG_IsOK(ecode3
)) {
12581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12583 arg3
= static_cast< int >(val3
);
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12587 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12588 wxPyEndAllowThreads(__tstate
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12608 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12609 PyObject
*resultobj
= 0;
12610 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12613 PyObject
*swig_obj
[1] ;
12615 if (!args
) SWIG_fail
;
12616 swig_obj
[0] = args
;
12617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12618 if (!SWIG_IsOK(res1
)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12621 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 (arg1
)->MarkDirty();
12625 wxPyEndAllowThreads(__tstate
);
12626 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= SWIG_Py_Void();
12635 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12636 PyObject
*resultobj
= 0;
12637 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12640 PyObject
*swig_obj
[1] ;
12642 if (!args
) SWIG_fail
;
12643 swig_obj
[0] = args
;
12644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12645 if (!SWIG_IsOK(res1
)) {
12646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12648 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12651 (arg1
)->DiscardEdits();
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= SWIG_Py_Void();
12662 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
= 0;
12664 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12670 PyObject
* obj0
= 0 ;
12671 PyObject
* obj1
= 0 ;
12672 char * kwnames
[] = {
12673 (char *) "self",(char *) "modified", NULL
12676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12678 if (!SWIG_IsOK(res1
)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12681 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12682 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12683 if (!SWIG_IsOK(ecode2
)) {
12684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12686 arg2
= static_cast< bool >(val2
);
12688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12689 (arg1
)->SetModified(arg2
);
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= SWIG_Py_Void();
12700 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
= 0;
12702 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12703 unsigned long arg2
;
12706 unsigned long val2
;
12708 PyObject
* obj0
= 0 ;
12709 PyObject
* obj1
= 0 ;
12710 char * kwnames
[] = {
12711 (char *) "self",(char *) "len", NULL
12714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12716 if (!SWIG_IsOK(res1
)) {
12717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12719 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12720 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12721 if (!SWIG_IsOK(ecode2
)) {
12722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12724 arg2
= static_cast< unsigned long >(val2
);
12726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12727 (arg1
)->SetMaxLength(arg2
);
12728 wxPyEndAllowThreads(__tstate
);
12729 if (PyErr_Occurred()) SWIG_fail
;
12731 resultobj
= SWIG_Py_Void();
12738 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12739 PyObject
*resultobj
= 0;
12740 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12741 wxString
*arg2
= 0 ;
12744 bool temp2
= false ;
12745 PyObject
* obj0
= 0 ;
12746 PyObject
* obj1
= 0 ;
12747 char * kwnames
[] = {
12748 (char *) "self",(char *) "text", NULL
12751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12753 if (!SWIG_IsOK(res1
)) {
12754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12756 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12758 arg2
= wxString_in_helper(obj1
);
12759 if (arg2
== NULL
) SWIG_fail
;
12763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12764 (arg1
)->WriteText((wxString
const &)*arg2
);
12765 wxPyEndAllowThreads(__tstate
);
12766 if (PyErr_Occurred()) SWIG_fail
;
12768 resultobj
= SWIG_Py_Void();
12783 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
= 0;
12785 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12786 wxString
*arg2
= 0 ;
12789 bool temp2
= false ;
12790 PyObject
* obj0
= 0 ;
12791 PyObject
* obj1
= 0 ;
12792 char * kwnames
[] = {
12793 (char *) "self",(char *) "text", NULL
12796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12798 if (!SWIG_IsOK(res1
)) {
12799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12801 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12803 arg2
= wxString_in_helper(obj1
);
12804 if (arg2
== NULL
) SWIG_fail
;
12808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12809 (arg1
)->AppendText((wxString
const &)*arg2
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= SWIG_Py_Void();
12828 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
= 0;
12830 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12831 wxKeyEvent
*arg2
= 0 ;
12837 PyObject
* obj0
= 0 ;
12838 PyObject
* obj1
= 0 ;
12839 char * kwnames
[] = {
12840 (char *) "self",(char *) "event", NULL
12843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12845 if (!SWIG_IsOK(res1
)) {
12846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12848 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12849 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
12850 if (!SWIG_IsOK(res2
)) {
12851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
12856 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
12860 wxPyEndAllowThreads(__tstate
);
12861 if (PyErr_Occurred()) SWIG_fail
;
12864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12872 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
= 0;
12874 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12877 wxTextAttr
*arg4
= 0 ;
12887 PyObject
* obj0
= 0 ;
12888 PyObject
* obj1
= 0 ;
12889 PyObject
* obj2
= 0 ;
12890 PyObject
* obj3
= 0 ;
12891 char * kwnames
[] = {
12892 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
12895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12897 if (!SWIG_IsOK(res1
)) {
12898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12900 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12901 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12902 if (!SWIG_IsOK(ecode2
)) {
12903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
12905 arg2
= static_cast< long >(val2
);
12906 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12907 if (!SWIG_IsOK(ecode3
)) {
12908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
12910 arg3
= static_cast< long >(val3
);
12911 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
12912 if (!SWIG_IsOK(res4
)) {
12913 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
12918 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
12920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12921 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
12922 wxPyEndAllowThreads(__tstate
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12934 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
= 0;
12936 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12938 wxTextAttr
*arg3
= 0 ;
12946 PyObject
* obj0
= 0 ;
12947 PyObject
* obj1
= 0 ;
12948 PyObject
* obj2
= 0 ;
12949 char * kwnames
[] = {
12950 (char *) "self",(char *) "position",(char *) "style", NULL
12953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12955 if (!SWIG_IsOK(res1
)) {
12956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12958 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12959 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12960 if (!SWIG_IsOK(ecode2
)) {
12961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
12963 arg2
= static_cast< long >(val2
);
12964 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
12965 if (!SWIG_IsOK(res3
)) {
12966 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12969 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
12971 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12987 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
= 0;
12989 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12990 wxTextAttr
*arg2
= 0 ;
12996 PyObject
* obj0
= 0 ;
12997 PyObject
* obj1
= 0 ;
12998 char * kwnames
[] = {
12999 (char *) "self",(char *) "style", NULL
13002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13004 if (!SWIG_IsOK(res1
)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13007 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13008 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13009 if (!SWIG_IsOK(res2
)) {
13010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13013 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13015 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13018 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13019 wxPyEndAllowThreads(__tstate
);
13020 if (PyErr_Occurred()) SWIG_fail
;
13023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13031 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13032 PyObject
*resultobj
= 0;
13033 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13034 wxTextAttr
*result
= 0 ;
13037 PyObject
*swig_obj
[1] ;
13039 if (!args
) SWIG_fail
;
13040 swig_obj
[0] = args
;
13041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13042 if (!SWIG_IsOK(res1
)) {
13043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13045 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13050 result
= (wxTextAttr
*) &_result_ref
;
13052 wxPyEndAllowThreads(__tstate
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13062 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
= 0;
13064 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13074 PyObject
* obj0
= 0 ;
13075 PyObject
* obj1
= 0 ;
13076 PyObject
* obj2
= 0 ;
13077 char * kwnames
[] = {
13078 (char *) "self",(char *) "x",(char *) "y", NULL
13081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13083 if (!SWIG_IsOK(res1
)) {
13084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13086 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13087 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13088 if (!SWIG_IsOK(ecode2
)) {
13089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13091 arg2
= static_cast< long >(val2
);
13092 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13093 if (!SWIG_IsOK(ecode3
)) {
13094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13096 arg3
= static_cast< long >(val3
);
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_From_long(static_cast< long >(result
));
13110 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13111 PyObject
*resultobj
= 0;
13112 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13114 long *arg3
= (long *) 0 ;
13115 long *arg4
= (long *) 0 ;
13121 int res3
= SWIG_TMPOBJ
;
13123 int res4
= SWIG_TMPOBJ
;
13124 PyObject
* obj0
= 0 ;
13125 PyObject
* obj1
= 0 ;
13126 char * kwnames
[] = {
13127 (char *) "self",(char *) "pos", NULL
13132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13134 if (!SWIG_IsOK(res1
)) {
13135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13137 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13138 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13139 if (!SWIG_IsOK(ecode2
)) {
13140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13142 arg2
= static_cast< long >(val2
);
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13149 resultobj
= SWIG_Py_Void();
13150 if (SWIG_IsTmpObj(res3
)) {
13151 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13153 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13154 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13156 if (SWIG_IsTmpObj(res4
)) {
13157 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13159 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13160 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13168 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13169 PyObject
*resultobj
= 0;
13170 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13176 PyObject
* obj0
= 0 ;
13177 PyObject
* obj1
= 0 ;
13178 char * kwnames
[] = {
13179 (char *) "self",(char *) "pos", NULL
13182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13184 if (!SWIG_IsOK(res1
)) {
13185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13187 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13188 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13189 if (!SWIG_IsOK(ecode2
)) {
13190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13192 arg2
= static_cast< long >(val2
);
13194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13195 (arg1
)->ShowPosition(arg2
);
13196 wxPyEndAllowThreads(__tstate
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13199 resultobj
= SWIG_Py_Void();
13206 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13207 PyObject
*resultobj
= 0;
13208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13209 wxPoint
*arg2
= 0 ;
13210 long *arg3
= (long *) 0 ;
13211 long *arg4
= (long *) 0 ;
13212 wxTextCtrlHitTestResult result
;
13217 int res3
= SWIG_TMPOBJ
;
13219 int res4
= SWIG_TMPOBJ
;
13220 PyObject
* obj0
= 0 ;
13221 PyObject
* obj1
= 0 ;
13222 char * kwnames
[] = {
13223 (char *) "self",(char *) "pt", NULL
13228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13230 if (!SWIG_IsOK(res1
)) {
13231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13233 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13236 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13240 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13241 wxPyEndAllowThreads(__tstate
);
13242 if (PyErr_Occurred()) SWIG_fail
;
13244 resultobj
= SWIG_From_int(static_cast< int >(result
));
13245 if (SWIG_IsTmpObj(res3
)) {
13246 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13248 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13249 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13251 if (SWIG_IsTmpObj(res4
)) {
13252 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13254 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13255 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13263 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
= 0;
13265 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13266 wxPoint
*arg2
= 0 ;
13267 long *arg3
= (long *) 0 ;
13268 wxTextCtrlHitTestResult result
;
13273 int res3
= SWIG_TMPOBJ
;
13274 PyObject
* obj0
= 0 ;
13275 PyObject
* obj1
= 0 ;
13276 char * kwnames
[] = {
13277 (char *) "self",(char *) "pt", NULL
13281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13286 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13289 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_From_int(static_cast< int >(result
));
13298 if (SWIG_IsTmpObj(res3
)) {
13299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13301 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13310 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13311 PyObject
*resultobj
= 0;
13312 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13315 PyObject
*swig_obj
[1] ;
13317 if (!args
) SWIG_fail
;
13318 swig_obj
[0] = args
;
13319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13320 if (!SWIG_IsOK(res1
)) {
13321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13323 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 wxPyEndAllowThreads(__tstate
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 resultobj
= SWIG_Py_Void();
13337 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13338 PyObject
*resultobj
= 0;
13339 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13342 PyObject
*swig_obj
[1] ;
13344 if (!args
) SWIG_fail
;
13345 swig_obj
[0] = args
;
13346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13347 if (!SWIG_IsOK(res1
)) {
13348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13350 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 resultobj
= SWIG_Py_Void();
13364 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13365 PyObject
*resultobj
= 0;
13366 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13369 PyObject
*swig_obj
[1] ;
13371 if (!args
) SWIG_fail
;
13372 swig_obj
[0] = args
;
13373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13374 if (!SWIG_IsOK(res1
)) {
13375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13377 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 resultobj
= SWIG_Py_Void();
13391 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13392 PyObject
*resultobj
= 0;
13393 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13397 PyObject
*swig_obj
[1] ;
13399 if (!args
) SWIG_fail
;
13400 swig_obj
[0] = args
;
13401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13402 if (!SWIG_IsOK(res1
)) {
13403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13405 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13409 wxPyEndAllowThreads(__tstate
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13421 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13422 PyObject
*resultobj
= 0;
13423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13427 PyObject
*swig_obj
[1] ;
13429 if (!args
) SWIG_fail
;
13430 swig_obj
[0] = args
;
13431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13432 if (!SWIG_IsOK(res1
)) {
13433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13435 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13438 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13451 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13452 PyObject
*resultobj
= 0;
13453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13457 PyObject
*swig_obj
[1] ;
13459 if (!args
) SWIG_fail
;
13460 swig_obj
[0] = args
;
13461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13462 if (!SWIG_IsOK(res1
)) {
13463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13465 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13469 wxPyEndAllowThreads(__tstate
);
13470 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13481 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13482 PyObject
*resultobj
= 0;
13483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13486 PyObject
*swig_obj
[1] ;
13488 if (!args
) SWIG_fail
;
13489 swig_obj
[0] = args
;
13490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13491 if (!SWIG_IsOK(res1
)) {
13492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13494 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13498 wxPyEndAllowThreads(__tstate
);
13499 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= SWIG_Py_Void();
13508 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13509 PyObject
*resultobj
= 0;
13510 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13513 PyObject
*swig_obj
[1] ;
13515 if (!args
) SWIG_fail
;
13516 swig_obj
[0] = args
;
13517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13518 if (!SWIG_IsOK(res1
)) {
13519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13521 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_Py_Void();
13535 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13536 PyObject
*resultobj
= 0;
13537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13541 PyObject
*swig_obj
[1] ;
13543 if (!args
) SWIG_fail
;
13544 swig_obj
[0] = args
;
13545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13546 if (!SWIG_IsOK(res1
)) {
13547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13549 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13565 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13566 PyObject
*resultobj
= 0;
13567 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13571 PyObject
*swig_obj
[1] ;
13573 if (!args
) SWIG_fail
;
13574 swig_obj
[0] = args
;
13575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13579 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13582 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13595 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
= 0;
13597 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13603 PyObject
* obj0
= 0 ;
13604 PyObject
* obj1
= 0 ;
13605 char * kwnames
[] = {
13606 (char *) "self",(char *) "pos", NULL
13609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13611 if (!SWIG_IsOK(res1
)) {
13612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13614 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13615 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13616 if (!SWIG_IsOK(ecode2
)) {
13617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13619 arg2
= static_cast< long >(val2
);
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 (arg1
)->SetInsertionPoint(arg2
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= SWIG_Py_Void();
13633 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13634 PyObject
*resultobj
= 0;
13635 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13638 PyObject
*swig_obj
[1] ;
13640 if (!args
) SWIG_fail
;
13641 swig_obj
[0] = args
;
13642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13643 if (!SWIG_IsOK(res1
)) {
13644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13646 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13649 (arg1
)->SetInsertionPointEnd();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_Py_Void();
13660 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13661 PyObject
*resultobj
= 0;
13662 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13666 PyObject
*swig_obj
[1] ;
13668 if (!args
) SWIG_fail
;
13669 swig_obj
[0] = args
;
13670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13671 if (!SWIG_IsOK(res1
)) {
13672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13674 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 resultobj
= SWIG_From_long(static_cast< long >(result
));
13688 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13689 PyObject
*resultobj
= 0;
13690 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13694 PyObject
*swig_obj
[1] ;
13696 if (!args
) SWIG_fail
;
13697 swig_obj
[0] = args
;
13698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13699 if (!SWIG_IsOK(res1
)) {
13700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13702 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13709 resultobj
= SWIG_From_long(static_cast< long >(result
));
13716 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13717 PyObject
*resultobj
= 0;
13718 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 PyObject
* obj2
= 0 ;
13730 char * kwnames
[] = {
13731 (char *) "self",(char *) "from",(char *) "to", NULL
13734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13736 if (!SWIG_IsOK(res1
)) {
13737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13739 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13740 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13741 if (!SWIG_IsOK(ecode2
)) {
13742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13744 arg2
= static_cast< long >(val2
);
13745 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13746 if (!SWIG_IsOK(ecode3
)) {
13747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13749 arg3
= static_cast< long >(val3
);
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 (arg1
)->SetSelection(arg2
,arg3
);
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13756 resultobj
= SWIG_Py_Void();
13763 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13764 PyObject
*resultobj
= 0;
13765 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13768 PyObject
*swig_obj
[1] ;
13770 if (!args
) SWIG_fail
;
13771 swig_obj
[0] = args
;
13772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13773 if (!SWIG_IsOK(res1
)) {
13774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13776 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 (arg1
)->SelectAll();
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= SWIG_Py_Void();
13790 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
= 0;
13792 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13798 PyObject
* obj0
= 0 ;
13799 PyObject
* obj1
= 0 ;
13800 char * kwnames
[] = {
13801 (char *) "self",(char *) "editable", NULL
13804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13806 if (!SWIG_IsOK(res1
)) {
13807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13809 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13810 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13811 if (!SWIG_IsOK(ecode2
)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
13814 arg2
= static_cast< bool >(val2
);
13816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13817 (arg1
)->SetEditable(arg2
);
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 resultobj
= SWIG_Py_Void();
13828 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13829 PyObject
*resultobj
= 0;
13830 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13836 PyObject
* obj0
= 0 ;
13837 PyObject
* obj1
= 0 ;
13838 char * kwnames
[] = {
13839 (char *) "self",(char *) "check", NULL
13842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13844 if (!SWIG_IsOK(res1
)) {
13845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13847 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13848 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
13849 if (!SWIG_IsOK(ecode2
)) {
13850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
13852 arg2
= static_cast< bool >(val2
);
13854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13855 (arg1
)->MacCheckSpelling(arg2
);
13856 wxPyEndAllowThreads(__tstate
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13859 resultobj
= SWIG_Py_Void();
13866 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13867 PyObject
*resultobj
= 0;
13868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13871 PyObject
*swig_obj
[1] ;
13873 if (!args
) SWIG_fail
;
13874 swig_obj
[0] = args
;
13875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13876 if (!SWIG_IsOK(res1
)) {
13877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13879 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 (arg1
)->SendTextUpdatedEvent();
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13886 resultobj
= SWIG_Py_Void();
13893 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
= 0;
13895 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13896 wxString
*arg2
= 0 ;
13899 bool temp2
= false ;
13900 PyObject
* obj0
= 0 ;
13901 PyObject
* obj1
= 0 ;
13902 char * kwnames
[] = {
13903 (char *) "self",(char *) "text", NULL
13906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13908 if (!SWIG_IsOK(res1
)) {
13909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13911 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13913 arg2
= wxString_in_helper(obj1
);
13914 if (arg2
== NULL
) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
13920 wxPyEndAllowThreads(__tstate
);
13921 if (PyErr_Occurred()) SWIG_fail
;
13923 resultobj
= SWIG_Py_Void();
13938 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13939 PyObject
*resultobj
= 0;
13940 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13950 PyObject
* obj0
= 0 ;
13951 PyObject
* obj1
= 0 ;
13952 PyObject
* obj2
= 0 ;
13953 char * kwnames
[] = {
13954 (char *) "self",(char *) "from",(char *) "to", NULL
13957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13959 if (!SWIG_IsOK(res1
)) {
13960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13962 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13963 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13964 if (!SWIG_IsOK(ecode2
)) {
13965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
13967 arg2
= static_cast< long >(val2
);
13968 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13969 if (!SWIG_IsOK(ecode3
)) {
13970 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
13972 arg3
= static_cast< long >(val3
);
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13983 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13992 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13993 PyObject
*resultobj
= 0;
13994 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
13995 SwigValueWrapper
<wxVisualAttributes
> result
;
13998 PyObject
* obj0
= 0 ;
13999 char * kwnames
[] = {
14000 (char *) "variant", NULL
14003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14006 if (!SWIG_IsOK(ecode1
)) {
14007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14009 arg1
= static_cast< wxWindowVariant
>(val1
);
14012 if (!wxPyCheckForApp()) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14015 wxPyEndAllowThreads(__tstate
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14018 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14025 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14028 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14029 return SWIG_Py_Void();
14032 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14033 return SWIG_Python_InitShadowInstance(args
);
14036 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
= 0;
14039 wxMouseEvent
*arg2
= 0 ;
14042 wxTextUrlEvent
*result
= 0 ;
14051 PyObject
* obj0
= 0 ;
14052 PyObject
* obj1
= 0 ;
14053 PyObject
* obj2
= 0 ;
14054 PyObject
* obj3
= 0 ;
14055 char * kwnames
[] = {
14056 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14060 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14061 if (!SWIG_IsOK(ecode1
)) {
14062 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14064 arg1
= static_cast< int >(val1
);
14065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14066 if (!SWIG_IsOK(res2
)) {
14067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14072 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14073 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14074 if (!SWIG_IsOK(ecode3
)) {
14075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14077 arg3
= static_cast< long >(val3
);
14078 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14079 if (!SWIG_IsOK(ecode4
)) {
14080 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14082 arg4
= static_cast< long >(val4
);
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14096 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14097 PyObject
*resultobj
= 0;
14098 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14099 wxMouseEvent
*result
= 0 ;
14102 PyObject
*swig_obj
[1] ;
14104 if (!args
) SWIG_fail
;
14105 swig_obj
[0] = args
;
14106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14107 if (!SWIG_IsOK(res1
)) {
14108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14110 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14114 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14115 result
= (wxMouseEvent
*) &_result_ref
;
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14127 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14128 PyObject
*resultobj
= 0;
14129 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14133 PyObject
*swig_obj
[1] ;
14135 if (!args
) SWIG_fail
;
14136 swig_obj
[0] = args
;
14137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14138 if (!SWIG_IsOK(res1
)) {
14139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14141 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14148 resultobj
= SWIG_From_long(static_cast< long >(result
));
14155 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14156 PyObject
*resultobj
= 0;
14157 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14161 PyObject
*swig_obj
[1] ;
14163 if (!args
) SWIG_fail
;
14164 swig_obj
[0] = args
;
14165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14166 if (!SWIG_IsOK(res1
)) {
14167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14169 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14176 resultobj
= SWIG_From_long(static_cast< long >(result
));
14183 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14186 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14187 return SWIG_Py_Void();
14190 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 return SWIG_Python_InitShadowInstance(args
);
14194 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14195 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14200 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14201 PyObject
*pyobj
= 0;
14205 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14207 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14214 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
= 0;
14216 wxWindow
*arg1
= (wxWindow
*) 0 ;
14217 int arg2
= (int) -1 ;
14218 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14219 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14220 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14221 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14222 long arg5
= (long) wxSB_HORIZONTAL
;
14223 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14224 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14225 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14226 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14227 wxScrollBar
*result
= 0 ;
14238 bool temp7
= false ;
14239 PyObject
* obj0
= 0 ;
14240 PyObject
* obj1
= 0 ;
14241 PyObject
* obj2
= 0 ;
14242 PyObject
* obj3
= 0 ;
14243 PyObject
* obj4
= 0 ;
14244 PyObject
* obj5
= 0 ;
14245 PyObject
* obj6
= 0 ;
14246 char * kwnames
[] = {
14247 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14252 if (!SWIG_IsOK(res1
)) {
14253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14255 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14258 if (!SWIG_IsOK(ecode2
)) {
14259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14261 arg2
= static_cast< int >(val2
);
14266 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14272 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14276 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14277 if (!SWIG_IsOK(ecode5
)) {
14278 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14280 arg5
= static_cast< long >(val5
);
14283 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14284 if (!SWIG_IsOK(res6
)) {
14285 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14288 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14290 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14294 arg7
= wxString_in_helper(obj6
);
14295 if (arg7
== NULL
) SWIG_fail
;
14300 if (!wxPyCheckForApp()) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14303 wxPyEndAllowThreads(__tstate
);
14304 if (PyErr_Occurred()) SWIG_fail
;
14306 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14321 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14322 PyObject
*resultobj
= 0;
14323 wxScrollBar
*result
= 0 ;
14325 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14327 if (!wxPyCheckForApp()) SWIG_fail
;
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= (wxScrollBar
*)new wxScrollBar();
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14340 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
= 0;
14342 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14343 wxWindow
*arg2
= (wxWindow
*) 0 ;
14344 int arg3
= (int) -1 ;
14345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14349 long arg6
= (long) wxSB_HORIZONTAL
;
14350 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14351 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14352 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14353 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14367 bool temp8
= false ;
14368 PyObject
* obj0
= 0 ;
14369 PyObject
* obj1
= 0 ;
14370 PyObject
* obj2
= 0 ;
14371 PyObject
* obj3
= 0 ;
14372 PyObject
* obj4
= 0 ;
14373 PyObject
* obj5
= 0 ;
14374 PyObject
* obj6
= 0 ;
14375 PyObject
* obj7
= 0 ;
14376 char * kwnames
[] = {
14377 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14382 if (!SWIG_IsOK(res1
)) {
14383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14385 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14387 if (!SWIG_IsOK(res2
)) {
14388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14390 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14392 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14393 if (!SWIG_IsOK(ecode3
)) {
14394 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14396 arg3
= static_cast< int >(val3
);
14401 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14407 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14411 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14412 if (!SWIG_IsOK(ecode6
)) {
14413 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14415 arg6
= static_cast< long >(val6
);
14418 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14419 if (!SWIG_IsOK(res7
)) {
14420 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14423 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14425 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14429 arg8
= wxString_in_helper(obj7
);
14430 if (arg8
== NULL
) SWIG_fail
;
14435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14436 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14437 wxPyEndAllowThreads(__tstate
);
14438 if (PyErr_Occurred()) SWIG_fail
;
14441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14457 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14458 PyObject
*resultobj
= 0;
14459 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14463 PyObject
*swig_obj
[1] ;
14465 if (!args
) SWIG_fail
;
14466 swig_obj
[0] = args
;
14467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14468 if (!SWIG_IsOK(res1
)) {
14469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14471 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14478 resultobj
= SWIG_From_int(static_cast< int >(result
));
14485 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14486 PyObject
*resultobj
= 0;
14487 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14491 PyObject
*swig_obj
[1] ;
14493 if (!args
) SWIG_fail
;
14494 swig_obj
[0] = args
;
14495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14496 if (!SWIG_IsOK(res1
)) {
14497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14499 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14503 wxPyEndAllowThreads(__tstate
);
14504 if (PyErr_Occurred()) SWIG_fail
;
14506 resultobj
= SWIG_From_int(static_cast< int >(result
));
14513 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14514 PyObject
*resultobj
= 0;
14515 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14519 PyObject
*swig_obj
[1] ;
14521 if (!args
) SWIG_fail
;
14522 swig_obj
[0] = args
;
14523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14524 if (!SWIG_IsOK(res1
)) {
14525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14527 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14531 wxPyEndAllowThreads(__tstate
);
14532 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= SWIG_From_int(static_cast< int >(result
));
14541 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14542 PyObject
*resultobj
= 0;
14543 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14547 PyObject
*swig_obj
[1] ;
14549 if (!args
) SWIG_fail
;
14550 swig_obj
[0] = args
;
14551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14552 if (!SWIG_IsOK(res1
)) {
14553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14555 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= SWIG_From_int(static_cast< int >(result
));
14569 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14570 PyObject
*resultobj
= 0;
14571 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14575 PyObject
*swig_obj
[1] ;
14577 if (!args
) SWIG_fail
;
14578 swig_obj
[0] = args
;
14579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14580 if (!SWIG_IsOK(res1
)) {
14581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14583 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14599 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
= 0;
14601 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 char * kwnames
[] = {
14610 (char *) "self",(char *) "viewStart", NULL
14613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14615 if (!SWIG_IsOK(res1
)) {
14616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14618 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14620 if (!SWIG_IsOK(ecode2
)) {
14621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14623 arg2
= static_cast< int >(val2
);
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 (arg1
)->SetThumbPosition(arg2
);
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 resultobj
= SWIG_Py_Void();
14637 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14638 PyObject
*resultobj
= 0;
14639 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14640 SwigValueWrapper
<wxVisualAttributes
> result
;
14643 PyObject
* obj0
= 0 ;
14644 char * kwnames
[] = {
14645 (char *) "variant", NULL
14648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14650 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14651 if (!SWIG_IsOK(ecode1
)) {
14652 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14654 arg1
= static_cast< wxWindowVariant
>(val1
);
14657 if (!wxPyCheckForApp()) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14670 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14673 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14674 return SWIG_Py_Void();
14677 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14678 return SWIG_Python_InitShadowInstance(args
);
14681 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14682 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14687 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14688 PyObject
*pyobj
= 0;
14692 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14694 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14701 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14702 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14707 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14708 PyObject
*pyobj
= 0;
14712 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14714 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14721 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
= 0;
14723 wxWindow
*arg1
= (wxWindow
*) 0 ;
14724 int arg2
= (int) -1 ;
14725 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14726 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14727 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14728 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14729 long arg5
= (long) wxSP_HORIZONTAL
;
14730 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14731 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14732 wxSpinButton
*result
= 0 ;
14741 bool temp6
= false ;
14742 PyObject
* obj0
= 0 ;
14743 PyObject
* obj1
= 0 ;
14744 PyObject
* obj2
= 0 ;
14745 PyObject
* obj3
= 0 ;
14746 PyObject
* obj4
= 0 ;
14747 PyObject
* obj5
= 0 ;
14748 char * kwnames
[] = {
14749 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14754 if (!SWIG_IsOK(res1
)) {
14755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14757 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14759 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14760 if (!SWIG_IsOK(ecode2
)) {
14761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14763 arg2
= static_cast< int >(val2
);
14768 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14774 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14778 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14779 if (!SWIG_IsOK(ecode5
)) {
14780 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14782 arg5
= static_cast< long >(val5
);
14786 arg6
= wxString_in_helper(obj5
);
14787 if (arg6
== NULL
) SWIG_fail
;
14792 if (!wxPyCheckForApp()) SWIG_fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
14813 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14814 PyObject
*resultobj
= 0;
14815 wxSpinButton
*result
= 0 ;
14817 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
14819 if (!wxPyCheckForApp()) SWIG_fail
;
14820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14821 result
= (wxSpinButton
*)new wxSpinButton();
14822 wxPyEndAllowThreads(__tstate
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
14832 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14833 PyObject
*resultobj
= 0;
14834 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14835 wxWindow
*arg2
= (wxWindow
*) 0 ;
14836 int arg3
= (int) -1 ;
14837 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14838 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14839 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14840 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14841 long arg6
= (long) wxSP_HORIZONTAL
;
14842 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
14843 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14855 bool temp7
= false ;
14856 PyObject
* obj0
= 0 ;
14857 PyObject
* obj1
= 0 ;
14858 PyObject
* obj2
= 0 ;
14859 PyObject
* obj3
= 0 ;
14860 PyObject
* obj4
= 0 ;
14861 PyObject
* obj5
= 0 ;
14862 PyObject
* obj6
= 0 ;
14863 char * kwnames
[] = {
14864 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14869 if (!SWIG_IsOK(res1
)) {
14870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
14872 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14873 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14874 if (!SWIG_IsOK(res2
)) {
14875 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14877 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14879 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14880 if (!SWIG_IsOK(ecode3
)) {
14881 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
14883 arg3
= static_cast< int >(val3
);
14888 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14894 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14898 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14899 if (!SWIG_IsOK(ecode6
)) {
14900 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
14902 arg6
= static_cast< long >(val6
);
14906 arg7
= wxString_in_helper(obj6
);
14907 if (arg7
== NULL
) SWIG_fail
;
14912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14913 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14934 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14935 PyObject
*resultobj
= 0;
14936 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14940 PyObject
*swig_obj
[1] ;
14942 if (!args
) SWIG_fail
;
14943 swig_obj
[0] = args
;
14944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14945 if (!SWIG_IsOK(res1
)) {
14946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14948 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14951 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
14952 wxPyEndAllowThreads(__tstate
);
14953 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= SWIG_From_int(static_cast< int >(result
));
14962 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14963 PyObject
*resultobj
= 0;
14964 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14968 PyObject
*swig_obj
[1] ;
14970 if (!args
) SWIG_fail
;
14971 swig_obj
[0] = args
;
14972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
14973 if (!SWIG_IsOK(res1
)) {
14974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
14976 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
14978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14979 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
14980 wxPyEndAllowThreads(__tstate
);
14981 if (PyErr_Occurred()) SWIG_fail
;
14983 resultobj
= SWIG_From_int(static_cast< int >(result
));
14990 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14991 PyObject
*resultobj
= 0;
14992 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
14996 PyObject
*swig_obj
[1] ;
14998 if (!args
) SWIG_fail
;
14999 swig_obj
[0] = args
;
15000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15001 if (!SWIG_IsOK(res1
)) {
15002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15004 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15007 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15008 wxPyEndAllowThreads(__tstate
);
15009 if (PyErr_Occurred()) SWIG_fail
;
15011 resultobj
= SWIG_From_int(static_cast< int >(result
));
15018 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15019 PyObject
*resultobj
= 0;
15020 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15026 PyObject
* obj0
= 0 ;
15027 PyObject
* obj1
= 0 ;
15028 char * kwnames
[] = {
15029 (char *) "self",(char *) "val", NULL
15032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15034 if (!SWIG_IsOK(res1
)) {
15035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15037 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15039 if (!SWIG_IsOK(ecode2
)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15042 arg2
= static_cast< int >(val2
);
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 (arg1
)->SetValue(arg2
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= SWIG_Py_Void();
15056 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
= 0;
15058 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15064 PyObject
* obj0
= 0 ;
15065 PyObject
* obj1
= 0 ;
15066 char * kwnames
[] = {
15067 (char *) "self",(char *) "minVal", NULL
15070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15072 if (!SWIG_IsOK(res1
)) {
15073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15075 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15077 if (!SWIG_IsOK(ecode2
)) {
15078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15080 arg2
= static_cast< int >(val2
);
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 (arg1
)->SetMin(arg2
);
15084 wxPyEndAllowThreads(__tstate
);
15085 if (PyErr_Occurred()) SWIG_fail
;
15087 resultobj
= SWIG_Py_Void();
15094 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
= 0;
15096 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15102 PyObject
* obj0
= 0 ;
15103 PyObject
* obj1
= 0 ;
15104 char * kwnames
[] = {
15105 (char *) "self",(char *) "maxVal", NULL
15108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15110 if (!SWIG_IsOK(res1
)) {
15111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15113 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15114 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15115 if (!SWIG_IsOK(ecode2
)) {
15116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15118 arg2
= static_cast< int >(val2
);
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 (arg1
)->SetMax(arg2
);
15122 wxPyEndAllowThreads(__tstate
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15125 resultobj
= SWIG_Py_Void();
15132 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15133 PyObject
*resultobj
= 0;
15134 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15143 PyObject
* obj0
= 0 ;
15144 PyObject
* obj1
= 0 ;
15145 PyObject
* obj2
= 0 ;
15146 char * kwnames
[] = {
15147 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetRange" "', 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_SetRange" "', expected argument " "2"" of type '" "int""'");
15160 arg2
= static_cast< int >(val2
);
15161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15162 if (!SWIG_IsOK(ecode3
)) {
15163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15165 arg3
= static_cast< int >(val3
);
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 (arg1
)->SetRange(arg2
,arg3
);
15169 wxPyEndAllowThreads(__tstate
);
15170 if (PyErr_Occurred()) SWIG_fail
;
15172 resultobj
= SWIG_Py_Void();
15179 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15180 PyObject
*resultobj
= 0;
15181 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15185 PyObject
*swig_obj
[1] ;
15187 if (!args
) SWIG_fail
;
15188 swig_obj
[0] = args
;
15189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15190 if (!SWIG_IsOK(res1
)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15193 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15209 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15210 PyObject
*resultobj
= 0;
15211 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15212 SwigValueWrapper
<wxVisualAttributes
> result
;
15215 PyObject
* obj0
= 0 ;
15216 char * kwnames
[] = {
15217 (char *) "variant", NULL
15220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15222 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15223 if (!SWIG_IsOK(ecode1
)) {
15224 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15226 arg1
= static_cast< wxWindowVariant
>(val1
);
15229 if (!wxPyCheckForApp()) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15242 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15244 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15245 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15246 return SWIG_Py_Void();
15249 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15250 return SWIG_Python_InitShadowInstance(args
);
15253 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15254 PyObject
*resultobj
= 0;
15255 wxWindow
*arg1
= (wxWindow
*) 0 ;
15256 int arg2
= (int) -1 ;
15257 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15258 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15259 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15260 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15261 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15262 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15263 long arg6
= (long) wxSP_ARROW_KEYS
;
15264 int arg7
= (int) 0 ;
15265 int arg8
= (int) 100 ;
15266 int arg9
= (int) 0 ;
15267 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15268 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15269 wxSpinCtrl
*result
= 0 ;
15274 bool temp3
= false ;
15285 bool temp10
= false ;
15286 PyObject
* obj0
= 0 ;
15287 PyObject
* obj1
= 0 ;
15288 PyObject
* obj2
= 0 ;
15289 PyObject
* obj3
= 0 ;
15290 PyObject
* obj4
= 0 ;
15291 PyObject
* obj5
= 0 ;
15292 PyObject
* obj6
= 0 ;
15293 PyObject
* obj7
= 0 ;
15294 PyObject
* obj8
= 0 ;
15295 PyObject
* obj9
= 0 ;
15296 char * kwnames
[] = {
15297 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15302 if (!SWIG_IsOK(res1
)) {
15303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15305 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15308 if (!SWIG_IsOK(ecode2
)) {
15309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15311 arg2
= static_cast< int >(val2
);
15315 arg3
= wxString_in_helper(obj2
);
15316 if (arg3
== NULL
) SWIG_fail
;
15323 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15329 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15333 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15334 if (!SWIG_IsOK(ecode6
)) {
15335 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15337 arg6
= static_cast< long >(val6
);
15340 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15341 if (!SWIG_IsOK(ecode7
)) {
15342 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15344 arg7
= static_cast< int >(val7
);
15347 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15348 if (!SWIG_IsOK(ecode8
)) {
15349 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15351 arg8
= static_cast< int >(val8
);
15354 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15355 if (!SWIG_IsOK(ecode9
)) {
15356 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15358 arg9
= static_cast< int >(val9
);
15362 arg10
= wxString_in_helper(obj9
);
15363 if (arg10
== NULL
) SWIG_fail
;
15368 if (!wxPyCheckForApp()) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15397 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15398 PyObject
*resultobj
= 0;
15399 wxSpinCtrl
*result
= 0 ;
15401 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15403 if (!wxPyCheckForApp()) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15416 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
= 0;
15418 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15419 wxWindow
*arg2
= (wxWindow
*) 0 ;
15420 int arg3
= (int) -1 ;
15421 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15422 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15423 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15424 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15425 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15426 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15427 long arg7
= (long) wxSP_ARROW_KEYS
;
15428 int arg8
= (int) 0 ;
15429 int arg9
= (int) 100 ;
15430 int arg10
= (int) 0 ;
15431 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15432 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15440 bool temp4
= false ;
15451 bool temp11
= false ;
15452 PyObject
* obj0
= 0 ;
15453 PyObject
* obj1
= 0 ;
15454 PyObject
* obj2
= 0 ;
15455 PyObject
* obj3
= 0 ;
15456 PyObject
* obj4
= 0 ;
15457 PyObject
* obj5
= 0 ;
15458 PyObject
* obj6
= 0 ;
15459 PyObject
* obj7
= 0 ;
15460 PyObject
* obj8
= 0 ;
15461 PyObject
* obj9
= 0 ;
15462 PyObject
* obj10
= 0 ;
15463 char * kwnames
[] = {
15464 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15469 if (!SWIG_IsOK(res1
)) {
15470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15472 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15473 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15474 if (!SWIG_IsOK(res2
)) {
15475 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15477 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15480 if (!SWIG_IsOK(ecode3
)) {
15481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15483 arg3
= static_cast< int >(val3
);
15487 arg4
= wxString_in_helper(obj3
);
15488 if (arg4
== NULL
) SWIG_fail
;
15495 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15501 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15505 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15506 if (!SWIG_IsOK(ecode7
)) {
15507 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15509 arg7
= static_cast< long >(val7
);
15512 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15513 if (!SWIG_IsOK(ecode8
)) {
15514 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15516 arg8
= static_cast< int >(val8
);
15519 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15520 if (!SWIG_IsOK(ecode9
)) {
15521 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15523 arg9
= static_cast< int >(val9
);
15526 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15527 if (!SWIG_IsOK(ecode10
)) {
15528 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15530 arg10
= static_cast< int >(val10
);
15534 arg11
= wxString_in_helper(obj10
);
15535 if (arg11
== NULL
) SWIG_fail
;
15540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15541 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15570 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15571 PyObject
*resultobj
= 0;
15572 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15576 PyObject
*swig_obj
[1] ;
15578 if (!args
) SWIG_fail
;
15579 swig_obj
[0] = args
;
15580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15581 if (!SWIG_IsOK(res1
)) {
15582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15584 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15588 wxPyEndAllowThreads(__tstate
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15591 resultobj
= SWIG_From_int(static_cast< int >(result
));
15598 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
= 0;
15600 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 char * kwnames
[] = {
15609 (char *) "self",(char *) "value", NULL
15612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15614 if (!SWIG_IsOK(res1
)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15617 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15618 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15619 if (!SWIG_IsOK(ecode2
)) {
15620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15622 arg2
= static_cast< int >(val2
);
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 (arg1
)->SetValue(arg2
);
15626 wxPyEndAllowThreads(__tstate
);
15627 if (PyErr_Occurred()) SWIG_fail
;
15629 resultobj
= SWIG_Py_Void();
15636 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
= 0;
15638 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15639 wxString
*arg2
= 0 ;
15642 bool temp2
= false ;
15643 PyObject
* obj0
= 0 ;
15644 PyObject
* obj1
= 0 ;
15645 char * kwnames
[] = {
15646 (char *) "self",(char *) "text", NULL
15649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15651 if (!SWIG_IsOK(res1
)) {
15652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15654 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15656 arg2
= wxString_in_helper(obj1
);
15657 if (arg2
== NULL
) SWIG_fail
;
15661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15662 (arg1
)->SetValue((wxString
const &)*arg2
);
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15666 resultobj
= SWIG_Py_Void();
15681 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
= 0;
15683 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15692 PyObject
* obj0
= 0 ;
15693 PyObject
* obj1
= 0 ;
15694 PyObject
* obj2
= 0 ;
15695 char * kwnames
[] = {
15696 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15701 if (!SWIG_IsOK(res1
)) {
15702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15704 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15705 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15706 if (!SWIG_IsOK(ecode2
)) {
15707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15709 arg2
= static_cast< int >(val2
);
15710 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15711 if (!SWIG_IsOK(ecode3
)) {
15712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15714 arg3
= static_cast< int >(val3
);
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 (arg1
)->SetRange(arg2
,arg3
);
15718 wxPyEndAllowThreads(__tstate
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15721 resultobj
= SWIG_Py_Void();
15728 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15729 PyObject
*resultobj
= 0;
15730 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15734 PyObject
*swig_obj
[1] ;
15736 if (!args
) SWIG_fail
;
15737 swig_obj
[0] = args
;
15738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15739 if (!SWIG_IsOK(res1
)) {
15740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15742 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= SWIG_From_int(static_cast< int >(result
));
15756 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15757 PyObject
*resultobj
= 0;
15758 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15762 PyObject
*swig_obj
[1] ;
15764 if (!args
) SWIG_fail
;
15765 swig_obj
[0] = args
;
15766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15767 if (!SWIG_IsOK(res1
)) {
15768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15770 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15773 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= SWIG_From_int(static_cast< int >(result
));
15784 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15785 PyObject
*resultobj
= 0;
15786 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15795 PyObject
* obj0
= 0 ;
15796 PyObject
* obj1
= 0 ;
15797 PyObject
* obj2
= 0 ;
15798 char * kwnames
[] = {
15799 (char *) "self",(char *) "from",(char *) "to", NULL
15802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15804 if (!SWIG_IsOK(res1
)) {
15805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15807 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15808 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
15809 if (!SWIG_IsOK(ecode2
)) {
15810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
15812 arg2
= static_cast< long >(val2
);
15813 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
15814 if (!SWIG_IsOK(ecode3
)) {
15815 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
15817 arg3
= static_cast< long >(val3
);
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 (arg1
)->SetSelection(arg2
,arg3
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_Py_Void();
15831 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
= 0;
15833 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15834 SwigValueWrapper
<wxVisualAttributes
> result
;
15837 PyObject
* obj0
= 0 ;
15838 char * kwnames
[] = {
15839 (char *) "variant", NULL
15842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15844 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15845 if (!SWIG_IsOK(ecode1
)) {
15846 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15848 arg1
= static_cast< wxWindowVariant
>(val1
);
15851 if (!wxPyCheckForApp()) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
15854 wxPyEndAllowThreads(__tstate
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15864 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15866 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15867 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
15868 return SWIG_Py_Void();
15871 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15872 return SWIG_Python_InitShadowInstance(args
);
15875 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15876 PyObject
*resultobj
= 0;
15877 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15878 int arg2
= (int) 0 ;
15879 wxSpinEvent
*result
= 0 ;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 char * kwnames
[] = {
15887 (char *) "commandType",(char *) "winid", NULL
15890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15892 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15893 if (!SWIG_IsOK(ecode1
)) {
15894 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15896 arg1
= static_cast< wxEventType
>(val1
);
15899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15900 if (!SWIG_IsOK(ecode2
)) {
15901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
15903 arg2
= static_cast< int >(val2
);
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
15908 wxPyEndAllowThreads(__tstate
);
15909 if (PyErr_Occurred()) SWIG_fail
;
15911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
15918 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15919 PyObject
*resultobj
= 0;
15920 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15924 PyObject
*swig_obj
[1] ;
15926 if (!args
) SWIG_fail
;
15927 swig_obj
[0] = args
;
15928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15929 if (!SWIG_IsOK(res1
)) {
15930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
15932 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15935 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= SWIG_From_int(static_cast< int >(result
));
15946 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
= 0;
15948 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
15954 PyObject
* obj0
= 0 ;
15955 PyObject
* obj1
= 0 ;
15956 char * kwnames
[] = {
15957 (char *) "self",(char *) "pos", NULL
15960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
15962 if (!SWIG_IsOK(res1
)) {
15963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
15965 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
15966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15967 if (!SWIG_IsOK(ecode2
)) {
15968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
15970 arg2
= static_cast< int >(val2
);
15972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15973 (arg1
)->SetPosition(arg2
);
15974 wxPyEndAllowThreads(__tstate
);
15975 if (PyErr_Occurred()) SWIG_fail
;
15977 resultobj
= SWIG_Py_Void();
15984 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15987 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
15988 return SWIG_Py_Void();
15991 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15992 return SWIG_Python_InitShadowInstance(args
);
15995 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
15996 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16001 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16002 PyObject
*pyobj
= 0;
16006 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16008 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16015 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16016 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16021 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16022 PyObject
*pyobj
= 0;
16026 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16028 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16035 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16036 PyObject
*resultobj
= 0;
16037 wxWindow
*arg1
= (wxWindow
*) 0 ;
16038 int arg2
= (int) -1 ;
16039 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16040 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16041 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16042 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16043 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16044 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16045 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16046 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16047 int arg7
= (int) 0 ;
16048 long arg8
= (long) wxRA_HORIZONTAL
;
16049 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16050 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16051 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16052 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16053 wxRadioBox
*result
= 0 ;
16058 bool temp3
= false ;
16061 bool temp6
= false ;
16068 bool temp10
= false ;
16069 PyObject
* obj0
= 0 ;
16070 PyObject
* obj1
= 0 ;
16071 PyObject
* obj2
= 0 ;
16072 PyObject
* obj3
= 0 ;
16073 PyObject
* obj4
= 0 ;
16074 PyObject
* obj5
= 0 ;
16075 PyObject
* obj6
= 0 ;
16076 PyObject
* obj7
= 0 ;
16077 PyObject
* obj8
= 0 ;
16078 PyObject
* obj9
= 0 ;
16079 char * kwnames
[] = {
16080 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16085 if (!SWIG_IsOK(res1
)) {
16086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16091 if (!SWIG_IsOK(ecode2
)) {
16092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16094 arg2
= static_cast< int >(val2
);
16098 arg3
= wxString_in_helper(obj2
);
16099 if (arg3
== NULL
) SWIG_fail
;
16106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16112 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16117 if (! PySequence_Check(obj5
)) {
16118 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16121 arg6
= new wxArrayString
;
16123 int i
, len
=PySequence_Length(obj5
);
16124 for (i
=0; i
<len
; i
++) {
16125 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16126 wxString
* s
= wxString_in_helper(item
);
16127 if (PyErr_Occurred()) SWIG_fail
;
16135 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16136 if (!SWIG_IsOK(ecode7
)) {
16137 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16139 arg7
= static_cast< int >(val7
);
16142 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16143 if (!SWIG_IsOK(ecode8
)) {
16144 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16146 arg8
= static_cast< long >(val8
);
16149 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16150 if (!SWIG_IsOK(res9
)) {
16151 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16156 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16160 arg10
= wxString_in_helper(obj9
);
16161 if (arg10
== NULL
) SWIG_fail
;
16166 if (!wxPyCheckForApp()) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 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
);
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16178 if (temp6
) delete arg6
;
16191 if (temp6
) delete arg6
;
16201 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16202 PyObject
*resultobj
= 0;
16203 wxRadioBox
*result
= 0 ;
16205 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16207 if (!wxPyCheckForApp()) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (wxRadioBox
*)new wxRadioBox();
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16220 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
= 0;
16222 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16223 wxWindow
*arg2
= (wxWindow
*) 0 ;
16224 int arg3
= (int) -1 ;
16225 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16226 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16227 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16228 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16229 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16230 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16231 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16232 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16233 int arg8
= (int) 0 ;
16234 long arg9
= (long) wxRA_HORIZONTAL
;
16235 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16236 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16237 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16238 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16246 bool temp4
= false ;
16249 bool temp7
= false ;
16256 bool temp11
= false ;
16257 PyObject
* obj0
= 0 ;
16258 PyObject
* obj1
= 0 ;
16259 PyObject
* obj2
= 0 ;
16260 PyObject
* obj3
= 0 ;
16261 PyObject
* obj4
= 0 ;
16262 PyObject
* obj5
= 0 ;
16263 PyObject
* obj6
= 0 ;
16264 PyObject
* obj7
= 0 ;
16265 PyObject
* obj8
= 0 ;
16266 PyObject
* obj9
= 0 ;
16267 PyObject
* obj10
= 0 ;
16268 char * kwnames
[] = {
16269 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16274 if (!SWIG_IsOK(res1
)) {
16275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16277 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16278 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16279 if (!SWIG_IsOK(res2
)) {
16280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16282 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16285 if (!SWIG_IsOK(ecode3
)) {
16286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16288 arg3
= static_cast< int >(val3
);
16292 arg4
= wxString_in_helper(obj3
);
16293 if (arg4
== NULL
) SWIG_fail
;
16300 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16306 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16311 if (! PySequence_Check(obj6
)) {
16312 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16315 arg7
= new wxArrayString
;
16317 int i
, len
=PySequence_Length(obj6
);
16318 for (i
=0; i
<len
; i
++) {
16319 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16320 wxString
* s
= wxString_in_helper(item
);
16321 if (PyErr_Occurred()) SWIG_fail
;
16329 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16330 if (!SWIG_IsOK(ecode8
)) {
16331 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16333 arg8
= static_cast< int >(val8
);
16336 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16337 if (!SWIG_IsOK(ecode9
)) {
16338 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16340 arg9
= static_cast< long >(val9
);
16343 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16344 if (!SWIG_IsOK(res10
)) {
16345 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16350 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16354 arg11
= wxString_in_helper(obj10
);
16355 if (arg11
== NULL
) SWIG_fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 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
);
16362 wxPyEndAllowThreads(__tstate
);
16363 if (PyErr_Occurred()) SWIG_fail
;
16366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16373 if (temp7
) delete arg7
;
16386 if (temp7
) delete arg7
;
16396 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16397 PyObject
*resultobj
= 0;
16398 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16404 PyObject
* obj0
= 0 ;
16405 PyObject
* obj1
= 0 ;
16406 char * kwnames
[] = {
16407 (char *) "self",(char *) "n", NULL
16410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16412 if (!SWIG_IsOK(res1
)) {
16413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16415 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16417 if (!SWIG_IsOK(ecode2
)) {
16418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16420 arg2
= static_cast< int >(val2
);
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 (arg1
)->SetSelection(arg2
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= SWIG_Py_Void();
16434 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16435 PyObject
*resultobj
= 0;
16436 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16440 PyObject
*swig_obj
[1] ;
16442 if (!args
) SWIG_fail
;
16443 swig_obj
[0] = args
;
16444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16445 if (!SWIG_IsOK(res1
)) {
16446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16448 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= SWIG_From_int(static_cast< int >(result
));
16462 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16463 PyObject
*resultobj
= 0;
16464 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16468 PyObject
*swig_obj
[1] ;
16470 if (!args
) SWIG_fail
;
16471 swig_obj
[0] = args
;
16472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16473 if (!SWIG_IsOK(res1
)) {
16474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16476 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16487 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16496 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
= 0;
16498 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16499 wxString
*arg2
= 0 ;
16503 bool temp2
= false ;
16504 PyObject
* obj0
= 0 ;
16505 PyObject
* obj1
= 0 ;
16506 char * kwnames
[] = {
16507 (char *) "self",(char *) "s", NULL
16510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16512 if (!SWIG_IsOK(res1
)) {
16513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16515 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16517 arg2
= wxString_in_helper(obj1
);
16518 if (arg2
== NULL
) SWIG_fail
;
16522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16523 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16544 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16545 PyObject
*resultobj
= 0;
16546 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16550 PyObject
*swig_obj
[1] ;
16552 if (!args
) SWIG_fail
;
16553 swig_obj
[0] = args
;
16554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16555 if (!SWIG_IsOK(res1
)) {
16556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16558 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16572 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
= 0;
16574 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16575 wxString
*arg2
= 0 ;
16579 bool temp2
= false ;
16580 PyObject
* obj0
= 0 ;
16581 PyObject
* obj1
= 0 ;
16582 char * kwnames
[] = {
16583 (char *) "self",(char *) "s", NULL
16586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16588 if (!SWIG_IsOK(res1
)) {
16589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16591 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16593 arg2
= wxString_in_helper(obj1
);
16594 if (arg2
== NULL
) SWIG_fail
;
16598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16599 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16600 wxPyEndAllowThreads(__tstate
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= SWIG_From_int(static_cast< int >(result
));
16618 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
= 0;
16620 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16627 PyObject
* obj0
= 0 ;
16628 PyObject
* obj1
= 0 ;
16629 char * kwnames
[] = {
16630 (char *) "self",(char *) "n", NULL
16633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16635 if (!SWIG_IsOK(res1
)) {
16636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16638 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16640 if (!SWIG_IsOK(ecode2
)) {
16641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16643 arg2
= static_cast< int >(val2
);
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16663 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16664 PyObject
*resultobj
= 0;
16665 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16667 wxString
*arg3
= 0 ;
16672 bool temp3
= false ;
16673 PyObject
* obj0
= 0 ;
16674 PyObject
* obj1
= 0 ;
16675 PyObject
* obj2
= 0 ;
16676 char * kwnames
[] = {
16677 (char *) "self",(char *) "n",(char *) "label", NULL
16680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16682 if (!SWIG_IsOK(res1
)) {
16683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16685 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16687 if (!SWIG_IsOK(ecode2
)) {
16688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16690 arg2
= static_cast< int >(val2
);
16692 arg3
= wxString_in_helper(obj2
);
16693 if (arg3
== NULL
) SWIG_fail
;
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16699 wxPyEndAllowThreads(__tstate
);
16700 if (PyErr_Occurred()) SWIG_fail
;
16702 resultobj
= SWIG_Py_Void();
16717 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
= 0;
16719 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16720 unsigned int arg2
;
16721 bool arg3
= (bool) true ;
16724 unsigned int val2
;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 PyObject
* obj2
= 0 ;
16731 char * kwnames
[] = {
16732 (char *) "self",(char *) "n",(char *) "enable", NULL
16735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16737 if (!SWIG_IsOK(res1
)) {
16738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16740 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16741 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16742 if (!SWIG_IsOK(ecode2
)) {
16743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16745 arg2
= static_cast< unsigned int >(val2
);
16747 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16748 if (!SWIG_IsOK(ecode3
)) {
16749 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16751 arg3
= static_cast< bool >(val3
);
16754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16755 (arg1
)->Enable(arg2
,arg3
);
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= SWIG_Py_Void();
16766 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16767 PyObject
*resultobj
= 0;
16768 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16769 unsigned int arg2
;
16770 bool arg3
= (bool) true ;
16773 unsigned int val2
;
16777 PyObject
* obj0
= 0 ;
16778 PyObject
* obj1
= 0 ;
16779 PyObject
* obj2
= 0 ;
16780 char * kwnames
[] = {
16781 (char *) "self",(char *) "n",(char *) "show", NULL
16784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16786 if (!SWIG_IsOK(res1
)) {
16787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16789 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16790 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16791 if (!SWIG_IsOK(ecode2
)) {
16792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16794 arg2
= static_cast< unsigned int >(val2
);
16796 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16797 if (!SWIG_IsOK(ecode3
)) {
16798 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16800 arg3
= static_cast< bool >(val3
);
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 (arg1
)->Show(arg2
,arg3
);
16805 wxPyEndAllowThreads(__tstate
);
16806 if (PyErr_Occurred()) SWIG_fail
;
16808 resultobj
= SWIG_Py_Void();
16815 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
= 0;
16817 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16818 unsigned int arg2
;
16822 unsigned int val2
;
16824 PyObject
* obj0
= 0 ;
16825 PyObject
* obj1
= 0 ;
16826 char * kwnames
[] = {
16827 (char *) "self",(char *) "n", NULL
16830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16832 if (!SWIG_IsOK(res1
)) {
16833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16835 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16836 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16837 if (!SWIG_IsOK(ecode2
)) {
16838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
16840 arg2
= static_cast< unsigned int >(val2
);
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
16844 wxPyEndAllowThreads(__tstate
);
16845 if (PyErr_Occurred()) SWIG_fail
;
16848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16856 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
= 0;
16858 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16859 unsigned int arg2
;
16863 unsigned int val2
;
16865 PyObject
* obj0
= 0 ;
16866 PyObject
* obj1
= 0 ;
16867 char * kwnames
[] = {
16868 (char *) "self",(char *) "n", NULL
16871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16873 if (!SWIG_IsOK(res1
)) {
16874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16876 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16877 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16878 if (!SWIG_IsOK(ecode2
)) {
16879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
16881 arg2
= static_cast< unsigned int >(val2
);
16883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16884 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16897 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16898 PyObject
*resultobj
= 0;
16899 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16900 unsigned int result
;
16903 PyObject
*swig_obj
[1] ;
16905 if (!args
) SWIG_fail
;
16906 swig_obj
[0] = args
;
16907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16908 if (!SWIG_IsOK(res1
)) {
16909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16911 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16918 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16925 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16926 PyObject
*resultobj
= 0;
16927 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16928 unsigned int result
;
16931 PyObject
*swig_obj
[1] ;
16933 if (!args
) SWIG_fail
;
16934 swig_obj
[0] = args
;
16935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16936 if (!SWIG_IsOK(res1
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16939 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
16953 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
= 0;
16955 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16968 PyObject
* obj0
= 0 ;
16969 PyObject
* obj1
= 0 ;
16970 PyObject
* obj2
= 0 ;
16971 PyObject
* obj3
= 0 ;
16972 char * kwnames
[] = {
16973 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
16976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16978 if (!SWIG_IsOK(res1
)) {
16979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16981 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16983 if (!SWIG_IsOK(ecode2
)) {
16984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
16986 arg2
= static_cast< int >(val2
);
16987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16988 if (!SWIG_IsOK(ecode3
)) {
16989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
16991 arg3
= static_cast< wxDirection
>(val3
);
16992 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16993 if (!SWIG_IsOK(ecode4
)) {
16994 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
16996 arg4
= static_cast< long >(val4
);
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 resultobj
= SWIG_From_int(static_cast< int >(result
));
17010 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
= 0;
17012 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17013 unsigned int arg2
;
17014 wxString
*arg3
= 0 ;
17017 unsigned int val2
;
17019 bool temp3
= false ;
17020 PyObject
* obj0
= 0 ;
17021 PyObject
* obj1
= 0 ;
17022 PyObject
* obj2
= 0 ;
17023 char * kwnames
[] = {
17024 (char *) "self",(char *) "item",(char *) "text", NULL
17027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17029 if (!SWIG_IsOK(res1
)) {
17030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17032 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17033 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17034 if (!SWIG_IsOK(ecode2
)) {
17035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17037 arg2
= static_cast< unsigned int >(val2
);
17039 arg3
= wxString_in_helper(obj2
);
17040 if (arg3
== NULL
) SWIG_fail
;
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17049 resultobj
= SWIG_Py_Void();
17064 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
= 0;
17066 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17067 unsigned int arg2
;
17068 wxToolTip
*result
= 0 ;
17071 unsigned int val2
;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 char * kwnames
[] = {
17076 (char *) "self",(char *) "item", NULL
17079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17081 if (!SWIG_IsOK(res1
)) {
17082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17084 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17085 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17086 if (!SWIG_IsOK(ecode2
)) {
17087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17089 arg2
= static_cast< unsigned int >(val2
);
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17092 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17093 wxPyEndAllowThreads(__tstate
);
17094 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17105 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
= 0;
17107 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17108 unsigned int arg2
;
17109 wxString
*arg3
= 0 ;
17112 unsigned int val2
;
17114 bool temp3
= false ;
17115 PyObject
* obj0
= 0 ;
17116 PyObject
* obj1
= 0 ;
17117 PyObject
* obj2
= 0 ;
17118 char * kwnames
[] = {
17119 (char *) "self",(char *) "n",(char *) "helpText", NULL
17122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17124 if (!SWIG_IsOK(res1
)) {
17125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17127 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17128 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17129 if (!SWIG_IsOK(ecode2
)) {
17130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17132 arg2
= static_cast< unsigned int >(val2
);
17134 arg3
= wxString_in_helper(obj2
);
17135 if (arg3
== NULL
) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17141 wxPyEndAllowThreads(__tstate
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17144 resultobj
= SWIG_Py_Void();
17159 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17160 PyObject
*resultobj
= 0;
17161 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17162 unsigned int arg2
;
17166 unsigned int val2
;
17168 PyObject
* obj0
= 0 ;
17169 PyObject
* obj1
= 0 ;
17170 char * kwnames
[] = {
17171 (char *) "self",(char *) "n", NULL
17174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17176 if (!SWIG_IsOK(res1
)) {
17177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17179 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17180 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17181 if (!SWIG_IsOK(ecode2
)) {
17182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17184 arg2
= static_cast< unsigned int >(val2
);
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17204 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17205 PyObject
*resultobj
= 0;
17206 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17207 SwigValueWrapper
<wxVisualAttributes
> result
;
17210 PyObject
* obj0
= 0 ;
17211 char * kwnames
[] = {
17212 (char *) "variant", NULL
17215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17217 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17218 if (!SWIG_IsOK(ecode1
)) {
17219 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17221 arg1
= static_cast< wxWindowVariant
>(val1
);
17224 if (!wxPyCheckForApp()) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17230 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17237 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17240 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17241 return SWIG_Py_Void();
17244 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17245 return SWIG_Python_InitShadowInstance(args
);
17248 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17249 PyObject
*resultobj
= 0;
17250 wxWindow
*arg1
= (wxWindow
*) 0 ;
17251 int arg2
= (int) -1 ;
17252 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17253 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17254 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17255 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17256 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17257 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17258 long arg6
= (long) 0 ;
17259 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17260 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17261 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17262 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17263 wxRadioButton
*result
= 0 ;
17268 bool temp3
= false ;
17275 bool temp8
= false ;
17276 PyObject
* obj0
= 0 ;
17277 PyObject
* obj1
= 0 ;
17278 PyObject
* obj2
= 0 ;
17279 PyObject
* obj3
= 0 ;
17280 PyObject
* obj4
= 0 ;
17281 PyObject
* obj5
= 0 ;
17282 PyObject
* obj6
= 0 ;
17283 PyObject
* obj7
= 0 ;
17284 char * kwnames
[] = {
17285 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17290 if (!SWIG_IsOK(res1
)) {
17291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17293 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17296 if (!SWIG_IsOK(ecode2
)) {
17297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17299 arg2
= static_cast< int >(val2
);
17303 arg3
= wxString_in_helper(obj2
);
17304 if (arg3
== NULL
) SWIG_fail
;
17311 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17317 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17321 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17322 if (!SWIG_IsOK(ecode6
)) {
17323 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17325 arg6
= static_cast< long >(val6
);
17328 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17329 if (!SWIG_IsOK(res7
)) {
17330 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17333 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17335 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17339 arg8
= wxString_in_helper(obj7
);
17340 if (arg8
== NULL
) SWIG_fail
;
17345 if (!wxPyCheckForApp()) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17374 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17375 PyObject
*resultobj
= 0;
17376 wxRadioButton
*result
= 0 ;
17378 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17380 if (!wxPyCheckForApp()) SWIG_fail
;
17381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17382 result
= (wxRadioButton
*)new wxRadioButton();
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17393 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17394 PyObject
*resultobj
= 0;
17395 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17396 wxWindow
*arg2
= (wxWindow
*) 0 ;
17397 int arg3
= (int) -1 ;
17398 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17399 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17400 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17401 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17402 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17403 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17404 long arg7
= (long) 0 ;
17405 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17406 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17407 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17408 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17416 bool temp4
= false ;
17423 bool temp9
= false ;
17424 PyObject
* obj0
= 0 ;
17425 PyObject
* obj1
= 0 ;
17426 PyObject
* obj2
= 0 ;
17427 PyObject
* obj3
= 0 ;
17428 PyObject
* obj4
= 0 ;
17429 PyObject
* obj5
= 0 ;
17430 PyObject
* obj6
= 0 ;
17431 PyObject
* obj7
= 0 ;
17432 PyObject
* obj8
= 0 ;
17433 char * kwnames
[] = {
17434 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17439 if (!SWIG_IsOK(res1
)) {
17440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17442 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17443 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17444 if (!SWIG_IsOK(res2
)) {
17445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17447 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17450 if (!SWIG_IsOK(ecode3
)) {
17451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17453 arg3
= static_cast< int >(val3
);
17457 arg4
= wxString_in_helper(obj3
);
17458 if (arg4
== NULL
) SWIG_fail
;
17465 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17471 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17475 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17476 if (!SWIG_IsOK(ecode7
)) {
17477 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17479 arg7
= static_cast< long >(val7
);
17482 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17483 if (!SWIG_IsOK(res8
)) {
17484 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17489 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17493 arg9
= wxString_in_helper(obj8
);
17494 if (arg9
== NULL
) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17529 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17530 PyObject
*resultobj
= 0;
17531 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17535 PyObject
*swig_obj
[1] ;
17537 if (!args
) SWIG_fail
;
17538 swig_obj
[0] = args
;
17539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17540 if (!SWIG_IsOK(res1
)) {
17541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17543 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17546 result
= (bool)(arg1
)->GetValue();
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17559 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
= 0;
17561 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 char * kwnames
[] = {
17570 (char *) "self",(char *) "value", NULL
17573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17575 if (!SWIG_IsOK(res1
)) {
17576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17578 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17579 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17580 if (!SWIG_IsOK(ecode2
)) {
17581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17583 arg2
= static_cast< bool >(val2
);
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 (arg1
)->SetValue(arg2
);
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17590 resultobj
= SWIG_Py_Void();
17597 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
= 0;
17599 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17600 SwigValueWrapper
<wxVisualAttributes
> result
;
17603 PyObject
* obj0
= 0 ;
17604 char * kwnames
[] = {
17605 (char *) "variant", NULL
17608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17610 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17611 if (!SWIG_IsOK(ecode1
)) {
17612 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17614 arg1
= static_cast< wxWindowVariant
>(val1
);
17617 if (!wxPyCheckForApp()) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17630 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17633 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17634 return SWIG_Py_Void();
17637 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17638 return SWIG_Python_InitShadowInstance(args
);
17641 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17642 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17647 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17648 PyObject
*pyobj
= 0;
17652 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17654 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17661 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
= 0;
17663 wxWindow
*arg1
= (wxWindow
*) 0 ;
17664 int arg2
= (int) -1 ;
17665 int arg3
= (int) 0 ;
17666 int arg4
= (int) 0 ;
17667 int arg5
= (int) 100 ;
17668 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17669 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17670 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17671 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17672 long arg8
= (long) wxSL_HORIZONTAL
;
17673 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17674 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17675 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17676 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17677 wxSlider
*result
= 0 ;
17694 bool temp10
= false ;
17695 PyObject
* obj0
= 0 ;
17696 PyObject
* obj1
= 0 ;
17697 PyObject
* obj2
= 0 ;
17698 PyObject
* obj3
= 0 ;
17699 PyObject
* obj4
= 0 ;
17700 PyObject
* obj5
= 0 ;
17701 PyObject
* obj6
= 0 ;
17702 PyObject
* obj7
= 0 ;
17703 PyObject
* obj8
= 0 ;
17704 PyObject
* obj9
= 0 ;
17705 char * kwnames
[] = {
17706 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17711 if (!SWIG_IsOK(res1
)) {
17712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17714 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17717 if (!SWIG_IsOK(ecode2
)) {
17718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17720 arg2
= static_cast< int >(val2
);
17723 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17724 if (!SWIG_IsOK(ecode3
)) {
17725 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17727 arg3
= static_cast< int >(val3
);
17730 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17731 if (!SWIG_IsOK(ecode4
)) {
17732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17734 arg4
= static_cast< int >(val4
);
17737 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17738 if (!SWIG_IsOK(ecode5
)) {
17739 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17741 arg5
= static_cast< int >(val5
);
17746 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17752 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17756 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17757 if (!SWIG_IsOK(ecode8
)) {
17758 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17760 arg8
= static_cast< long >(val8
);
17763 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17764 if (!SWIG_IsOK(res9
)) {
17765 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17770 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17774 arg10
= wxString_in_helper(obj9
);
17775 if (arg10
== NULL
) SWIG_fail
;
17780 if (!wxPyCheckForApp()) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17801 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17802 PyObject
*resultobj
= 0;
17803 wxSlider
*result
= 0 ;
17805 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
17807 if (!wxPyCheckForApp()) SWIG_fail
;
17808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17809 result
= (wxSlider
*)new wxSlider();
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
17820 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
= 0;
17822 wxSlider
*arg1
= (wxSlider
*) 0 ;
17823 wxWindow
*arg2
= (wxWindow
*) 0 ;
17824 int arg3
= (int) -1 ;
17825 int arg4
= (int) 0 ;
17826 int arg5
= (int) 0 ;
17827 int arg6
= (int) 100 ;
17828 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17829 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17830 wxSize
const &arg8_defvalue
= wxDefaultSize
;
17831 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
17832 long arg9
= (long) wxSL_HORIZONTAL
;
17833 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
17834 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
17835 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
17836 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
17856 bool temp11
= false ;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 PyObject
* obj2
= 0 ;
17860 PyObject
* obj3
= 0 ;
17861 PyObject
* obj4
= 0 ;
17862 PyObject
* obj5
= 0 ;
17863 PyObject
* obj6
= 0 ;
17864 PyObject
* obj7
= 0 ;
17865 PyObject
* obj8
= 0 ;
17866 PyObject
* obj9
= 0 ;
17867 PyObject
* obj10
= 0 ;
17868 char * kwnames
[] = {
17869 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
17873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17874 if (!SWIG_IsOK(res1
)) {
17875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
17877 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17878 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17879 if (!SWIG_IsOK(res2
)) {
17880 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17882 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17885 if (!SWIG_IsOK(ecode3
)) {
17886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
17888 arg3
= static_cast< int >(val3
);
17891 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17892 if (!SWIG_IsOK(ecode4
)) {
17893 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
17895 arg4
= static_cast< int >(val4
);
17898 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17899 if (!SWIG_IsOK(ecode5
)) {
17900 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
17902 arg5
= static_cast< int >(val5
);
17905 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
17906 if (!SWIG_IsOK(ecode6
)) {
17907 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
17909 arg6
= static_cast< int >(val6
);
17914 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17920 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
17924 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
17925 if (!SWIG_IsOK(ecode9
)) {
17926 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
17928 arg9
= static_cast< long >(val9
);
17931 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
17932 if (!SWIG_IsOK(res10
)) {
17933 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
17938 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
17942 arg11
= wxString_in_helper(obj10
);
17943 if (arg11
== NULL
) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17949 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
17950 wxPyEndAllowThreads(__tstate
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17970 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17971 PyObject
*resultobj
= 0;
17972 wxSlider
*arg1
= (wxSlider
*) 0 ;
17976 PyObject
*swig_obj
[1] ;
17978 if (!args
) SWIG_fail
;
17979 swig_obj
[0] = args
;
17980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
17981 if (!SWIG_IsOK(res1
)) {
17982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
17984 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 result
= (int)((wxSlider
const *)arg1
)->GetValue();
17988 wxPyEndAllowThreads(__tstate
);
17989 if (PyErr_Occurred()) SWIG_fail
;
17991 resultobj
= SWIG_From_int(static_cast< int >(result
));
17998 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17999 PyObject
*resultobj
= 0;
18000 wxSlider
*arg1
= (wxSlider
*) 0 ;
18006 PyObject
* obj0
= 0 ;
18007 PyObject
* obj1
= 0 ;
18008 char * kwnames
[] = {
18009 (char *) "self",(char *) "value", NULL
18012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18014 if (!SWIG_IsOK(res1
)) {
18015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18017 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18019 if (!SWIG_IsOK(ecode2
)) {
18020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18022 arg2
= static_cast< int >(val2
);
18024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18025 (arg1
)->SetValue(arg2
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= SWIG_Py_Void();
18036 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
= 0;
18038 wxSlider
*arg1
= (wxSlider
*) 0 ;
18047 PyObject
* obj0
= 0 ;
18048 PyObject
* obj1
= 0 ;
18049 PyObject
* obj2
= 0 ;
18050 char * kwnames
[] = {
18051 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18056 if (!SWIG_IsOK(res1
)) {
18057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18059 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18060 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18061 if (!SWIG_IsOK(ecode2
)) {
18062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18064 arg2
= static_cast< int >(val2
);
18065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18066 if (!SWIG_IsOK(ecode3
)) {
18067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18069 arg3
= static_cast< int >(val3
);
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 (arg1
)->SetRange(arg2
,arg3
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= SWIG_Py_Void();
18083 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18084 PyObject
*resultobj
= 0;
18085 wxSlider
*arg1
= (wxSlider
*) 0 ;
18089 PyObject
*swig_obj
[1] ;
18091 if (!args
) SWIG_fail
;
18092 swig_obj
[0] = args
;
18093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18094 if (!SWIG_IsOK(res1
)) {
18095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18097 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= SWIG_From_int(static_cast< int >(result
));
18111 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18112 PyObject
*resultobj
= 0;
18113 wxSlider
*arg1
= (wxSlider
*) 0 ;
18117 PyObject
*swig_obj
[1] ;
18119 if (!args
) SWIG_fail
;
18120 swig_obj
[0] = args
;
18121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18122 if (!SWIG_IsOK(res1
)) {
18123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18125 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18128 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18129 wxPyEndAllowThreads(__tstate
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 resultobj
= SWIG_From_int(static_cast< int >(result
));
18139 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18140 PyObject
*resultobj
= 0;
18141 wxSlider
*arg1
= (wxSlider
*) 0 ;
18147 PyObject
* obj0
= 0 ;
18148 PyObject
* obj1
= 0 ;
18149 char * kwnames
[] = {
18150 (char *) "self",(char *) "minValue", NULL
18153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18155 if (!SWIG_IsOK(res1
)) {
18156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18158 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18159 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18160 if (!SWIG_IsOK(ecode2
)) {
18161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18163 arg2
= static_cast< int >(val2
);
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 (arg1
)->SetMin(arg2
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 resultobj
= SWIG_Py_Void();
18177 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
= 0;
18179 wxSlider
*arg1
= (wxSlider
*) 0 ;
18185 PyObject
* obj0
= 0 ;
18186 PyObject
* obj1
= 0 ;
18187 char * kwnames
[] = {
18188 (char *) "self",(char *) "maxValue", NULL
18191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18193 if (!SWIG_IsOK(res1
)) {
18194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18196 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18198 if (!SWIG_IsOK(ecode2
)) {
18199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18201 arg2
= static_cast< int >(val2
);
18203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18204 (arg1
)->SetMax(arg2
);
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= SWIG_Py_Void();
18215 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
= 0;
18217 wxSlider
*arg1
= (wxSlider
*) 0 ;
18223 PyObject
* obj0
= 0 ;
18224 PyObject
* obj1
= 0 ;
18225 char * kwnames
[] = {
18226 (char *) "self",(char *) "lineSize", NULL
18229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18231 if (!SWIG_IsOK(res1
)) {
18232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18234 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18236 if (!SWIG_IsOK(ecode2
)) {
18237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18239 arg2
= static_cast< int >(val2
);
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 (arg1
)->SetLineSize(arg2
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= SWIG_Py_Void();
18253 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
= 0;
18255 wxSlider
*arg1
= (wxSlider
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 PyObject
* obj1
= 0 ;
18263 char * kwnames
[] = {
18264 (char *) "self",(char *) "pageSize", NULL
18267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18269 if (!SWIG_IsOK(res1
)) {
18270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18272 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18274 if (!SWIG_IsOK(ecode2
)) {
18275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18277 arg2
= static_cast< int >(val2
);
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 (arg1
)->SetPageSize(arg2
);
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18284 resultobj
= SWIG_Py_Void();
18291 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18292 PyObject
*resultobj
= 0;
18293 wxSlider
*arg1
= (wxSlider
*) 0 ;
18297 PyObject
*swig_obj
[1] ;
18299 if (!args
) SWIG_fail
;
18300 swig_obj
[0] = args
;
18301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18302 if (!SWIG_IsOK(res1
)) {
18303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18305 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18308 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18312 resultobj
= SWIG_From_int(static_cast< int >(result
));
18319 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18320 PyObject
*resultobj
= 0;
18321 wxSlider
*arg1
= (wxSlider
*) 0 ;
18325 PyObject
*swig_obj
[1] ;
18327 if (!args
) SWIG_fail
;
18328 swig_obj
[0] = args
;
18329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18330 if (!SWIG_IsOK(res1
)) {
18331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18333 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= SWIG_From_int(static_cast< int >(result
));
18347 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
= 0;
18349 wxSlider
*arg1
= (wxSlider
*) 0 ;
18355 PyObject
* obj0
= 0 ;
18356 PyObject
* obj1
= 0 ;
18357 char * kwnames
[] = {
18358 (char *) "self",(char *) "lenPixels", NULL
18361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18363 if (!SWIG_IsOK(res1
)) {
18364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18366 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18368 if (!SWIG_IsOK(ecode2
)) {
18369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18371 arg2
= static_cast< int >(val2
);
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 (arg1
)->SetThumbLength(arg2
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 resultobj
= SWIG_Py_Void();
18385 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18386 PyObject
*resultobj
= 0;
18387 wxSlider
*arg1
= (wxSlider
*) 0 ;
18391 PyObject
*swig_obj
[1] ;
18393 if (!args
) SWIG_fail
;
18394 swig_obj
[0] = args
;
18395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18396 if (!SWIG_IsOK(res1
)) {
18397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18399 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18406 resultobj
= SWIG_From_int(static_cast< int >(result
));
18413 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18414 PyObject
*resultobj
= 0;
18415 wxSlider
*arg1
= (wxSlider
*) 0 ;
18417 int arg3
= (int) 1 ;
18424 PyObject
* obj0
= 0 ;
18425 PyObject
* obj1
= 0 ;
18426 PyObject
* obj2
= 0 ;
18427 char * kwnames
[] = {
18428 (char *) "self",(char *) "n",(char *) "pos", NULL
18431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18433 if (!SWIG_IsOK(res1
)) {
18434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18436 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18437 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18438 if (!SWIG_IsOK(ecode2
)) {
18439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18441 arg2
= static_cast< int >(val2
);
18443 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18444 if (!SWIG_IsOK(ecode3
)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18447 arg3
= static_cast< int >(val3
);
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 (arg1
)->SetTickFreq(arg2
,arg3
);
18452 wxPyEndAllowThreads(__tstate
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 resultobj
= SWIG_Py_Void();
18462 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18463 PyObject
*resultobj
= 0;
18464 wxSlider
*arg1
= (wxSlider
*) 0 ;
18468 PyObject
*swig_obj
[1] ;
18470 if (!args
) SWIG_fail
;
18471 swig_obj
[0] = args
;
18472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18473 if (!SWIG_IsOK(res1
)) {
18474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18476 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= SWIG_From_int(static_cast< int >(result
));
18490 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18491 PyObject
*resultobj
= 0;
18492 wxSlider
*arg1
= (wxSlider
*) 0 ;
18495 PyObject
*swig_obj
[1] ;
18497 if (!args
) SWIG_fail
;
18498 swig_obj
[0] = args
;
18499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18500 if (!SWIG_IsOK(res1
)) {
18501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18503 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18506 (arg1
)->ClearTicks();
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= SWIG_Py_Void();
18517 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
= 0;
18519 wxSlider
*arg1
= (wxSlider
*) 0 ;
18525 PyObject
* obj0
= 0 ;
18526 PyObject
* obj1
= 0 ;
18527 char * kwnames
[] = {
18528 (char *) "self",(char *) "tickPos", NULL
18531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18533 if (!SWIG_IsOK(res1
)) {
18534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18536 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18537 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18538 if (!SWIG_IsOK(ecode2
)) {
18539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18541 arg2
= static_cast< int >(val2
);
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 (arg1
)->SetTick(arg2
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= SWIG_Py_Void();
18555 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18556 PyObject
*resultobj
= 0;
18557 wxSlider
*arg1
= (wxSlider
*) 0 ;
18560 PyObject
*swig_obj
[1] ;
18562 if (!args
) SWIG_fail
;
18563 swig_obj
[0] = args
;
18564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18565 if (!SWIG_IsOK(res1
)) {
18566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18568 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 (arg1
)->ClearSel();
18572 wxPyEndAllowThreads(__tstate
);
18573 if (PyErr_Occurred()) SWIG_fail
;
18575 resultobj
= SWIG_Py_Void();
18582 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18583 PyObject
*resultobj
= 0;
18584 wxSlider
*arg1
= (wxSlider
*) 0 ;
18588 PyObject
*swig_obj
[1] ;
18590 if (!args
) SWIG_fail
;
18591 swig_obj
[0] = args
;
18592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18593 if (!SWIG_IsOK(res1
)) {
18594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18596 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 resultobj
= SWIG_From_int(static_cast< int >(result
));
18610 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18611 PyObject
*resultobj
= 0;
18612 wxSlider
*arg1
= (wxSlider
*) 0 ;
18616 PyObject
*swig_obj
[1] ;
18618 if (!args
) SWIG_fail
;
18619 swig_obj
[0] = args
;
18620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18621 if (!SWIG_IsOK(res1
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18624 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 resultobj
= SWIG_From_int(static_cast< int >(result
));
18638 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18639 PyObject
*resultobj
= 0;
18640 wxSlider
*arg1
= (wxSlider
*) 0 ;
18649 PyObject
* obj0
= 0 ;
18650 PyObject
* obj1
= 0 ;
18651 PyObject
* obj2
= 0 ;
18652 char * kwnames
[] = {
18653 (char *) "self",(char *) "min",(char *) "max", NULL
18656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18658 if (!SWIG_IsOK(res1
)) {
18659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18661 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18663 if (!SWIG_IsOK(ecode2
)) {
18664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18666 arg2
= static_cast< int >(val2
);
18667 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18668 if (!SWIG_IsOK(ecode3
)) {
18669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18671 arg3
= static_cast< int >(val3
);
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 (arg1
)->SetSelection(arg2
,arg3
);
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= SWIG_Py_Void();
18685 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
= 0;
18687 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18688 SwigValueWrapper
<wxVisualAttributes
> result
;
18691 PyObject
* obj0
= 0 ;
18692 char * kwnames
[] = {
18693 (char *) "variant", NULL
18696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18698 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18699 if (!SWIG_IsOK(ecode1
)) {
18700 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18702 arg1
= static_cast< wxWindowVariant
>(val1
);
18705 if (!wxPyCheckForApp()) SWIG_fail
;
18706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18707 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18718 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18721 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18722 return SWIG_Py_Void();
18725 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18726 return SWIG_Python_InitShadowInstance(args
);
18729 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18730 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18735 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18736 PyObject
*pyobj
= 0;
18740 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18742 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18749 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
= 0;
18751 wxWindow
*arg1
= (wxWindow
*) 0 ;
18752 int arg2
= (int) -1 ;
18753 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18754 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18755 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18756 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18757 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18758 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18759 long arg6
= (long) 0 ;
18760 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18761 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18762 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18763 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18764 wxToggleButton
*result
= 0 ;
18769 bool temp3
= false ;
18776 bool temp8
= false ;
18777 PyObject
* obj0
= 0 ;
18778 PyObject
* obj1
= 0 ;
18779 PyObject
* obj2
= 0 ;
18780 PyObject
* obj3
= 0 ;
18781 PyObject
* obj4
= 0 ;
18782 PyObject
* obj5
= 0 ;
18783 PyObject
* obj6
= 0 ;
18784 PyObject
* obj7
= 0 ;
18785 char * kwnames
[] = {
18786 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18791 if (!SWIG_IsOK(res1
)) {
18792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18797 if (!SWIG_IsOK(ecode2
)) {
18798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18800 arg2
= static_cast< int >(val2
);
18804 arg3
= wxString_in_helper(obj2
);
18805 if (arg3
== NULL
) SWIG_fail
;
18812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18822 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18823 if (!SWIG_IsOK(ecode6
)) {
18824 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
18826 arg6
= static_cast< long >(val6
);
18829 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
18830 if (!SWIG_IsOK(res7
)) {
18831 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18834 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
18836 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
18840 arg8
= wxString_in_helper(obj7
);
18841 if (arg8
== NULL
) SWIG_fail
;
18846 if (!wxPyCheckForApp()) SWIG_fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
18875 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18876 PyObject
*resultobj
= 0;
18877 wxToggleButton
*result
= 0 ;
18879 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
18881 if (!wxPyCheckForApp()) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (wxToggleButton
*)new wxToggleButton();
18884 wxPyEndAllowThreads(__tstate
);
18885 if (PyErr_Occurred()) SWIG_fail
;
18887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
18894 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
= 0;
18896 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
18897 wxWindow
*arg2
= (wxWindow
*) 0 ;
18898 int arg3
= (int) -1 ;
18899 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18900 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18901 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18902 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18903 wxSize
const &arg6_defvalue
= wxDefaultSize
;
18904 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
18905 long arg7
= (long) 0 ;
18906 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
18907 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
18908 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
18909 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
18917 bool temp4
= false ;
18924 bool temp9
= false ;
18925 PyObject
* obj0
= 0 ;
18926 PyObject
* obj1
= 0 ;
18927 PyObject
* obj2
= 0 ;
18928 PyObject
* obj3
= 0 ;
18929 PyObject
* obj4
= 0 ;
18930 PyObject
* obj5
= 0 ;
18931 PyObject
* obj6
= 0 ;
18932 PyObject
* obj7
= 0 ;
18933 PyObject
* obj8
= 0 ;
18934 char * kwnames
[] = {
18935 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
18939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
18940 if (!SWIG_IsOK(res1
)) {
18941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
18943 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
18944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18945 if (!SWIG_IsOK(res2
)) {
18946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18948 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18950 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18951 if (!SWIG_IsOK(ecode3
)) {
18952 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
18954 arg3
= static_cast< int >(val3
);
18958 arg4
= wxString_in_helper(obj3
);
18959 if (arg4
== NULL
) SWIG_fail
;
18966 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18972 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
18976 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18977 if (!SWIG_IsOK(ecode7
)) {
18978 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
18980 arg7
= static_cast< long >(val7
);
18983 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
18984 if (!SWIG_IsOK(res8
)) {
18985 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
18990 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
18994 arg9
= wxString_in_helper(obj8
);
18995 if (arg9
== NULL
) SWIG_fail
;
19000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19001 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19030 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19031 PyObject
*resultobj
= 0;
19032 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19038 PyObject
* obj0
= 0 ;
19039 PyObject
* obj1
= 0 ;
19040 char * kwnames
[] = {
19041 (char *) "self",(char *) "value", NULL
19044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19046 if (!SWIG_IsOK(res1
)) {
19047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19049 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19050 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19051 if (!SWIG_IsOK(ecode2
)) {
19052 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19054 arg2
= static_cast< bool >(val2
);
19056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19057 (arg1
)->SetValue(arg2
);
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19061 resultobj
= SWIG_Py_Void();
19068 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19069 PyObject
*resultobj
= 0;
19070 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19074 PyObject
*swig_obj
[1] ;
19076 if (!args
) SWIG_fail
;
19077 swig_obj
[0] = args
;
19078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19079 if (!SWIG_IsOK(res1
)) {
19080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19082 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19098 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
= 0;
19100 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19101 SwigValueWrapper
<wxVisualAttributes
> result
;
19104 PyObject
* obj0
= 0 ;
19105 char * kwnames
[] = {
19106 (char *) "variant", NULL
19109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19111 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19112 if (!SWIG_IsOK(ecode1
)) {
19113 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19115 arg1
= static_cast< wxWindowVariant
>(val1
);
19118 if (!wxPyCheckForApp()) SWIG_fail
;
19119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19120 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19121 wxPyEndAllowThreads(__tstate
);
19122 if (PyErr_Occurred()) SWIG_fail
;
19124 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19131 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19134 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19135 return SWIG_Py_Void();
19138 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19139 return SWIG_Python_InitShadowInstance(args
);
19142 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19143 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19148 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19149 PyObject
*pyobj
= 0;
19153 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19155 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19162 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19163 PyObject
*resultobj
= 0;
19164 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19168 PyObject
*swig_obj
[1] ;
19170 if (!args
) SWIG_fail
;
19171 swig_obj
[0] = args
;
19172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19173 if (!SWIG_IsOK(res1
)) {
19174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19176 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19190 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
= 0;
19192 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19194 wxWindow
*result
= 0 ;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 char * kwnames
[] = {
19202 (char *) "self",(char *) "n", NULL
19205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19207 if (!SWIG_IsOK(res1
)) {
19208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19210 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19211 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19212 if (!SWIG_IsOK(ecode2
)) {
19213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19215 arg2
= static_cast< size_t >(val2
);
19217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19218 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19223 resultobj
= wxPyMake_wxObject(result
, 0);
19231 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19232 PyObject
*resultobj
= 0;
19233 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19234 wxWindow
*result
= 0 ;
19237 PyObject
*swig_obj
[1] ;
19239 if (!args
) SWIG_fail
;
19240 swig_obj
[0] = args
;
19241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19242 if (!SWIG_IsOK(res1
)) {
19243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19245 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19253 resultobj
= wxPyMake_wxObject(result
, 0);
19261 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19262 PyObject
*resultobj
= 0;
19263 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19267 PyObject
*swig_obj
[1] ;
19269 if (!args
) SWIG_fail
;
19270 swig_obj
[0] = args
;
19271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19272 if (!SWIG_IsOK(res1
)) {
19273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19275 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 resultobj
= SWIG_From_int(static_cast< int >(result
));
19289 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
= 0;
19291 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19293 wxString
*arg3
= 0 ;
19299 bool temp3
= false ;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 PyObject
* obj2
= 0 ;
19303 char * kwnames
[] = {
19304 (char *) "self",(char *) "n",(char *) "strText", NULL
19307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19309 if (!SWIG_IsOK(res1
)) {
19310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19312 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19313 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19314 if (!SWIG_IsOK(ecode2
)) {
19315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19317 arg2
= static_cast< size_t >(val2
);
19319 arg3
= wxString_in_helper(obj2
);
19320 if (arg3
== NULL
) SWIG_fail
;
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19346 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19347 PyObject
*resultobj
= 0;
19348 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 PyObject
* obj1
= 0 ;
19357 char * kwnames
[] = {
19358 (char *) "self",(char *) "n", NULL
19361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19363 if (!SWIG_IsOK(res1
)) {
19364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19366 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19367 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19368 if (!SWIG_IsOK(ecode2
)) {
19369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19371 arg2
= static_cast< size_t >(val2
);
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19391 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19392 PyObject
*resultobj
= 0;
19393 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19394 wxImageList
*arg2
= (wxImageList
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 PyObject
* obj1
= 0 ;
19401 char * kwnames
[] = {
19402 (char *) "self",(char *) "imageList", NULL
19405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19407 if (!SWIG_IsOK(res1
)) {
19408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19410 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19411 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19412 if (!SWIG_IsOK(res2
)) {
19413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19415 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 (arg1
)->SetImageList(arg2
);
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= SWIG_Py_Void();
19429 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
= 0;
19431 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19432 wxImageList
*arg2
= (wxImageList
*) 0 ;
19436 PyObject
* obj0
= 0 ;
19437 PyObject
* obj1
= 0 ;
19438 char * kwnames
[] = {
19439 (char *) "self",(char *) "imageList", NULL
19442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19444 if (!SWIG_IsOK(res1
)) {
19445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19447 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19448 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19449 if (!SWIG_IsOK(res2
)) {
19450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19454 (arg1
)->AssignImageList(arg2
);
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 resultobj
= SWIG_Py_Void();
19465 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19466 PyObject
*resultobj
= 0;
19467 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19468 wxImageList
*result
= 0 ;
19471 PyObject
*swig_obj
[1] ;
19473 if (!args
) SWIG_fail
;
19474 swig_obj
[0] = args
;
19475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19476 if (!SWIG_IsOK(res1
)) {
19477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19479 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19487 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19495 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
= 0;
19497 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 PyObject
* obj1
= 0 ;
19506 char * kwnames
[] = {
19507 (char *) "self",(char *) "n", NULL
19510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19512 if (!SWIG_IsOK(res1
)) {
19513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19515 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19516 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19517 if (!SWIG_IsOK(ecode2
)) {
19518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19520 arg2
= static_cast< size_t >(val2
);
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 resultobj
= SWIG_From_int(static_cast< int >(result
));
19534 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
= 0;
19536 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19546 PyObject
* obj0
= 0 ;
19547 PyObject
* obj1
= 0 ;
19548 PyObject
* obj2
= 0 ;
19549 char * kwnames
[] = {
19550 (char *) "self",(char *) "n",(char *) "imageId", NULL
19553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19554 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19555 if (!SWIG_IsOK(res1
)) {
19556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19558 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19559 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19560 if (!SWIG_IsOK(ecode2
)) {
19561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19563 arg2
= static_cast< size_t >(val2
);
19564 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19565 if (!SWIG_IsOK(ecode3
)) {
19566 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19568 arg3
= static_cast< int >(val3
);
19570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19571 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19584 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
= 0;
19586 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19591 PyObject
* obj0
= 0 ;
19592 PyObject
* obj1
= 0 ;
19593 char * kwnames
[] = {
19594 (char *) "self",(char *) "size", NULL
19597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19599 if (!SWIG_IsOK(res1
)) {
19600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19602 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19605 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19609 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 resultobj
= SWIG_Py_Void();
19620 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
= 0;
19622 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19628 PyObject
* obj0
= 0 ;
19629 PyObject
* obj1
= 0 ;
19630 char * kwnames
[] = {
19631 (char *) "self",(char *) "sizePage", NULL
19634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19636 if (!SWIG_IsOK(res1
)) {
19637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19639 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19642 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19647 wxPyEndAllowThreads(__tstate
);
19648 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19657 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19658 PyObject
*resultobj
= 0;
19659 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19660 unsigned int result
;
19663 PyObject
*swig_obj
[1] ;
19665 if (!args
) SWIG_fail
;
19666 swig_obj
[0] = args
;
19667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19668 if (!SWIG_IsOK(res1
)) {
19669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19671 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19675 wxPyEndAllowThreads(__tstate
);
19676 if (PyErr_Occurred()) SWIG_fail
;
19678 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19685 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19686 PyObject
*resultobj
= 0;
19687 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19688 unsigned int arg2
;
19691 unsigned int val2
;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char * kwnames
[] = {
19696 (char *) "self",(char *) "internalBorder", NULL
19699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19701 if (!SWIG_IsOK(res1
)) {
19702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19704 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19705 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19706 if (!SWIG_IsOK(ecode2
)) {
19707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19709 arg2
= static_cast< unsigned int >(val2
);
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 (arg1
)->SetInternalBorder(arg2
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= SWIG_Py_Void();
19723 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19724 PyObject
*resultobj
= 0;
19725 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19729 PyObject
*swig_obj
[1] ;
19731 if (!args
) SWIG_fail
;
19732 swig_obj
[0] = args
;
19733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19734 if (!SWIG_IsOK(res1
)) {
19735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19737 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19753 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
= 0;
19755 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19761 PyObject
* obj0
= 0 ;
19762 PyObject
* obj1
= 0 ;
19763 char * kwnames
[] = {
19764 (char *) "self",(char *) "margin", NULL
19767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19769 if (!SWIG_IsOK(res1
)) {
19770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19772 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19773 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19774 if (!SWIG_IsOK(ecode2
)) {
19775 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19777 arg2
= static_cast< int >(val2
);
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 (arg1
)->SetControlMargin(arg2
);
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19784 resultobj
= SWIG_Py_Void();
19791 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19792 PyObject
*resultobj
= 0;
19793 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19797 PyObject
*swig_obj
[1] ;
19799 if (!args
) SWIG_fail
;
19800 swig_obj
[0] = args
;
19801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19802 if (!SWIG_IsOK(res1
)) {
19803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19805 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 resultobj
= SWIG_From_int(static_cast< int >(result
));
19819 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
= 0;
19821 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19827 PyObject
* obj0
= 0 ;
19828 PyObject
* obj1
= 0 ;
19829 char * kwnames
[] = {
19830 (char *) "self",(char *) "fit", NULL
19833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19835 if (!SWIG_IsOK(res1
)) {
19836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19838 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19839 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19840 if (!SWIG_IsOK(ecode2
)) {
19841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
19843 arg2
= static_cast< bool >(val2
);
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 (arg1
)->SetFitToCurrentPage(arg2
);
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19850 resultobj
= SWIG_Py_Void();
19857 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19858 PyObject
*resultobj
= 0;
19859 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19863 PyObject
*swig_obj
[1] ;
19865 if (!args
) SWIG_fail
;
19866 swig_obj
[0] = args
;
19867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19868 if (!SWIG_IsOK(res1
)) {
19869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19871 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19887 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19888 PyObject
*resultobj
= 0;
19889 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19890 wxSizer
*result
= 0 ;
19893 PyObject
*swig_obj
[1] ;
19895 if (!args
) SWIG_fail
;
19896 swig_obj
[0] = args
;
19897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19898 if (!SWIG_IsOK(res1
)) {
19899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19901 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19909 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19917 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
= 0;
19919 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19926 PyObject
* obj0
= 0 ;
19927 PyObject
* obj1
= 0 ;
19928 char * kwnames
[] = {
19929 (char *) "self",(char *) "n", NULL
19932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19934 if (!SWIG_IsOK(res1
)) {
19935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19937 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19938 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19939 if (!SWIG_IsOK(ecode2
)) {
19940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
19942 arg2
= static_cast< size_t >(val2
);
19944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19945 result
= (bool)(arg1
)->DeletePage(arg2
);
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19958 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
= 0;
19960 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19967 PyObject
* obj0
= 0 ;
19968 PyObject
* obj1
= 0 ;
19969 char * kwnames
[] = {
19970 (char *) "self",(char *) "n", NULL
19973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19975 if (!SWIG_IsOK(res1
)) {
19976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19978 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19979 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19980 if (!SWIG_IsOK(ecode2
)) {
19981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
19983 arg2
= static_cast< size_t >(val2
);
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= (bool)(arg1
)->RemovePage(arg2
);
19987 wxPyEndAllowThreads(__tstate
);
19988 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19999 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20000 PyObject
*resultobj
= 0;
20001 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20005 PyObject
*swig_obj
[1] ;
20007 if (!args
) SWIG_fail
;
20008 swig_obj
[0] = args
;
20009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20010 if (!SWIG_IsOK(res1
)) {
20011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20013 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= (bool)(arg1
)->DeleteAllPages();
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20029 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
= 0;
20031 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20032 wxWindow
*arg2
= (wxWindow
*) 0 ;
20033 wxString
*arg3
= 0 ;
20034 bool arg4
= (bool) false ;
20035 int arg5
= (int) -1 ;
20041 bool temp3
= false ;
20046 PyObject
* obj0
= 0 ;
20047 PyObject
* obj1
= 0 ;
20048 PyObject
* obj2
= 0 ;
20049 PyObject
* obj3
= 0 ;
20050 PyObject
* obj4
= 0 ;
20051 char * kwnames
[] = {
20052 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20057 if (!SWIG_IsOK(res1
)) {
20058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20060 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20062 if (!SWIG_IsOK(res2
)) {
20063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20065 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20067 arg3
= wxString_in_helper(obj2
);
20068 if (arg3
== NULL
) SWIG_fail
;
20072 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20073 if (!SWIG_IsOK(ecode4
)) {
20074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20076 arg4
= static_cast< bool >(val4
);
20079 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20080 if (!SWIG_IsOK(ecode5
)) {
20081 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20083 arg5
= static_cast< int >(val5
);
20086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20087 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20088 wxPyEndAllowThreads(__tstate
);
20089 if (PyErr_Occurred()) SWIG_fail
;
20092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20108 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
= 0;
20110 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20112 wxWindow
*arg3
= (wxWindow
*) 0 ;
20113 wxString
*arg4
= 0 ;
20114 bool arg5
= (bool) false ;
20115 int arg6
= (int) -1 ;
20123 bool temp4
= false ;
20128 PyObject
* obj0
= 0 ;
20129 PyObject
* obj1
= 0 ;
20130 PyObject
* obj2
= 0 ;
20131 PyObject
* obj3
= 0 ;
20132 PyObject
* obj4
= 0 ;
20133 PyObject
* obj5
= 0 ;
20134 char * kwnames
[] = {
20135 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20140 if (!SWIG_IsOK(res1
)) {
20141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20143 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20144 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20145 if (!SWIG_IsOK(ecode2
)) {
20146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20148 arg2
= static_cast< size_t >(val2
);
20149 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20150 if (!SWIG_IsOK(res3
)) {
20151 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20153 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20155 arg4
= wxString_in_helper(obj3
);
20156 if (arg4
== NULL
) SWIG_fail
;
20160 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20161 if (!SWIG_IsOK(ecode5
)) {
20162 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20164 arg5
= static_cast< bool >(val5
);
20167 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20168 if (!SWIG_IsOK(ecode6
)) {
20169 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20171 arg6
= static_cast< int >(val6
);
20174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20175 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20196 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
= 0;
20198 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20205 PyObject
* obj0
= 0 ;
20206 PyObject
* obj1
= 0 ;
20207 char * kwnames
[] = {
20208 (char *) "self",(char *) "n", NULL
20211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20213 if (!SWIG_IsOK(res1
)) {
20214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20216 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20217 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20218 if (!SWIG_IsOK(ecode2
)) {
20219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20221 arg2
= static_cast< size_t >(val2
);
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 result
= (int)(arg1
)->SetSelection(arg2
);
20225 wxPyEndAllowThreads(__tstate
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20228 resultobj
= SWIG_From_int(static_cast< int >(result
));
20235 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
= 0;
20237 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20244 PyObject
* obj0
= 0 ;
20245 PyObject
* obj1
= 0 ;
20246 char * kwnames
[] = {
20247 (char *) "self",(char *) "n", NULL
20250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20252 if (!SWIG_IsOK(res1
)) {
20253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20255 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20256 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20257 if (!SWIG_IsOK(ecode2
)) {
20258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20260 arg2
= static_cast< size_t >(val2
);
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= (int)(arg1
)->ChangeSelection(arg2
);
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 resultobj
= SWIG_From_int(static_cast< int >(result
));
20274 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
= 0;
20276 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20277 bool arg2
= (bool) true ;
20282 PyObject
* obj0
= 0 ;
20283 PyObject
* obj1
= 0 ;
20284 char * kwnames
[] = {
20285 (char *) "self",(char *) "forward", NULL
20288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20290 if (!SWIG_IsOK(res1
)) {
20291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20293 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20295 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20296 if (!SWIG_IsOK(ecode2
)) {
20297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20299 arg2
= static_cast< bool >(val2
);
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 (arg1
)->AdvanceSelection(arg2
);
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= SWIG_Py_Void();
20314 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
= 0;
20316 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20317 wxPoint
*arg2
= 0 ;
20318 long *arg3
= (long *) 0 ;
20324 int res3
= SWIG_TMPOBJ
;
20325 PyObject
* obj0
= 0 ;
20326 PyObject
* obj1
= 0 ;
20327 char * kwnames
[] = {
20328 (char *) "self",(char *) "pt", NULL
20332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20334 if (!SWIG_IsOK(res1
)) {
20335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20337 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20340 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_From_int(static_cast< int >(result
));
20349 if (SWIG_IsTmpObj(res3
)) {
20350 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20352 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20361 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
= 0;
20363 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20364 SwigValueWrapper
<wxVisualAttributes
> result
;
20367 PyObject
* obj0
= 0 ;
20368 char * kwnames
[] = {
20369 (char *) "variant", NULL
20372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20374 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20375 if (!SWIG_IsOK(ecode1
)) {
20376 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20378 arg1
= static_cast< wxWindowVariant
>(val1
);
20381 if (!wxPyCheckForApp()) SWIG_fail
;
20382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20383 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20394 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20397 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20398 return SWIG_Py_Void();
20401 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20402 PyObject
*resultobj
= 0;
20403 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20404 int arg2
= (int) 0 ;
20405 int arg3
= (int) -1 ;
20406 int arg4
= (int) -1 ;
20407 wxBookCtrlBaseEvent
*result
= 0 ;
20416 PyObject
* obj0
= 0 ;
20417 PyObject
* obj1
= 0 ;
20418 PyObject
* obj2
= 0 ;
20419 PyObject
* obj3
= 0 ;
20420 char * kwnames
[] = {
20421 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20426 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20427 if (!SWIG_IsOK(ecode1
)) {
20428 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20430 arg1
= static_cast< wxEventType
>(val1
);
20433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20434 if (!SWIG_IsOK(ecode2
)) {
20435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20437 arg2
= static_cast< int >(val2
);
20440 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20441 if (!SWIG_IsOK(ecode3
)) {
20442 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20444 arg3
= static_cast< int >(val3
);
20447 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20448 if (!SWIG_IsOK(ecode4
)) {
20449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20451 arg4
= static_cast< int >(val4
);
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20456 wxPyEndAllowThreads(__tstate
);
20457 if (PyErr_Occurred()) SWIG_fail
;
20459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20466 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20467 PyObject
*resultobj
= 0;
20468 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20472 PyObject
*swig_obj
[1] ;
20474 if (!args
) SWIG_fail
;
20475 swig_obj
[0] = args
;
20476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20477 if (!SWIG_IsOK(res1
)) {
20478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20480 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= SWIG_From_int(static_cast< int >(result
));
20494 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
= 0;
20496 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20502 PyObject
* obj0
= 0 ;
20503 PyObject
* obj1
= 0 ;
20504 char * kwnames
[] = {
20505 (char *) "self",(char *) "nSel", NULL
20508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20510 if (!SWIG_IsOK(res1
)) {
20511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20513 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20515 if (!SWIG_IsOK(ecode2
)) {
20516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20518 arg2
= static_cast< int >(val2
);
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 (arg1
)->SetSelection(arg2
);
20522 wxPyEndAllowThreads(__tstate
);
20523 if (PyErr_Occurred()) SWIG_fail
;
20525 resultobj
= SWIG_Py_Void();
20532 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20533 PyObject
*resultobj
= 0;
20534 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20538 PyObject
*swig_obj
[1] ;
20540 if (!args
) SWIG_fail
;
20541 swig_obj
[0] = args
;
20542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20543 if (!SWIG_IsOK(res1
)) {
20544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20546 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20550 wxPyEndAllowThreads(__tstate
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20553 resultobj
= SWIG_From_int(static_cast< int >(result
));
20560 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
= 0;
20562 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20568 PyObject
* obj0
= 0 ;
20569 PyObject
* obj1
= 0 ;
20570 char * kwnames
[] = {
20571 (char *) "self",(char *) "nOldSel", NULL
20574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20576 if (!SWIG_IsOK(res1
)) {
20577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20579 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20580 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20581 if (!SWIG_IsOK(ecode2
)) {
20582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20584 arg2
= static_cast< int >(val2
);
20586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20587 (arg1
)->SetOldSelection(arg2
);
20588 wxPyEndAllowThreads(__tstate
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20591 resultobj
= SWIG_Py_Void();
20598 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20600 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20601 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20602 return SWIG_Py_Void();
20605 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20606 return SWIG_Python_InitShadowInstance(args
);
20609 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
= 0;
20611 wxWindow
*arg1
= (wxWindow
*) 0 ;
20612 int arg2
= (int) -1 ;
20613 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20614 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20615 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20616 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20617 long arg5
= (long) 0 ;
20618 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20619 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20620 wxNotebook
*result
= 0 ;
20629 bool temp6
= false ;
20630 PyObject
* obj0
= 0 ;
20631 PyObject
* obj1
= 0 ;
20632 PyObject
* obj2
= 0 ;
20633 PyObject
* obj3
= 0 ;
20634 PyObject
* obj4
= 0 ;
20635 PyObject
* obj5
= 0 ;
20636 char * kwnames
[] = {
20637 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20642 if (!SWIG_IsOK(res1
)) {
20643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20645 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20648 if (!SWIG_IsOK(ecode2
)) {
20649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20651 arg2
= static_cast< int >(val2
);
20656 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20662 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20666 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20667 if (!SWIG_IsOK(ecode5
)) {
20668 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20670 arg5
= static_cast< long >(val5
);
20674 arg6
= wxString_in_helper(obj5
);
20675 if (arg6
== NULL
) SWIG_fail
;
20680 if (!wxPyCheckForApp()) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20701 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20702 PyObject
*resultobj
= 0;
20703 wxNotebook
*result
= 0 ;
20705 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20707 if (!wxPyCheckForApp()) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 result
= (wxNotebook
*)new wxNotebook();
20710 wxPyEndAllowThreads(__tstate
);
20711 if (PyErr_Occurred()) SWIG_fail
;
20713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20720 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20721 PyObject
*resultobj
= 0;
20722 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20723 wxWindow
*arg2
= (wxWindow
*) 0 ;
20724 int arg3
= (int) -1 ;
20725 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20726 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20727 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20728 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20729 long arg6
= (long) 0 ;
20730 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20731 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20743 bool temp7
= false ;
20744 PyObject
* obj0
= 0 ;
20745 PyObject
* obj1
= 0 ;
20746 PyObject
* obj2
= 0 ;
20747 PyObject
* obj3
= 0 ;
20748 PyObject
* obj4
= 0 ;
20749 PyObject
* obj5
= 0 ;
20750 PyObject
* obj6
= 0 ;
20751 char * kwnames
[] = {
20752 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20757 if (!SWIG_IsOK(res1
)) {
20758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20760 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20762 if (!SWIG_IsOK(res2
)) {
20763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20765 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20767 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20768 if (!SWIG_IsOK(ecode3
)) {
20769 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20771 arg3
= static_cast< int >(val3
);
20776 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20782 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20786 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20787 if (!SWIG_IsOK(ecode6
)) {
20788 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20790 arg6
= static_cast< long >(val6
);
20794 arg7
= wxString_in_helper(obj6
);
20795 if (arg7
== NULL
) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20822 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20823 PyObject
*resultobj
= 0;
20824 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20828 PyObject
*swig_obj
[1] ;
20830 if (!args
) SWIG_fail
;
20831 swig_obj
[0] = args
;
20832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20833 if (!SWIG_IsOK(res1
)) {
20834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20836 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
20840 wxPyEndAllowThreads(__tstate
);
20841 if (PyErr_Occurred()) SWIG_fail
;
20843 resultobj
= SWIG_From_int(static_cast< int >(result
));
20850 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20851 PyObject
*resultobj
= 0;
20852 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20857 PyObject
* obj0
= 0 ;
20858 PyObject
* obj1
= 0 ;
20859 char * kwnames
[] = {
20860 (char *) "self",(char *) "padding", NULL
20863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20865 if (!SWIG_IsOK(res1
)) {
20866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
20868 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20871 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20875 (arg1
)->SetPadding((wxSize
const &)*arg2
);
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= SWIG_Py_Void();
20886 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
= 0;
20888 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20893 PyObject
* obj0
= 0 ;
20894 PyObject
* obj1
= 0 ;
20895 char * kwnames
[] = {
20896 (char *) "self",(char *) "sz", NULL
20899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20901 if (!SWIG_IsOK(res1
)) {
20902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
20904 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20907 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20911 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
20912 wxPyEndAllowThreads(__tstate
);
20913 if (PyErr_Occurred()) SWIG_fail
;
20915 resultobj
= SWIG_Py_Void();
20922 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20923 PyObject
*resultobj
= 0;
20924 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20928 PyObject
*swig_obj
[1] ;
20930 if (!args
) SWIG_fail
;
20931 swig_obj
[0] = args
;
20932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20933 if (!SWIG_IsOK(res1
)) {
20934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
20936 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20939 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
20950 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
= 0;
20952 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20953 SwigValueWrapper
<wxVisualAttributes
> result
;
20956 PyObject
* obj0
= 0 ;
20957 char * kwnames
[] = {
20958 (char *) "variant", NULL
20961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20963 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20964 if (!SWIG_IsOK(ecode1
)) {
20965 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20967 arg1
= static_cast< wxWindowVariant
>(val1
);
20970 if (!wxPyCheckForApp()) SWIG_fail
;
20971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20972 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20976 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20983 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
= 0;
20985 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20992 PyObject
* obj0
= 0 ;
20993 PyObject
* obj1
= 0 ;
20994 char * kwnames
[] = {
20995 (char *) "self",(char *) "nPage", NULL
20998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21000 if (!SWIG_IsOK(res1
)) {
21001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21003 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21005 if (!SWIG_IsOK(ecode2
)) {
21006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21008 arg2
= static_cast< int >(val2
);
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21024 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21025 PyObject
*resultobj
= 0;
21026 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21028 int arg3
= (int) -1 ;
21035 PyObject
* obj0
= 0 ;
21036 PyObject
* obj1
= 0 ;
21037 PyObject
* obj2
= 0 ;
21038 char * kwnames
[] = {
21039 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21044 if (!SWIG_IsOK(res1
)) {
21045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21047 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21049 if (!SWIG_IsOK(ecode2
)) {
21050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21052 arg2
= static_cast< int >(val2
);
21054 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21055 if (!SWIG_IsOK(ecode3
)) {
21056 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21058 arg3
= static_cast< int >(val3
);
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= SWIG_Py_Void();
21073 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21076 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21077 return SWIG_Py_Void();
21080 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21081 return SWIG_Python_InitShadowInstance(args
);
21084 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
= 0;
21086 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21087 int arg2
= (int) 0 ;
21088 int arg3
= (int) -1 ;
21089 int arg4
= (int) -1 ;
21090 wxNotebookEvent
*result
= 0 ;
21099 PyObject
* obj0
= 0 ;
21100 PyObject
* obj1
= 0 ;
21101 PyObject
* obj2
= 0 ;
21102 PyObject
* obj3
= 0 ;
21103 char * kwnames
[] = {
21104 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21109 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21110 if (!SWIG_IsOK(ecode1
)) {
21111 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21113 arg1
= static_cast< wxEventType
>(val1
);
21116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21117 if (!SWIG_IsOK(ecode2
)) {
21118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21120 arg2
= static_cast< int >(val2
);
21123 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21124 if (!SWIG_IsOK(ecode3
)) {
21125 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21127 arg3
= static_cast< int >(val3
);
21130 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21131 if (!SWIG_IsOK(ecode4
)) {
21132 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21134 arg4
= static_cast< int >(val4
);
21137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21138 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21149 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21151 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21152 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21153 return SWIG_Py_Void();
21156 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21157 return SWIG_Python_InitShadowInstance(args
);
21160 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
= 0;
21162 wxWindow
*arg1
= (wxWindow
*) 0 ;
21163 int arg2
= (int) -1 ;
21164 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21165 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21166 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21167 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21168 long arg5
= (long) 0 ;
21169 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21170 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21171 wxListbook
*result
= 0 ;
21180 bool temp6
= false ;
21181 PyObject
* obj0
= 0 ;
21182 PyObject
* obj1
= 0 ;
21183 PyObject
* obj2
= 0 ;
21184 PyObject
* obj3
= 0 ;
21185 PyObject
* obj4
= 0 ;
21186 PyObject
* obj5
= 0 ;
21187 char * kwnames
[] = {
21188 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21193 if (!SWIG_IsOK(res1
)) {
21194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21196 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21199 if (!SWIG_IsOK(ecode2
)) {
21200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21202 arg2
= static_cast< int >(val2
);
21207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21213 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21217 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21218 if (!SWIG_IsOK(ecode5
)) {
21219 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21221 arg5
= static_cast< long >(val5
);
21225 arg6
= wxString_in_helper(obj5
);
21226 if (arg6
== NULL
) SWIG_fail
;
21231 if (!wxPyCheckForApp()) SWIG_fail
;
21232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21233 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21252 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21253 PyObject
*resultobj
= 0;
21254 wxListbook
*result
= 0 ;
21256 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21258 if (!wxPyCheckForApp()) SWIG_fail
;
21259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21260 result
= (wxListbook
*)new wxListbook();
21261 wxPyEndAllowThreads(__tstate
);
21262 if (PyErr_Occurred()) SWIG_fail
;
21264 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21271 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21272 PyObject
*resultobj
= 0;
21273 wxListbook
*arg1
= (wxListbook
*) 0 ;
21274 wxWindow
*arg2
= (wxWindow
*) 0 ;
21275 int arg3
= (int) -1 ;
21276 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21277 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21278 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21279 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21280 long arg6
= (long) 0 ;
21281 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21282 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21294 bool temp7
= false ;
21295 PyObject
* obj0
= 0 ;
21296 PyObject
* obj1
= 0 ;
21297 PyObject
* obj2
= 0 ;
21298 PyObject
* obj3
= 0 ;
21299 PyObject
* obj4
= 0 ;
21300 PyObject
* obj5
= 0 ;
21301 PyObject
* obj6
= 0 ;
21302 char * kwnames
[] = {
21303 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21308 if (!SWIG_IsOK(res1
)) {
21309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21311 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21312 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21313 if (!SWIG_IsOK(res2
)) {
21314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21316 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21319 if (!SWIG_IsOK(ecode3
)) {
21320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21322 arg3
= static_cast< int >(val3
);
21327 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21333 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21337 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21338 if (!SWIG_IsOK(ecode6
)) {
21339 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21341 arg6
= static_cast< long >(val6
);
21345 arg7
= wxString_in_helper(obj6
);
21346 if (arg7
== NULL
) SWIG_fail
;
21351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21352 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21373 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21374 PyObject
*resultobj
= 0;
21375 wxListbook
*arg1
= (wxListbook
*) 0 ;
21376 wxListView
*result
= 0 ;
21379 PyObject
*swig_obj
[1] ;
21381 if (!args
) SWIG_fail
;
21382 swig_obj
[0] = args
;
21383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21384 if (!SWIG_IsOK(res1
)) {
21385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21387 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= (wxListView
*)(arg1
)->GetListView();
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21401 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21403 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21404 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21405 return SWIG_Py_Void();
21408 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21409 return SWIG_Python_InitShadowInstance(args
);
21412 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21413 PyObject
*resultobj
= 0;
21414 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21415 int arg2
= (int) 0 ;
21416 int arg3
= (int) -1 ;
21417 int arg4
= (int) -1 ;
21418 wxListbookEvent
*result
= 0 ;
21427 PyObject
* obj0
= 0 ;
21428 PyObject
* obj1
= 0 ;
21429 PyObject
* obj2
= 0 ;
21430 PyObject
* obj3
= 0 ;
21431 char * kwnames
[] = {
21432 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21437 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21438 if (!SWIG_IsOK(ecode1
)) {
21439 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21441 arg1
= static_cast< wxEventType
>(val1
);
21444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21445 if (!SWIG_IsOK(ecode2
)) {
21446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21448 arg2
= static_cast< int >(val2
);
21451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21452 if (!SWIG_IsOK(ecode3
)) {
21453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21455 arg3
= static_cast< int >(val3
);
21458 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21459 if (!SWIG_IsOK(ecode4
)) {
21460 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21462 arg4
= static_cast< int >(val4
);
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21470 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21477 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21480 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21481 return SWIG_Py_Void();
21484 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21485 return SWIG_Python_InitShadowInstance(args
);
21488 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
= 0;
21490 wxWindow
*arg1
= (wxWindow
*) 0 ;
21492 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21493 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21494 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21495 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21496 long arg5
= (long) 0 ;
21497 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21498 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21499 wxChoicebook
*result
= 0 ;
21508 bool temp6
= false ;
21509 PyObject
* obj0
= 0 ;
21510 PyObject
* obj1
= 0 ;
21511 PyObject
* obj2
= 0 ;
21512 PyObject
* obj3
= 0 ;
21513 PyObject
* obj4
= 0 ;
21514 PyObject
* obj5
= 0 ;
21515 char * kwnames
[] = {
21516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21521 if (!SWIG_IsOK(res1
)) {
21522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21524 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21525 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21526 if (!SWIG_IsOK(ecode2
)) {
21527 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21529 arg2
= static_cast< int >(val2
);
21533 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21539 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21543 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21544 if (!SWIG_IsOK(ecode5
)) {
21545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21547 arg5
= static_cast< long >(val5
);
21551 arg6
= wxString_in_helper(obj5
);
21552 if (arg6
== NULL
) SWIG_fail
;
21557 if (!wxPyCheckForApp()) SWIG_fail
;
21558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21559 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21578 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21579 PyObject
*resultobj
= 0;
21580 wxChoicebook
*result
= 0 ;
21582 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21584 if (!wxPyCheckForApp()) SWIG_fail
;
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 result
= (wxChoicebook
*)new wxChoicebook();
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21597 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
= 0;
21599 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21600 wxWindow
*arg2
= (wxWindow
*) 0 ;
21602 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21603 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21604 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21605 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21606 long arg6
= (long) 0 ;
21607 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21608 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21620 bool temp7
= false ;
21621 PyObject
* obj0
= 0 ;
21622 PyObject
* obj1
= 0 ;
21623 PyObject
* obj2
= 0 ;
21624 PyObject
* obj3
= 0 ;
21625 PyObject
* obj4
= 0 ;
21626 PyObject
* obj5
= 0 ;
21627 PyObject
* obj6
= 0 ;
21628 char * kwnames
[] = {
21629 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21634 if (!SWIG_IsOK(res1
)) {
21635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21637 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21638 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21639 if (!SWIG_IsOK(res2
)) {
21640 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21642 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21644 if (!SWIG_IsOK(ecode3
)) {
21645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21647 arg3
= static_cast< int >(val3
);
21651 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21657 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21661 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21662 if (!SWIG_IsOK(ecode6
)) {
21663 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21665 arg6
= static_cast< long >(val6
);
21669 arg7
= wxString_in_helper(obj6
);
21670 if (arg7
== NULL
) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21697 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21698 PyObject
*resultobj
= 0;
21699 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21700 wxChoice
*result
= 0 ;
21703 PyObject
*swig_obj
[1] ;
21705 if (!args
) SWIG_fail
;
21706 swig_obj
[0] = args
;
21707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21708 if (!SWIG_IsOK(res1
)) {
21709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21711 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21715 wxPyEndAllowThreads(__tstate
);
21716 if (PyErr_Occurred()) SWIG_fail
;
21718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21725 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21728 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21729 return SWIG_Py_Void();
21732 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21733 return SWIG_Python_InitShadowInstance(args
);
21736 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21737 PyObject
*resultobj
= 0;
21738 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21739 int arg2
= (int) 0 ;
21740 int arg3
= (int) -1 ;
21741 int arg4
= (int) -1 ;
21742 wxChoicebookEvent
*result
= 0 ;
21751 PyObject
* obj0
= 0 ;
21752 PyObject
* obj1
= 0 ;
21753 PyObject
* obj2
= 0 ;
21754 PyObject
* obj3
= 0 ;
21755 char * kwnames
[] = {
21756 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21761 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21762 if (!SWIG_IsOK(ecode1
)) {
21763 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21765 arg1
= static_cast< wxEventType
>(val1
);
21768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21769 if (!SWIG_IsOK(ecode2
)) {
21770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21772 arg2
= static_cast< int >(val2
);
21775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21776 if (!SWIG_IsOK(ecode3
)) {
21777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21779 arg3
= static_cast< int >(val3
);
21782 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21783 if (!SWIG_IsOK(ecode4
)) {
21784 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21786 arg4
= static_cast< int >(val4
);
21789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21790 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21801 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21804 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
21805 return SWIG_Py_Void();
21808 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21809 return SWIG_Python_InitShadowInstance(args
);
21812 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21813 PyObject
*resultobj
= 0;
21814 wxWindow
*arg1
= (wxWindow
*) 0 ;
21816 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21817 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21818 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21819 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21820 long arg5
= (long) wxBK_DEFAULT
;
21821 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21822 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21823 wxTreebook
*result
= 0 ;
21832 bool temp6
= false ;
21833 PyObject
* obj0
= 0 ;
21834 PyObject
* obj1
= 0 ;
21835 PyObject
* obj2
= 0 ;
21836 PyObject
* obj3
= 0 ;
21837 PyObject
* obj4
= 0 ;
21838 PyObject
* obj5
= 0 ;
21839 char * kwnames
[] = {
21840 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21845 if (!SWIG_IsOK(res1
)) {
21846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21848 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21850 if (!SWIG_IsOK(ecode2
)) {
21851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
21853 arg2
= static_cast< int >(val2
);
21857 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21863 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21867 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21868 if (!SWIG_IsOK(ecode5
)) {
21869 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
21871 arg5
= static_cast< long >(val5
);
21875 arg6
= wxString_in_helper(obj5
);
21876 if (arg6
== NULL
) SWIG_fail
;
21881 if (!wxPyCheckForApp()) SWIG_fail
;
21882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21883 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21884 wxPyEndAllowThreads(__tstate
);
21885 if (PyErr_Occurred()) SWIG_fail
;
21887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
21902 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21903 PyObject
*resultobj
= 0;
21904 wxTreebook
*result
= 0 ;
21906 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
21908 if (!wxPyCheckForApp()) SWIG_fail
;
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 result
= (wxTreebook
*)new wxTreebook();
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
21921 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
= 0;
21923 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
21924 wxWindow
*arg2
= (wxWindow
*) 0 ;
21926 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21927 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21928 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21929 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21930 long arg6
= (long) wxBK_DEFAULT
;
21931 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21932 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21944 bool temp7
= false ;
21945 PyObject
* obj0
= 0 ;
21946 PyObject
* obj1
= 0 ;
21947 PyObject
* obj2
= 0 ;
21948 PyObject
* obj3
= 0 ;
21949 PyObject
* obj4
= 0 ;
21950 PyObject
* obj5
= 0 ;
21951 PyObject
* obj6
= 0 ;
21952 char * kwnames
[] = {
21953 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21957 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
21958 if (!SWIG_IsOK(res1
)) {
21959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
21961 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
21962 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21963 if (!SWIG_IsOK(res2
)) {
21964 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21966 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21967 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21968 if (!SWIG_IsOK(ecode3
)) {
21969 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
21971 arg3
= static_cast< int >(val3
);
21975 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21981 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21985 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21986 if (!SWIG_IsOK(ecode6
)) {
21987 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
21989 arg6
= static_cast< long >(val6
);
21993 arg7
= wxString_in_helper(obj6
);
21994 if (arg7
== NULL
) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22021 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
= 0;
22023 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22025 wxWindow
*arg3
= (wxWindow
*) 0 ;
22026 wxString
*arg4
= 0 ;
22027 bool arg5
= (bool) false ;
22028 int arg6
= (int) wxNOT_FOUND
;
22036 bool temp4
= false ;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 PyObject
* obj2
= 0 ;
22044 PyObject
* obj3
= 0 ;
22045 PyObject
* obj4
= 0 ;
22046 PyObject
* obj5
= 0 ;
22047 char * kwnames
[] = {
22048 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22053 if (!SWIG_IsOK(res1
)) {
22054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22056 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22057 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22058 if (!SWIG_IsOK(ecode2
)) {
22059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22061 arg2
= static_cast< size_t >(val2
);
22062 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22063 if (!SWIG_IsOK(res3
)) {
22064 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22066 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22068 arg4
= wxString_in_helper(obj3
);
22069 if (arg4
== NULL
) SWIG_fail
;
22073 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22074 if (!SWIG_IsOK(ecode5
)) {
22075 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22077 arg5
= static_cast< bool >(val5
);
22080 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22081 if (!SWIG_IsOK(ecode6
)) {
22082 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22084 arg6
= static_cast< int >(val6
);
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22109 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
= 0;
22111 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22112 wxWindow
*arg2
= (wxWindow
*) 0 ;
22113 wxString
*arg3
= 0 ;
22114 bool arg4
= (bool) false ;
22115 int arg5
= (int) wxNOT_FOUND
;
22121 bool temp3
= false ;
22126 PyObject
* obj0
= 0 ;
22127 PyObject
* obj1
= 0 ;
22128 PyObject
* obj2
= 0 ;
22129 PyObject
* obj3
= 0 ;
22130 PyObject
* obj4
= 0 ;
22131 char * kwnames
[] = {
22132 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22137 if (!SWIG_IsOK(res1
)) {
22138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22140 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22142 if (!SWIG_IsOK(res2
)) {
22143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22147 arg3
= wxString_in_helper(obj2
);
22148 if (arg3
== NULL
) SWIG_fail
;
22152 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22153 if (!SWIG_IsOK(ecode4
)) {
22154 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22156 arg4
= static_cast< bool >(val4
);
22159 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22160 if (!SWIG_IsOK(ecode5
)) {
22161 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22163 arg5
= static_cast< int >(val5
);
22166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22188 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
= 0;
22190 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22197 PyObject
* obj0
= 0 ;
22198 PyObject
* obj1
= 0 ;
22199 char * kwnames
[] = {
22200 (char *) "self",(char *) "pos", NULL
22203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22205 if (!SWIG_IsOK(res1
)) {
22206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22208 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22209 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22210 if (!SWIG_IsOK(ecode2
)) {
22211 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22213 arg2
= static_cast< size_t >(val2
);
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22229 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22230 PyObject
*resultobj
= 0;
22231 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22233 bool arg3
= (bool) true ;
22241 PyObject
* obj0
= 0 ;
22242 PyObject
* obj1
= 0 ;
22243 PyObject
* obj2
= 0 ;
22244 char * kwnames
[] = {
22245 (char *) "self",(char *) "pos",(char *) "expand", NULL
22248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22250 if (!SWIG_IsOK(res1
)) {
22251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22253 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22254 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22255 if (!SWIG_IsOK(ecode2
)) {
22256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22258 arg2
= static_cast< size_t >(val2
);
22260 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22261 if (!SWIG_IsOK(ecode3
)) {
22262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22264 arg3
= static_cast< bool >(val3
);
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22281 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22282 PyObject
*resultobj
= 0;
22283 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22290 PyObject
* obj0
= 0 ;
22291 PyObject
* obj1
= 0 ;
22292 char * kwnames
[] = {
22293 (char *) "self",(char *) "pos", NULL
22296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22298 if (!SWIG_IsOK(res1
)) {
22299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22301 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22302 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22303 if (!SWIG_IsOK(ecode2
)) {
22304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22306 arg2
= static_cast< size_t >(val2
);
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (bool)(arg1
)->CollapseNode(arg2
);
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22322 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
= 0;
22324 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22331 PyObject
* obj0
= 0 ;
22332 PyObject
* obj1
= 0 ;
22333 char * kwnames
[] = {
22334 (char *) "self",(char *) "pos", NULL
22337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22339 if (!SWIG_IsOK(res1
)) {
22340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22342 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22343 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22344 if (!SWIG_IsOK(ecode2
)) {
22345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22347 arg2
= static_cast< size_t >(val2
);
22349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22350 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22351 wxPyEndAllowThreads(__tstate
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22354 resultobj
= SWIG_From_int(static_cast< int >(result
));
22361 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22362 PyObject
*resultobj
= 0;
22363 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22364 wxPyTreeCtrl
*result
= 0 ;
22367 PyObject
*swig_obj
[1] ;
22369 if (!args
) SWIG_fail
;
22370 swig_obj
[0] = args
;
22371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22372 if (!SWIG_IsOK(res1
)) {
22373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22375 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22378 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22383 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22391 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22394 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22395 return SWIG_Py_Void();
22398 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22399 return SWIG_Python_InitShadowInstance(args
);
22402 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
= 0;
22404 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22405 int arg2
= (int) 0 ;
22406 int arg3
= (int) wxNOT_FOUND
;
22407 int arg4
= (int) wxNOT_FOUND
;
22408 wxTreebookEvent
*result
= 0 ;
22417 PyObject
* obj0
= 0 ;
22418 PyObject
* obj1
= 0 ;
22419 PyObject
* obj2
= 0 ;
22420 PyObject
* obj3
= 0 ;
22421 char * kwnames
[] = {
22422 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22427 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22428 if (!SWIG_IsOK(ecode1
)) {
22429 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22431 arg1
= static_cast< wxEventType
>(val1
);
22434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22435 if (!SWIG_IsOK(ecode2
)) {
22436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22438 arg2
= static_cast< int >(val2
);
22441 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22442 if (!SWIG_IsOK(ecode3
)) {
22443 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22445 arg3
= static_cast< int >(val3
);
22448 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22449 if (!SWIG_IsOK(ecode4
)) {
22450 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22452 arg4
= static_cast< int >(val4
);
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22467 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22470 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22471 return SWIG_Py_Void();
22474 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22475 return SWIG_Python_InitShadowInstance(args
);
22478 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22479 PyObject
*resultobj
= 0;
22480 wxWindow
*arg1
= (wxWindow
*) 0 ;
22482 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22483 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22484 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22485 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22486 long arg5
= (long) wxBK_DEFAULT
;
22487 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22488 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22489 wxToolbook
*result
= 0 ;
22498 bool temp6
= false ;
22499 PyObject
* obj0
= 0 ;
22500 PyObject
* obj1
= 0 ;
22501 PyObject
* obj2
= 0 ;
22502 PyObject
* obj3
= 0 ;
22503 PyObject
* obj4
= 0 ;
22504 PyObject
* obj5
= 0 ;
22505 char * kwnames
[] = {
22506 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22511 if (!SWIG_IsOK(res1
)) {
22512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22514 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22516 if (!SWIG_IsOK(ecode2
)) {
22517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22519 arg2
= static_cast< int >(val2
);
22523 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22529 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22533 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22534 if (!SWIG_IsOK(ecode5
)) {
22535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22537 arg5
= static_cast< long >(val5
);
22541 arg6
= wxString_in_helper(obj5
);
22542 if (arg6
== NULL
) SWIG_fail
;
22547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22548 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22567 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22568 PyObject
*resultobj
= 0;
22569 wxToolbook
*result
= 0 ;
22571 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 result
= (wxToolbook
*)new wxToolbook();
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22585 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
= 0;
22587 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22588 wxWindow
*arg2
= (wxWindow
*) 0 ;
22590 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22591 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22592 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22593 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22594 long arg6
= (long) 0 ;
22595 wxString
const &arg7_defvalue
= wxEmptyString
;
22596 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22608 bool temp7
= false ;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22611 PyObject
* obj2
= 0 ;
22612 PyObject
* obj3
= 0 ;
22613 PyObject
* obj4
= 0 ;
22614 PyObject
* obj5
= 0 ;
22615 PyObject
* obj6
= 0 ;
22616 char * kwnames
[] = {
22617 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22622 if (!SWIG_IsOK(res1
)) {
22623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22625 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22627 if (!SWIG_IsOK(res2
)) {
22628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22630 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22632 if (!SWIG_IsOK(ecode3
)) {
22633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22635 arg3
= static_cast< int >(val3
);
22639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22649 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22650 if (!SWIG_IsOK(ecode6
)) {
22651 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22653 arg6
= static_cast< long >(val6
);
22657 arg7
= wxString_in_helper(obj6
);
22658 if (arg7
== NULL
) SWIG_fail
;
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22685 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22686 PyObject
*resultobj
= 0;
22687 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22688 wxToolBarBase
*result
= 0 ;
22691 PyObject
*swig_obj
[1] ;
22693 if (!args
) SWIG_fail
;
22694 swig_obj
[0] = args
;
22695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22696 if (!SWIG_IsOK(res1
)) {
22697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22699 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22702 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22703 wxPyEndAllowThreads(__tstate
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22707 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22715 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22716 PyObject
*resultobj
= 0;
22717 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22720 PyObject
*swig_obj
[1] ;
22722 if (!args
) SWIG_fail
;
22723 swig_obj
[0] = args
;
22724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22725 if (!SWIG_IsOK(res1
)) {
22726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22728 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22732 wxPyEndAllowThreads(__tstate
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22735 resultobj
= SWIG_Py_Void();
22742 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22744 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22745 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22746 return SWIG_Py_Void();
22749 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22750 return SWIG_Python_InitShadowInstance(args
);
22753 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
= 0;
22755 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22756 int arg2
= (int) 0 ;
22757 int arg3
= (int) wxNOT_FOUND
;
22758 int arg4
= (int) wxNOT_FOUND
;
22759 wxToolbookEvent
*result
= 0 ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 PyObject
* obj2
= 0 ;
22771 PyObject
* obj3
= 0 ;
22772 char * kwnames
[] = {
22773 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22778 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22779 if (!SWIG_IsOK(ecode1
)) {
22780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22782 arg1
= static_cast< wxEventType
>(val1
);
22785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22786 if (!SWIG_IsOK(ecode2
)) {
22787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22789 arg2
= static_cast< int >(val2
);
22792 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22793 if (!SWIG_IsOK(ecode3
)) {
22794 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22796 arg3
= static_cast< int >(val3
);
22799 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22800 if (!SWIG_IsOK(ecode4
)) {
22801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22803 arg4
= static_cast< int >(val4
);
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
22818 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22821 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
22822 return SWIG_Py_Void();
22825 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22826 return SWIG_Python_InitShadowInstance(args
);
22829 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22830 PyObject
*resultobj
= 0;
22831 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22835 PyObject
*swig_obj
[1] ;
22837 if (!args
) SWIG_fail
;
22838 swig_obj
[0] = args
;
22839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22840 if (!SWIG_IsOK(res1
)) {
22841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22843 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= (int)(arg1
)->GetId();
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22850 resultobj
= SWIG_From_int(static_cast< int >(result
));
22857 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22858 PyObject
*resultobj
= 0;
22859 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22860 wxControl
*result
= 0 ;
22863 PyObject
*swig_obj
[1] ;
22865 if (!args
) SWIG_fail
;
22866 swig_obj
[0] = args
;
22867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22868 if (!SWIG_IsOK(res1
)) {
22869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22871 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22874 result
= (wxControl
*)(arg1
)->GetControl();
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22879 resultobj
= wxPyMake_wxObject(result
, 0);
22887 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22888 PyObject
*resultobj
= 0;
22889 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22890 wxToolBarBase
*result
= 0 ;
22893 PyObject
*swig_obj
[1] ;
22895 if (!args
) SWIG_fail
;
22896 swig_obj
[0] = args
;
22897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22898 if (!SWIG_IsOK(res1
)) {
22899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22901 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22917 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22918 PyObject
*resultobj
= 0;
22919 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22923 PyObject
*swig_obj
[1] ;
22925 if (!args
) SWIG_fail
;
22926 swig_obj
[0] = args
;
22927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22928 if (!SWIG_IsOK(res1
)) {
22929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22931 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 result
= (int)(arg1
)->IsButton();
22935 wxPyEndAllowThreads(__tstate
);
22936 if (PyErr_Occurred()) SWIG_fail
;
22938 resultobj
= SWIG_From_int(static_cast< int >(result
));
22945 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22946 PyObject
*resultobj
= 0;
22947 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22951 PyObject
*swig_obj
[1] ;
22953 if (!args
) SWIG_fail
;
22954 swig_obj
[0] = args
;
22955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22956 if (!SWIG_IsOK(res1
)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22959 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22962 result
= (int)(arg1
)->IsControl();
22963 wxPyEndAllowThreads(__tstate
);
22964 if (PyErr_Occurred()) SWIG_fail
;
22966 resultobj
= SWIG_From_int(static_cast< int >(result
));
22973 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22974 PyObject
*resultobj
= 0;
22975 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
22979 PyObject
*swig_obj
[1] ;
22981 if (!args
) SWIG_fail
;
22982 swig_obj
[0] = args
;
22983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
22984 if (!SWIG_IsOK(res1
)) {
22985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
22987 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 result
= (int)(arg1
)->IsSeparator();
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= SWIG_From_int(static_cast< int >(result
));
23001 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23002 PyObject
*resultobj
= 0;
23003 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23007 PyObject
*swig_obj
[1] ;
23009 if (!args
) SWIG_fail
;
23010 swig_obj
[0] = args
;
23011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23012 if (!SWIG_IsOK(res1
)) {
23013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23015 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (int)(arg1
)->GetStyle();
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= SWIG_From_int(static_cast< int >(result
));
23029 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23030 PyObject
*resultobj
= 0;
23031 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23035 PyObject
*swig_obj
[1] ;
23037 if (!args
) SWIG_fail
;
23038 swig_obj
[0] = args
;
23039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23040 if (!SWIG_IsOK(res1
)) {
23041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23043 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 result
= (wxItemKind
)(arg1
)->GetKind();
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= SWIG_From_int(static_cast< int >(result
));
23057 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23058 PyObject
*resultobj
= 0;
23059 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23063 PyObject
*swig_obj
[1] ;
23065 if (!args
) SWIG_fail
;
23066 swig_obj
[0] = args
;
23067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23068 if (!SWIG_IsOK(res1
)) {
23069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23071 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (bool)(arg1
)->IsEnabled();
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23087 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23088 PyObject
*resultobj
= 0;
23089 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23093 PyObject
*swig_obj
[1] ;
23095 if (!args
) SWIG_fail
;
23096 swig_obj
[0] = args
;
23097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23098 if (!SWIG_IsOK(res1
)) {
23099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23101 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 result
= (bool)(arg1
)->IsToggled();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23117 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23118 PyObject
*resultobj
= 0;
23119 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23123 PyObject
*swig_obj
[1] ;
23125 if (!args
) SWIG_fail
;
23126 swig_obj
[0] = args
;
23127 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23128 if (!SWIG_IsOK(res1
)) {
23129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23131 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 result
= (bool)(arg1
)->CanBeToggled();
23135 wxPyEndAllowThreads(__tstate
);
23136 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23147 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23148 PyObject
*resultobj
= 0;
23149 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23150 wxBitmap
*result
= 0 ;
23153 PyObject
*swig_obj
[1] ;
23155 if (!args
) SWIG_fail
;
23156 swig_obj
[0] = args
;
23157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23158 if (!SWIG_IsOK(res1
)) {
23159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23161 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23166 result
= (wxBitmap
*) &_result_ref
;
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23172 wxBitmap
* resultptr
= new wxBitmap(*result
);
23173 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23181 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23182 PyObject
*resultobj
= 0;
23183 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23184 wxBitmap
*result
= 0 ;
23187 PyObject
*swig_obj
[1] ;
23189 if (!args
) SWIG_fail
;
23190 swig_obj
[0] = args
;
23191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23192 if (!SWIG_IsOK(res1
)) {
23193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23195 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23200 result
= (wxBitmap
*) &_result_ref
;
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23206 wxBitmap
* resultptr
= new wxBitmap(*result
);
23207 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23215 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23216 PyObject
*resultobj
= 0;
23217 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23221 PyObject
*swig_obj
[1] ;
23223 if (!args
) SWIG_fail
;
23224 swig_obj
[0] = args
;
23225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23226 if (!SWIG_IsOK(res1
)) {
23227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23229 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 result
= (arg1
)->GetBitmap();
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23243 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23244 PyObject
*resultobj
= 0;
23245 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23249 PyObject
*swig_obj
[1] ;
23251 if (!args
) SWIG_fail
;
23252 swig_obj
[0] = args
;
23253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23254 if (!SWIG_IsOK(res1
)) {
23255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23257 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23260 result
= (arg1
)->GetLabel();
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23268 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23277 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23278 PyObject
*resultobj
= 0;
23279 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23283 PyObject
*swig_obj
[1] ;
23285 if (!args
) SWIG_fail
;
23286 swig_obj
[0] = args
;
23287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23288 if (!SWIG_IsOK(res1
)) {
23289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23291 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23294 result
= (arg1
)->GetShortHelp();
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23311 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23312 PyObject
*resultobj
= 0;
23313 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23317 PyObject
*swig_obj
[1] ;
23319 if (!args
) SWIG_fail
;
23320 swig_obj
[0] = args
;
23321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23322 if (!SWIG_IsOK(res1
)) {
23323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23325 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= (arg1
)->GetLongHelp();
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23345 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
= 0;
23347 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23354 PyObject
* obj0
= 0 ;
23355 PyObject
* obj1
= 0 ;
23356 char * kwnames
[] = {
23357 (char *) "self",(char *) "enable", NULL
23360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23362 if (!SWIG_IsOK(res1
)) {
23363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23365 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23366 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23367 if (!SWIG_IsOK(ecode2
)) {
23368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23370 arg2
= static_cast< bool >(val2
);
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= (bool)(arg1
)->Enable(arg2
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23386 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23387 PyObject
*resultobj
= 0;
23388 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23391 PyObject
*swig_obj
[1] ;
23393 if (!args
) SWIG_fail
;
23394 swig_obj
[0] = args
;
23395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23396 if (!SWIG_IsOK(res1
)) {
23397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23399 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23403 wxPyEndAllowThreads(__tstate
);
23404 if (PyErr_Occurred()) SWIG_fail
;
23406 resultobj
= SWIG_Py_Void();
23413 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23414 PyObject
*resultobj
= 0;
23415 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23422 PyObject
* obj0
= 0 ;
23423 PyObject
* obj1
= 0 ;
23424 char * kwnames
[] = {
23425 (char *) "self",(char *) "toggle", NULL
23428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23430 if (!SWIG_IsOK(res1
)) {
23431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23433 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23434 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23435 if (!SWIG_IsOK(ecode2
)) {
23436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23438 arg2
= static_cast< bool >(val2
);
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= (bool)(arg1
)->SetToggle(arg2
);
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23454 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23455 PyObject
*resultobj
= 0;
23456 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23457 wxString
*arg2
= 0 ;
23461 bool temp2
= false ;
23462 PyObject
* obj0
= 0 ;
23463 PyObject
* obj1
= 0 ;
23464 char * kwnames
[] = {
23465 (char *) "self",(char *) "help", NULL
23468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23470 if (!SWIG_IsOK(res1
)) {
23471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23473 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23475 arg2
= wxString_in_helper(obj1
);
23476 if (arg2
== NULL
) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23502 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23503 PyObject
*resultobj
= 0;
23504 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23505 wxString
*arg2
= 0 ;
23509 bool temp2
= false ;
23510 PyObject
* obj0
= 0 ;
23511 PyObject
* obj1
= 0 ;
23512 char * kwnames
[] = {
23513 (char *) "self",(char *) "help", NULL
23516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23518 if (!SWIG_IsOK(res1
)) {
23519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23521 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23523 arg2
= wxString_in_helper(obj1
);
23524 if (arg2
== NULL
) SWIG_fail
;
23528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23529 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23550 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
= 0;
23552 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23553 wxBitmap
*arg2
= 0 ;
23558 PyObject
* obj0
= 0 ;
23559 PyObject
* obj1
= 0 ;
23560 char * kwnames
[] = {
23561 (char *) "self",(char *) "bmp", NULL
23564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23566 if (!SWIG_IsOK(res1
)) {
23567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23569 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23570 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23571 if (!SWIG_IsOK(res2
)) {
23572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23575 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23577 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23581 wxPyEndAllowThreads(__tstate
);
23582 if (PyErr_Occurred()) SWIG_fail
;
23584 resultobj
= SWIG_Py_Void();
23591 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23592 PyObject
*resultobj
= 0;
23593 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23594 wxBitmap
*arg2
= 0 ;
23599 PyObject
* obj0
= 0 ;
23600 PyObject
* obj1
= 0 ;
23601 char * kwnames
[] = {
23602 (char *) "self",(char *) "bmp", NULL
23605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23607 if (!SWIG_IsOK(res1
)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23610 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23611 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23612 if (!SWIG_IsOK(res2
)) {
23613 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23618 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= SWIG_Py_Void();
23632 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23633 PyObject
*resultobj
= 0;
23634 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23635 wxString
*arg2
= 0 ;
23638 bool temp2
= false ;
23639 PyObject
* obj0
= 0 ;
23640 PyObject
* obj1
= 0 ;
23641 char * kwnames
[] = {
23642 (char *) "self",(char *) "label", NULL
23645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23647 if (!SWIG_IsOK(res1
)) {
23648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23650 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23652 arg2
= wxString_in_helper(obj1
);
23653 if (arg2
== NULL
) SWIG_fail
;
23657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23658 (arg1
)->SetLabel((wxString
const &)*arg2
);
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 resultobj
= SWIG_Py_Void();
23677 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23678 PyObject
*resultobj
= 0;
23679 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23682 PyObject
*swig_obj
[1] ;
23684 if (!args
) SWIG_fail
;
23685 swig_obj
[0] = args
;
23686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23687 if (!SWIG_IsOK(res1
)) {
23688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23690 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 wxPyEndAllowThreads(__tstate
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= SWIG_Py_Void();
23704 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23705 PyObject
*resultobj
= 0;
23706 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23707 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23712 PyObject
* obj0
= 0 ;
23713 PyObject
* obj1
= 0 ;
23714 char * kwnames
[] = {
23715 (char *) "self",(char *) "tbar", NULL
23718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23720 if (!SWIG_IsOK(res1
)) {
23721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23723 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23724 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23725 if (!SWIG_IsOK(res2
)) {
23726 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23728 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 (arg1
)->Attach(arg2
);
23732 wxPyEndAllowThreads(__tstate
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23735 resultobj
= SWIG_Py_Void();
23742 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23743 PyObject
*resultobj
= 0;
23744 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23745 PyObject
*result
= 0 ;
23748 PyObject
*swig_obj
[1] ;
23750 if (!args
) SWIG_fail
;
23751 swig_obj
[0] = args
;
23752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23753 if (!SWIG_IsOK(res1
)) {
23754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23756 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23760 wxPyEndAllowThreads(__tstate
);
23761 if (PyErr_Occurred()) SWIG_fail
;
23763 resultobj
= result
;
23770 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23771 PyObject
*resultobj
= 0;
23772 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23773 PyObject
*arg2
= (PyObject
*) 0 ;
23776 PyObject
* obj0
= 0 ;
23777 PyObject
* obj1
= 0 ;
23778 char * kwnames
[] = {
23779 (char *) "self",(char *) "clientData", NULL
23782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23784 if (!SWIG_IsOK(res1
)) {
23785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23787 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23791 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23795 resultobj
= SWIG_Py_Void();
23802 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23805 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
23806 return SWIG_Py_Void();
23809 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23810 PyObject
*resultobj
= 0;
23811 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23813 wxString
*arg3
= 0 ;
23814 wxBitmap
*arg4
= 0 ;
23815 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
23816 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
23817 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
23818 wxString
const &arg7_defvalue
= wxPyEmptyString
;
23819 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23820 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23821 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23822 PyObject
*arg9
= (PyObject
*) NULL
;
23823 wxToolBarToolBase
*result
= 0 ;
23828 bool temp3
= false ;
23835 bool temp7
= false ;
23836 bool temp8
= false ;
23837 PyObject
* obj0
= 0 ;
23838 PyObject
* obj1
= 0 ;
23839 PyObject
* obj2
= 0 ;
23840 PyObject
* obj3
= 0 ;
23841 PyObject
* obj4
= 0 ;
23842 PyObject
* obj5
= 0 ;
23843 PyObject
* obj6
= 0 ;
23844 PyObject
* obj7
= 0 ;
23845 PyObject
* obj8
= 0 ;
23846 char * kwnames
[] = {
23847 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
23851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23852 if (!SWIG_IsOK(res1
)) {
23853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23855 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23857 if (!SWIG_IsOK(ecode2
)) {
23858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
23860 arg2
= static_cast< int >(val2
);
23862 arg3
= wxString_in_helper(obj2
);
23863 if (arg3
== NULL
) SWIG_fail
;
23866 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23867 if (!SWIG_IsOK(res4
)) {
23868 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
23873 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
23875 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23876 if (!SWIG_IsOK(res5
)) {
23877 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23880 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
23882 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
23885 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23886 if (!SWIG_IsOK(ecode6
)) {
23887 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
23889 arg6
= static_cast< wxItemKind
>(val6
);
23893 arg7
= wxString_in_helper(obj6
);
23894 if (arg7
== NULL
) SWIG_fail
;
23900 arg8
= wxString_in_helper(obj7
);
23901 if (arg8
== NULL
) SWIG_fail
;
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23947 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
= 0;
23949 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
23952 wxString
*arg4
= 0 ;
23953 wxBitmap
*arg5
= 0 ;
23954 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
23955 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
23956 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
23957 wxString
const &arg8_defvalue
= wxPyEmptyString
;
23958 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23959 wxString
const &arg9_defvalue
= wxPyEmptyString
;
23960 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
23961 PyObject
*arg10
= (PyObject
*) NULL
;
23962 wxToolBarToolBase
*result
= 0 ;
23969 bool temp4
= false ;
23976 bool temp8
= false ;
23977 bool temp9
= false ;
23978 PyObject
* obj0
= 0 ;
23979 PyObject
* obj1
= 0 ;
23980 PyObject
* obj2
= 0 ;
23981 PyObject
* obj3
= 0 ;
23982 PyObject
* obj4
= 0 ;
23983 PyObject
* obj5
= 0 ;
23984 PyObject
* obj6
= 0 ;
23985 PyObject
* obj7
= 0 ;
23986 PyObject
* obj8
= 0 ;
23987 PyObject
* obj9
= 0 ;
23988 char * kwnames
[] = {
23989 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
23992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
23993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23994 if (!SWIG_IsOK(res1
)) {
23995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
23997 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
23998 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
23999 if (!SWIG_IsOK(ecode2
)) {
24000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24002 arg2
= static_cast< size_t >(val2
);
24003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24004 if (!SWIG_IsOK(ecode3
)) {
24005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24007 arg3
= static_cast< int >(val3
);
24009 arg4
= wxString_in_helper(obj3
);
24010 if (arg4
== NULL
) SWIG_fail
;
24013 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24014 if (!SWIG_IsOK(res5
)) {
24015 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24018 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24020 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24022 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24023 if (!SWIG_IsOK(res6
)) {
24024 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24029 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24032 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24033 if (!SWIG_IsOK(ecode7
)) {
24034 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24036 arg7
= static_cast< wxItemKind
>(val7
);
24040 arg8
= wxString_in_helper(obj7
);
24041 if (arg8
== NULL
) SWIG_fail
;
24047 arg9
= wxString_in_helper(obj8
);
24048 if (arg9
== NULL
) SWIG_fail
;
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24094 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
= 0;
24096 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24097 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24098 wxToolBarToolBase
*result
= 0 ;
24103 PyObject
* obj0
= 0 ;
24104 PyObject
* obj1
= 0 ;
24105 char * kwnames
[] = {
24106 (char *) "self",(char *) "tool", NULL
24109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24111 if (!SWIG_IsOK(res1
)) {
24112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24114 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24115 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24116 if (!SWIG_IsOK(res2
)) {
24117 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24119 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24127 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24135 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24136 PyObject
*resultobj
= 0;
24137 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24139 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24140 wxToolBarToolBase
*result
= 0 ;
24147 PyObject
* obj0
= 0 ;
24148 PyObject
* obj1
= 0 ;
24149 PyObject
* obj2
= 0 ;
24150 char * kwnames
[] = {
24151 (char *) "self",(char *) "pos",(char *) "tool", NULL
24154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24156 if (!SWIG_IsOK(res1
)) {
24157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24159 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24160 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24161 if (!SWIG_IsOK(ecode2
)) {
24162 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24164 arg2
= static_cast< size_t >(val2
);
24165 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24166 if (!SWIG_IsOK(res3
)) {
24167 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24169 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24185 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24186 PyObject
*resultobj
= 0;
24187 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24188 wxControl
*arg2
= (wxControl
*) 0 ;
24189 wxToolBarToolBase
*result
= 0 ;
24194 PyObject
* obj0
= 0 ;
24195 PyObject
* obj1
= 0 ;
24196 char * kwnames
[] = {
24197 (char *) "self",(char *) "control", NULL
24200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24202 if (!SWIG_IsOK(res1
)) {
24203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24205 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24207 if (!SWIG_IsOK(res2
)) {
24208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24210 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24218 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24226 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24227 PyObject
*resultobj
= 0;
24228 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24230 wxControl
*arg3
= (wxControl
*) 0 ;
24231 wxToolBarToolBase
*result
= 0 ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 PyObject
* obj2
= 0 ;
24241 char * kwnames
[] = {
24242 (char *) "self",(char *) "pos",(char *) "control", NULL
24245 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24246 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24247 if (!SWIG_IsOK(res1
)) {
24248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24250 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24251 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24252 if (!SWIG_IsOK(ecode2
)) {
24253 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24255 arg2
= static_cast< size_t >(val2
);
24256 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24257 if (!SWIG_IsOK(res3
)) {
24258 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24260 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24276 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
= 0;
24278 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24280 wxControl
*result
= 0 ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char * kwnames
[] = {
24288 (char *) "self",(char *) "id", NULL
24291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24293 if (!SWIG_IsOK(res1
)) {
24294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24296 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24298 if (!SWIG_IsOK(ecode2
)) {
24299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24301 arg2
= static_cast< int >(val2
);
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= wxPyMake_wxObject(result
, 0);
24317 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24318 PyObject
*resultobj
= 0;
24319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24320 wxToolBarToolBase
*result
= 0 ;
24323 PyObject
*swig_obj
[1] ;
24325 if (!args
) SWIG_fail
;
24326 swig_obj
[0] = args
;
24327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24328 if (!SWIG_IsOK(res1
)) {
24329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24331 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24335 wxPyEndAllowThreads(__tstate
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24339 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24347 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24348 PyObject
*resultobj
= 0;
24349 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24351 wxToolBarToolBase
*result
= 0 ;
24356 PyObject
* obj0
= 0 ;
24357 PyObject
* obj1
= 0 ;
24358 char * kwnames
[] = {
24359 (char *) "self",(char *) "pos", NULL
24362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24364 if (!SWIG_IsOK(res1
)) {
24365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24367 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24368 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24369 if (!SWIG_IsOK(ecode2
)) {
24370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24372 arg2
= static_cast< size_t >(val2
);
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24388 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
= 0;
24390 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24392 wxToolBarToolBase
*result
= 0 ;
24397 PyObject
* obj0
= 0 ;
24398 PyObject
* obj1
= 0 ;
24399 char * kwnames
[] = {
24400 (char *) "self",(char *) "id", NULL
24403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24405 if (!SWIG_IsOK(res1
)) {
24406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24408 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24409 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24410 if (!SWIG_IsOK(ecode2
)) {
24411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24413 arg2
= static_cast< int >(val2
);
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24429 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
= 0;
24431 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24438 PyObject
* obj0
= 0 ;
24439 PyObject
* obj1
= 0 ;
24440 char * kwnames
[] = {
24441 (char *) "self",(char *) "pos", NULL
24444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24446 if (!SWIG_IsOK(res1
)) {
24447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24449 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24450 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24451 if (!SWIG_IsOK(ecode2
)) {
24452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24454 arg2
= static_cast< size_t >(val2
);
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24458 wxPyEndAllowThreads(__tstate
);
24459 if (PyErr_Occurred()) SWIG_fail
;
24462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24470 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
= 0;
24472 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 char * kwnames
[] = {
24482 (char *) "self",(char *) "id", NULL
24485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24487 if (!SWIG_IsOK(res1
)) {
24488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24490 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24492 if (!SWIG_IsOK(ecode2
)) {
24493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24495 arg2
= static_cast< int >(val2
);
24497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24498 result
= (bool)(arg1
)->DeleteTool(arg2
);
24499 wxPyEndAllowThreads(__tstate
);
24500 if (PyErr_Occurred()) SWIG_fail
;
24503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24511 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24512 PyObject
*resultobj
= 0;
24513 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24516 PyObject
*swig_obj
[1] ;
24518 if (!args
) SWIG_fail
;
24519 swig_obj
[0] = args
;
24520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24521 if (!SWIG_IsOK(res1
)) {
24522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24524 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24527 (arg1
)->ClearTools();
24528 wxPyEndAllowThreads(__tstate
);
24529 if (PyErr_Occurred()) SWIG_fail
;
24531 resultobj
= SWIG_Py_Void();
24538 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24539 PyObject
*resultobj
= 0;
24540 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24544 PyObject
*swig_obj
[1] ;
24546 if (!args
) SWIG_fail
;
24547 swig_obj
[0] = args
;
24548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24549 if (!SWIG_IsOK(res1
)) {
24550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24552 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 result
= (bool)(arg1
)->Realize();
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24568 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24569 PyObject
*resultobj
= 0;
24570 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 PyObject
* obj2
= 0 ;
24582 char * kwnames
[] = {
24583 (char *) "self",(char *) "id",(char *) "enable", NULL
24586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24588 if (!SWIG_IsOK(res1
)) {
24589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24591 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24593 if (!SWIG_IsOK(ecode2
)) {
24594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24596 arg2
= static_cast< int >(val2
);
24597 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24598 if (!SWIG_IsOK(ecode3
)) {
24599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24601 arg3
= static_cast< bool >(val3
);
24603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24604 (arg1
)->EnableTool(arg2
,arg3
);
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= SWIG_Py_Void();
24615 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
= 0;
24617 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24628 PyObject
* obj2
= 0 ;
24629 char * kwnames
[] = {
24630 (char *) "self",(char *) "id",(char *) "toggle", NULL
24633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24635 if (!SWIG_IsOK(res1
)) {
24636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24638 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24640 if (!SWIG_IsOK(ecode2
)) {
24641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24643 arg2
= static_cast< int >(val2
);
24644 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24645 if (!SWIG_IsOK(ecode3
)) {
24646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24648 arg3
= static_cast< bool >(val3
);
24650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24651 (arg1
)->ToggleTool(arg2
,arg3
);
24652 wxPyEndAllowThreads(__tstate
);
24653 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= SWIG_Py_Void();
24662 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24663 PyObject
*resultobj
= 0;
24664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24673 PyObject
* obj0
= 0 ;
24674 PyObject
* obj1
= 0 ;
24675 PyObject
* obj2
= 0 ;
24676 char * kwnames
[] = {
24677 (char *) "self",(char *) "id",(char *) "toggle", NULL
24680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24682 if (!SWIG_IsOK(res1
)) {
24683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24685 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24687 if (!SWIG_IsOK(ecode2
)) {
24688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24690 arg2
= static_cast< int >(val2
);
24691 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24692 if (!SWIG_IsOK(ecode3
)) {
24693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24695 arg3
= static_cast< bool >(val3
);
24697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24698 (arg1
)->SetToggle(arg2
,arg3
);
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24702 resultobj
= SWIG_Py_Void();
24709 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
= 0;
24711 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24713 PyObject
*result
= 0 ;
24718 PyObject
* obj0
= 0 ;
24719 PyObject
* obj1
= 0 ;
24720 char * kwnames
[] = {
24721 (char *) "self",(char *) "id", NULL
24724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24726 if (!SWIG_IsOK(res1
)) {
24727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24729 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24731 if (!SWIG_IsOK(ecode2
)) {
24732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24734 arg2
= static_cast< int >(val2
);
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24741 resultobj
= result
;
24748 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
= 0;
24750 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24752 PyObject
*arg3
= (PyObject
*) 0 ;
24757 PyObject
* obj0
= 0 ;
24758 PyObject
* obj1
= 0 ;
24759 PyObject
* obj2
= 0 ;
24760 char * kwnames
[] = {
24761 (char *) "self",(char *) "id",(char *) "clientData", NULL
24764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24766 if (!SWIG_IsOK(res1
)) {
24767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24769 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24771 if (!SWIG_IsOK(ecode2
)) {
24772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
24774 arg2
= static_cast< int >(val2
);
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24782 resultobj
= SWIG_Py_Void();
24789 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
= 0;
24791 wxToolBarBase
*arg1
= (wxToolBarBase
*) 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_GetToolPos",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_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
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_GetToolPos" "', expected argument " "2"" of type '" "int""'");
24814 arg2
= static_cast< int >(val2
);
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24821 resultobj
= SWIG_From_int(static_cast< int >(result
));
24828 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24829 PyObject
*resultobj
= 0;
24830 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 PyObject
* obj1
= 0 ;
24839 char * kwnames
[] = {
24840 (char *) "self",(char *) "id", NULL
24843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24845 if (!SWIG_IsOK(res1
)) {
24846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24848 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24850 if (!SWIG_IsOK(ecode2
)) {
24851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
24853 arg2
= static_cast< int >(val2
);
24855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24856 result
= (bool)(arg1
)->GetToolState(arg2
);
24857 wxPyEndAllowThreads(__tstate
);
24858 if (PyErr_Occurred()) SWIG_fail
;
24861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24869 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(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_GetToolEnabled",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_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
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_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
24894 arg2
= static_cast< int >(val2
);
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24910 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24911 PyObject
*resultobj
= 0;
24912 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24914 wxString
*arg3
= 0 ;
24919 bool temp3
= false ;
24920 PyObject
* obj0
= 0 ;
24921 PyObject
* obj1
= 0 ;
24922 PyObject
* obj2
= 0 ;
24923 char * kwnames
[] = {
24924 (char *) "self",(char *) "id",(char *) "helpString", NULL
24927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24929 if (!SWIG_IsOK(res1
)) {
24930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24932 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24934 if (!SWIG_IsOK(ecode2
)) {
24935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24937 arg2
= static_cast< int >(val2
);
24939 arg3
= wxString_in_helper(obj2
);
24940 if (arg3
== NULL
) SWIG_fail
;
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= SWIG_Py_Void();
24964 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
= 0;
24966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 PyObject
* obj1
= 0 ;
24975 char * kwnames
[] = {
24976 (char *) "self",(char *) "id", NULL
24979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24981 if (!SWIG_IsOK(res1
)) {
24982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24984 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24986 if (!SWIG_IsOK(ecode2
)) {
24987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
24989 arg2
= static_cast< int >(val2
);
24991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24992 result
= (arg1
)->GetToolShortHelp(arg2
);
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25009 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
= 0;
25011 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25013 wxString
*arg3
= 0 ;
25018 bool temp3
= false ;
25019 PyObject
* obj0
= 0 ;
25020 PyObject
* obj1
= 0 ;
25021 PyObject
* obj2
= 0 ;
25022 char * kwnames
[] = {
25023 (char *) "self",(char *) "id",(char *) "helpString", NULL
25026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25028 if (!SWIG_IsOK(res1
)) {
25029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25031 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25033 if (!SWIG_IsOK(ecode2
)) {
25034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25036 arg2
= static_cast< int >(val2
);
25038 arg3
= wxString_in_helper(obj2
);
25039 if (arg3
== NULL
) SWIG_fail
;
25043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25044 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= SWIG_Py_Void();
25063 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
= 0;
25065 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25072 PyObject
* obj0
= 0 ;
25073 PyObject
* obj1
= 0 ;
25074 char * kwnames
[] = {
25075 (char *) "self",(char *) "id", NULL
25078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25080 if (!SWIG_IsOK(res1
)) {
25081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25083 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25084 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25085 if (!SWIG_IsOK(ecode2
)) {
25086 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25088 arg2
= static_cast< int >(val2
);
25090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25091 result
= (arg1
)->GetToolLongHelp(arg2
);
25092 wxPyEndAllowThreads(__tstate
);
25093 if (PyErr_Occurred()) SWIG_fail
;
25097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25108 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25109 PyObject
*resultobj
= 0;
25110 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25119 PyObject
* obj0
= 0 ;
25120 PyObject
* obj1
= 0 ;
25121 PyObject
* obj2
= 0 ;
25122 char * kwnames
[] = {
25123 (char *) "self",(char *) "x",(char *) "y", NULL
25126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25128 if (!SWIG_IsOK(res1
)) {
25129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25131 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25133 if (!SWIG_IsOK(ecode2
)) {
25134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25136 arg2
= static_cast< int >(val2
);
25137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25138 if (!SWIG_IsOK(ecode3
)) {
25139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25141 arg3
= static_cast< int >(val3
);
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 (arg1
)->SetMargins(arg2
,arg3
);
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25148 resultobj
= SWIG_Py_Void();
25155 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
= 0;
25157 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25162 PyObject
* obj0
= 0 ;
25163 PyObject
* obj1
= 0 ;
25164 char * kwnames
[] = {
25165 (char *) "self",(char *) "size", NULL
25168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25170 if (!SWIG_IsOK(res1
)) {
25171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25173 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25176 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25181 wxPyEndAllowThreads(__tstate
);
25182 if (PyErr_Occurred()) SWIG_fail
;
25184 resultobj
= SWIG_Py_Void();
25191 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
= 0;
25193 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 PyObject
* obj1
= 0 ;
25201 char * kwnames
[] = {
25202 (char *) "self",(char *) "packing", NULL
25205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25207 if (!SWIG_IsOK(res1
)) {
25208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25210 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25212 if (!SWIG_IsOK(ecode2
)) {
25213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25215 arg2
= static_cast< int >(val2
);
25217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25218 (arg1
)->SetToolPacking(arg2
);
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25222 resultobj
= SWIG_Py_Void();
25229 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25230 PyObject
*resultobj
= 0;
25231 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25237 PyObject
* obj0
= 0 ;
25238 PyObject
* obj1
= 0 ;
25239 char * kwnames
[] = {
25240 (char *) "self",(char *) "separation", NULL
25243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25245 if (!SWIG_IsOK(res1
)) {
25246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25248 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25250 if (!SWIG_IsOK(ecode2
)) {
25251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25253 arg2
= static_cast< int >(val2
);
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 (arg1
)->SetToolSeparation(arg2
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 resultobj
= SWIG_Py_Void();
25267 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25268 PyObject
*resultobj
= 0;
25269 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25273 PyObject
*swig_obj
[1] ;
25275 if (!args
) SWIG_fail
;
25276 swig_obj
[0] = args
;
25277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25278 if (!SWIG_IsOK(res1
)) {
25279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25281 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25284 result
= (arg1
)->GetToolMargins();
25285 wxPyEndAllowThreads(__tstate
);
25286 if (PyErr_Occurred()) SWIG_fail
;
25288 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25295 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25296 PyObject
*resultobj
= 0;
25297 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25301 PyObject
*swig_obj
[1] ;
25303 if (!args
) SWIG_fail
;
25304 swig_obj
[0] = args
;
25305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25306 if (!SWIG_IsOK(res1
)) {
25307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25309 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 result
= (arg1
)->GetMargins();
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25323 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25324 PyObject
*resultobj
= 0;
25325 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25329 PyObject
*swig_obj
[1] ;
25331 if (!args
) SWIG_fail
;
25332 swig_obj
[0] = args
;
25333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25334 if (!SWIG_IsOK(res1
)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25337 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25340 result
= (int)(arg1
)->GetToolPacking();
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25344 resultobj
= SWIG_From_int(static_cast< int >(result
));
25351 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25352 PyObject
*resultobj
= 0;
25353 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25357 PyObject
*swig_obj
[1] ;
25359 if (!args
) SWIG_fail
;
25360 swig_obj
[0] = args
;
25361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25362 if (!SWIG_IsOK(res1
)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25365 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25368 result
= (int)(arg1
)->GetToolSeparation();
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 resultobj
= SWIG_From_int(static_cast< int >(result
));
25379 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
= 0;
25381 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25387 PyObject
* obj0
= 0 ;
25388 PyObject
* obj1
= 0 ;
25389 char * kwnames
[] = {
25390 (char *) "self",(char *) "nRows", NULL
25393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25395 if (!SWIG_IsOK(res1
)) {
25396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25398 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25400 if (!SWIG_IsOK(ecode2
)) {
25401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25403 arg2
= static_cast< int >(val2
);
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25406 (arg1
)->SetRows(arg2
);
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 resultobj
= SWIG_Py_Void();
25417 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
= 0;
25419 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25428 PyObject
* obj0
= 0 ;
25429 PyObject
* obj1
= 0 ;
25430 PyObject
* obj2
= 0 ;
25431 char * kwnames
[] = {
25432 (char *) "self",(char *) "rows",(char *) "cols", NULL
25435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25437 if (!SWIG_IsOK(res1
)) {
25438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25440 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25442 if (!SWIG_IsOK(ecode2
)) {
25443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25445 arg2
= static_cast< int >(val2
);
25446 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25447 if (!SWIG_IsOK(ecode3
)) {
25448 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25450 arg3
= static_cast< int >(val3
);
25452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25453 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25454 wxPyEndAllowThreads(__tstate
);
25455 if (PyErr_Occurred()) SWIG_fail
;
25457 resultobj
= SWIG_Py_Void();
25464 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25465 PyObject
*resultobj
= 0;
25466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25470 PyObject
*swig_obj
[1] ;
25472 if (!args
) SWIG_fail
;
25473 swig_obj
[0] = args
;
25474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25475 if (!SWIG_IsOK(res1
)) {
25476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25478 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 result
= (int)(arg1
)->GetMaxRows();
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= SWIG_From_int(static_cast< int >(result
));
25492 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25493 PyObject
*resultobj
= 0;
25494 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25498 PyObject
*swig_obj
[1] ;
25500 if (!args
) SWIG_fail
;
25501 swig_obj
[0] = args
;
25502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25503 if (!SWIG_IsOK(res1
)) {
25504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25506 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 result
= (int)(arg1
)->GetMaxCols();
25510 wxPyEndAllowThreads(__tstate
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25513 resultobj
= SWIG_From_int(static_cast< int >(result
));
25520 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25521 PyObject
*resultobj
= 0;
25522 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25527 PyObject
* obj0
= 0 ;
25528 PyObject
* obj1
= 0 ;
25529 char * kwnames
[] = {
25530 (char *) "self",(char *) "size", NULL
25533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25535 if (!SWIG_IsOK(res1
)) {
25536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25538 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25541 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25549 resultobj
= SWIG_Py_Void();
25556 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25557 PyObject
*resultobj
= 0;
25558 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25562 PyObject
*swig_obj
[1] ;
25564 if (!args
) SWIG_fail
;
25565 swig_obj
[0] = args
;
25566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25567 if (!SWIG_IsOK(res1
)) {
25568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25570 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25573 result
= (arg1
)->GetToolBitmapSize();
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25584 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25585 PyObject
*resultobj
= 0;
25586 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25590 PyObject
*swig_obj
[1] ;
25592 if (!args
) SWIG_fail
;
25593 swig_obj
[0] = args
;
25594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25595 if (!SWIG_IsOK(res1
)) {
25596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25598 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25601 result
= (arg1
)->GetToolSize();
25602 wxPyEndAllowThreads(__tstate
);
25603 if (PyErr_Occurred()) SWIG_fail
;
25605 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25612 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
= 0;
25614 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25617 wxToolBarToolBase
*result
= 0 ;
25624 PyObject
* obj0
= 0 ;
25625 PyObject
* obj1
= 0 ;
25626 PyObject
* obj2
= 0 ;
25627 char * kwnames
[] = {
25628 (char *) "self",(char *) "x",(char *) "y", NULL
25631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25633 if (!SWIG_IsOK(res1
)) {
25634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25636 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25638 if (!SWIG_IsOK(ecode2
)) {
25639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25641 arg2
= static_cast< int >(val2
);
25642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25643 if (!SWIG_IsOK(ecode3
)) {
25644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25646 arg3
= static_cast< int >(val3
);
25648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25649 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25654 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25662 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
= 0;
25664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25666 wxToolBarToolBase
*result
= 0 ;
25671 PyObject
* obj0
= 0 ;
25672 PyObject
* obj1
= 0 ;
25673 char * kwnames
[] = {
25674 (char *) "self",(char *) "toolid", NULL
25677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25679 if (!SWIG_IsOK(res1
)) {
25680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25682 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25684 if (!SWIG_IsOK(ecode2
)) {
25685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25687 arg2
= static_cast< int >(val2
);
25689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25690 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25703 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25704 PyObject
*resultobj
= 0;
25705 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25709 PyObject
*swig_obj
[1] ;
25711 if (!args
) SWIG_fail
;
25712 swig_obj
[0] = args
;
25713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25714 if (!SWIG_IsOK(res1
)) {
25715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25717 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 result
= (bool)(arg1
)->IsVertical();
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25733 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25734 PyObject
*resultobj
= 0;
25735 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25739 PyObject
*swig_obj
[1] ;
25741 if (!args
) SWIG_fail
;
25742 swig_obj
[0] = args
;
25743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25744 if (!SWIG_IsOK(res1
)) {
25745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25747 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25761 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25763 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25764 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25765 return SWIG_Py_Void();
25768 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
= 0;
25770 wxWindow
*arg1
= (wxWindow
*) 0 ;
25771 int arg2
= (int) -1 ;
25772 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25773 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25774 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25775 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25776 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25777 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
25778 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25779 wxToolBar
*result
= 0 ;
25788 bool temp6
= false ;
25789 PyObject
* obj0
= 0 ;
25790 PyObject
* obj1
= 0 ;
25791 PyObject
* obj2
= 0 ;
25792 PyObject
* obj3
= 0 ;
25793 PyObject
* obj4
= 0 ;
25794 PyObject
* obj5
= 0 ;
25795 char * kwnames
[] = {
25796 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
25800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25801 if (!SWIG_IsOK(res1
)) {
25802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
25804 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25807 if (!SWIG_IsOK(ecode2
)) {
25808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
25810 arg2
= static_cast< int >(val2
);
25815 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25821 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25825 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
25826 if (!SWIG_IsOK(ecode5
)) {
25827 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
25829 arg5
= static_cast< long >(val5
);
25833 arg6
= wxString_in_helper(obj5
);
25834 if (arg6
== NULL
) SWIG_fail
;
25839 if (!wxPyCheckForApp()) SWIG_fail
;
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
25860 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25861 PyObject
*resultobj
= 0;
25862 wxToolBar
*result
= 0 ;
25864 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
25866 if (!wxPyCheckForApp()) SWIG_fail
;
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 result
= (wxToolBar
*)new wxToolBar();
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
25879 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25880 PyObject
*resultobj
= 0;
25881 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
25882 wxWindow
*arg2
= (wxWindow
*) 0 ;
25883 int arg3
= (int) -1 ;
25884 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25885 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25886 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25887 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25888 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
25889 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
25890 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25902 bool temp7
= false ;
25903 PyObject
* obj0
= 0 ;
25904 PyObject
* obj1
= 0 ;
25905 PyObject
* obj2
= 0 ;
25906 PyObject
* obj3
= 0 ;
25907 PyObject
* obj4
= 0 ;
25908 PyObject
* obj5
= 0 ;
25909 PyObject
* obj6
= 0 ;
25910 char * kwnames
[] = {
25911 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
25915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
25916 if (!SWIG_IsOK(res1
)) {
25917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
25919 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
25920 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25921 if (!SWIG_IsOK(res2
)) {
25922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
25924 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25926 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25927 if (!SWIG_IsOK(ecode3
)) {
25928 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
25930 arg3
= static_cast< int >(val3
);
25935 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25941 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25945 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
25946 if (!SWIG_IsOK(ecode6
)) {
25947 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
25949 arg6
= static_cast< long >(val6
);
25953 arg7
= wxString_in_helper(obj6
);
25954 if (arg7
== NULL
) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25981 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25982 PyObject
*resultobj
= 0;
25983 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
25984 SwigValueWrapper
<wxVisualAttributes
> result
;
25987 PyObject
* obj0
= 0 ;
25988 char * kwnames
[] = {
25989 (char *) "variant", NULL
25992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
25994 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25995 if (!SWIG_IsOK(ecode1
)) {
25996 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
25998 arg1
= static_cast< wxWindowVariant
>(val1
);
26001 if (!wxPyCheckForApp()) SWIG_fail
;
26002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26003 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26004 wxPyEndAllowThreads(__tstate
);
26005 if (PyErr_Occurred()) SWIG_fail
;
26007 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26014 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26017 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26018 return SWIG_Py_Void();
26021 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26022 return SWIG_Python_InitShadowInstance(args
);
26025 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26026 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26031 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26032 PyObject
*pyobj
= 0;
26036 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26038 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26045 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26046 PyObject
*resultobj
= 0;
26047 wxColour
const &arg1_defvalue
= wxNullColour
;
26048 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26049 wxColour
const &arg2_defvalue
= wxNullColour
;
26050 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26051 wxFont
const &arg3_defvalue
= wxNullFont
;
26052 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26053 wxListItemAttr
*result
= 0 ;
26058 PyObject
* obj0
= 0 ;
26059 PyObject
* obj1
= 0 ;
26060 PyObject
* obj2
= 0 ;
26061 char * kwnames
[] = {
26062 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26069 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26075 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26079 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26080 if (!SWIG_IsOK(res3
)) {
26081 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26084 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26086 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26101 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26102 PyObject
*resultobj
= 0;
26103 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26106 PyObject
*swig_obj
[1] ;
26108 if (!args
) SWIG_fail
;
26109 swig_obj
[0] = args
;
26110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26111 if (!SWIG_IsOK(res1
)) {
26112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26114 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_Py_Void();
26129 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26130 PyObject
*resultobj
= 0;
26131 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26132 wxColour
*arg2
= 0 ;
26136 PyObject
* obj0
= 0 ;
26137 PyObject
* obj1
= 0 ;
26138 char * kwnames
[] = {
26139 (char *) "self",(char *) "colText", NULL
26142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26144 if (!SWIG_IsOK(res1
)) {
26145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26147 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26150 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26155 wxPyEndAllowThreads(__tstate
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26158 resultobj
= SWIG_Py_Void();
26165 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26166 PyObject
*resultobj
= 0;
26167 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26168 wxColour
*arg2
= 0 ;
26172 PyObject
* obj0
= 0 ;
26173 PyObject
* obj1
= 0 ;
26174 char * kwnames
[] = {
26175 (char *) "self",(char *) "colBack", NULL
26178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26180 if (!SWIG_IsOK(res1
)) {
26181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26183 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26186 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= SWIG_Py_Void();
26201 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
= 0;
26203 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26209 PyObject
* obj0
= 0 ;
26210 PyObject
* obj1
= 0 ;
26211 char * kwnames
[] = {
26212 (char *) "self",(char *) "font", NULL
26215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26217 if (!SWIG_IsOK(res1
)) {
26218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26220 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26221 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26222 if (!SWIG_IsOK(res2
)) {
26223 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26228 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 (arg1
)->SetFont((wxFont
const &)*arg2
);
26232 wxPyEndAllowThreads(__tstate
);
26233 if (PyErr_Occurred()) SWIG_fail
;
26235 resultobj
= SWIG_Py_Void();
26242 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26243 PyObject
*resultobj
= 0;
26244 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26248 PyObject
*swig_obj
[1] ;
26250 if (!args
) SWIG_fail
;
26251 swig_obj
[0] = args
;
26252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26253 if (!SWIG_IsOK(res1
)) {
26254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26256 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 result
= (bool)(arg1
)->HasTextColour();
26260 wxPyEndAllowThreads(__tstate
);
26261 if (PyErr_Occurred()) SWIG_fail
;
26264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26272 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26273 PyObject
*resultobj
= 0;
26274 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26278 PyObject
*swig_obj
[1] ;
26280 if (!args
) SWIG_fail
;
26281 swig_obj
[0] = args
;
26282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26283 if (!SWIG_IsOK(res1
)) {
26284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26286 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26289 result
= (bool)(arg1
)->HasBackgroundColour();
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26302 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26303 PyObject
*resultobj
= 0;
26304 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26308 PyObject
*swig_obj
[1] ;
26310 if (!args
) SWIG_fail
;
26311 swig_obj
[0] = args
;
26312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26313 if (!SWIG_IsOK(res1
)) {
26314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26316 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26319 result
= (bool)(arg1
)->HasFont();
26320 wxPyEndAllowThreads(__tstate
);
26321 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26332 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26333 PyObject
*resultobj
= 0;
26334 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26338 PyObject
*swig_obj
[1] ;
26340 if (!args
) SWIG_fail
;
26341 swig_obj
[0] = args
;
26342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26343 if (!SWIG_IsOK(res1
)) {
26344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26346 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (arg1
)->GetTextColour();
26350 wxPyEndAllowThreads(__tstate
);
26351 if (PyErr_Occurred()) SWIG_fail
;
26353 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26360 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26361 PyObject
*resultobj
= 0;
26362 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26366 PyObject
*swig_obj
[1] ;
26368 if (!args
) SWIG_fail
;
26369 swig_obj
[0] = args
;
26370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26371 if (!SWIG_IsOK(res1
)) {
26372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26374 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 result
= (arg1
)->GetBackgroundColour();
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26388 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26389 PyObject
*resultobj
= 0;
26390 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26394 PyObject
*swig_obj
[1] ;
26396 if (!args
) SWIG_fail
;
26397 swig_obj
[0] = args
;
26398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26399 if (!SWIG_IsOK(res1
)) {
26400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26402 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 result
= (arg1
)->GetFont();
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26416 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
= 0;
26418 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26419 wxListItemAttr
*arg2
= 0 ;
26424 PyObject
* obj0
= 0 ;
26425 PyObject
* obj1
= 0 ;
26426 char * kwnames
[] = {
26427 (char *) "self",(char *) "source", NULL
26430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26432 if (!SWIG_IsOK(res1
)) {
26433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26435 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26436 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26437 if (!SWIG_IsOK(res2
)) {
26438 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26443 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 resultobj
= SWIG_Py_Void();
26457 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26458 PyObject
*resultobj
= 0;
26459 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26462 PyObject
*swig_obj
[1] ;
26464 if (!args
) SWIG_fail
;
26465 swig_obj
[0] = args
;
26466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26467 if (!SWIG_IsOK(res1
)) {
26468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26470 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26473 wxListItemAttr_Destroy(arg1
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 resultobj
= SWIG_Py_Void();
26484 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26486 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26487 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26488 return SWIG_Py_Void();
26491 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26492 return SWIG_Python_InitShadowInstance(args
);
26495 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26496 PyObject
*resultobj
= 0;
26497 wxListItem
*result
= 0 ;
26499 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26502 result
= (wxListItem
*)new wxListItem();
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26513 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26514 PyObject
*resultobj
= 0;
26515 wxListItem
*arg1
= (wxListItem
*) 0 ;
26518 PyObject
*swig_obj
[1] ;
26520 if (!args
) SWIG_fail
;
26521 swig_obj
[0] = args
;
26522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26523 if (!SWIG_IsOK(res1
)) {
26524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26526 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= SWIG_Py_Void();
26541 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26542 PyObject
*resultobj
= 0;
26543 wxListItem
*arg1
= (wxListItem
*) 0 ;
26546 PyObject
*swig_obj
[1] ;
26548 if (!args
) SWIG_fail
;
26549 swig_obj
[0] = args
;
26550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26551 if (!SWIG_IsOK(res1
)) {
26552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26554 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 resultobj
= SWIG_Py_Void();
26568 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26569 PyObject
*resultobj
= 0;
26570 wxListItem
*arg1
= (wxListItem
*) 0 ;
26573 PyObject
*swig_obj
[1] ;
26575 if (!args
) SWIG_fail
;
26576 swig_obj
[0] = args
;
26577 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26578 if (!SWIG_IsOK(res1
)) {
26579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26581 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 (arg1
)->ClearAttributes();
26585 wxPyEndAllowThreads(__tstate
);
26586 if (PyErr_Occurred()) SWIG_fail
;
26588 resultobj
= SWIG_Py_Void();
26595 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
= 0;
26597 wxListItem
*arg1
= (wxListItem
*) 0 ;
26603 PyObject
* obj0
= 0 ;
26604 PyObject
* obj1
= 0 ;
26605 char * kwnames
[] = {
26606 (char *) "self",(char *) "mask", NULL
26609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26611 if (!SWIG_IsOK(res1
)) {
26612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26614 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26615 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26616 if (!SWIG_IsOK(ecode2
)) {
26617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26619 arg2
= static_cast< long >(val2
);
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 (arg1
)->SetMask(arg2
);
26623 wxPyEndAllowThreads(__tstate
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26626 resultobj
= SWIG_Py_Void();
26633 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
= 0;
26635 wxListItem
*arg1
= (wxListItem
*) 0 ;
26641 PyObject
* obj0
= 0 ;
26642 PyObject
* obj1
= 0 ;
26643 char * kwnames
[] = {
26644 (char *) "self",(char *) "id", NULL
26647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26649 if (!SWIG_IsOK(res1
)) {
26650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26652 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26653 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26654 if (!SWIG_IsOK(ecode2
)) {
26655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26657 arg2
= static_cast< long >(val2
);
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26660 (arg1
)->SetId(arg2
);
26661 wxPyEndAllowThreads(__tstate
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26664 resultobj
= SWIG_Py_Void();
26671 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26672 PyObject
*resultobj
= 0;
26673 wxListItem
*arg1
= (wxListItem
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 PyObject
* obj1
= 0 ;
26681 char * kwnames
[] = {
26682 (char *) "self",(char *) "col", NULL
26685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26687 if (!SWIG_IsOK(res1
)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
26690 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26692 if (!SWIG_IsOK(ecode2
)) {
26693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
26695 arg2
= static_cast< int >(val2
);
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 (arg1
)->SetColumn(arg2
);
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26702 resultobj
= SWIG_Py_Void();
26709 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26710 PyObject
*resultobj
= 0;
26711 wxListItem
*arg1
= (wxListItem
*) 0 ;
26717 PyObject
* obj0
= 0 ;
26718 PyObject
* obj1
= 0 ;
26719 char * kwnames
[] = {
26720 (char *) "self",(char *) "state", NULL
26723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26725 if (!SWIG_IsOK(res1
)) {
26726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
26728 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26729 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26730 if (!SWIG_IsOK(ecode2
)) {
26731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
26733 arg2
= static_cast< long >(val2
);
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 (arg1
)->SetState(arg2
);
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= SWIG_Py_Void();
26747 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26748 PyObject
*resultobj
= 0;
26749 wxListItem
*arg1
= (wxListItem
*) 0 ;
26755 PyObject
* obj0
= 0 ;
26756 PyObject
* obj1
= 0 ;
26757 char * kwnames
[] = {
26758 (char *) "self",(char *) "stateMask", NULL
26761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26763 if (!SWIG_IsOK(res1
)) {
26764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26766 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26767 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26768 if (!SWIG_IsOK(ecode2
)) {
26769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
26771 arg2
= static_cast< long >(val2
);
26773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26774 (arg1
)->SetStateMask(arg2
);
26775 wxPyEndAllowThreads(__tstate
);
26776 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= SWIG_Py_Void();
26785 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26786 PyObject
*resultobj
= 0;
26787 wxListItem
*arg1
= (wxListItem
*) 0 ;
26788 wxString
*arg2
= 0 ;
26791 bool temp2
= false ;
26792 PyObject
* obj0
= 0 ;
26793 PyObject
* obj1
= 0 ;
26794 char * kwnames
[] = {
26795 (char *) "self",(char *) "text", NULL
26798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26800 if (!SWIG_IsOK(res1
)) {
26801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
26803 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26805 arg2
= wxString_in_helper(obj1
);
26806 if (arg2
== NULL
) SWIG_fail
;
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 (arg1
)->SetText((wxString
const &)*arg2
);
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= SWIG_Py_Void();
26830 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26831 PyObject
*resultobj
= 0;
26832 wxListItem
*arg1
= (wxListItem
*) 0 ;
26838 PyObject
* obj0
= 0 ;
26839 PyObject
* obj1
= 0 ;
26840 char * kwnames
[] = {
26841 (char *) "self",(char *) "image", NULL
26844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26846 if (!SWIG_IsOK(res1
)) {
26847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
26849 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26851 if (!SWIG_IsOK(ecode2
)) {
26852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
26854 arg2
= static_cast< int >(val2
);
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 (arg1
)->SetImage(arg2
);
26858 wxPyEndAllowThreads(__tstate
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= SWIG_Py_Void();
26868 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26869 PyObject
*resultobj
= 0;
26870 wxListItem
*arg1
= (wxListItem
*) 0 ;
26876 PyObject
* obj0
= 0 ;
26877 PyObject
* obj1
= 0 ;
26878 char * kwnames
[] = {
26879 (char *) "self",(char *) "data", NULL
26882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26884 if (!SWIG_IsOK(res1
)) {
26885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
26887 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26888 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26889 if (!SWIG_IsOK(ecode2
)) {
26890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
26892 arg2
= static_cast< long >(val2
);
26894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26895 (arg1
)->SetData(arg2
);
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26899 resultobj
= SWIG_Py_Void();
26906 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26907 PyObject
*resultobj
= 0;
26908 wxListItem
*arg1
= (wxListItem
*) 0 ;
26914 PyObject
* obj0
= 0 ;
26915 PyObject
* obj1
= 0 ;
26916 char * kwnames
[] = {
26917 (char *) "self",(char *) "width", NULL
26920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26922 if (!SWIG_IsOK(res1
)) {
26923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
26925 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26926 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26927 if (!SWIG_IsOK(ecode2
)) {
26928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
26930 arg2
= static_cast< int >(val2
);
26932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26933 (arg1
)->SetWidth(arg2
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 resultobj
= SWIG_Py_Void();
26944 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
= 0;
26946 wxListItem
*arg1
= (wxListItem
*) 0 ;
26947 wxListColumnFormat arg2
;
26952 PyObject
* obj0
= 0 ;
26953 PyObject
* obj1
= 0 ;
26954 char * kwnames
[] = {
26955 (char *) "self",(char *) "align", NULL
26958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26960 if (!SWIG_IsOK(res1
)) {
26961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
26963 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26965 if (!SWIG_IsOK(ecode2
)) {
26966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
26968 arg2
= static_cast< wxListColumnFormat
>(val2
);
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 (arg1
)->SetAlign(arg2
);
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26975 resultobj
= SWIG_Py_Void();
26982 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26983 PyObject
*resultobj
= 0;
26984 wxListItem
*arg1
= (wxListItem
*) 0 ;
26985 wxColour
*arg2
= 0 ;
26989 PyObject
* obj0
= 0 ;
26990 PyObject
* obj1
= 0 ;
26991 char * kwnames
[] = {
26992 (char *) "self",(char *) "colText", NULL
26995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26997 if (!SWIG_IsOK(res1
)) {
26998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27000 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27003 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27007 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= SWIG_Py_Void();
27018 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27019 PyObject
*resultobj
= 0;
27020 wxListItem
*arg1
= (wxListItem
*) 0 ;
27021 wxColour
*arg2
= 0 ;
27025 PyObject
* obj0
= 0 ;
27026 PyObject
* obj1
= 0 ;
27027 char * kwnames
[] = {
27028 (char *) "self",(char *) "colBack", NULL
27031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27033 if (!SWIG_IsOK(res1
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27036 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27039 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27043 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27044 wxPyEndAllowThreads(__tstate
);
27045 if (PyErr_Occurred()) SWIG_fail
;
27047 resultobj
= SWIG_Py_Void();
27054 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27055 PyObject
*resultobj
= 0;
27056 wxListItem
*arg1
= (wxListItem
*) 0 ;
27062 PyObject
* obj0
= 0 ;
27063 PyObject
* obj1
= 0 ;
27064 char * kwnames
[] = {
27065 (char *) "self",(char *) "font", NULL
27068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27070 if (!SWIG_IsOK(res1
)) {
27071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27073 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27074 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27075 if (!SWIG_IsOK(res2
)) {
27076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27079 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27081 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27084 (arg1
)->SetFont((wxFont
const &)*arg2
);
27085 wxPyEndAllowThreads(__tstate
);
27086 if (PyErr_Occurred()) SWIG_fail
;
27088 resultobj
= SWIG_Py_Void();
27095 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27096 PyObject
*resultobj
= 0;
27097 wxListItem
*arg1
= (wxListItem
*) 0 ;
27101 PyObject
*swig_obj
[1] ;
27103 if (!args
) SWIG_fail
;
27104 swig_obj
[0] = args
;
27105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27106 if (!SWIG_IsOK(res1
)) {
27107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27109 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27112 result
= (long)(arg1
)->GetMask();
27113 wxPyEndAllowThreads(__tstate
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27116 resultobj
= SWIG_From_long(static_cast< long >(result
));
27123 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27124 PyObject
*resultobj
= 0;
27125 wxListItem
*arg1
= (wxListItem
*) 0 ;
27129 PyObject
*swig_obj
[1] ;
27131 if (!args
) SWIG_fail
;
27132 swig_obj
[0] = args
;
27133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27134 if (!SWIG_IsOK(res1
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27137 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 result
= (long)(arg1
)->GetId();
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= SWIG_From_long(static_cast< long >(result
));
27151 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27152 PyObject
*resultobj
= 0;
27153 wxListItem
*arg1
= (wxListItem
*) 0 ;
27157 PyObject
*swig_obj
[1] ;
27159 if (!args
) SWIG_fail
;
27160 swig_obj
[0] = args
;
27161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27162 if (!SWIG_IsOK(res1
)) {
27163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27165 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27168 result
= (int)(arg1
)->GetColumn();
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= SWIG_From_int(static_cast< int >(result
));
27179 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27180 PyObject
*resultobj
= 0;
27181 wxListItem
*arg1
= (wxListItem
*) 0 ;
27185 PyObject
*swig_obj
[1] ;
27187 if (!args
) SWIG_fail
;
27188 swig_obj
[0] = args
;
27189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27190 if (!SWIG_IsOK(res1
)) {
27191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27193 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27196 result
= (long)(arg1
)->GetState();
27197 wxPyEndAllowThreads(__tstate
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27200 resultobj
= SWIG_From_long(static_cast< long >(result
));
27207 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27208 PyObject
*resultobj
= 0;
27209 wxListItem
*arg1
= (wxListItem
*) 0 ;
27210 wxString
*result
= 0 ;
27213 PyObject
*swig_obj
[1] ;
27215 if (!args
) SWIG_fail
;
27216 swig_obj
[0] = args
;
27217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27218 if (!SWIG_IsOK(res1
)) {
27219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27221 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 wxString
const &_result_ref
= (arg1
)->GetText();
27226 result
= (wxString
*) &_result_ref
;
27228 wxPyEndAllowThreads(__tstate
);
27229 if (PyErr_Occurred()) SWIG_fail
;
27233 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27235 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27244 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27245 PyObject
*resultobj
= 0;
27246 wxListItem
*arg1
= (wxListItem
*) 0 ;
27250 PyObject
*swig_obj
[1] ;
27252 if (!args
) SWIG_fail
;
27253 swig_obj
[0] = args
;
27254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27255 if (!SWIG_IsOK(res1
)) {
27256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27258 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 result
= (int)(arg1
)->GetImage();
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27265 resultobj
= SWIG_From_int(static_cast< int >(result
));
27272 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27273 PyObject
*resultobj
= 0;
27274 wxListItem
*arg1
= (wxListItem
*) 0 ;
27278 PyObject
*swig_obj
[1] ;
27280 if (!args
) SWIG_fail
;
27281 swig_obj
[0] = args
;
27282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27283 if (!SWIG_IsOK(res1
)) {
27284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27286 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27289 result
= (long)(arg1
)->GetData();
27290 wxPyEndAllowThreads(__tstate
);
27291 if (PyErr_Occurred()) SWIG_fail
;
27293 resultobj
= SWIG_From_long(static_cast< long >(result
));
27300 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27301 PyObject
*resultobj
= 0;
27302 wxListItem
*arg1
= (wxListItem
*) 0 ;
27306 PyObject
*swig_obj
[1] ;
27308 if (!args
) SWIG_fail
;
27309 swig_obj
[0] = args
;
27310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27311 if (!SWIG_IsOK(res1
)) {
27312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27314 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27317 result
= (int)(arg1
)->GetWidth();
27318 wxPyEndAllowThreads(__tstate
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27321 resultobj
= SWIG_From_int(static_cast< int >(result
));
27328 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27329 PyObject
*resultobj
= 0;
27330 wxListItem
*arg1
= (wxListItem
*) 0 ;
27331 wxListColumnFormat result
;
27334 PyObject
*swig_obj
[1] ;
27336 if (!args
) SWIG_fail
;
27337 swig_obj
[0] = args
;
27338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27339 if (!SWIG_IsOK(res1
)) {
27340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27342 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27345 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27349 resultobj
= SWIG_From_int(static_cast< int >(result
));
27356 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27357 PyObject
*resultobj
= 0;
27358 wxListItem
*arg1
= (wxListItem
*) 0 ;
27359 wxListItemAttr
*result
= 0 ;
27362 PyObject
*swig_obj
[1] ;
27364 if (!args
) SWIG_fail
;
27365 swig_obj
[0] = args
;
27366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27367 if (!SWIG_IsOK(res1
)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27370 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27384 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27385 PyObject
*resultobj
= 0;
27386 wxListItem
*arg1
= (wxListItem
*) 0 ;
27390 PyObject
*swig_obj
[1] ;
27392 if (!args
) SWIG_fail
;
27393 swig_obj
[0] = args
;
27394 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27395 if (!SWIG_IsOK(res1
)) {
27396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27398 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 result
= (bool)(arg1
)->HasAttributes();
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27414 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27415 PyObject
*resultobj
= 0;
27416 wxListItem
*arg1
= (wxListItem
*) 0 ;
27420 PyObject
*swig_obj
[1] ;
27422 if (!args
) SWIG_fail
;
27423 swig_obj
[0] = args
;
27424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27425 if (!SWIG_IsOK(res1
)) {
27426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27428 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27432 wxPyEndAllowThreads(__tstate
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27435 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27442 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27443 PyObject
*resultobj
= 0;
27444 wxListItem
*arg1
= (wxListItem
*) 0 ;
27448 PyObject
*swig_obj
[1] ;
27450 if (!args
) SWIG_fail
;
27451 swig_obj
[0] = args
;
27452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27453 if (!SWIG_IsOK(res1
)) {
27454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27456 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27460 wxPyEndAllowThreads(__tstate
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27470 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27471 PyObject
*resultobj
= 0;
27472 wxListItem
*arg1
= (wxListItem
*) 0 ;
27476 PyObject
*swig_obj
[1] ;
27478 if (!args
) SWIG_fail
;
27479 swig_obj
[0] = args
;
27480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27481 if (!SWIG_IsOK(res1
)) {
27482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27484 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= ((wxListItem
const *)arg1
)->GetFont();
27488 wxPyEndAllowThreads(__tstate
);
27489 if (PyErr_Occurred()) SWIG_fail
;
27491 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27498 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27499 PyObject
*resultobj
= 0;
27500 wxListItem
*arg1
= (wxListItem
*) 0 ;
27506 PyObject
*swig_obj
[2] ;
27508 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27510 if (!SWIG_IsOK(res1
)) {
27511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27513 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27514 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27515 if (!SWIG_IsOK(ecode2
)) {
27516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27518 arg2
= static_cast< long >(val2
);
27519 if (arg1
) (arg1
)->m_mask
= arg2
;
27521 resultobj
= SWIG_Py_Void();
27528 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27529 PyObject
*resultobj
= 0;
27530 wxListItem
*arg1
= (wxListItem
*) 0 ;
27534 PyObject
*swig_obj
[1] ;
27536 if (!args
) SWIG_fail
;
27537 swig_obj
[0] = args
;
27538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27539 if (!SWIG_IsOK(res1
)) {
27540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27542 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27543 result
= (long) ((arg1
)->m_mask
);
27544 resultobj
= SWIG_From_long(static_cast< long >(result
));
27551 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27552 PyObject
*resultobj
= 0;
27553 wxListItem
*arg1
= (wxListItem
*) 0 ;
27559 PyObject
*swig_obj
[2] ;
27561 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27563 if (!SWIG_IsOK(res1
)) {
27564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27566 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27567 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27568 if (!SWIG_IsOK(ecode2
)) {
27569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27571 arg2
= static_cast< long >(val2
);
27572 if (arg1
) (arg1
)->m_itemId
= arg2
;
27574 resultobj
= SWIG_Py_Void();
27581 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27582 PyObject
*resultobj
= 0;
27583 wxListItem
*arg1
= (wxListItem
*) 0 ;
27587 PyObject
*swig_obj
[1] ;
27589 if (!args
) SWIG_fail
;
27590 swig_obj
[0] = args
;
27591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27592 if (!SWIG_IsOK(res1
)) {
27593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27595 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27596 result
= (long) ((arg1
)->m_itemId
);
27597 resultobj
= SWIG_From_long(static_cast< long >(result
));
27604 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27605 PyObject
*resultobj
= 0;
27606 wxListItem
*arg1
= (wxListItem
*) 0 ;
27612 PyObject
*swig_obj
[2] ;
27614 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27616 if (!SWIG_IsOK(res1
)) {
27617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27619 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27620 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27621 if (!SWIG_IsOK(ecode2
)) {
27622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27624 arg2
= static_cast< int >(val2
);
27625 if (arg1
) (arg1
)->m_col
= arg2
;
27627 resultobj
= SWIG_Py_Void();
27634 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27635 PyObject
*resultobj
= 0;
27636 wxListItem
*arg1
= (wxListItem
*) 0 ;
27640 PyObject
*swig_obj
[1] ;
27642 if (!args
) SWIG_fail
;
27643 swig_obj
[0] = args
;
27644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27645 if (!SWIG_IsOK(res1
)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27648 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27649 result
= (int) ((arg1
)->m_col
);
27650 resultobj
= SWIG_From_int(static_cast< int >(result
));
27657 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27658 PyObject
*resultobj
= 0;
27659 wxListItem
*arg1
= (wxListItem
*) 0 ;
27665 PyObject
*swig_obj
[2] ;
27667 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
27668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27669 if (!SWIG_IsOK(res1
)) {
27670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27672 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27673 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27674 if (!SWIG_IsOK(ecode2
)) {
27675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
27677 arg2
= static_cast< long >(val2
);
27678 if (arg1
) (arg1
)->m_state
= arg2
;
27680 resultobj
= SWIG_Py_Void();
27687 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27688 PyObject
*resultobj
= 0;
27689 wxListItem
*arg1
= (wxListItem
*) 0 ;
27693 PyObject
*swig_obj
[1] ;
27695 if (!args
) SWIG_fail
;
27696 swig_obj
[0] = args
;
27697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27698 if (!SWIG_IsOK(res1
)) {
27699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27701 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27702 result
= (long) ((arg1
)->m_state
);
27703 resultobj
= SWIG_From_long(static_cast< long >(result
));
27710 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 PyObject
*resultobj
= 0;
27712 wxListItem
*arg1
= (wxListItem
*) 0 ;
27718 PyObject
*swig_obj
[2] ;
27720 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
27721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27722 if (!SWIG_IsOK(res1
)) {
27723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27725 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27726 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27727 if (!SWIG_IsOK(ecode2
)) {
27728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
27730 arg2
= static_cast< long >(val2
);
27731 if (arg1
) (arg1
)->m_stateMask
= arg2
;
27733 resultobj
= SWIG_Py_Void();
27740 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27741 PyObject
*resultobj
= 0;
27742 wxListItem
*arg1
= (wxListItem
*) 0 ;
27746 PyObject
*swig_obj
[1] ;
27748 if (!args
) SWIG_fail
;
27749 swig_obj
[0] = args
;
27750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27751 if (!SWIG_IsOK(res1
)) {
27752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27754 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27755 result
= (long) ((arg1
)->m_stateMask
);
27756 resultobj
= SWIG_From_long(static_cast< long >(result
));
27763 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27764 PyObject
*resultobj
= 0;
27765 wxListItem
*arg1
= (wxListItem
*) 0 ;
27766 wxString
*arg2
= (wxString
*) 0 ;
27769 bool temp2
= false ;
27770 PyObject
*swig_obj
[2] ;
27772 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
27773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27774 if (!SWIG_IsOK(res1
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27777 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27779 arg2
= wxString_in_helper(swig_obj
[1]);
27780 if (arg2
== NULL
) SWIG_fail
;
27783 if (arg1
) (arg1
)->m_text
= *arg2
;
27785 resultobj
= SWIG_Py_Void();
27800 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27801 PyObject
*resultobj
= 0;
27802 wxListItem
*arg1
= (wxListItem
*) 0 ;
27803 wxString
*result
= 0 ;
27806 PyObject
*swig_obj
[1] ;
27808 if (!args
) SWIG_fail
;
27809 swig_obj
[0] = args
;
27810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27811 if (!SWIG_IsOK(res1
)) {
27812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27814 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27815 result
= (wxString
*)& ((arg1
)->m_text
);
27818 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27820 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27829 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27830 PyObject
*resultobj
= 0;
27831 wxListItem
*arg1
= (wxListItem
*) 0 ;
27837 PyObject
*swig_obj
[2] ;
27839 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
27840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27841 if (!SWIG_IsOK(res1
)) {
27842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27844 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27845 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27846 if (!SWIG_IsOK(ecode2
)) {
27847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
27849 arg2
= static_cast< int >(val2
);
27850 if (arg1
) (arg1
)->m_image
= arg2
;
27852 resultobj
= SWIG_Py_Void();
27859 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27860 PyObject
*resultobj
= 0;
27861 wxListItem
*arg1
= (wxListItem
*) 0 ;
27865 PyObject
*swig_obj
[1] ;
27867 if (!args
) SWIG_fail
;
27868 swig_obj
[0] = args
;
27869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27873 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27874 result
= (int) ((arg1
)->m_image
);
27875 resultobj
= SWIG_From_int(static_cast< int >(result
));
27882 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27883 PyObject
*resultobj
= 0;
27884 wxListItem
*arg1
= (wxListItem
*) 0 ;
27890 PyObject
*swig_obj
[2] ;
27892 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
27893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27894 if (!SWIG_IsOK(res1
)) {
27895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27897 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27898 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27899 if (!SWIG_IsOK(ecode2
)) {
27900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
27902 arg2
= static_cast< long >(val2
);
27903 if (arg1
) (arg1
)->m_data
= arg2
;
27905 resultobj
= SWIG_Py_Void();
27912 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27913 PyObject
*resultobj
= 0;
27914 wxListItem
*arg1
= (wxListItem
*) 0 ;
27918 PyObject
*swig_obj
[1] ;
27920 if (!args
) SWIG_fail
;
27921 swig_obj
[0] = args
;
27922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27923 if (!SWIG_IsOK(res1
)) {
27924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27926 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27927 result
= (long) ((arg1
)->m_data
);
27928 resultobj
= SWIG_From_long(static_cast< long >(result
));
27935 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27936 PyObject
*resultobj
= 0;
27937 wxListItem
*arg1
= (wxListItem
*) 0 ;
27943 PyObject
*swig_obj
[2] ;
27945 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
27946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27947 if (!SWIG_IsOK(res1
)) {
27948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27950 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27951 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27952 if (!SWIG_IsOK(ecode2
)) {
27953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
27955 arg2
= static_cast< int >(val2
);
27956 if (arg1
) (arg1
)->m_format
= arg2
;
27958 resultobj
= SWIG_Py_Void();
27965 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27966 PyObject
*resultobj
= 0;
27967 wxListItem
*arg1
= (wxListItem
*) 0 ;
27971 PyObject
*swig_obj
[1] ;
27973 if (!args
) SWIG_fail
;
27974 swig_obj
[0] = args
;
27975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27976 if (!SWIG_IsOK(res1
)) {
27977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27979 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27980 result
= (int) ((arg1
)->m_format
);
27981 resultobj
= SWIG_From_int(static_cast< int >(result
));
27988 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27989 PyObject
*resultobj
= 0;
27990 wxListItem
*arg1
= (wxListItem
*) 0 ;
27996 PyObject
*swig_obj
[2] ;
27998 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
27999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28000 if (!SWIG_IsOK(res1
)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28003 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28004 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28005 if (!SWIG_IsOK(ecode2
)) {
28006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28008 arg2
= static_cast< int >(val2
);
28009 if (arg1
) (arg1
)->m_width
= arg2
;
28011 resultobj
= SWIG_Py_Void();
28018 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28019 PyObject
*resultobj
= 0;
28020 wxListItem
*arg1
= (wxListItem
*) 0 ;
28024 PyObject
*swig_obj
[1] ;
28026 if (!args
) SWIG_fail
;
28027 swig_obj
[0] = args
;
28028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28029 if (!SWIG_IsOK(res1
)) {
28030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28032 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28033 result
= (int) ((arg1
)->m_width
);
28034 resultobj
= SWIG_From_int(static_cast< int >(result
));
28041 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28043 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28044 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28045 return SWIG_Py_Void();
28048 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28049 return SWIG_Python_InitShadowInstance(args
);
28052 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28053 PyObject
*resultobj
= 0;
28054 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28055 int arg2
= (int) 0 ;
28056 wxListEvent
*result
= 0 ;
28061 PyObject
* obj0
= 0 ;
28062 PyObject
* obj1
= 0 ;
28063 char * kwnames
[] = {
28064 (char *) "commandType",(char *) "id", NULL
28067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28069 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28070 if (!SWIG_IsOK(ecode1
)) {
28071 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28073 arg1
= static_cast< wxEventType
>(val1
);
28076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28077 if (!SWIG_IsOK(ecode2
)) {
28078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28080 arg2
= static_cast< int >(val2
);
28083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28084 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28085 wxPyEndAllowThreads(__tstate
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28095 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28096 PyObject
*resultobj
= 0;
28097 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28103 PyObject
*swig_obj
[2] ;
28105 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28107 if (!SWIG_IsOK(res1
)) {
28108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28110 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28111 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28112 if (!SWIG_IsOK(ecode2
)) {
28113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28115 arg2
= static_cast< int >(val2
);
28116 if (arg1
) (arg1
)->m_code
= arg2
;
28118 resultobj
= SWIG_Py_Void();
28125 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28126 PyObject
*resultobj
= 0;
28127 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28131 PyObject
*swig_obj
[1] ;
28133 if (!args
) SWIG_fail
;
28134 swig_obj
[0] = args
;
28135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28136 if (!SWIG_IsOK(res1
)) {
28137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28139 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28140 result
= (int) ((arg1
)->m_code
);
28141 resultobj
= SWIG_From_int(static_cast< int >(result
));
28148 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28149 PyObject
*resultobj
= 0;
28150 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28156 PyObject
*swig_obj
[2] ;
28158 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28160 if (!SWIG_IsOK(res1
)) {
28161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28163 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28164 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28165 if (!SWIG_IsOK(ecode2
)) {
28166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28168 arg2
= static_cast< long >(val2
);
28169 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28171 resultobj
= SWIG_Py_Void();
28178 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28179 PyObject
*resultobj
= 0;
28180 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28184 PyObject
*swig_obj
[1] ;
28186 if (!args
) SWIG_fail
;
28187 swig_obj
[0] = args
;
28188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28189 if (!SWIG_IsOK(res1
)) {
28190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28192 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28193 result
= (long) ((arg1
)->m_oldItemIndex
);
28194 resultobj
= SWIG_From_long(static_cast< long >(result
));
28201 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28202 PyObject
*resultobj
= 0;
28203 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28209 PyObject
*swig_obj
[2] ;
28211 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28213 if (!SWIG_IsOK(res1
)) {
28214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28216 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28217 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28218 if (!SWIG_IsOK(ecode2
)) {
28219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28221 arg2
= static_cast< long >(val2
);
28222 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28224 resultobj
= SWIG_Py_Void();
28231 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28232 PyObject
*resultobj
= 0;
28233 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28237 PyObject
*swig_obj
[1] ;
28239 if (!args
) SWIG_fail
;
28240 swig_obj
[0] = args
;
28241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28242 if (!SWIG_IsOK(res1
)) {
28243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28245 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28246 result
= (long) ((arg1
)->m_itemIndex
);
28247 resultobj
= SWIG_From_long(static_cast< long >(result
));
28254 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28255 PyObject
*resultobj
= 0;
28256 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28262 PyObject
*swig_obj
[2] ;
28264 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28266 if (!SWIG_IsOK(res1
)) {
28267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28269 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28270 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28271 if (!SWIG_IsOK(ecode2
)) {
28272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28274 arg2
= static_cast< int >(val2
);
28275 if (arg1
) (arg1
)->m_col
= arg2
;
28277 resultobj
= SWIG_Py_Void();
28284 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28285 PyObject
*resultobj
= 0;
28286 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28290 PyObject
*swig_obj
[1] ;
28292 if (!args
) SWIG_fail
;
28293 swig_obj
[0] = args
;
28294 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28295 if (!SWIG_IsOK(res1
)) {
28296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28298 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28299 result
= (int) ((arg1
)->m_col
);
28300 resultobj
= SWIG_From_int(static_cast< int >(result
));
28307 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28308 PyObject
*resultobj
= 0;
28309 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28310 wxPoint
*arg2
= (wxPoint
*) 0 ;
28315 PyObject
*swig_obj
[2] ;
28317 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28319 if (!SWIG_IsOK(res1
)) {
28320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28322 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28323 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28324 if (!SWIG_IsOK(res2
)) {
28325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28327 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28328 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28330 resultobj
= SWIG_Py_Void();
28337 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28338 PyObject
*resultobj
= 0;
28339 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28340 wxPoint
*result
= 0 ;
28343 PyObject
*swig_obj
[1] ;
28345 if (!args
) SWIG_fail
;
28346 swig_obj
[0] = args
;
28347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28348 if (!SWIG_IsOK(res1
)) {
28349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28351 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28352 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28360 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28361 PyObject
*resultobj
= 0;
28362 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28363 wxListItem
*result
= 0 ;
28366 PyObject
*swig_obj
[1] ;
28368 if (!args
) SWIG_fail
;
28369 swig_obj
[0] = args
;
28370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28371 if (!SWIG_IsOK(res1
)) {
28372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28374 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28375 result
= (wxListItem
*)& ((arg1
)->m_item
);
28377 resultobj
= wxPyMake_wxObject(result
, 0);
28385 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28386 PyObject
*resultobj
= 0;
28387 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28391 PyObject
*swig_obj
[1] ;
28393 if (!args
) SWIG_fail
;
28394 swig_obj
[0] = args
;
28395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28396 if (!SWIG_IsOK(res1
)) {
28397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28399 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 result
= (int)(arg1
)->GetKeyCode();
28403 wxPyEndAllowThreads(__tstate
);
28404 if (PyErr_Occurred()) SWIG_fail
;
28406 resultobj
= SWIG_From_int(static_cast< int >(result
));
28413 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28414 PyObject
*resultobj
= 0;
28415 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28419 PyObject
*swig_obj
[1] ;
28421 if (!args
) SWIG_fail
;
28422 swig_obj
[0] = args
;
28423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28424 if (!SWIG_IsOK(res1
)) {
28425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28427 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28430 result
= (long)(arg1
)->GetIndex();
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= SWIG_From_long(static_cast< long >(result
));
28441 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28442 PyObject
*resultobj
= 0;
28443 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28447 PyObject
*swig_obj
[1] ;
28449 if (!args
) SWIG_fail
;
28450 swig_obj
[0] = args
;
28451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28452 if (!SWIG_IsOK(res1
)) {
28453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28455 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28458 result
= (int)(arg1
)->GetColumn();
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28462 resultobj
= SWIG_From_int(static_cast< int >(result
));
28469 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28470 PyObject
*resultobj
= 0;
28471 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28475 PyObject
*swig_obj
[1] ;
28477 if (!args
) SWIG_fail
;
28478 swig_obj
[0] = args
;
28479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28480 if (!SWIG_IsOK(res1
)) {
28481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28483 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28486 result
= (arg1
)->GetPoint();
28487 wxPyEndAllowThreads(__tstate
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28490 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28497 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28498 PyObject
*resultobj
= 0;
28499 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28500 wxString
*result
= 0 ;
28503 PyObject
*swig_obj
[1] ;
28505 if (!args
) SWIG_fail
;
28506 swig_obj
[0] = args
;
28507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28508 if (!SWIG_IsOK(res1
)) {
28509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28511 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 wxString
const &_result_ref
= (arg1
)->GetLabel();
28516 result
= (wxString
*) &_result_ref
;
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28523 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28525 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28534 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28535 PyObject
*resultobj
= 0;
28536 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28537 wxString
*result
= 0 ;
28540 PyObject
*swig_obj
[1] ;
28542 if (!args
) SWIG_fail
;
28543 swig_obj
[0] = args
;
28544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28545 if (!SWIG_IsOK(res1
)) {
28546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28548 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28552 wxString
const &_result_ref
= (arg1
)->GetText();
28553 result
= (wxString
*) &_result_ref
;
28555 wxPyEndAllowThreads(__tstate
);
28556 if (PyErr_Occurred()) SWIG_fail
;
28560 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28562 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28571 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28572 PyObject
*resultobj
= 0;
28573 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28577 PyObject
*swig_obj
[1] ;
28579 if (!args
) SWIG_fail
;
28580 swig_obj
[0] = args
;
28581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28582 if (!SWIG_IsOK(res1
)) {
28583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28585 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28588 result
= (int)(arg1
)->GetImage();
28589 wxPyEndAllowThreads(__tstate
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= SWIG_From_int(static_cast< int >(result
));
28599 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28600 PyObject
*resultobj
= 0;
28601 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28605 PyObject
*swig_obj
[1] ;
28607 if (!args
) SWIG_fail
;
28608 swig_obj
[0] = args
;
28609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28610 if (!SWIG_IsOK(res1
)) {
28611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28613 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28616 result
= (long)(arg1
)->GetData();
28617 wxPyEndAllowThreads(__tstate
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28620 resultobj
= SWIG_From_long(static_cast< long >(result
));
28627 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28628 PyObject
*resultobj
= 0;
28629 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28633 PyObject
*swig_obj
[1] ;
28635 if (!args
) SWIG_fail
;
28636 swig_obj
[0] = args
;
28637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28638 if (!SWIG_IsOK(res1
)) {
28639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28641 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 result
= (long)(arg1
)->GetMask();
28645 wxPyEndAllowThreads(__tstate
);
28646 if (PyErr_Occurred()) SWIG_fail
;
28648 resultobj
= SWIG_From_long(static_cast< long >(result
));
28655 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28656 PyObject
*resultobj
= 0;
28657 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28658 wxListItem
*result
= 0 ;
28661 PyObject
*swig_obj
[1] ;
28663 if (!args
) SWIG_fail
;
28664 swig_obj
[0] = args
;
28665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28666 if (!SWIG_IsOK(res1
)) {
28667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
28669 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 wxListItem
const &_result_ref
= (arg1
)->GetItem();
28674 result
= (wxListItem
*) &_result_ref
;
28676 wxPyEndAllowThreads(__tstate
);
28677 if (PyErr_Occurred()) SWIG_fail
;
28679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
28686 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28687 PyObject
*resultobj
= 0;
28688 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28692 PyObject
*swig_obj
[1] ;
28694 if (!args
) SWIG_fail
;
28695 swig_obj
[0] = args
;
28696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28697 if (!SWIG_IsOK(res1
)) {
28698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
28700 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 result
= (long)(arg1
)->GetCacheFrom();
28704 wxPyEndAllowThreads(__tstate
);
28705 if (PyErr_Occurred()) SWIG_fail
;
28707 resultobj
= SWIG_From_long(static_cast< long >(result
));
28714 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28715 PyObject
*resultobj
= 0;
28716 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28720 PyObject
*swig_obj
[1] ;
28722 if (!args
) SWIG_fail
;
28723 swig_obj
[0] = args
;
28724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28725 if (!SWIG_IsOK(res1
)) {
28726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
28728 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 result
= (long)(arg1
)->GetCacheTo();
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 resultobj
= SWIG_From_long(static_cast< long >(result
));
28742 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28743 PyObject
*resultobj
= 0;
28744 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28748 PyObject
*swig_obj
[1] ;
28750 if (!args
) SWIG_fail
;
28751 swig_obj
[0] = args
;
28752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28753 if (!SWIG_IsOK(res1
)) {
28754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
28756 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28759 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28772 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28773 PyObject
*resultobj
= 0;
28774 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28780 PyObject
* obj0
= 0 ;
28781 PyObject
* obj1
= 0 ;
28782 char * kwnames
[] = {
28783 (char *) "self",(char *) "editCancelled", NULL
28786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28787 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28788 if (!SWIG_IsOK(res1
)) {
28789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
28791 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28792 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28793 if (!SWIG_IsOK(ecode2
)) {
28794 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
28796 arg2
= static_cast< bool >(val2
);
28798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28799 (arg1
)->SetEditCanceled(arg2
);
28800 wxPyEndAllowThreads(__tstate
);
28801 if (PyErr_Occurred()) SWIG_fail
;
28803 resultobj
= SWIG_Py_Void();
28810 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28812 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28813 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
28814 return SWIG_Py_Void();
28817 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28818 return SWIG_Python_InitShadowInstance(args
);
28821 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28822 PyObject
*resultobj
= 0;
28823 wxWindow
*arg1
= (wxWindow
*) 0 ;
28824 int arg2
= (int) -1 ;
28825 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28826 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28827 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28828 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28829 long arg5
= (long) wxLC_ICON
;
28830 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28831 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28832 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
28833 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28834 wxPyListCtrl
*result
= 0 ;
28845 bool temp7
= false ;
28846 PyObject
* obj0
= 0 ;
28847 PyObject
* obj1
= 0 ;
28848 PyObject
* obj2
= 0 ;
28849 PyObject
* obj3
= 0 ;
28850 PyObject
* obj4
= 0 ;
28851 PyObject
* obj5
= 0 ;
28852 PyObject
* obj6
= 0 ;
28853 char * kwnames
[] = {
28854 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28859 if (!SWIG_IsOK(res1
)) {
28860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
28862 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28865 if (!SWIG_IsOK(ecode2
)) {
28866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
28868 arg2
= static_cast< int >(val2
);
28873 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28879 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28883 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28884 if (!SWIG_IsOK(ecode5
)) {
28885 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
28887 arg5
= static_cast< long >(val5
);
28890 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
28891 if (!SWIG_IsOK(res6
)) {
28892 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28895 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
28897 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
28901 arg7
= wxString_in_helper(obj6
);
28902 if (arg7
== NULL
) SWIG_fail
;
28907 if (!wxPyCheckForApp()) SWIG_fail
;
28908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28909 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
28928 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28929 PyObject
*resultobj
= 0;
28930 wxPyListCtrl
*result
= 0 ;
28932 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
28934 if (!wxPyCheckForApp()) SWIG_fail
;
28935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28936 result
= (wxPyListCtrl
*)new wxPyListCtrl();
28937 wxPyEndAllowThreads(__tstate
);
28938 if (PyErr_Occurred()) SWIG_fail
;
28940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
28947 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28948 PyObject
*resultobj
= 0;
28949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
28950 wxWindow
*arg2
= (wxWindow
*) 0 ;
28951 int arg3
= (int) -1 ;
28952 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28953 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28954 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28955 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28956 long arg6
= (long) wxLC_ICON
;
28957 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28958 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28959 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
28960 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28974 bool temp8
= false ;
28975 PyObject
* obj0
= 0 ;
28976 PyObject
* obj1
= 0 ;
28977 PyObject
* obj2
= 0 ;
28978 PyObject
* obj3
= 0 ;
28979 PyObject
* obj4
= 0 ;
28980 PyObject
* obj5
= 0 ;
28981 PyObject
* obj6
= 0 ;
28982 PyObject
* obj7
= 0 ;
28983 char * kwnames
[] = {
28984 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
28988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
28989 if (!SWIG_IsOK(res1
)) {
28990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
28992 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
28993 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28994 if (!SWIG_IsOK(res2
)) {
28995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
28997 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28999 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29000 if (!SWIG_IsOK(ecode3
)) {
29001 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29003 arg3
= static_cast< int >(val3
);
29008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29018 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29019 if (!SWIG_IsOK(ecode6
)) {
29020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29022 arg6
= static_cast< long >(val6
);
29025 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29026 if (!SWIG_IsOK(res7
)) {
29027 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29032 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29036 arg8
= wxString_in_helper(obj7
);
29037 if (arg8
== NULL
) SWIG_fail
;
29042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29043 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29064 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29065 PyObject
*resultobj
= 0;
29066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29067 PyObject
*arg2
= (PyObject
*) 0 ;
29068 PyObject
*arg3
= (PyObject
*) 0 ;
29071 PyObject
* obj0
= 0 ;
29072 PyObject
* obj1
= 0 ;
29073 PyObject
* obj2
= 0 ;
29074 char * kwnames
[] = {
29075 (char *) "self",(char *) "self",(char *) "_class", NULL
29078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29080 if (!SWIG_IsOK(res1
)) {
29081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29083 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29088 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29089 wxPyEndAllowThreads(__tstate
);
29090 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= SWIG_Py_Void();
29099 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29100 PyObject
*resultobj
= 0;
29101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29103 wxListItem
*result
= 0 ;
29108 PyObject
* obj0
= 0 ;
29109 PyObject
* obj1
= 0 ;
29110 char * kwnames
[] = {
29111 (char *) "self",(char *) "col", NULL
29114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29116 if (!SWIG_IsOK(res1
)) {
29117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29119 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29121 if (!SWIG_IsOK(ecode2
)) {
29122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29124 arg2
= static_cast< int >(val2
);
29126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29127 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29128 wxPyEndAllowThreads(__tstate
);
29129 if (PyErr_Occurred()) SWIG_fail
;
29132 resultobj
= wxPyMake_wxObject(result
, 0);
29140 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29141 PyObject
*resultobj
= 0;
29142 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29144 wxListItem
*arg3
= 0 ;
29152 PyObject
* obj0
= 0 ;
29153 PyObject
* obj1
= 0 ;
29154 PyObject
* obj2
= 0 ;
29155 char * kwnames
[] = {
29156 (char *) "self",(char *) "col",(char *) "item", NULL
29159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29161 if (!SWIG_IsOK(res1
)) {
29162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29164 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29165 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29166 if (!SWIG_IsOK(ecode2
)) {
29167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29169 arg2
= static_cast< int >(val2
);
29170 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29171 if (!SWIG_IsOK(res3
)) {
29172 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29175 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29177 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29180 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29193 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29194 PyObject
*resultobj
= 0;
29195 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29202 PyObject
* obj0
= 0 ;
29203 PyObject
* obj1
= 0 ;
29204 char * kwnames
[] = {
29205 (char *) "self",(char *) "col", NULL
29208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29210 if (!SWIG_IsOK(res1
)) {
29211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29213 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29215 if (!SWIG_IsOK(ecode2
)) {
29216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29218 arg2
= static_cast< int >(val2
);
29220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= SWIG_From_int(static_cast< int >(result
));
29232 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
= 0;
29234 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29244 PyObject
* obj0
= 0 ;
29245 PyObject
* obj1
= 0 ;
29246 PyObject
* obj2
= 0 ;
29247 char * kwnames
[] = {
29248 (char *) "self",(char *) "col",(char *) "width", NULL
29251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29253 if (!SWIG_IsOK(res1
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29256 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29258 if (!SWIG_IsOK(ecode2
)) {
29259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29261 arg2
= static_cast< int >(val2
);
29262 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29263 if (!SWIG_IsOK(ecode3
)) {
29264 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29266 arg3
= static_cast< int >(val3
);
29268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29269 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29270 wxPyEndAllowThreads(__tstate
);
29271 if (PyErr_Occurred()) SWIG_fail
;
29274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29282 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29283 PyObject
*resultobj
= 0;
29284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29288 PyObject
*swig_obj
[1] ;
29290 if (!args
) SWIG_fail
;
29291 swig_obj
[0] = args
;
29292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29293 if (!SWIG_IsOK(res1
)) {
29294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29296 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29299 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29300 wxPyEndAllowThreads(__tstate
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29303 resultobj
= SWIG_From_int(static_cast< int >(result
));
29310 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29311 PyObject
*resultobj
= 0;
29312 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29316 PyObject
*swig_obj
[1] ;
29318 if (!args
) SWIG_fail
;
29319 swig_obj
[0] = args
;
29320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29321 if (!SWIG_IsOK(res1
)) {
29322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29324 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29327 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29328 wxPyEndAllowThreads(__tstate
);
29329 if (PyErr_Occurred()) SWIG_fail
;
29331 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29338 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29339 PyObject
*resultobj
= 0;
29340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29341 wxTextCtrl
*result
= 0 ;
29344 PyObject
*swig_obj
[1] ;
29346 if (!args
) SWIG_fail
;
29347 swig_obj
[0] = args
;
29348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29349 if (!SWIG_IsOK(res1
)) {
29350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29352 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29355 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29356 wxPyEndAllowThreads(__tstate
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29360 resultobj
= wxPyMake_wxObject(result
, 0);
29368 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29369 PyObject
*resultobj
= 0;
29370 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29372 int arg3
= (int) 0 ;
29373 wxListItem
*result
= 0 ;
29380 PyObject
* obj0
= 0 ;
29381 PyObject
* obj1
= 0 ;
29382 PyObject
* obj2
= 0 ;
29383 char * kwnames
[] = {
29384 (char *) "self",(char *) "itemId",(char *) "col", NULL
29387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29389 if (!SWIG_IsOK(res1
)) {
29390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29392 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29393 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29394 if (!SWIG_IsOK(ecode2
)) {
29395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29397 arg2
= static_cast< long >(val2
);
29399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29400 if (!SWIG_IsOK(ecode3
)) {
29401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29403 arg3
= static_cast< int >(val3
);
29406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29407 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29408 wxPyEndAllowThreads(__tstate
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29412 resultobj
= wxPyMake_wxObject(result
, 0);
29420 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29421 PyObject
*resultobj
= 0;
29422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29423 wxListItem
*arg2
= 0 ;
29429 PyObject
* obj0
= 0 ;
29430 PyObject
* obj1
= 0 ;
29431 char * kwnames
[] = {
29432 (char *) "self",(char *) "info", NULL
29435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29437 if (!SWIG_IsOK(res1
)) {
29438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29440 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29441 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29442 if (!SWIG_IsOK(res2
)) {
29443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29446 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29448 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 result
= (bool)(arg1
)->SetItem(*arg2
);
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29464 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29465 PyObject
*resultobj
= 0;
29466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29469 wxString
*arg4
= 0 ;
29470 int arg5
= (int) -1 ;
29478 bool temp4
= false ;
29481 PyObject
* obj0
= 0 ;
29482 PyObject
* obj1
= 0 ;
29483 PyObject
* obj2
= 0 ;
29484 PyObject
* obj3
= 0 ;
29485 PyObject
* obj4
= 0 ;
29486 char * kwnames
[] = {
29487 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29492 if (!SWIG_IsOK(res1
)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29495 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29496 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29497 if (!SWIG_IsOK(ecode2
)) {
29498 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29500 arg2
= static_cast< long >(val2
);
29501 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29502 if (!SWIG_IsOK(ecode3
)) {
29503 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29505 arg3
= static_cast< int >(val3
);
29507 arg4
= wxString_in_helper(obj3
);
29508 if (arg4
== NULL
) SWIG_fail
;
29512 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29513 if (!SWIG_IsOK(ecode5
)) {
29514 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29516 arg5
= static_cast< int >(val5
);
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29521 wxPyEndAllowThreads(__tstate
);
29522 if (PyErr_Occurred()) SWIG_fail
;
29524 resultobj
= SWIG_From_long(static_cast< long >(result
));
29539 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29540 PyObject
*resultobj
= 0;
29541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29551 PyObject
* obj0
= 0 ;
29552 PyObject
* obj1
= 0 ;
29553 PyObject
* obj2
= 0 ;
29554 char * kwnames
[] = {
29555 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29560 if (!SWIG_IsOK(res1
)) {
29561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29563 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29564 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29565 if (!SWIG_IsOK(ecode2
)) {
29566 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29568 arg2
= static_cast< long >(val2
);
29569 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29570 if (!SWIG_IsOK(ecode3
)) {
29571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29573 arg3
= static_cast< long >(val3
);
29575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29577 wxPyEndAllowThreads(__tstate
);
29578 if (PyErr_Occurred()) SWIG_fail
;
29580 resultobj
= SWIG_From_int(static_cast< int >(result
));
29587 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29588 PyObject
*resultobj
= 0;
29589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29602 PyObject
* obj0
= 0 ;
29603 PyObject
* obj1
= 0 ;
29604 PyObject
* obj2
= 0 ;
29605 PyObject
* obj3
= 0 ;
29606 char * kwnames
[] = {
29607 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29612 if (!SWIG_IsOK(res1
)) {
29613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29615 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29616 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29617 if (!SWIG_IsOK(ecode2
)) {
29618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29620 arg2
= static_cast< long >(val2
);
29621 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29622 if (!SWIG_IsOK(ecode3
)) {
29623 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29625 arg3
= static_cast< long >(val3
);
29626 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29627 if (!SWIG_IsOK(ecode4
)) {
29628 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29630 arg4
= static_cast< long >(val4
);
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29646 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29647 PyObject
*resultobj
= 0;
29648 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29651 int arg4
= (int) -1 ;
29661 PyObject
* obj0
= 0 ;
29662 PyObject
* obj1
= 0 ;
29663 PyObject
* obj2
= 0 ;
29664 PyObject
* obj3
= 0 ;
29665 char * kwnames
[] = {
29666 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
29669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29671 if (!SWIG_IsOK(res1
)) {
29672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29674 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29675 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29676 if (!SWIG_IsOK(ecode2
)) {
29677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
29679 arg2
= static_cast< long >(val2
);
29680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29681 if (!SWIG_IsOK(ecode3
)) {
29682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
29684 arg3
= static_cast< int >(val3
);
29686 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29687 if (!SWIG_IsOK(ecode4
)) {
29688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
29690 arg4
= static_cast< int >(val4
);
29693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29694 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
29695 wxPyEndAllowThreads(__tstate
);
29696 if (PyErr_Occurred()) SWIG_fail
;
29699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29707 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29708 PyObject
*resultobj
= 0;
29709 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 PyObject
* obj2
= 0 ;
29725 PyObject
* obj3
= 0 ;
29726 char * kwnames
[] = {
29727 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
29730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29732 if (!SWIG_IsOK(res1
)) {
29733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29735 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29736 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29737 if (!SWIG_IsOK(ecode2
)) {
29738 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
29740 arg2
= static_cast< long >(val2
);
29741 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29742 if (!SWIG_IsOK(ecode3
)) {
29743 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
29745 arg3
= static_cast< long >(val3
);
29746 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29747 if (!SWIG_IsOK(ecode4
)) {
29748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
29750 arg4
= static_cast< int >(val4
);
29752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29753 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
29754 wxPyEndAllowThreads(__tstate
);
29755 if (PyErr_Occurred()) SWIG_fail
;
29758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29766 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29767 PyObject
*resultobj
= 0;
29768 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29775 PyObject
* obj0
= 0 ;
29776 PyObject
* obj1
= 0 ;
29777 char * kwnames
[] = {
29778 (char *) "self",(char *) "item", NULL
29781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29783 if (!SWIG_IsOK(res1
)) {
29784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29786 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29787 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29788 if (!SWIG_IsOK(ecode2
)) {
29789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
29791 arg2
= static_cast< long >(val2
);
29793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29794 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
29795 wxPyEndAllowThreads(__tstate
);
29796 if (PyErr_Occurred()) SWIG_fail
;
29800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29811 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
= 0;
29813 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29815 wxString
*arg3
= 0 ;
29820 bool temp3
= false ;
29821 PyObject
* obj0
= 0 ;
29822 PyObject
* obj1
= 0 ;
29823 PyObject
* obj2
= 0 ;
29824 char * kwnames
[] = {
29825 (char *) "self",(char *) "item",(char *) "str", NULL
29828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29833 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29834 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29835 if (!SWIG_IsOK(ecode2
)) {
29836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
29838 arg2
= static_cast< long >(val2
);
29840 arg3
= wxString_in_helper(obj2
);
29841 if (arg3
== NULL
) SWIG_fail
;
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
29847 wxPyEndAllowThreads(__tstate
);
29848 if (PyErr_Occurred()) SWIG_fail
;
29850 resultobj
= SWIG_Py_Void();
29865 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29866 PyObject
*resultobj
= 0;
29867 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29874 PyObject
* obj0
= 0 ;
29875 PyObject
* obj1
= 0 ;
29876 char * kwnames
[] = {
29877 (char *) "self",(char *) "item", NULL
29880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29882 if (!SWIG_IsOK(res1
)) {
29883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29885 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29886 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29887 if (!SWIG_IsOK(ecode2
)) {
29888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
29890 arg2
= static_cast< long >(val2
);
29892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29893 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29897 resultobj
= SWIG_From_long(static_cast< long >(result
));
29904 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
= 0;
29906 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 PyObject
* obj2
= 0 ;
29919 char * kwnames
[] = {
29920 (char *) "self",(char *) "item",(char *) "data", NULL
29923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29925 if (!SWIG_IsOK(res1
)) {
29926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29928 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29929 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29930 if (!SWIG_IsOK(ecode2
)) {
29931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
29933 arg2
= static_cast< long >(val2
);
29934 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29935 if (!SWIG_IsOK(ecode3
)) {
29936 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
29938 arg3
= static_cast< long >(val3
);
29940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29941 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
29942 wxPyEndAllowThreads(__tstate
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29954 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
= 0;
29956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29963 PyObject
* obj0
= 0 ;
29964 PyObject
* obj1
= 0 ;
29965 char * kwnames
[] = {
29966 (char *) "self",(char *) "item", NULL
29969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29971 if (!SWIG_IsOK(res1
)) {
29972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29974 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29975 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29976 if (!SWIG_IsOK(ecode2
)) {
29977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
29979 arg2
= static_cast< long >(val2
);
29981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29982 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29986 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
29993 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29994 PyObject
*resultobj
= 0;
29995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29997 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30005 PyObject
* obj0
= 0 ;
30006 PyObject
* obj1
= 0 ;
30007 PyObject
* obj2
= 0 ;
30008 char * kwnames
[] = {
30009 (char *) "self",(char *) "item",(char *) "code", NULL
30012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30014 if (!SWIG_IsOK(res1
)) {
30015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30017 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30018 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30019 if (!SWIG_IsOK(ecode2
)) {
30020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30022 arg2
= static_cast< long >(val2
);
30024 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30025 if (!SWIG_IsOK(ecode3
)) {
30026 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30028 arg3
= static_cast< int >(val3
);
30031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30032 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30033 wxPyEndAllowThreads(__tstate
);
30034 if (PyErr_Occurred()) SWIG_fail
;
30036 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30043 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30044 PyObject
*resultobj
= 0;
30045 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30047 wxPoint
*arg3
= 0 ;
30054 PyObject
* obj0
= 0 ;
30055 PyObject
* obj1
= 0 ;
30056 PyObject
* obj2
= 0 ;
30057 char * kwnames
[] = {
30058 (char *) "self",(char *) "item",(char *) "pos", NULL
30061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30063 if (!SWIG_IsOK(res1
)) {
30064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30066 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30067 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30068 if (!SWIG_IsOK(ecode2
)) {
30069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30071 arg2
= static_cast< long >(val2
);
30074 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30078 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30079 wxPyEndAllowThreads(__tstate
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30091 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30092 PyObject
*resultobj
= 0;
30093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30097 PyObject
*swig_obj
[1] ;
30099 if (!args
) SWIG_fail
;
30100 swig_obj
[0] = args
;
30101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30102 if (!SWIG_IsOK(res1
)) {
30103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30105 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30108 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_From_int(static_cast< int >(result
));
30119 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30120 PyObject
*resultobj
= 0;
30121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30125 PyObject
*swig_obj
[1] ;
30127 if (!args
) SWIG_fail
;
30128 swig_obj
[0] = args
;
30129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30130 if (!SWIG_IsOK(res1
)) {
30131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30133 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30136 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30137 wxPyEndAllowThreads(__tstate
);
30138 if (PyErr_Occurred()) SWIG_fail
;
30140 resultobj
= SWIG_From_int(static_cast< int >(result
));
30147 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30148 PyObject
*resultobj
= 0;
30149 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30153 PyObject
*swig_obj
[1] ;
30155 if (!args
) SWIG_fail
;
30156 swig_obj
[0] = args
;
30157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30158 if (!SWIG_IsOK(res1
)) {
30159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30161 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30164 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30165 wxPyEndAllowThreads(__tstate
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30168 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30175 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30176 PyObject
*resultobj
= 0;
30177 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30179 bool arg3
= (bool) false ;
30186 PyObject
* obj0
= 0 ;
30187 PyObject
* obj1
= 0 ;
30188 PyObject
* obj2
= 0 ;
30189 char * kwnames
[] = {
30190 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30195 if (!SWIG_IsOK(res1
)) {
30196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30198 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30200 if (!SWIG_IsOK(ecode2
)) {
30201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30203 arg2
= static_cast< int >(val2
);
30205 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30206 if (!SWIG_IsOK(ecode3
)) {
30207 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30209 arg3
= static_cast< bool >(val3
);
30212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30213 (arg1
)->SetItemSpacing(arg2
,arg3
);
30214 wxPyEndAllowThreads(__tstate
);
30215 if (PyErr_Occurred()) SWIG_fail
;
30217 resultobj
= SWIG_Py_Void();
30224 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30225 PyObject
*resultobj
= 0;
30226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30230 PyObject
*swig_obj
[1] ;
30232 if (!args
) SWIG_fail
;
30233 swig_obj
[0] = args
;
30234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30235 if (!SWIG_IsOK(res1
)) {
30236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30238 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30242 wxPyEndAllowThreads(__tstate
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30245 resultobj
= SWIG_From_int(static_cast< int >(result
));
30252 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30253 PyObject
*resultobj
= 0;
30254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30258 PyObject
*swig_obj
[1] ;
30260 if (!args
) SWIG_fail
;
30261 swig_obj
[0] = args
;
30262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30263 if (!SWIG_IsOK(res1
)) {
30264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30266 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30269 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30273 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30280 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30281 PyObject
*resultobj
= 0;
30282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30283 wxColour
*arg2
= 0 ;
30287 PyObject
* obj0
= 0 ;
30288 PyObject
* obj1
= 0 ;
30289 char * kwnames
[] = {
30290 (char *) "self",(char *) "col", NULL
30293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30295 if (!SWIG_IsOK(res1
)) {
30296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30298 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30301 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30305 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30306 wxPyEndAllowThreads(__tstate
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30309 resultobj
= SWIG_Py_Void();
30316 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30317 PyObject
*resultobj
= 0;
30318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30322 PyObject
*swig_obj
[1] ;
30324 if (!args
) SWIG_fail
;
30325 swig_obj
[0] = args
;
30326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30327 if (!SWIG_IsOK(res1
)) {
30328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30330 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30333 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30337 resultobj
= SWIG_From_long(static_cast< long >(result
));
30344 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30345 PyObject
*resultobj
= 0;
30346 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30348 bool arg3
= (bool) true ;
30355 PyObject
* obj0
= 0 ;
30356 PyObject
* obj1
= 0 ;
30357 PyObject
* obj2
= 0 ;
30358 char * kwnames
[] = {
30359 (char *) "self",(char *) "style",(char *) "add", NULL
30362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30364 if (!SWIG_IsOK(res1
)) {
30365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30367 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30368 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30369 if (!SWIG_IsOK(ecode2
)) {
30370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30372 arg2
= static_cast< long >(val2
);
30374 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30375 if (!SWIG_IsOK(ecode3
)) {
30376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30378 arg3
= static_cast< bool >(val3
);
30381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30382 (arg1
)->SetSingleStyle(arg2
,arg3
);
30383 wxPyEndAllowThreads(__tstate
);
30384 if (PyErr_Occurred()) SWIG_fail
;
30386 resultobj
= SWIG_Py_Void();
30393 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30394 PyObject
*resultobj
= 0;
30395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30397 int arg3
= (int) wxLIST_NEXT_ALL
;
30398 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30408 PyObject
* obj0
= 0 ;
30409 PyObject
* obj1
= 0 ;
30410 PyObject
* obj2
= 0 ;
30411 PyObject
* obj3
= 0 ;
30412 char * kwnames
[] = {
30413 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30418 if (!SWIG_IsOK(res1
)) {
30419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30421 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30422 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30423 if (!SWIG_IsOK(ecode2
)) {
30424 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30426 arg2
= static_cast< long >(val2
);
30428 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30429 if (!SWIG_IsOK(ecode3
)) {
30430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30432 arg3
= static_cast< int >(val3
);
30435 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30436 if (!SWIG_IsOK(ecode4
)) {
30437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30439 arg4
= static_cast< int >(val4
);
30442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30443 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30444 wxPyEndAllowThreads(__tstate
);
30445 if (PyErr_Occurred()) SWIG_fail
;
30447 resultobj
= SWIG_From_long(static_cast< long >(result
));
30454 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30455 PyObject
*resultobj
= 0;
30456 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30458 wxImageList
*result
= 0 ;
30463 PyObject
* obj0
= 0 ;
30464 PyObject
* obj1
= 0 ;
30465 char * kwnames
[] = {
30466 (char *) "self",(char *) "which", NULL
30469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30471 if (!SWIG_IsOK(res1
)) {
30472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30474 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30476 if (!SWIG_IsOK(ecode2
)) {
30477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30479 arg2
= static_cast< int >(val2
);
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30483 wxPyEndAllowThreads(__tstate
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30487 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30495 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30496 PyObject
*resultobj
= 0;
30497 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30498 wxImageList
*arg2
= (wxImageList
*) 0 ;
30506 PyObject
* obj0
= 0 ;
30507 PyObject
* obj1
= 0 ;
30508 PyObject
* obj2
= 0 ;
30509 char * kwnames
[] = {
30510 (char *) "self",(char *) "imageList",(char *) "which", NULL
30513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30515 if (!SWIG_IsOK(res1
)) {
30516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30518 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30520 if (!SWIG_IsOK(res2
)) {
30521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30523 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30524 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30525 if (!SWIG_IsOK(ecode3
)) {
30526 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30528 arg3
= static_cast< int >(val3
);
30530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30531 (arg1
)->SetImageList(arg2
,arg3
);
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30535 resultobj
= SWIG_Py_Void();
30542 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30543 PyObject
*resultobj
= 0;
30544 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30545 wxImageList
*arg2
= (wxImageList
*) 0 ;
30552 PyObject
* obj0
= 0 ;
30553 PyObject
* obj1
= 0 ;
30554 PyObject
* obj2
= 0 ;
30555 char * kwnames
[] = {
30556 (char *) "self",(char *) "imageList",(char *) "which", NULL
30559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30561 if (!SWIG_IsOK(res1
)) {
30562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30564 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30565 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30566 if (!SWIG_IsOK(res2
)) {
30567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30569 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30570 if (!SWIG_IsOK(ecode3
)) {
30571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30573 arg3
= static_cast< int >(val3
);
30575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30576 (arg1
)->AssignImageList(arg2
,arg3
);
30577 wxPyEndAllowThreads(__tstate
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30580 resultobj
= SWIG_Py_Void();
30587 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30588 PyObject
*resultobj
= 0;
30589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30593 PyObject
*swig_obj
[1] ;
30595 if (!args
) SWIG_fail
;
30596 swig_obj
[0] = args
;
30597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30598 if (!SWIG_IsOK(res1
)) {
30599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30601 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30604 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30605 wxPyEndAllowThreads(__tstate
);
30606 if (PyErr_Occurred()) SWIG_fail
;
30609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30617 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30618 PyObject
*resultobj
= 0;
30619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30623 PyObject
*swig_obj
[1] ;
30625 if (!args
) SWIG_fail
;
30626 swig_obj
[0] = args
;
30627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30628 if (!SWIG_IsOK(res1
)) {
30629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30631 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30634 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30635 wxPyEndAllowThreads(__tstate
);
30636 if (PyErr_Occurred()) SWIG_fail
;
30639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30647 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30648 PyObject
*resultobj
= 0;
30649 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30655 PyObject
* obj0
= 0 ;
30656 PyObject
* obj1
= 0 ;
30657 char * kwnames
[] = {
30658 (char *) "self",(char *) "item", NULL
30661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30663 if (!SWIG_IsOK(res1
)) {
30664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30666 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30667 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30668 if (!SWIG_IsOK(ecode2
)) {
30669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
30671 arg2
= static_cast< long >(val2
);
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30674 (arg1
)->RefreshItem(arg2
);
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 resultobj
= SWIG_Py_Void();
30685 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
= 0;
30687 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30696 PyObject
* obj0
= 0 ;
30697 PyObject
* obj1
= 0 ;
30698 PyObject
* obj2
= 0 ;
30699 char * kwnames
[] = {
30700 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
30703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30705 if (!SWIG_IsOK(res1
)) {
30706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30708 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30709 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30710 if (!SWIG_IsOK(ecode2
)) {
30711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
30713 arg2
= static_cast< long >(val2
);
30714 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30715 if (!SWIG_IsOK(ecode3
)) {
30716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
30718 arg3
= static_cast< long >(val3
);
30720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30721 (arg1
)->RefreshItems(arg2
,arg3
);
30722 wxPyEndAllowThreads(__tstate
);
30723 if (PyErr_Occurred()) SWIG_fail
;
30725 resultobj
= SWIG_Py_Void();
30732 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
= 0;
30734 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30735 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
30741 PyObject
* obj0
= 0 ;
30742 PyObject
* obj1
= 0 ;
30743 char * kwnames
[] = {
30744 (char *) "self",(char *) "flag", NULL
30747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30749 if (!SWIG_IsOK(res1
)) {
30750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30752 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30755 if (!SWIG_IsOK(ecode2
)) {
30756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
30758 arg2
= static_cast< int >(val2
);
30761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30762 result
= (bool)(arg1
)->Arrange(arg2
);
30763 wxPyEndAllowThreads(__tstate
);
30764 if (PyErr_Occurred()) SWIG_fail
;
30767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30775 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
= 0;
30777 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30784 PyObject
* obj0
= 0 ;
30785 PyObject
* obj1
= 0 ;
30786 char * kwnames
[] = {
30787 (char *) "self",(char *) "item", NULL
30790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30792 if (!SWIG_IsOK(res1
)) {
30793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30795 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30796 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30797 if (!SWIG_IsOK(ecode2
)) {
30798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
30800 arg2
= static_cast< long >(val2
);
30802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30803 result
= (bool)(arg1
)->DeleteItem(arg2
);
30804 wxPyEndAllowThreads(__tstate
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30816 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30817 PyObject
*resultobj
= 0;
30818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30822 PyObject
*swig_obj
[1] ;
30824 if (!args
) SWIG_fail
;
30825 swig_obj
[0] = args
;
30826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30827 if (!SWIG_IsOK(res1
)) {
30828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30830 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 result
= (bool)(arg1
)->DeleteAllItems();
30834 wxPyEndAllowThreads(__tstate
);
30835 if (PyErr_Occurred()) SWIG_fail
;
30838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30846 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
= 0;
30848 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30855 PyObject
* obj0
= 0 ;
30856 PyObject
* obj1
= 0 ;
30857 char * kwnames
[] = {
30858 (char *) "self",(char *) "col", NULL
30861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30863 if (!SWIG_IsOK(res1
)) {
30864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30866 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30868 if (!SWIG_IsOK(ecode2
)) {
30869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
30871 arg2
= static_cast< int >(val2
);
30873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30874 result
= (bool)(arg1
)->DeleteColumn(arg2
);
30875 wxPyEndAllowThreads(__tstate
);
30876 if (PyErr_Occurred()) SWIG_fail
;
30879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30887 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30888 PyObject
*resultobj
= 0;
30889 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30893 PyObject
*swig_obj
[1] ;
30895 if (!args
) SWIG_fail
;
30896 swig_obj
[0] = args
;
30897 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30898 if (!SWIG_IsOK(res1
)) {
30899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30901 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30904 result
= (bool)(arg1
)->DeleteAllColumns();
30905 wxPyEndAllowThreads(__tstate
);
30906 if (PyErr_Occurred()) SWIG_fail
;
30909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30917 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30918 PyObject
*resultobj
= 0;
30919 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30922 PyObject
*swig_obj
[1] ;
30924 if (!args
) SWIG_fail
;
30925 swig_obj
[0] = args
;
30926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30927 if (!SWIG_IsOK(res1
)) {
30928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30930 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30933 (arg1
)->ClearAll();
30934 wxPyEndAllowThreads(__tstate
);
30935 if (PyErr_Occurred()) SWIG_fail
;
30937 resultobj
= SWIG_Py_Void();
30944 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30945 PyObject
*resultobj
= 0;
30946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30952 PyObject
* obj0
= 0 ;
30953 PyObject
* obj1
= 0 ;
30954 char * kwnames
[] = {
30955 (char *) "self",(char *) "item", NULL
30958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30960 if (!SWIG_IsOK(res1
)) {
30961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30963 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30964 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30965 if (!SWIG_IsOK(ecode2
)) {
30966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
30968 arg2
= static_cast< long >(val2
);
30970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30971 (arg1
)->EditLabel(arg2
);
30972 wxPyEndAllowThreads(__tstate
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30975 resultobj
= SWIG_Py_Void();
30982 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30983 PyObject
*resultobj
= 0;
30984 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30991 PyObject
* obj0
= 0 ;
30992 PyObject
* obj1
= 0 ;
30993 char * kwnames
[] = {
30994 (char *) "self",(char *) "item", NULL
30997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30999 if (!SWIG_IsOK(res1
)) {
31000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31002 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31003 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31004 if (!SWIG_IsOK(ecode2
)) {
31005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31007 arg2
= static_cast< long >(val2
);
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31010 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31011 wxPyEndAllowThreads(__tstate
);
31012 if (PyErr_Occurred()) SWIG_fail
;
31015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31023 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31024 PyObject
*resultobj
= 0;
31025 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31027 wxString
*arg3
= 0 ;
31028 bool arg4
= (bool) false ;
31034 bool temp3
= false ;
31037 PyObject
* obj0
= 0 ;
31038 PyObject
* obj1
= 0 ;
31039 PyObject
* obj2
= 0 ;
31040 PyObject
* obj3
= 0 ;
31041 char * kwnames
[] = {
31042 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31047 if (!SWIG_IsOK(res1
)) {
31048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31050 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31051 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31052 if (!SWIG_IsOK(ecode2
)) {
31053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31055 arg2
= static_cast< long >(val2
);
31057 arg3
= wxString_in_helper(obj2
);
31058 if (arg3
== NULL
) SWIG_fail
;
31062 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31063 if (!SWIG_IsOK(ecode4
)) {
31064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31066 arg4
= static_cast< bool >(val4
);
31069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31070 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31071 wxPyEndAllowThreads(__tstate
);
31072 if (PyErr_Occurred()) SWIG_fail
;
31074 resultobj
= SWIG_From_long(static_cast< long >(result
));
31089 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31090 PyObject
*resultobj
= 0;
31091 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31101 PyObject
* obj0
= 0 ;
31102 PyObject
* obj1
= 0 ;
31103 PyObject
* obj2
= 0 ;
31104 char * kwnames
[] = {
31105 (char *) "self",(char *) "start",(char *) "data", NULL
31108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31110 if (!SWIG_IsOK(res1
)) {
31111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31113 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31114 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31115 if (!SWIG_IsOK(ecode2
)) {
31116 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31118 arg2
= static_cast< long >(val2
);
31119 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31120 if (!SWIG_IsOK(ecode3
)) {
31121 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31123 arg3
= static_cast< long >(val3
);
31125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31126 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31127 wxPyEndAllowThreads(__tstate
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31130 resultobj
= SWIG_From_long(static_cast< long >(result
));
31137 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31138 PyObject
*resultobj
= 0;
31139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31141 wxPoint
*arg3
= 0 ;
31151 PyObject
* obj0
= 0 ;
31152 PyObject
* obj1
= 0 ;
31153 PyObject
* obj2
= 0 ;
31154 PyObject
* obj3
= 0 ;
31155 char * kwnames
[] = {
31156 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31161 if (!SWIG_IsOK(res1
)) {
31162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31164 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31165 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31166 if (!SWIG_IsOK(ecode2
)) {
31167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31169 arg2
= static_cast< long >(val2
);
31172 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31174 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31175 if (!SWIG_IsOK(ecode4
)) {
31176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31178 arg4
= static_cast< int >(val4
);
31180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31181 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31182 wxPyEndAllowThreads(__tstate
);
31183 if (PyErr_Occurred()) SWIG_fail
;
31185 resultobj
= SWIG_From_long(static_cast< long >(result
));
31192 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31193 PyObject
*resultobj
= 0;
31194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31195 wxPoint
*arg2
= 0 ;
31202 int res3
= SWIG_TMPOBJ
;
31203 PyObject
* obj0
= 0 ;
31204 PyObject
* obj1
= 0 ;
31205 char * kwnames
[] = {
31206 (char *) "self",(char *) "point", NULL
31210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31212 if (!SWIG_IsOK(res1
)) {
31213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31215 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31218 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31226 resultobj
= SWIG_From_long(static_cast< long >(result
));
31227 if (SWIG_IsTmpObj(res3
)) {
31228 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31230 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31231 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31239 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31240 PyObject
*resultobj
= 0;
31241 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31242 wxPoint
*arg2
= 0 ;
31244 long *arg4
= (long *) 0 ;
31250 int res3
= SWIG_TMPOBJ
;
31252 int res4
= SWIG_TMPOBJ
;
31253 PyObject
* obj0
= 0 ;
31254 PyObject
* obj1
= 0 ;
31255 char * kwnames
[] = {
31256 (char *) "self",(char *) "point", NULL
31261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31263 if (!SWIG_IsOK(res1
)) {
31264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31266 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31269 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31274 wxPyEndAllowThreads(__tstate
);
31275 if (PyErr_Occurred()) SWIG_fail
;
31277 resultobj
= SWIG_From_long(static_cast< long >(result
));
31278 if (SWIG_IsTmpObj(res3
)) {
31279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31281 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31284 if (SWIG_IsTmpObj(res4
)) {
31285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31287 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31296 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31297 PyObject
*resultobj
= 0;
31298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31299 wxListItem
*arg2
= 0 ;
31305 PyObject
* obj0
= 0 ;
31306 PyObject
* obj1
= 0 ;
31307 char * kwnames
[] = {
31308 (char *) "self",(char *) "info", NULL
31311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31313 if (!SWIG_IsOK(res1
)) {
31314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31316 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31318 if (!SWIG_IsOK(res2
)) {
31319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31324 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31327 result
= (long)(arg1
)->InsertItem(*arg2
);
31328 wxPyEndAllowThreads(__tstate
);
31329 if (PyErr_Occurred()) SWIG_fail
;
31331 resultobj
= SWIG_From_long(static_cast< long >(result
));
31338 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31339 PyObject
*resultobj
= 0;
31340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31342 wxString
*arg3
= 0 ;
31343 int arg4
= (int) -1 ;
31349 bool temp3
= false ;
31352 PyObject
* obj0
= 0 ;
31353 PyObject
* obj1
= 0 ;
31354 PyObject
* obj2
= 0 ;
31355 PyObject
* obj3
= 0 ;
31356 char * kwnames
[] = {
31357 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31362 if (!SWIG_IsOK(res1
)) {
31363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31365 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31366 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31367 if (!SWIG_IsOK(ecode2
)) {
31368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31370 arg2
= static_cast< long >(val2
);
31372 arg3
= wxString_in_helper(obj2
);
31373 if (arg3
== NULL
) SWIG_fail
;
31377 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31378 if (!SWIG_IsOK(ecode4
)) {
31379 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31381 arg4
= static_cast< int >(val4
);
31384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31385 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31386 wxPyEndAllowThreads(__tstate
);
31387 if (PyErr_Occurred()) SWIG_fail
;
31389 resultobj
= SWIG_From_long(static_cast< long >(result
));
31404 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31405 PyObject
*resultobj
= 0;
31406 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31416 PyObject
* obj0
= 0 ;
31417 PyObject
* obj1
= 0 ;
31418 PyObject
* obj2
= 0 ;
31419 char * kwnames
[] = {
31420 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31425 if (!SWIG_IsOK(res1
)) {
31426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31428 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31429 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31430 if (!SWIG_IsOK(ecode2
)) {
31431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31433 arg2
= static_cast< long >(val2
);
31434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31435 if (!SWIG_IsOK(ecode3
)) {
31436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31438 arg3
= static_cast< int >(val3
);
31440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31441 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31442 wxPyEndAllowThreads(__tstate
);
31443 if (PyErr_Occurred()) SWIG_fail
;
31445 resultobj
= SWIG_From_long(static_cast< long >(result
));
31452 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31453 PyObject
*resultobj
= 0;
31454 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31456 wxString
*arg3
= 0 ;
31463 bool temp3
= false ;
31466 PyObject
* obj0
= 0 ;
31467 PyObject
* obj1
= 0 ;
31468 PyObject
* obj2
= 0 ;
31469 PyObject
* obj3
= 0 ;
31470 char * kwnames
[] = {
31471 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31476 if (!SWIG_IsOK(res1
)) {
31477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31479 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31480 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31481 if (!SWIG_IsOK(ecode2
)) {
31482 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31484 arg2
= static_cast< long >(val2
);
31486 arg3
= wxString_in_helper(obj2
);
31487 if (arg3
== NULL
) SWIG_fail
;
31490 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31491 if (!SWIG_IsOK(ecode4
)) {
31492 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31494 arg4
= static_cast< int >(val4
);
31496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31497 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31498 wxPyEndAllowThreads(__tstate
);
31499 if (PyErr_Occurred()) SWIG_fail
;
31501 resultobj
= SWIG_From_long(static_cast< long >(result
));
31516 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31517 PyObject
*resultobj
= 0;
31518 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31520 wxListItem
*arg3
= 0 ;
31528 PyObject
* obj0
= 0 ;
31529 PyObject
* obj1
= 0 ;
31530 PyObject
* obj2
= 0 ;
31531 char * kwnames
[] = {
31532 (char *) "self",(char *) "col",(char *) "info", NULL
31535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31537 if (!SWIG_IsOK(res1
)) {
31538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31540 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31541 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31542 if (!SWIG_IsOK(ecode2
)) {
31543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31545 arg2
= static_cast< long >(val2
);
31546 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31547 if (!SWIG_IsOK(res3
)) {
31548 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31553 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31560 resultobj
= SWIG_From_long(static_cast< long >(result
));
31567 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31568 PyObject
*resultobj
= 0;
31569 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31571 wxString
*arg3
= 0 ;
31572 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31573 int arg5
= (int) -1 ;
31579 bool temp3
= false ;
31584 PyObject
* obj0
= 0 ;
31585 PyObject
* obj1
= 0 ;
31586 PyObject
* obj2
= 0 ;
31587 PyObject
* obj3
= 0 ;
31588 PyObject
* obj4
= 0 ;
31589 char * kwnames
[] = {
31590 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31595 if (!SWIG_IsOK(res1
)) {
31596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31598 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31599 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31600 if (!SWIG_IsOK(ecode2
)) {
31601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31603 arg2
= static_cast< long >(val2
);
31605 arg3
= wxString_in_helper(obj2
);
31606 if (arg3
== NULL
) SWIG_fail
;
31610 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31611 if (!SWIG_IsOK(ecode4
)) {
31612 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31614 arg4
= static_cast< int >(val4
);
31617 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31618 if (!SWIG_IsOK(ecode5
)) {
31619 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31621 arg5
= static_cast< int >(val5
);
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31629 resultobj
= SWIG_From_long(static_cast< long >(result
));
31644 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31645 PyObject
*resultobj
= 0;
31646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31652 PyObject
* obj0
= 0 ;
31653 PyObject
* obj1
= 0 ;
31654 char * kwnames
[] = {
31655 (char *) "self",(char *) "count", NULL
31658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31660 if (!SWIG_IsOK(res1
)) {
31661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31663 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31664 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31665 if (!SWIG_IsOK(ecode2
)) {
31666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
31668 arg2
= static_cast< long >(val2
);
31670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31671 (arg1
)->SetItemCount(arg2
);
31672 wxPyEndAllowThreads(__tstate
);
31673 if (PyErr_Occurred()) SWIG_fail
;
31675 resultobj
= SWIG_Py_Void();
31682 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31683 PyObject
*resultobj
= 0;
31684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31694 PyObject
* obj0
= 0 ;
31695 PyObject
* obj1
= 0 ;
31696 PyObject
* obj2
= 0 ;
31697 char * kwnames
[] = {
31698 (char *) "self",(char *) "dx",(char *) "dy", NULL
31701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31703 if (!SWIG_IsOK(res1
)) {
31704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31706 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31708 if (!SWIG_IsOK(ecode2
)) {
31709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
31711 arg2
= static_cast< int >(val2
);
31712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31713 if (!SWIG_IsOK(ecode3
)) {
31714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
31716 arg3
= static_cast< int >(val3
);
31718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31719 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
31720 wxPyEndAllowThreads(__tstate
);
31721 if (PyErr_Occurred()) SWIG_fail
;
31724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31732 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31733 PyObject
*resultobj
= 0;
31734 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31736 wxColour
*arg3
= 0 ;
31742 PyObject
* obj0
= 0 ;
31743 PyObject
* obj1
= 0 ;
31744 PyObject
* obj2
= 0 ;
31745 char * kwnames
[] = {
31746 (char *) "self",(char *) "item",(char *) "col", NULL
31749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31751 if (!SWIG_IsOK(res1
)) {
31752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31754 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31755 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31756 if (!SWIG_IsOK(ecode2
)) {
31757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31759 arg2
= static_cast< long >(val2
);
31762 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31766 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
31767 wxPyEndAllowThreads(__tstate
);
31768 if (PyErr_Occurred()) SWIG_fail
;
31770 resultobj
= SWIG_Py_Void();
31777 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31778 PyObject
*resultobj
= 0;
31779 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31786 PyObject
* obj0
= 0 ;
31787 PyObject
* obj1
= 0 ;
31788 char * kwnames
[] = {
31789 (char *) "self",(char *) "item", NULL
31792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31794 if (!SWIG_IsOK(res1
)) {
31795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31797 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31798 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31799 if (!SWIG_IsOK(ecode2
)) {
31800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
31802 arg2
= static_cast< long >(val2
);
31804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31805 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
31806 wxPyEndAllowThreads(__tstate
);
31807 if (PyErr_Occurred()) SWIG_fail
;
31809 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31816 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31817 PyObject
*resultobj
= 0;
31818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31820 wxColour
*arg3
= 0 ;
31826 PyObject
* obj0
= 0 ;
31827 PyObject
* obj1
= 0 ;
31828 PyObject
* obj2
= 0 ;
31829 char * kwnames
[] = {
31830 (char *) "self",(char *) "item",(char *) "col", NULL
31833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31835 if (!SWIG_IsOK(res1
)) {
31836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31838 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31839 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31840 if (!SWIG_IsOK(ecode2
)) {
31841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31843 arg2
= static_cast< long >(val2
);
31846 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
31851 wxPyEndAllowThreads(__tstate
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31854 resultobj
= SWIG_Py_Void();
31861 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31862 PyObject
*resultobj
= 0;
31863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31870 PyObject
* obj0
= 0 ;
31871 PyObject
* obj1
= 0 ;
31872 char * kwnames
[] = {
31873 (char *) "self",(char *) "item", NULL
31876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31878 if (!SWIG_IsOK(res1
)) {
31879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31881 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31882 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31883 if (!SWIG_IsOK(ecode2
)) {
31884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
31886 arg2
= static_cast< long >(val2
);
31888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31889 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
31890 wxPyEndAllowThreads(__tstate
);
31891 if (PyErr_Occurred()) SWIG_fail
;
31893 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
31900 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31901 PyObject
*resultobj
= 0;
31902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31911 PyObject
* obj0
= 0 ;
31912 PyObject
* obj1
= 0 ;
31913 PyObject
* obj2
= 0 ;
31914 char * kwnames
[] = {
31915 (char *) "self",(char *) "item",(char *) "f", NULL
31918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31920 if (!SWIG_IsOK(res1
)) {
31921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31923 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31924 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31925 if (!SWIG_IsOK(ecode2
)) {
31926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
31928 arg2
= static_cast< long >(val2
);
31929 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
31930 if (!SWIG_IsOK(res3
)) {
31931 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31934 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
31936 arg3
= reinterpret_cast< wxFont
* >(argp3
);
31938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31939 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
31940 wxPyEndAllowThreads(__tstate
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31943 resultobj
= SWIG_Py_Void();
31950 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31951 PyObject
*resultobj
= 0;
31952 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31959 PyObject
* obj0
= 0 ;
31960 PyObject
* obj1
= 0 ;
31961 char * kwnames
[] = {
31962 (char *) "self",(char *) "item", NULL
31965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31967 if (!SWIG_IsOK(res1
)) {
31968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
31970 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31971 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31972 if (!SWIG_IsOK(ecode2
)) {
31973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
31975 arg2
= static_cast< long >(val2
);
31977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31978 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
31979 wxPyEndAllowThreads(__tstate
);
31980 if (PyErr_Occurred()) SWIG_fail
;
31982 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
31989 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31990 PyObject
*resultobj
= 0;
31991 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31992 PyObject
*arg2
= (PyObject
*) 0 ;
31996 PyObject
* obj0
= 0 ;
31997 PyObject
* obj1
= 0 ;
31998 char * kwnames
[] = {
31999 (char *) "self",(char *) "func", NULL
32002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32004 if (!SWIG_IsOK(res1
)) {
32005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32007 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32011 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32012 wxPyEndAllowThreads(__tstate
);
32013 if (PyErr_Occurred()) SWIG_fail
;
32016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32024 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32025 PyObject
*resultobj
= 0;
32026 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32027 wxWindow
*result
= 0 ;
32030 PyObject
*swig_obj
[1] ;
32032 if (!args
) SWIG_fail
;
32033 swig_obj
[0] = args
;
32034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32035 if (!SWIG_IsOK(res1
)) {
32036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32038 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32041 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32046 resultobj
= wxPyMake_wxObject(result
, 0);
32054 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32055 PyObject
*resultobj
= 0;
32056 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32057 SwigValueWrapper
<wxVisualAttributes
> result
;
32060 PyObject
* obj0
= 0 ;
32061 char * kwnames
[] = {
32062 (char *) "variant", NULL
32065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32067 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32068 if (!SWIG_IsOK(ecode1
)) {
32069 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32071 arg1
= static_cast< wxWindowVariant
>(val1
);
32074 if (!wxPyCheckForApp()) SWIG_fail
;
32075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32076 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32077 wxPyEndAllowThreads(__tstate
);
32078 if (PyErr_Occurred()) SWIG_fail
;
32080 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32087 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32090 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32091 return SWIG_Py_Void();
32094 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32095 return SWIG_Python_InitShadowInstance(args
);
32098 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32099 PyObject
*resultobj
= 0;
32100 wxWindow
*arg1
= (wxWindow
*) 0 ;
32101 int arg2
= (int) -1 ;
32102 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32103 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32104 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32105 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32106 long arg5
= (long) wxLC_REPORT
;
32107 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32108 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32109 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32110 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32111 wxListView
*result
= 0 ;
32122 bool temp7
= false ;
32123 PyObject
* obj0
= 0 ;
32124 PyObject
* obj1
= 0 ;
32125 PyObject
* obj2
= 0 ;
32126 PyObject
* obj3
= 0 ;
32127 PyObject
* obj4
= 0 ;
32128 PyObject
* obj5
= 0 ;
32129 PyObject
* obj6
= 0 ;
32130 char * kwnames
[] = {
32131 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32136 if (!SWIG_IsOK(res1
)) {
32137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32139 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32142 if (!SWIG_IsOK(ecode2
)) {
32143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32145 arg2
= static_cast< int >(val2
);
32150 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32156 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32160 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32161 if (!SWIG_IsOK(ecode5
)) {
32162 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32164 arg5
= static_cast< long >(val5
);
32167 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32168 if (!SWIG_IsOK(res6
)) {
32169 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32172 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32174 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32178 arg7
= wxString_in_helper(obj6
);
32179 if (arg7
== NULL
) SWIG_fail
;
32184 if (!wxPyCheckForApp()) SWIG_fail
;
32185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32186 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32187 wxPyEndAllowThreads(__tstate
);
32188 if (PyErr_Occurred()) SWIG_fail
;
32190 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32205 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32206 PyObject
*resultobj
= 0;
32207 wxListView
*result
= 0 ;
32209 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32211 if (!wxPyCheckForApp()) SWIG_fail
;
32212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32213 result
= (wxListView
*)new wxListView();
32214 wxPyEndAllowThreads(__tstate
);
32215 if (PyErr_Occurred()) SWIG_fail
;
32217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32224 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32225 PyObject
*resultobj
= 0;
32226 wxListView
*arg1
= (wxListView
*) 0 ;
32227 wxWindow
*arg2
= (wxWindow
*) 0 ;
32228 int arg3
= (int) -1 ;
32229 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32230 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32231 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32232 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32233 long arg6
= (long) wxLC_REPORT
;
32234 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32235 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32236 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32237 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32251 bool temp8
= false ;
32252 PyObject
* obj0
= 0 ;
32253 PyObject
* obj1
= 0 ;
32254 PyObject
* obj2
= 0 ;
32255 PyObject
* obj3
= 0 ;
32256 PyObject
* obj4
= 0 ;
32257 PyObject
* obj5
= 0 ;
32258 PyObject
* obj6
= 0 ;
32259 PyObject
* obj7
= 0 ;
32260 char * kwnames
[] = {
32261 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32266 if (!SWIG_IsOK(res1
)) {
32267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32269 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32270 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32271 if (!SWIG_IsOK(res2
)) {
32272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32274 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32277 if (!SWIG_IsOK(ecode3
)) {
32278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32280 arg3
= static_cast< int >(val3
);
32285 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32291 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32295 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32296 if (!SWIG_IsOK(ecode6
)) {
32297 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32299 arg6
= static_cast< long >(val6
);
32302 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32303 if (!SWIG_IsOK(res7
)) {
32304 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32309 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32313 arg8
= wxString_in_helper(obj7
);
32314 if (arg8
== NULL
) SWIG_fail
;
32319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32320 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32321 wxPyEndAllowThreads(__tstate
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32341 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32342 PyObject
*resultobj
= 0;
32343 wxListView
*arg1
= (wxListView
*) 0 ;
32345 bool arg3
= (bool) true ;
32352 PyObject
* obj0
= 0 ;
32353 PyObject
* obj1
= 0 ;
32354 PyObject
* obj2
= 0 ;
32355 char * kwnames
[] = {
32356 (char *) "self",(char *) "n",(char *) "on", NULL
32359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32361 if (!SWIG_IsOK(res1
)) {
32362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32364 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32365 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32366 if (!SWIG_IsOK(ecode2
)) {
32367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32369 arg2
= static_cast< long >(val2
);
32371 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32372 if (!SWIG_IsOK(ecode3
)) {
32373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32375 arg3
= static_cast< bool >(val3
);
32378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32379 (arg1
)->Select(arg2
,arg3
);
32380 wxPyEndAllowThreads(__tstate
);
32381 if (PyErr_Occurred()) SWIG_fail
;
32383 resultobj
= SWIG_Py_Void();
32390 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32391 PyObject
*resultobj
= 0;
32392 wxListView
*arg1
= (wxListView
*) 0 ;
32398 PyObject
* obj0
= 0 ;
32399 PyObject
* obj1
= 0 ;
32400 char * kwnames
[] = {
32401 (char *) "self",(char *) "index", NULL
32404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32406 if (!SWIG_IsOK(res1
)) {
32407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32409 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32410 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32411 if (!SWIG_IsOK(ecode2
)) {
32412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32414 arg2
= static_cast< long >(val2
);
32416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32417 (arg1
)->Focus(arg2
);
32418 wxPyEndAllowThreads(__tstate
);
32419 if (PyErr_Occurred()) SWIG_fail
;
32421 resultobj
= SWIG_Py_Void();
32428 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32429 PyObject
*resultobj
= 0;
32430 wxListView
*arg1
= (wxListView
*) 0 ;
32434 PyObject
*swig_obj
[1] ;
32436 if (!args
) SWIG_fail
;
32437 swig_obj
[0] = args
;
32438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32439 if (!SWIG_IsOK(res1
)) {
32440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32442 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32445 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32446 wxPyEndAllowThreads(__tstate
);
32447 if (PyErr_Occurred()) SWIG_fail
;
32449 resultobj
= SWIG_From_long(static_cast< long >(result
));
32456 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32457 PyObject
*resultobj
= 0;
32458 wxListView
*arg1
= (wxListView
*) 0 ;
32465 PyObject
* obj0
= 0 ;
32466 PyObject
* obj1
= 0 ;
32467 char * kwnames
[] = {
32468 (char *) "self",(char *) "item", NULL
32471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32473 if (!SWIG_IsOK(res1
)) {
32474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32476 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32477 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32478 if (!SWIG_IsOK(ecode2
)) {
32479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32481 arg2
= static_cast< long >(val2
);
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32484 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32485 wxPyEndAllowThreads(__tstate
);
32486 if (PyErr_Occurred()) SWIG_fail
;
32488 resultobj
= SWIG_From_long(static_cast< long >(result
));
32495 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32496 PyObject
*resultobj
= 0;
32497 wxListView
*arg1
= (wxListView
*) 0 ;
32501 PyObject
*swig_obj
[1] ;
32503 if (!args
) SWIG_fail
;
32504 swig_obj
[0] = args
;
32505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32506 if (!SWIG_IsOK(res1
)) {
32507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32509 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32512 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32513 wxPyEndAllowThreads(__tstate
);
32514 if (PyErr_Occurred()) SWIG_fail
;
32516 resultobj
= SWIG_From_long(static_cast< long >(result
));
32523 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32524 PyObject
*resultobj
= 0;
32525 wxListView
*arg1
= (wxListView
*) 0 ;
32532 PyObject
* obj0
= 0 ;
32533 PyObject
* obj1
= 0 ;
32534 char * kwnames
[] = {
32535 (char *) "self",(char *) "index", NULL
32538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32540 if (!SWIG_IsOK(res1
)) {
32541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32543 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32544 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32545 if (!SWIG_IsOK(ecode2
)) {
32546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32548 arg2
= static_cast< long >(val2
);
32550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32551 result
= (bool)(arg1
)->IsSelected(arg2
);
32552 wxPyEndAllowThreads(__tstate
);
32553 if (PyErr_Occurred()) SWIG_fail
;
32556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32564 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32565 PyObject
*resultobj
= 0;
32566 wxListView
*arg1
= (wxListView
*) 0 ;
32575 PyObject
* obj0
= 0 ;
32576 PyObject
* obj1
= 0 ;
32577 PyObject
* obj2
= 0 ;
32578 char * kwnames
[] = {
32579 (char *) "self",(char *) "col",(char *) "image", NULL
32582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32584 if (!SWIG_IsOK(res1
)) {
32585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32587 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32588 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32589 if (!SWIG_IsOK(ecode2
)) {
32590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32592 arg2
= static_cast< int >(val2
);
32593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32594 if (!SWIG_IsOK(ecode3
)) {
32595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32597 arg3
= static_cast< int >(val3
);
32599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32600 (arg1
)->SetColumnImage(arg2
,arg3
);
32601 wxPyEndAllowThreads(__tstate
);
32602 if (PyErr_Occurred()) SWIG_fail
;
32604 resultobj
= SWIG_Py_Void();
32611 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32612 PyObject
*resultobj
= 0;
32613 wxListView
*arg1
= (wxListView
*) 0 ;
32619 PyObject
* obj0
= 0 ;
32620 PyObject
* obj1
= 0 ;
32621 char * kwnames
[] = {
32622 (char *) "self",(char *) "col", NULL
32625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32627 if (!SWIG_IsOK(res1
)) {
32628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32630 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32632 if (!SWIG_IsOK(ecode2
)) {
32633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32635 arg2
= static_cast< int >(val2
);
32637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32638 (arg1
)->ClearColumnImage(arg2
);
32639 wxPyEndAllowThreads(__tstate
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32642 resultobj
= SWIG_Py_Void();
32649 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32652 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32653 return SWIG_Py_Void();
32656 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32657 return SWIG_Python_InitShadowInstance(args
);
32660 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32661 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
32666 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
32667 PyObject
*pyobj
= 0;
32671 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32673 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
32680 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32681 PyObject
*resultobj
= 0;
32682 wxTreeItemId
*result
= 0 ;
32684 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
32686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32687 result
= (wxTreeItemId
*)new wxTreeItemId();
32688 wxPyEndAllowThreads(__tstate
);
32689 if (PyErr_Occurred()) SWIG_fail
;
32691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
32698 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32699 PyObject
*resultobj
= 0;
32700 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32703 PyObject
*swig_obj
[1] ;
32705 if (!args
) SWIG_fail
;
32706 swig_obj
[0] = args
;
32707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
32708 if (!SWIG_IsOK(res1
)) {
32709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32711 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32716 wxPyEndAllowThreads(__tstate
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32719 resultobj
= SWIG_Py_Void();
32726 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32727 PyObject
*resultobj
= 0;
32728 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32732 PyObject
*swig_obj
[1] ;
32734 if (!args
) SWIG_fail
;
32735 swig_obj
[0] = args
;
32736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32737 if (!SWIG_IsOK(res1
)) {
32738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
32740 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32743 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
32744 wxPyEndAllowThreads(__tstate
);
32745 if (PyErr_Occurred()) SWIG_fail
;
32748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32756 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32757 PyObject
*resultobj
= 0;
32758 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32759 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32765 PyObject
* obj0
= 0 ;
32766 PyObject
* obj1
= 0 ;
32767 char * kwnames
[] = {
32768 (char *) "self",(char *) "other", NULL
32771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32773 if (!SWIG_IsOK(res1
)) {
32774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32776 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32777 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32778 if (!SWIG_IsOK(res2
)) {
32779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32781 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32784 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
32785 wxPyEndAllowThreads(__tstate
);
32786 if (PyErr_Occurred()) SWIG_fail
;
32789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32797 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32798 PyObject
*resultobj
= 0;
32799 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32800 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
32806 PyObject
* obj0
= 0 ;
32807 PyObject
* obj1
= 0 ;
32808 char * kwnames
[] = {
32809 (char *) "self",(char *) "other", NULL
32812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32814 if (!SWIG_IsOK(res1
)) {
32815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32817 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32819 if (!SWIG_IsOK(res2
)) {
32820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
32822 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
32824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32825 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
32826 wxPyEndAllowThreads(__tstate
);
32827 if (PyErr_Occurred()) SWIG_fail
;
32830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32838 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32839 PyObject
*resultobj
= 0;
32840 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32841 void *arg2
= (void *) 0 ;
32845 PyObject
*swig_obj
[2] ;
32847 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
32848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32849 if (!SWIG_IsOK(res1
)) {
32850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32852 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32853 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
32854 if (!SWIG_IsOK(res2
)) {
32855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
32857 if (arg1
) (arg1
)->m_pItem
= arg2
;
32859 resultobj
= SWIG_Py_Void();
32866 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32867 PyObject
*resultobj
= 0;
32868 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
32872 PyObject
*swig_obj
[1] ;
32874 if (!args
) SWIG_fail
;
32875 swig_obj
[0] = args
;
32876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
32877 if (!SWIG_IsOK(res1
)) {
32878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
32880 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
32881 result
= (void *) ((arg1
)->m_pItem
);
32882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
32889 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32891 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32892 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
32893 return SWIG_Py_Void();
32896 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32897 return SWIG_Python_InitShadowInstance(args
);
32900 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32901 PyObject
*resultobj
= 0;
32902 PyObject
*arg1
= (PyObject
*) NULL
;
32903 wxPyTreeItemData
*result
= 0 ;
32904 PyObject
* obj0
= 0 ;
32905 char * kwnames
[] = {
32906 (char *) "obj", NULL
32909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
32914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32915 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
32916 wxPyEndAllowThreads(__tstate
);
32917 if (PyErr_Occurred()) SWIG_fail
;
32919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
32926 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32927 PyObject
*resultobj
= 0;
32928 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32931 PyObject
*swig_obj
[1] ;
32933 if (!args
) SWIG_fail
;
32934 swig_obj
[0] = args
;
32935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
32936 if (!SWIG_IsOK(res1
)) {
32937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32939 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32944 wxPyEndAllowThreads(__tstate
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32947 resultobj
= SWIG_Py_Void();
32954 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32955 PyObject
*resultobj
= 0;
32956 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32957 PyObject
*result
= 0 ;
32960 PyObject
*swig_obj
[1] ;
32962 if (!args
) SWIG_fail
;
32963 swig_obj
[0] = args
;
32964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32965 if (!SWIG_IsOK(res1
)) {
32966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32968 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
32970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32971 result
= (PyObject
*)(arg1
)->GetData();
32972 wxPyEndAllowThreads(__tstate
);
32973 if (PyErr_Occurred()) SWIG_fail
;
32975 resultobj
= result
;
32982 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32983 PyObject
*resultobj
= 0;
32984 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
32985 PyObject
*arg2
= (PyObject
*) 0 ;
32988 PyObject
* obj0
= 0 ;
32989 PyObject
* obj1
= 0 ;
32990 char * kwnames
[] = {
32991 (char *) "self",(char *) "obj", NULL
32994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
32996 if (!SWIG_IsOK(res1
)) {
32997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
32999 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33003 (arg1
)->SetData(arg2
);
33004 wxPyEndAllowThreads(__tstate
);
33005 if (PyErr_Occurred()) SWIG_fail
;
33007 resultobj
= SWIG_Py_Void();
33014 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33015 PyObject
*resultobj
= 0;
33016 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33017 wxTreeItemId
*result
= 0 ;
33020 PyObject
*swig_obj
[1] ;
33022 if (!args
) SWIG_fail
;
33023 swig_obj
[0] = args
;
33024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33025 if (!SWIG_IsOK(res1
)) {
33026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33028 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33032 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33033 result
= (wxTreeItemId
*) &_result_ref
;
33035 wxPyEndAllowThreads(__tstate
);
33036 if (PyErr_Occurred()) SWIG_fail
;
33038 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33045 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33046 PyObject
*resultobj
= 0;
33047 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33048 wxTreeItemId
*arg2
= 0 ;
33053 PyObject
* obj0
= 0 ;
33054 PyObject
* obj1
= 0 ;
33055 char * kwnames
[] = {
33056 (char *) "self",(char *) "id", NULL
33059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33061 if (!SWIG_IsOK(res1
)) {
33062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33064 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33066 if (!SWIG_IsOK(res2
)) {
33067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33072 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33075 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33076 wxPyEndAllowThreads(__tstate
);
33077 if (PyErr_Occurred()) SWIG_fail
;
33079 resultobj
= SWIG_Py_Void();
33086 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33087 PyObject
*resultobj
= 0;
33088 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33091 PyObject
*swig_obj
[1] ;
33093 if (!args
) SWIG_fail
;
33094 swig_obj
[0] = args
;
33095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33096 if (!SWIG_IsOK(res1
)) {
33097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33099 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33102 wxPyTreeItemData_Destroy(arg1
);
33103 wxPyEndAllowThreads(__tstate
);
33104 if (PyErr_Occurred()) SWIG_fail
;
33106 resultobj
= SWIG_Py_Void();
33113 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33115 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33116 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33117 return SWIG_Py_Void();
33120 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33121 return SWIG_Python_InitShadowInstance(args
);
33124 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33127 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33128 if (!SWIG_IsOK(res
)) {
33129 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33134 wxTreeItemId
* temp
;
33135 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33136 wxNullTreeItemId
= *temp
;
33137 if (SWIG_IsNewObj(res
)) delete temp
;
33146 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33147 PyObject
*pyobj
= 0;
33149 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33154 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33155 PyObject
*resultobj
= 0;
33156 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33157 int arg2
= (int) 0 ;
33158 wxTreeEvent
*result
= 0 ;
33164 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33166 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33167 if (!SWIG_IsOK(ecode1
)) {
33168 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33170 arg1
= static_cast< wxEventType
>(val1
);
33173 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33174 if (!SWIG_IsOK(ecode2
)) {
33175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33177 arg2
= static_cast< int >(val2
);
33180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33181 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33182 wxPyEndAllowThreads(__tstate
);
33183 if (PyErr_Occurred()) SWIG_fail
;
33185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33192 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33193 PyObject
*resultobj
= 0;
33195 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33196 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33197 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33198 wxTreeEvent
*result
= 0 ;
33206 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33207 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33208 if (!SWIG_IsOK(ecode1
)) {
33209 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33211 arg1
= static_cast< wxEventType
>(val1
);
33212 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33213 if (!SWIG_IsOK(res2
)) {
33214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33216 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33218 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33219 if (!SWIG_IsOK(res3
)) {
33220 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33225 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33229 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33230 wxPyEndAllowThreads(__tstate
);
33231 if (PyErr_Occurred()) SWIG_fail
;
33233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33240 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33244 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33246 if ((argc
>= 0) && (argc
<= 2)) {
33251 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33252 _v
= SWIG_CheckState(res
);
33255 if (!_v
) goto check_1
;
33257 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33261 if ((argc
>= 2) && (argc
<= 3)) {
33262 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33266 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33271 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33272 PyObject
*resultobj
= 0;
33273 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33274 wxTreeItemId result
;
33277 PyObject
*swig_obj
[1] ;
33279 if (!args
) SWIG_fail
;
33280 swig_obj
[0] = args
;
33281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33282 if (!SWIG_IsOK(res1
)) {
33283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33285 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33288 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33289 wxPyEndAllowThreads(__tstate
);
33290 if (PyErr_Occurred()) SWIG_fail
;
33292 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33299 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33300 PyObject
*resultobj
= 0;
33301 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33302 wxTreeItemId
*arg2
= 0 ;
33307 PyObject
* obj0
= 0 ;
33308 PyObject
* obj1
= 0 ;
33309 char * kwnames
[] = {
33310 (char *) "self",(char *) "item", NULL
33313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33315 if (!SWIG_IsOK(res1
)) {
33316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33318 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33319 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33320 if (!SWIG_IsOK(res2
)) {
33321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33324 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33326 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33329 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33330 wxPyEndAllowThreads(__tstate
);
33331 if (PyErr_Occurred()) SWIG_fail
;
33333 resultobj
= SWIG_Py_Void();
33340 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33341 PyObject
*resultobj
= 0;
33342 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33343 wxTreeItemId result
;
33346 PyObject
*swig_obj
[1] ;
33348 if (!args
) SWIG_fail
;
33349 swig_obj
[0] = args
;
33350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33351 if (!SWIG_IsOK(res1
)) {
33352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33354 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33357 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33358 wxPyEndAllowThreads(__tstate
);
33359 if (PyErr_Occurred()) SWIG_fail
;
33361 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33368 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33369 PyObject
*resultobj
= 0;
33370 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33371 wxTreeItemId
*arg2
= 0 ;
33376 PyObject
* obj0
= 0 ;
33377 PyObject
* obj1
= 0 ;
33378 char * kwnames
[] = {
33379 (char *) "self",(char *) "item", NULL
33382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33384 if (!SWIG_IsOK(res1
)) {
33385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33387 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33388 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33389 if (!SWIG_IsOK(res2
)) {
33390 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33393 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33395 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33398 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33399 wxPyEndAllowThreads(__tstate
);
33400 if (PyErr_Occurred()) SWIG_fail
;
33402 resultobj
= SWIG_Py_Void();
33409 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33410 PyObject
*resultobj
= 0;
33411 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33415 PyObject
*swig_obj
[1] ;
33417 if (!args
) SWIG_fail
;
33418 swig_obj
[0] = args
;
33419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33420 if (!SWIG_IsOK(res1
)) {
33421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33423 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33426 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33427 wxPyEndAllowThreads(__tstate
);
33428 if (PyErr_Occurred()) SWIG_fail
;
33430 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33437 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33438 PyObject
*resultobj
= 0;
33439 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33440 wxPoint
*arg2
= 0 ;
33444 PyObject
* obj0
= 0 ;
33445 PyObject
* obj1
= 0 ;
33446 char * kwnames
[] = {
33447 (char *) "self",(char *) "pt", NULL
33450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33452 if (!SWIG_IsOK(res1
)) {
33453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33455 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33458 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33462 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33463 wxPyEndAllowThreads(__tstate
);
33464 if (PyErr_Occurred()) SWIG_fail
;
33466 resultobj
= SWIG_Py_Void();
33473 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33474 PyObject
*resultobj
= 0;
33475 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33476 wxKeyEvent
*result
= 0 ;
33479 PyObject
*swig_obj
[1] ;
33481 if (!args
) SWIG_fail
;
33482 swig_obj
[0] = args
;
33483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33484 if (!SWIG_IsOK(res1
)) {
33485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33487 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33491 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33492 result
= (wxKeyEvent
*) &_result_ref
;
33494 wxPyEndAllowThreads(__tstate
);
33495 if (PyErr_Occurred()) SWIG_fail
;
33497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33504 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33505 PyObject
*resultobj
= 0;
33506 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33510 PyObject
*swig_obj
[1] ;
33512 if (!args
) SWIG_fail
;
33513 swig_obj
[0] = args
;
33514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33515 if (!SWIG_IsOK(res1
)) {
33516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33518 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33521 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33522 wxPyEndAllowThreads(__tstate
);
33523 if (PyErr_Occurred()) SWIG_fail
;
33525 resultobj
= SWIG_From_int(static_cast< int >(result
));
33532 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33533 PyObject
*resultobj
= 0;
33534 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33535 wxKeyEvent
*arg2
= 0 ;
33540 PyObject
* obj0
= 0 ;
33541 PyObject
* obj1
= 0 ;
33542 char * kwnames
[] = {
33543 (char *) "self",(char *) "evt", NULL
33546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33548 if (!SWIG_IsOK(res1
)) {
33549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33551 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33552 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33553 if (!SWIG_IsOK(res2
)) {
33554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33559 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33563 wxPyEndAllowThreads(__tstate
);
33564 if (PyErr_Occurred()) SWIG_fail
;
33566 resultobj
= SWIG_Py_Void();
33573 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33574 PyObject
*resultobj
= 0;
33575 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33576 wxString
*result
= 0 ;
33579 PyObject
*swig_obj
[1] ;
33581 if (!args
) SWIG_fail
;
33582 swig_obj
[0] = args
;
33583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33584 if (!SWIG_IsOK(res1
)) {
33585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33587 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33591 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33592 result
= (wxString
*) &_result_ref
;
33594 wxPyEndAllowThreads(__tstate
);
33595 if (PyErr_Occurred()) SWIG_fail
;
33599 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33601 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33610 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33611 PyObject
*resultobj
= 0;
33612 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33613 wxString
*arg2
= 0 ;
33616 bool temp2
= false ;
33617 PyObject
* obj0
= 0 ;
33618 PyObject
* obj1
= 0 ;
33619 char * kwnames
[] = {
33620 (char *) "self",(char *) "label", NULL
33623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33625 if (!SWIG_IsOK(res1
)) {
33626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33628 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33630 arg2
= wxString_in_helper(obj1
);
33631 if (arg2
== NULL
) SWIG_fail
;
33635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33636 (arg1
)->SetLabel((wxString
const &)*arg2
);
33637 wxPyEndAllowThreads(__tstate
);
33638 if (PyErr_Occurred()) SWIG_fail
;
33640 resultobj
= SWIG_Py_Void();
33655 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33656 PyObject
*resultobj
= 0;
33657 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33661 PyObject
*swig_obj
[1] ;
33663 if (!args
) SWIG_fail
;
33664 swig_obj
[0] = args
;
33665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33666 if (!SWIG_IsOK(res1
)) {
33667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33669 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33672 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
33673 wxPyEndAllowThreads(__tstate
);
33674 if (PyErr_Occurred()) SWIG_fail
;
33677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33685 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33686 PyObject
*resultobj
= 0;
33687 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33693 PyObject
* obj0
= 0 ;
33694 PyObject
* obj1
= 0 ;
33695 char * kwnames
[] = {
33696 (char *) "self",(char *) "editCancelled", NULL
33699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33701 if (!SWIG_IsOK(res1
)) {
33702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33704 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33705 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33706 if (!SWIG_IsOK(ecode2
)) {
33707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
33709 arg2
= static_cast< bool >(val2
);
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33712 (arg1
)->SetEditCanceled(arg2
);
33713 wxPyEndAllowThreads(__tstate
);
33714 if (PyErr_Occurred()) SWIG_fail
;
33716 resultobj
= SWIG_Py_Void();
33723 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33724 PyObject
*resultobj
= 0;
33725 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33726 wxString
*arg2
= 0 ;
33729 bool temp2
= false ;
33730 PyObject
* obj0
= 0 ;
33731 PyObject
* obj1
= 0 ;
33732 char * kwnames
[] = {
33733 (char *) "self",(char *) "toolTip", NULL
33736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33738 if (!SWIG_IsOK(res1
)) {
33739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33741 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33743 arg2
= wxString_in_helper(obj1
);
33744 if (arg2
== NULL
) SWIG_fail
;
33748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33749 (arg1
)->SetToolTip((wxString
const &)*arg2
);
33750 wxPyEndAllowThreads(__tstate
);
33751 if (PyErr_Occurred()) SWIG_fail
;
33753 resultobj
= SWIG_Py_Void();
33768 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33769 PyObject
*resultobj
= 0;
33770 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33774 PyObject
*swig_obj
[1] ;
33776 if (!args
) SWIG_fail
;
33777 swig_obj
[0] = args
;
33778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33779 if (!SWIG_IsOK(res1
)) {
33780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33782 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33785 result
= (arg1
)->GetToolTip();
33786 wxPyEndAllowThreads(__tstate
);
33787 if (PyErr_Occurred()) SWIG_fail
;
33791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33802 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33804 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33805 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
33806 return SWIG_Py_Void();
33809 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33810 return SWIG_Python_InitShadowInstance(args
);
33813 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33814 PyObject
*resultobj
= 0;
33815 wxWindow
*arg1
= (wxWindow
*) 0 ;
33816 int arg2
= (int) -1 ;
33817 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33818 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33819 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33820 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33821 long arg5
= (long) wxTR_DEFAULT_STYLE
;
33822 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33823 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33824 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
33825 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33826 wxPyTreeCtrl
*result
= 0 ;
33837 bool temp7
= false ;
33838 PyObject
* obj0
= 0 ;
33839 PyObject
* obj1
= 0 ;
33840 PyObject
* obj2
= 0 ;
33841 PyObject
* obj3
= 0 ;
33842 PyObject
* obj4
= 0 ;
33843 PyObject
* obj5
= 0 ;
33844 PyObject
* obj6
= 0 ;
33845 char * kwnames
[] = {
33846 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
33850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33851 if (!SWIG_IsOK(res1
)) {
33852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
33854 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33857 if (!SWIG_IsOK(ecode2
)) {
33858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
33860 arg2
= static_cast< int >(val2
);
33865 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33871 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33875 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
33876 if (!SWIG_IsOK(ecode5
)) {
33877 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
33879 arg5
= static_cast< long >(val5
);
33882 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
33883 if (!SWIG_IsOK(res6
)) {
33884 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
33889 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
33893 arg7
= wxString_in_helper(obj6
);
33894 if (arg7
== NULL
) SWIG_fail
;
33899 if (!wxPyCheckForApp()) SWIG_fail
;
33900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33901 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33902 wxPyEndAllowThreads(__tstate
);
33903 if (PyErr_Occurred()) SWIG_fail
;
33905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
33920 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33921 PyObject
*resultobj
= 0;
33922 wxPyTreeCtrl
*result
= 0 ;
33924 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
33926 if (!wxPyCheckForApp()) SWIG_fail
;
33927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33928 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
33929 wxPyEndAllowThreads(__tstate
);
33930 if (PyErr_Occurred()) SWIG_fail
;
33932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
33939 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33940 PyObject
*resultobj
= 0;
33941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
33942 wxWindow
*arg2
= (wxWindow
*) 0 ;
33943 int arg3
= (int) -1 ;
33944 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33945 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33946 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33947 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33948 long arg6
= (long) wxTR_DEFAULT_STYLE
;
33949 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33950 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33951 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
33952 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33966 bool temp8
= false ;
33967 PyObject
* obj0
= 0 ;
33968 PyObject
* obj1
= 0 ;
33969 PyObject
* obj2
= 0 ;
33970 PyObject
* obj3
= 0 ;
33971 PyObject
* obj4
= 0 ;
33972 PyObject
* obj5
= 0 ;
33973 PyObject
* obj6
= 0 ;
33974 PyObject
* obj7
= 0 ;
33975 char * kwnames
[] = {
33976 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
33980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33981 if (!SWIG_IsOK(res1
)) {
33982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
33984 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
33985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33986 if (!SWIG_IsOK(res2
)) {
33987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
33989 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33992 if (!SWIG_IsOK(ecode3
)) {
33993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
33995 arg3
= static_cast< int >(val3
);
34000 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34006 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34010 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34011 if (!SWIG_IsOK(ecode6
)) {
34012 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34014 arg6
= static_cast< long >(val6
);
34017 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34018 if (!SWIG_IsOK(res7
)) {
34019 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34022 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34024 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34028 arg8
= wxString_in_helper(obj7
);
34029 if (arg8
== NULL
) SWIG_fail
;
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34056 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34057 PyObject
*resultobj
= 0;
34058 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34059 PyObject
*arg2
= (PyObject
*) 0 ;
34060 PyObject
*arg3
= (PyObject
*) 0 ;
34063 PyObject
* obj0
= 0 ;
34064 PyObject
* obj1
= 0 ;
34065 PyObject
* obj2
= 0 ;
34066 char * kwnames
[] = {
34067 (char *) "self",(char *) "self",(char *) "_class", NULL
34070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34072 if (!SWIG_IsOK(res1
)) {
34073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34075 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34080 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34081 wxPyEndAllowThreads(__tstate
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34084 resultobj
= SWIG_Py_Void();
34091 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34092 PyObject
*resultobj
= 0;
34093 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34094 unsigned int result
;
34097 PyObject
*swig_obj
[1] ;
34099 if (!args
) SWIG_fail
;
34100 swig_obj
[0] = args
;
34101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34102 if (!SWIG_IsOK(res1
)) {
34103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34105 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34108 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34109 wxPyEndAllowThreads(__tstate
);
34110 if (PyErr_Occurred()) SWIG_fail
;
34112 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34119 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34120 PyObject
*resultobj
= 0;
34121 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34122 unsigned int result
;
34125 PyObject
*swig_obj
[1] ;
34127 if (!args
) SWIG_fail
;
34128 swig_obj
[0] = args
;
34129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34130 if (!SWIG_IsOK(res1
)) {
34131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34133 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34136 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34137 wxPyEndAllowThreads(__tstate
);
34138 if (PyErr_Occurred()) SWIG_fail
;
34140 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34147 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34148 PyObject
*resultobj
= 0;
34149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34150 unsigned int arg2
;
34153 unsigned int val2
;
34155 PyObject
* obj0
= 0 ;
34156 PyObject
* obj1
= 0 ;
34157 char * kwnames
[] = {
34158 (char *) "self",(char *) "indent", NULL
34161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34163 if (!SWIG_IsOK(res1
)) {
34164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34166 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34167 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34168 if (!SWIG_IsOK(ecode2
)) {
34169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34171 arg2
= static_cast< unsigned int >(val2
);
34173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34174 (arg1
)->SetIndent(arg2
);
34175 wxPyEndAllowThreads(__tstate
);
34176 if (PyErr_Occurred()) SWIG_fail
;
34178 resultobj
= SWIG_Py_Void();
34185 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34186 PyObject
*resultobj
= 0;
34187 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34188 unsigned int result
;
34191 PyObject
*swig_obj
[1] ;
34193 if (!args
) SWIG_fail
;
34194 swig_obj
[0] = args
;
34195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34196 if (!SWIG_IsOK(res1
)) {
34197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34199 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34203 wxPyEndAllowThreads(__tstate
);
34204 if (PyErr_Occurred()) SWIG_fail
;
34206 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34213 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34214 PyObject
*resultobj
= 0;
34215 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34216 unsigned int arg2
;
34219 unsigned int val2
;
34221 PyObject
* obj0
= 0 ;
34222 PyObject
* obj1
= 0 ;
34223 char * kwnames
[] = {
34224 (char *) "self",(char *) "spacing", NULL
34227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34229 if (!SWIG_IsOK(res1
)) {
34230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34232 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34233 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34234 if (!SWIG_IsOK(ecode2
)) {
34235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34237 arg2
= static_cast< unsigned int >(val2
);
34239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34240 (arg1
)->SetSpacing(arg2
);
34241 wxPyEndAllowThreads(__tstate
);
34242 if (PyErr_Occurred()) SWIG_fail
;
34244 resultobj
= SWIG_Py_Void();
34251 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34252 PyObject
*resultobj
= 0;
34253 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34254 wxImageList
*result
= 0 ;
34257 PyObject
*swig_obj
[1] ;
34259 if (!args
) SWIG_fail
;
34260 swig_obj
[0] = args
;
34261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34262 if (!SWIG_IsOK(res1
)) {
34263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34265 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34268 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34269 wxPyEndAllowThreads(__tstate
);
34270 if (PyErr_Occurred()) SWIG_fail
;
34273 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34281 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34282 PyObject
*resultobj
= 0;
34283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34284 wxImageList
*result
= 0 ;
34287 PyObject
*swig_obj
[1] ;
34289 if (!args
) SWIG_fail
;
34290 swig_obj
[0] = args
;
34291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34292 if (!SWIG_IsOK(res1
)) {
34293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34295 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34298 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34299 wxPyEndAllowThreads(__tstate
);
34300 if (PyErr_Occurred()) SWIG_fail
;
34303 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34311 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34312 PyObject
*resultobj
= 0;
34313 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34314 wxImageList
*arg2
= (wxImageList
*) 0 ;
34319 PyObject
* obj0
= 0 ;
34320 PyObject
* obj1
= 0 ;
34321 char * kwnames
[] = {
34322 (char *) "self",(char *) "imageList", NULL
34325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34327 if (!SWIG_IsOK(res1
)) {
34328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34330 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34331 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34332 if (!SWIG_IsOK(res2
)) {
34333 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34335 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34338 (arg1
)->SetImageList(arg2
);
34339 wxPyEndAllowThreads(__tstate
);
34340 if (PyErr_Occurred()) SWIG_fail
;
34342 resultobj
= SWIG_Py_Void();
34349 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34350 PyObject
*resultobj
= 0;
34351 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34352 wxImageList
*arg2
= (wxImageList
*) 0 ;
34357 PyObject
* obj0
= 0 ;
34358 PyObject
* obj1
= 0 ;
34359 char * kwnames
[] = {
34360 (char *) "self",(char *) "imageList", NULL
34363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34365 if (!SWIG_IsOK(res1
)) {
34366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34368 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34370 if (!SWIG_IsOK(res2
)) {
34371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34373 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34376 (arg1
)->SetStateImageList(arg2
);
34377 wxPyEndAllowThreads(__tstate
);
34378 if (PyErr_Occurred()) SWIG_fail
;
34380 resultobj
= SWIG_Py_Void();
34387 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34388 PyObject
*resultobj
= 0;
34389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34390 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_AssignImageList",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_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34405 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34406 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34407 if (!SWIG_IsOK(res2
)) {
34408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34412 (arg1
)->AssignImageList(arg2
);
34413 wxPyEndAllowThreads(__tstate
);
34414 if (PyErr_Occurred()) SWIG_fail
;
34416 resultobj
= SWIG_Py_Void();
34423 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34424 PyObject
*resultobj
= 0;
34425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34426 wxImageList
*arg2
= (wxImageList
*) 0 ;
34430 PyObject
* obj0
= 0 ;
34431 PyObject
* obj1
= 0 ;
34432 char * kwnames
[] = {
34433 (char *) "self",(char *) "imageList", NULL
34436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34438 if (!SWIG_IsOK(res1
)) {
34439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34441 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34442 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34443 if (!SWIG_IsOK(res2
)) {
34444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34448 (arg1
)->AssignStateImageList(arg2
);
34449 wxPyEndAllowThreads(__tstate
);
34450 if (PyErr_Occurred()) SWIG_fail
;
34452 resultobj
= SWIG_Py_Void();
34459 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34460 PyObject
*resultobj
= 0;
34461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34462 wxTreeItemId
*arg2
= 0 ;
34468 PyObject
* obj0
= 0 ;
34469 PyObject
* obj1
= 0 ;
34470 char * kwnames
[] = {
34471 (char *) "self",(char *) "item", NULL
34474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34476 if (!SWIG_IsOK(res1
)) {
34477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34479 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34480 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34481 if (!SWIG_IsOK(res2
)) {
34482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34485 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34487 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34490 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34491 wxPyEndAllowThreads(__tstate
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34507 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34508 PyObject
*resultobj
= 0;
34509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34510 wxTreeItemId
*arg2
= 0 ;
34511 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34519 PyObject
* obj0
= 0 ;
34520 PyObject
* obj1
= 0 ;
34521 PyObject
* obj2
= 0 ;
34522 char * kwnames
[] = {
34523 (char *) "self",(char *) "item",(char *) "which", NULL
34526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34528 if (!SWIG_IsOK(res1
)) {
34529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34531 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34532 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34533 if (!SWIG_IsOK(res2
)) {
34534 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34539 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34542 if (!SWIG_IsOK(ecode3
)) {
34543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34545 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34549 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34550 wxPyEndAllowThreads(__tstate
);
34551 if (PyErr_Occurred()) SWIG_fail
;
34553 resultobj
= SWIG_From_int(static_cast< int >(result
));
34560 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34561 PyObject
*resultobj
= 0;
34562 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34563 wxTreeItemId
*arg2
= 0 ;
34564 wxPyTreeItemData
*result
= 0 ;
34569 PyObject
* obj0
= 0 ;
34570 PyObject
* obj1
= 0 ;
34571 char * kwnames
[] = {
34572 (char *) "self",(char *) "item", NULL
34575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34577 if (!SWIG_IsOK(res1
)) {
34578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34580 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34581 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34582 if (!SWIG_IsOK(res2
)) {
34583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34586 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34588 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34591 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34592 wxPyEndAllowThreads(__tstate
);
34593 if (PyErr_Occurred()) SWIG_fail
;
34595 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34602 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34603 PyObject
*resultobj
= 0;
34604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34605 wxTreeItemId
*arg2
= 0 ;
34606 PyObject
*result
= 0 ;
34611 PyObject
* obj0
= 0 ;
34612 PyObject
* obj1
= 0 ;
34613 char * kwnames
[] = {
34614 (char *) "self",(char *) "item", NULL
34617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34619 if (!SWIG_IsOK(res1
)) {
34620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34622 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34623 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34624 if (!SWIG_IsOK(res2
)) {
34625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34630 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34633 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34634 wxPyEndAllowThreads(__tstate
);
34635 if (PyErr_Occurred()) SWIG_fail
;
34637 resultobj
= result
;
34644 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34645 PyObject
*resultobj
= 0;
34646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34647 wxTreeItemId
*arg2
= 0 ;
34653 PyObject
* obj0
= 0 ;
34654 PyObject
* obj1
= 0 ;
34655 char * kwnames
[] = {
34656 (char *) "self",(char *) "item", NULL
34659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34661 if (!SWIG_IsOK(res1
)) {
34662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34664 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34665 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34666 if (!SWIG_IsOK(res2
)) {
34667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34670 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34672 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34675 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
34676 wxPyEndAllowThreads(__tstate
);
34677 if (PyErr_Occurred()) SWIG_fail
;
34679 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34686 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34687 PyObject
*resultobj
= 0;
34688 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34689 wxTreeItemId
*arg2
= 0 ;
34695 PyObject
* obj0
= 0 ;
34696 PyObject
* obj1
= 0 ;
34697 char * kwnames
[] = {
34698 (char *) "self",(char *) "item", NULL
34701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34703 if (!SWIG_IsOK(res1
)) {
34704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34706 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34708 if (!SWIG_IsOK(res2
)) {
34709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34714 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34717 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
34718 wxPyEndAllowThreads(__tstate
);
34719 if (PyErr_Occurred()) SWIG_fail
;
34721 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34728 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34729 PyObject
*resultobj
= 0;
34730 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34731 wxTreeItemId
*arg2
= 0 ;
34737 PyObject
* obj0
= 0 ;
34738 PyObject
* obj1
= 0 ;
34739 char * kwnames
[] = {
34740 (char *) "self",(char *) "item", NULL
34743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34745 if (!SWIG_IsOK(res1
)) {
34746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34748 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34749 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34750 if (!SWIG_IsOK(res2
)) {
34751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34754 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34756 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34759 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
34760 wxPyEndAllowThreads(__tstate
);
34761 if (PyErr_Occurred()) SWIG_fail
;
34763 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
34770 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34771 PyObject
*resultobj
= 0;
34772 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34773 wxTreeItemId
*arg2
= 0 ;
34774 wxString
*arg3
= 0 ;
34779 bool temp3
= false ;
34780 PyObject
* obj0
= 0 ;
34781 PyObject
* obj1
= 0 ;
34782 PyObject
* obj2
= 0 ;
34783 char * kwnames
[] = {
34784 (char *) "self",(char *) "item",(char *) "text", NULL
34787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34789 if (!SWIG_IsOK(res1
)) {
34790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34792 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34794 if (!SWIG_IsOK(res2
)) {
34795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34800 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34802 arg3
= wxString_in_helper(obj2
);
34803 if (arg3
== NULL
) SWIG_fail
;
34807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34808 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
34809 wxPyEndAllowThreads(__tstate
);
34810 if (PyErr_Occurred()) SWIG_fail
;
34812 resultobj
= SWIG_Py_Void();
34827 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34828 PyObject
*resultobj
= 0;
34829 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34830 wxTreeItemId
*arg2
= 0 ;
34832 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34841 PyObject
* obj0
= 0 ;
34842 PyObject
* obj1
= 0 ;
34843 PyObject
* obj2
= 0 ;
34844 PyObject
* obj3
= 0 ;
34845 char * kwnames
[] = {
34846 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
34849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
34850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34851 if (!SWIG_IsOK(res1
)) {
34852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34854 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34855 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34856 if (!SWIG_IsOK(res2
)) {
34857 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34860 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34862 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34864 if (!SWIG_IsOK(ecode3
)) {
34865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
34867 arg3
= static_cast< int >(val3
);
34869 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34870 if (!SWIG_IsOK(ecode4
)) {
34871 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
34873 arg4
= static_cast< wxTreeItemIcon
>(val4
);
34876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34877 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
34878 wxPyEndAllowThreads(__tstate
);
34879 if (PyErr_Occurred()) SWIG_fail
;
34881 resultobj
= SWIG_Py_Void();
34888 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34889 PyObject
*resultobj
= 0;
34890 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34891 wxTreeItemId
*arg2
= 0 ;
34892 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
34898 PyObject
* obj0
= 0 ;
34899 PyObject
* obj1
= 0 ;
34900 PyObject
* obj2
= 0 ;
34901 char * kwnames
[] = {
34902 (char *) "self",(char *) "item",(char *) "data", NULL
34905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34907 if (!SWIG_IsOK(res1
)) {
34908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34910 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34911 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34912 if (!SWIG_IsOK(res2
)) {
34913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34916 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34918 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34919 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
34920 if (!SWIG_IsOK(res3
)) {
34921 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
34924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34925 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34926 wxPyEndAllowThreads(__tstate
);
34927 if (PyErr_Occurred()) SWIG_fail
;
34929 resultobj
= SWIG_Py_Void();
34936 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34937 PyObject
*resultobj
= 0;
34938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34939 wxTreeItemId
*arg2
= 0 ;
34940 PyObject
*arg3
= (PyObject
*) 0 ;
34945 PyObject
* obj0
= 0 ;
34946 PyObject
* obj1
= 0 ;
34947 PyObject
* obj2
= 0 ;
34948 char * kwnames
[] = {
34949 (char *) "self",(char *) "item",(char *) "obj", NULL
34952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34954 if (!SWIG_IsOK(res1
)) {
34955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34957 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34958 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34959 if (!SWIG_IsOK(res2
)) {
34960 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34963 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34965 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34969 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
34970 wxPyEndAllowThreads(__tstate
);
34971 if (PyErr_Occurred()) SWIG_fail
;
34973 resultobj
= SWIG_Py_Void();
34980 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34981 PyObject
*resultobj
= 0;
34982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34983 wxTreeItemId
*arg2
= 0 ;
34984 bool arg3
= (bool) true ;
34991 PyObject
* obj0
= 0 ;
34992 PyObject
* obj1
= 0 ;
34993 PyObject
* obj2
= 0 ;
34994 char * kwnames
[] = {
34995 (char *) "self",(char *) "item",(char *) "has", NULL
34998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35000 if (!SWIG_IsOK(res1
)) {
35001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35003 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35004 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35005 if (!SWIG_IsOK(res2
)) {
35006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35009 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35011 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35013 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35014 if (!SWIG_IsOK(ecode3
)) {
35015 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35017 arg3
= static_cast< bool >(val3
);
35020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35021 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35022 wxPyEndAllowThreads(__tstate
);
35023 if (PyErr_Occurred()) SWIG_fail
;
35025 resultobj
= SWIG_Py_Void();
35032 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35033 PyObject
*resultobj
= 0;
35034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35035 wxTreeItemId
*arg2
= 0 ;
35036 bool arg3
= (bool) true ;
35043 PyObject
* obj0
= 0 ;
35044 PyObject
* obj1
= 0 ;
35045 PyObject
* obj2
= 0 ;
35046 char * kwnames
[] = {
35047 (char *) "self",(char *) "item",(char *) "bold", NULL
35050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35052 if (!SWIG_IsOK(res1
)) {
35053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35055 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35057 if (!SWIG_IsOK(res2
)) {
35058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35063 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35065 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35066 if (!SWIG_IsOK(ecode3
)) {
35067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35069 arg3
= static_cast< bool >(val3
);
35072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35073 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35074 wxPyEndAllowThreads(__tstate
);
35075 if (PyErr_Occurred()) SWIG_fail
;
35077 resultobj
= SWIG_Py_Void();
35084 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35085 PyObject
*resultobj
= 0;
35086 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35087 wxTreeItemId
*arg2
= 0 ;
35088 bool arg3
= (bool) true ;
35095 PyObject
* obj0
= 0 ;
35096 PyObject
* obj1
= 0 ;
35097 PyObject
* obj2
= 0 ;
35098 char * kwnames
[] = {
35099 (char *) "self",(char *) "item",(char *) "highlight", NULL
35102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35104 if (!SWIG_IsOK(res1
)) {
35105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35107 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35108 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35109 if (!SWIG_IsOK(res2
)) {
35110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35115 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35117 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35118 if (!SWIG_IsOK(ecode3
)) {
35119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35121 arg3
= static_cast< bool >(val3
);
35124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35125 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35126 wxPyEndAllowThreads(__tstate
);
35127 if (PyErr_Occurred()) SWIG_fail
;
35129 resultobj
= SWIG_Py_Void();
35136 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35137 PyObject
*resultobj
= 0;
35138 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35139 wxTreeItemId
*arg2
= 0 ;
35140 wxColour
*arg3
= 0 ;
35146 PyObject
* obj0
= 0 ;
35147 PyObject
* obj1
= 0 ;
35148 PyObject
* obj2
= 0 ;
35149 char * kwnames
[] = {
35150 (char *) "self",(char *) "item",(char *) "col", NULL
35153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35155 if (!SWIG_IsOK(res1
)) {
35156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35158 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35159 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35160 if (!SWIG_IsOK(res2
)) {
35161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35166 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35169 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35173 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35174 wxPyEndAllowThreads(__tstate
);
35175 if (PyErr_Occurred()) SWIG_fail
;
35177 resultobj
= SWIG_Py_Void();
35184 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35185 PyObject
*resultobj
= 0;
35186 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35187 wxTreeItemId
*arg2
= 0 ;
35188 wxColour
*arg3
= 0 ;
35194 PyObject
* obj0
= 0 ;
35195 PyObject
* obj1
= 0 ;
35196 PyObject
* obj2
= 0 ;
35197 char * kwnames
[] = {
35198 (char *) "self",(char *) "item",(char *) "col", NULL
35201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35203 if (!SWIG_IsOK(res1
)) {
35204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35206 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35207 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35208 if (!SWIG_IsOK(res2
)) {
35209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35212 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35214 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35217 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35221 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35222 wxPyEndAllowThreads(__tstate
);
35223 if (PyErr_Occurred()) SWIG_fail
;
35225 resultobj
= SWIG_Py_Void();
35232 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35233 PyObject
*resultobj
= 0;
35234 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35235 wxTreeItemId
*arg2
= 0 ;
35243 PyObject
* obj0
= 0 ;
35244 PyObject
* obj1
= 0 ;
35245 PyObject
* obj2
= 0 ;
35246 char * kwnames
[] = {
35247 (char *) "self",(char *) "item",(char *) "font", NULL
35250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35252 if (!SWIG_IsOK(res1
)) {
35253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35255 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35256 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35257 if (!SWIG_IsOK(res2
)) {
35258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35263 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35264 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35265 if (!SWIG_IsOK(res3
)) {
35266 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35271 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35274 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35275 wxPyEndAllowThreads(__tstate
);
35276 if (PyErr_Occurred()) SWIG_fail
;
35278 resultobj
= SWIG_Py_Void();
35285 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35286 PyObject
*resultobj
= 0;
35287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35288 wxTreeItemId
*arg2
= 0 ;
35294 PyObject
* obj0
= 0 ;
35295 PyObject
* obj1
= 0 ;
35296 char * kwnames
[] = {
35297 (char *) "self",(char *) "item", NULL
35300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35302 if (!SWIG_IsOK(res1
)) {
35303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35305 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35306 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35307 if (!SWIG_IsOK(res2
)) {
35308 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35311 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35313 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35316 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35317 wxPyEndAllowThreads(__tstate
);
35318 if (PyErr_Occurred()) SWIG_fail
;
35321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35329 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35330 PyObject
*resultobj
= 0;
35331 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35332 wxTreeItemId
*arg2
= 0 ;
35338 PyObject
* obj0
= 0 ;
35339 PyObject
* obj1
= 0 ;
35340 char * kwnames
[] = {
35341 (char *) "self",(char *) "item", NULL
35344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35346 if (!SWIG_IsOK(res1
)) {
35347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35349 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35350 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35351 if (!SWIG_IsOK(res2
)) {
35352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35355 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35357 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35360 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35361 wxPyEndAllowThreads(__tstate
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35373 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35374 PyObject
*resultobj
= 0;
35375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35376 wxTreeItemId
*arg2
= 0 ;
35382 PyObject
* obj0
= 0 ;
35383 PyObject
* obj1
= 0 ;
35384 char * kwnames
[] = {
35385 (char *) "self",(char *) "item", NULL
35388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35390 if (!SWIG_IsOK(res1
)) {
35391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35393 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35394 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35395 if (!SWIG_IsOK(res2
)) {
35396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35399 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35401 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35404 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35405 wxPyEndAllowThreads(__tstate
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35417 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35418 PyObject
*resultobj
= 0;
35419 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35420 wxTreeItemId
*arg2
= 0 ;
35426 PyObject
* obj0
= 0 ;
35427 PyObject
* obj1
= 0 ;
35428 char * kwnames
[] = {
35429 (char *) "self",(char *) "item", NULL
35432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35434 if (!SWIG_IsOK(res1
)) {
35435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35437 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35438 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35439 if (!SWIG_IsOK(res2
)) {
35440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35443 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35445 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35448 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35449 wxPyEndAllowThreads(__tstate
);
35450 if (PyErr_Occurred()) SWIG_fail
;
35453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35461 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35462 PyObject
*resultobj
= 0;
35463 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35464 wxTreeItemId
*arg2
= 0 ;
35470 PyObject
* obj0
= 0 ;
35471 PyObject
* obj1
= 0 ;
35472 char * kwnames
[] = {
35473 (char *) "self",(char *) "item", NULL
35476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35478 if (!SWIG_IsOK(res1
)) {
35479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35481 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35482 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35483 if (!SWIG_IsOK(res2
)) {
35484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35487 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35489 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35492 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35493 wxPyEndAllowThreads(__tstate
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35505 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35506 PyObject
*resultobj
= 0;
35507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35511 PyObject
*swig_obj
[1] ;
35513 if (!args
) SWIG_fail
;
35514 swig_obj
[0] = args
;
35515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35516 if (!SWIG_IsOK(res1
)) {
35517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35519 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35522 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsEmpty();
35523 wxPyEndAllowThreads(__tstate
);
35524 if (PyErr_Occurred()) SWIG_fail
;
35527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35535 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35536 PyObject
*resultobj
= 0;
35537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35538 wxTreeItemId
*arg2
= 0 ;
35539 bool arg3
= (bool) true ;
35547 PyObject
* obj0
= 0 ;
35548 PyObject
* obj1
= 0 ;
35549 PyObject
* obj2
= 0 ;
35550 char * kwnames
[] = {
35551 (char *) "self",(char *) "item",(char *) "recursively", NULL
35554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35556 if (!SWIG_IsOK(res1
)) {
35557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35559 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35560 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35561 if (!SWIG_IsOK(res2
)) {
35562 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35565 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35567 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35569 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35570 if (!SWIG_IsOK(ecode3
)) {
35571 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35573 arg3
= static_cast< bool >(val3
);
35576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35577 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35578 wxPyEndAllowThreads(__tstate
);
35579 if (PyErr_Occurred()) SWIG_fail
;
35581 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35588 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35589 PyObject
*resultobj
= 0;
35590 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35591 wxTreeItemId result
;
35594 PyObject
*swig_obj
[1] ;
35596 if (!args
) SWIG_fail
;
35597 swig_obj
[0] = args
;
35598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35599 if (!SWIG_IsOK(res1
)) {
35600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35602 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35605 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35606 wxPyEndAllowThreads(__tstate
);
35607 if (PyErr_Occurred()) SWIG_fail
;
35609 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35616 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35617 PyObject
*resultobj
= 0;
35618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35619 wxTreeItemId result
;
35622 PyObject
*swig_obj
[1] ;
35624 if (!args
) SWIG_fail
;
35625 swig_obj
[0] = args
;
35626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35627 if (!SWIG_IsOK(res1
)) {
35628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35630 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35633 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35634 wxPyEndAllowThreads(__tstate
);
35635 if (PyErr_Occurred()) SWIG_fail
;
35637 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35644 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35645 PyObject
*resultobj
= 0;
35646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35647 PyObject
*result
= 0 ;
35650 PyObject
*swig_obj
[1] ;
35652 if (!args
) SWIG_fail
;
35653 swig_obj
[0] = args
;
35654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35655 if (!SWIG_IsOK(res1
)) {
35656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35658 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35661 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35665 resultobj
= result
;
35672 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35673 PyObject
*resultobj
= 0;
35674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35675 wxTreeItemId
*arg2
= 0 ;
35676 wxTreeItemId result
;
35681 PyObject
* obj0
= 0 ;
35682 PyObject
* obj1
= 0 ;
35683 char * kwnames
[] = {
35684 (char *) "self",(char *) "item", NULL
35687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35689 if (!SWIG_IsOK(res1
)) {
35690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35692 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35693 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35694 if (!SWIG_IsOK(res2
)) {
35695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35698 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35700 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35703 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
35704 wxPyEndAllowThreads(__tstate
);
35705 if (PyErr_Occurred()) SWIG_fail
;
35707 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35714 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35715 PyObject
*resultobj
= 0;
35716 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35717 wxTreeItemId
*arg2
= 0 ;
35718 PyObject
*result
= 0 ;
35723 PyObject
* obj0
= 0 ;
35724 PyObject
* obj1
= 0 ;
35725 char * kwnames
[] = {
35726 (char *) "self",(char *) "item", NULL
35729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35731 if (!SWIG_IsOK(res1
)) {
35732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35734 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35736 if (!SWIG_IsOK(res2
)) {
35737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35742 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35745 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
35746 wxPyEndAllowThreads(__tstate
);
35747 if (PyErr_Occurred()) SWIG_fail
;
35749 resultobj
= result
;
35756 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35757 PyObject
*resultobj
= 0;
35758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35759 wxTreeItemId
*arg2
= 0 ;
35760 void *arg3
= (void *) 0 ;
35761 PyObject
*result
= 0 ;
35767 PyObject
* obj0
= 0 ;
35768 PyObject
* obj1
= 0 ;
35769 PyObject
* obj2
= 0 ;
35770 char * kwnames
[] = {
35771 (char *) "self",(char *) "item",(char *) "cookie", NULL
35774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) 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_GetNextChild" "', 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_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35785 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35787 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35788 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
35789 if (!SWIG_IsOK(res3
)) {
35790 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
35793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35794 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35795 wxPyEndAllowThreads(__tstate
);
35796 if (PyErr_Occurred()) SWIG_fail
;
35798 resultobj
= result
;
35805 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35806 PyObject
*resultobj
= 0;
35807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35808 wxTreeItemId
*arg2
= 0 ;
35809 wxTreeItemId result
;
35814 PyObject
* obj0
= 0 ;
35815 PyObject
* obj1
= 0 ;
35816 char * kwnames
[] = {
35817 (char *) "self",(char *) "item", NULL
35820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35822 if (!SWIG_IsOK(res1
)) {
35823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35825 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35826 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35827 if (!SWIG_IsOK(res2
)) {
35828 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35831 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35833 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35836 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
35837 wxPyEndAllowThreads(__tstate
);
35838 if (PyErr_Occurred()) SWIG_fail
;
35840 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35847 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35848 PyObject
*resultobj
= 0;
35849 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35850 wxTreeItemId
*arg2
= 0 ;
35851 wxTreeItemId result
;
35856 PyObject
* obj0
= 0 ;
35857 PyObject
* obj1
= 0 ;
35858 char * kwnames
[] = {
35859 (char *) "self",(char *) "item", NULL
35862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35864 if (!SWIG_IsOK(res1
)) {
35865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35867 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35868 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35869 if (!SWIG_IsOK(res2
)) {
35870 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35873 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35875 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35878 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
35879 wxPyEndAllowThreads(__tstate
);
35880 if (PyErr_Occurred()) SWIG_fail
;
35882 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35889 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35890 PyObject
*resultobj
= 0;
35891 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35892 wxTreeItemId
*arg2
= 0 ;
35893 wxTreeItemId result
;
35898 PyObject
* obj0
= 0 ;
35899 PyObject
* obj1
= 0 ;
35900 char * kwnames
[] = {
35901 (char *) "self",(char *) "item", NULL
35904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35906 if (!SWIG_IsOK(res1
)) {
35907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35909 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35910 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35911 if (!SWIG_IsOK(res2
)) {
35912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35915 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35917 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35920 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
35921 wxPyEndAllowThreads(__tstate
);
35922 if (PyErr_Occurred()) SWIG_fail
;
35924 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35931 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35932 PyObject
*resultobj
= 0;
35933 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35934 wxTreeItemId result
;
35937 PyObject
*swig_obj
[1] ;
35939 if (!args
) SWIG_fail
;
35940 swig_obj
[0] = args
;
35941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35942 if (!SWIG_IsOK(res1
)) {
35943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35945 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35948 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
35949 wxPyEndAllowThreads(__tstate
);
35950 if (PyErr_Occurred()) SWIG_fail
;
35952 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35959 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35960 PyObject
*resultobj
= 0;
35961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35962 wxTreeItemId
*arg2
= 0 ;
35963 wxTreeItemId result
;
35968 PyObject
* obj0
= 0 ;
35969 PyObject
* obj1
= 0 ;
35970 char * kwnames
[] = {
35971 (char *) "self",(char *) "item", NULL
35974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35976 if (!SWIG_IsOK(res1
)) {
35977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35979 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35980 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35981 if (!SWIG_IsOK(res2
)) {
35982 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35985 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35987 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35990 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
35991 wxPyEndAllowThreads(__tstate
);
35992 if (PyErr_Occurred()) SWIG_fail
;
35994 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36001 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36002 PyObject
*resultobj
= 0;
36003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36004 wxTreeItemId
*arg2
= 0 ;
36005 wxTreeItemId result
;
36010 PyObject
* obj0
= 0 ;
36011 PyObject
* obj1
= 0 ;
36012 char * kwnames
[] = {
36013 (char *) "self",(char *) "item", NULL
36016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36018 if (!SWIG_IsOK(res1
)) {
36019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36021 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36023 if (!SWIG_IsOK(res2
)) {
36024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36029 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36036 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36043 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36044 PyObject
*resultobj
= 0;
36045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36046 wxString
*arg2
= 0 ;
36047 int arg3
= (int) -1 ;
36048 int arg4
= (int) -1 ;
36049 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36050 wxTreeItemId result
;
36053 bool temp2
= false ;
36059 PyObject
* obj0
= 0 ;
36060 PyObject
* obj1
= 0 ;
36061 PyObject
* obj2
= 0 ;
36062 PyObject
* obj3
= 0 ;
36063 PyObject
* obj4
= 0 ;
36064 char * kwnames
[] = {
36065 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36070 if (!SWIG_IsOK(res1
)) {
36071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36073 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36075 arg2
= wxString_in_helper(obj1
);
36076 if (arg2
== NULL
) SWIG_fail
;
36080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36081 if (!SWIG_IsOK(ecode3
)) {
36082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36084 arg3
= static_cast< int >(val3
);
36087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36088 if (!SWIG_IsOK(ecode4
)) {
36089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36091 arg4
= static_cast< int >(val4
);
36094 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36095 if (!SWIG_IsOK(res5
)) {
36096 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36101 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36102 wxPyEndAllowThreads(__tstate
);
36103 if (PyErr_Occurred()) SWIG_fail
;
36105 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36120 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36121 PyObject
*resultobj
= 0;
36122 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36123 wxTreeItemId
*arg2
= 0 ;
36124 wxString
*arg3
= 0 ;
36125 int arg4
= (int) -1 ;
36126 int arg5
= (int) -1 ;
36127 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36128 wxTreeItemId result
;
36133 bool temp3
= false ;
36139 PyObject
* obj0
= 0 ;
36140 PyObject
* obj1
= 0 ;
36141 PyObject
* obj2
= 0 ;
36142 PyObject
* obj3
= 0 ;
36143 PyObject
* obj4
= 0 ;
36144 PyObject
* obj5
= 0 ;
36145 char * kwnames
[] = {
36146 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36151 if (!SWIG_IsOK(res1
)) {
36152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36154 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36156 if (!SWIG_IsOK(res2
)) {
36157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36162 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36164 arg3
= wxString_in_helper(obj2
);
36165 if (arg3
== NULL
) SWIG_fail
;
36169 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36170 if (!SWIG_IsOK(ecode4
)) {
36171 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36173 arg4
= static_cast< int >(val4
);
36176 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36177 if (!SWIG_IsOK(ecode5
)) {
36178 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36180 arg5
= static_cast< int >(val5
);
36183 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36184 if (!SWIG_IsOK(res6
)) {
36185 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36190 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36191 wxPyEndAllowThreads(__tstate
);
36192 if (PyErr_Occurred()) SWIG_fail
;
36194 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36209 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36210 PyObject
*resultobj
= 0;
36211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36212 wxTreeItemId
*arg2
= 0 ;
36213 wxTreeItemId
*arg3
= 0 ;
36214 wxString
*arg4
= 0 ;
36215 int arg5
= (int) -1 ;
36216 int arg6
= (int) -1 ;
36217 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36218 wxTreeItemId result
;
36225 bool temp4
= false ;
36231 PyObject
* obj0
= 0 ;
36232 PyObject
* obj1
= 0 ;
36233 PyObject
* obj2
= 0 ;
36234 PyObject
* obj3
= 0 ;
36235 PyObject
* obj4
= 0 ;
36236 PyObject
* obj5
= 0 ;
36237 PyObject
* obj6
= 0 ;
36238 char * kwnames
[] = {
36239 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36244 if (!SWIG_IsOK(res1
)) {
36245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36247 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36249 if (!SWIG_IsOK(res2
)) {
36250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36255 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36256 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36257 if (!SWIG_IsOK(res3
)) {
36258 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36261 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36263 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36265 arg4
= wxString_in_helper(obj3
);
36266 if (arg4
== NULL
) SWIG_fail
;
36270 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36271 if (!SWIG_IsOK(ecode5
)) {
36272 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36274 arg5
= static_cast< int >(val5
);
36277 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36278 if (!SWIG_IsOK(ecode6
)) {
36279 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36281 arg6
= static_cast< int >(val6
);
36284 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36285 if (!SWIG_IsOK(res7
)) {
36286 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36291 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36292 wxPyEndAllowThreads(__tstate
);
36293 if (PyErr_Occurred()) SWIG_fail
;
36295 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36310 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36311 PyObject
*resultobj
= 0;
36312 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36313 wxTreeItemId
*arg2
= 0 ;
36315 wxString
*arg4
= 0 ;
36316 int arg5
= (int) -1 ;
36317 int arg6
= (int) -1 ;
36318 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36319 wxTreeItemId result
;
36326 bool temp4
= false ;
36332 PyObject
* obj0
= 0 ;
36333 PyObject
* obj1
= 0 ;
36334 PyObject
* obj2
= 0 ;
36335 PyObject
* obj3
= 0 ;
36336 PyObject
* obj4
= 0 ;
36337 PyObject
* obj5
= 0 ;
36338 PyObject
* obj6
= 0 ;
36339 char * kwnames
[] = {
36340 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36345 if (!SWIG_IsOK(res1
)) {
36346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36348 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36349 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36350 if (!SWIG_IsOK(res2
)) {
36351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36354 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36356 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36357 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36358 if (!SWIG_IsOK(ecode3
)) {
36359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36361 arg3
= static_cast< size_t >(val3
);
36363 arg4
= wxString_in_helper(obj3
);
36364 if (arg4
== NULL
) SWIG_fail
;
36368 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36369 if (!SWIG_IsOK(ecode5
)) {
36370 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36372 arg5
= static_cast< int >(val5
);
36375 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36376 if (!SWIG_IsOK(ecode6
)) {
36377 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36379 arg6
= static_cast< int >(val6
);
36382 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36383 if (!SWIG_IsOK(res7
)) {
36384 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36389 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36390 wxPyEndAllowThreads(__tstate
);
36391 if (PyErr_Occurred()) SWIG_fail
;
36393 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36408 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36409 PyObject
*resultobj
= 0;
36410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36411 wxTreeItemId
*arg2
= 0 ;
36412 wxString
*arg3
= 0 ;
36413 int arg4
= (int) -1 ;
36414 int arg5
= (int) -1 ;
36415 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36416 wxTreeItemId result
;
36421 bool temp3
= false ;
36427 PyObject
* obj0
= 0 ;
36428 PyObject
* obj1
= 0 ;
36429 PyObject
* obj2
= 0 ;
36430 PyObject
* obj3
= 0 ;
36431 PyObject
* obj4
= 0 ;
36432 PyObject
* obj5
= 0 ;
36433 char * kwnames
[] = {
36434 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36439 if (!SWIG_IsOK(res1
)) {
36440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36442 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36443 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36444 if (!SWIG_IsOK(res2
)) {
36445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36448 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36450 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36452 arg3
= wxString_in_helper(obj2
);
36453 if (arg3
== NULL
) SWIG_fail
;
36457 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36458 if (!SWIG_IsOK(ecode4
)) {
36459 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36461 arg4
= static_cast< int >(val4
);
36464 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36465 if (!SWIG_IsOK(ecode5
)) {
36466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36468 arg5
= static_cast< int >(val5
);
36471 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36472 if (!SWIG_IsOK(res6
)) {
36473 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36478 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36479 wxPyEndAllowThreads(__tstate
);
36480 if (PyErr_Occurred()) SWIG_fail
;
36482 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36497 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36498 PyObject
*resultobj
= 0;
36499 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36500 wxTreeItemId
*arg2
= 0 ;
36505 PyObject
* obj0
= 0 ;
36506 PyObject
* obj1
= 0 ;
36507 char * kwnames
[] = {
36508 (char *) "self",(char *) "item", NULL
36511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36513 if (!SWIG_IsOK(res1
)) {
36514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36516 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36517 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36518 if (!SWIG_IsOK(res2
)) {
36519 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36522 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36524 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36527 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36528 wxPyEndAllowThreads(__tstate
);
36529 if (PyErr_Occurred()) SWIG_fail
;
36531 resultobj
= SWIG_Py_Void();
36538 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36539 PyObject
*resultobj
= 0;
36540 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36541 wxTreeItemId
*arg2
= 0 ;
36546 PyObject
* obj0
= 0 ;
36547 PyObject
* obj1
= 0 ;
36548 char * kwnames
[] = {
36549 (char *) "self",(char *) "item", NULL
36552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36554 if (!SWIG_IsOK(res1
)) {
36555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36557 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36558 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36559 if (!SWIG_IsOK(res2
)) {
36560 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36563 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36565 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36568 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36569 wxPyEndAllowThreads(__tstate
);
36570 if (PyErr_Occurred()) SWIG_fail
;
36572 resultobj
= SWIG_Py_Void();
36579 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36580 PyObject
*resultobj
= 0;
36581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36584 PyObject
*swig_obj
[1] ;
36586 if (!args
) SWIG_fail
;
36587 swig_obj
[0] = args
;
36588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36589 if (!SWIG_IsOK(res1
)) {
36590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36592 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36595 (arg1
)->DeleteAllItems();
36596 wxPyEndAllowThreads(__tstate
);
36597 if (PyErr_Occurred()) SWIG_fail
;
36599 resultobj
= SWIG_Py_Void();
36606 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36607 PyObject
*resultobj
= 0;
36608 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36609 wxTreeItemId
*arg2
= 0 ;
36614 PyObject
* obj0
= 0 ;
36615 PyObject
* obj1
= 0 ;
36616 char * kwnames
[] = {
36617 (char *) "self",(char *) "item", NULL
36620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36622 if (!SWIG_IsOK(res1
)) {
36623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36625 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36627 if (!SWIG_IsOK(res2
)) {
36628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36633 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36636 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36637 wxPyEndAllowThreads(__tstate
);
36638 if (PyErr_Occurred()) SWIG_fail
;
36640 resultobj
= SWIG_Py_Void();
36647 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36648 PyObject
*resultobj
= 0;
36649 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36650 wxTreeItemId
*arg2
= 0 ;
36655 PyObject
* obj0
= 0 ;
36656 PyObject
* obj1
= 0 ;
36657 char * kwnames
[] = {
36658 (char *) "self",(char *) "item", NULL
36661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36663 if (!SWIG_IsOK(res1
)) {
36664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36666 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36667 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36668 if (!SWIG_IsOK(res2
)) {
36669 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36672 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36674 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36677 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
36678 wxPyEndAllowThreads(__tstate
);
36679 if (PyErr_Occurred()) SWIG_fail
;
36681 resultobj
= SWIG_Py_Void();
36688 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36689 PyObject
*resultobj
= 0;
36690 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36693 PyObject
*swig_obj
[1] ;
36695 if (!args
) SWIG_fail
;
36696 swig_obj
[0] = args
;
36697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36698 if (!SWIG_IsOK(res1
)) {
36699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36701 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36704 (arg1
)->ExpandAll();
36705 wxPyEndAllowThreads(__tstate
);
36706 if (PyErr_Occurred()) SWIG_fail
;
36708 resultobj
= SWIG_Py_Void();
36715 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36716 PyObject
*resultobj
= 0;
36717 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36718 wxTreeItemId
*arg2
= 0 ;
36723 PyObject
* obj0
= 0 ;
36724 PyObject
* obj1
= 0 ;
36725 char * kwnames
[] = {
36726 (char *) "self",(char *) "item", NULL
36729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36731 if (!SWIG_IsOK(res1
)) {
36732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36734 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36735 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36736 if (!SWIG_IsOK(res2
)) {
36737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36742 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36745 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
36746 wxPyEndAllowThreads(__tstate
);
36747 if (PyErr_Occurred()) SWIG_fail
;
36749 resultobj
= SWIG_Py_Void();
36756 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36757 PyObject
*resultobj
= 0;
36758 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36759 wxTreeItemId
*arg2
= 0 ;
36764 PyObject
* obj0
= 0 ;
36765 PyObject
* obj1
= 0 ;
36766 char * kwnames
[] = {
36767 (char *) "self",(char *) "item", NULL
36770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36772 if (!SWIG_IsOK(res1
)) {
36773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36775 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36776 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36777 if (!SWIG_IsOK(res2
)) {
36778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36783 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36786 (arg1
)->CollapseAllChildren((wxTreeItemId
const &)*arg2
);
36787 wxPyEndAllowThreads(__tstate
);
36788 if (PyErr_Occurred()) SWIG_fail
;
36790 resultobj
= SWIG_Py_Void();
36797 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36798 PyObject
*resultobj
= 0;
36799 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36802 PyObject
*swig_obj
[1] ;
36804 if (!args
) SWIG_fail
;
36805 swig_obj
[0] = args
;
36806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36807 if (!SWIG_IsOK(res1
)) {
36808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36810 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36813 (arg1
)->CollapseAll();
36814 wxPyEndAllowThreads(__tstate
);
36815 if (PyErr_Occurred()) SWIG_fail
;
36817 resultobj
= SWIG_Py_Void();
36824 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36825 PyObject
*resultobj
= 0;
36826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36827 wxTreeItemId
*arg2
= 0 ;
36832 PyObject
* obj0
= 0 ;
36833 PyObject
* obj1
= 0 ;
36834 char * kwnames
[] = {
36835 (char *) "self",(char *) "item", NULL
36838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36840 if (!SWIG_IsOK(res1
)) {
36841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36843 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36844 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36845 if (!SWIG_IsOK(res2
)) {
36846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36849 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36851 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36854 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
36855 wxPyEndAllowThreads(__tstate
);
36856 if (PyErr_Occurred()) SWIG_fail
;
36858 resultobj
= SWIG_Py_Void();
36865 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36866 PyObject
*resultobj
= 0;
36867 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36868 wxTreeItemId
*arg2
= 0 ;
36873 PyObject
* obj0
= 0 ;
36874 PyObject
* obj1
= 0 ;
36875 char * kwnames
[] = {
36876 (char *) "self",(char *) "item", NULL
36879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36881 if (!SWIG_IsOK(res1
)) {
36882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36884 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36885 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36886 if (!SWIG_IsOK(res2
)) {
36887 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36892 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36895 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
36896 wxPyEndAllowThreads(__tstate
);
36897 if (PyErr_Occurred()) SWIG_fail
;
36899 resultobj
= SWIG_Py_Void();
36906 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36907 PyObject
*resultobj
= 0;
36908 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36911 PyObject
*swig_obj
[1] ;
36913 if (!args
) SWIG_fail
;
36914 swig_obj
[0] = args
;
36915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36916 if (!SWIG_IsOK(res1
)) {
36917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36919 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36922 (arg1
)->Unselect();
36923 wxPyEndAllowThreads(__tstate
);
36924 if (PyErr_Occurred()) SWIG_fail
;
36926 resultobj
= SWIG_Py_Void();
36933 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36934 PyObject
*resultobj
= 0;
36935 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36936 wxTreeItemId
*arg2
= 0 ;
36941 PyObject
* obj0
= 0 ;
36942 PyObject
* obj1
= 0 ;
36943 char * kwnames
[] = {
36944 (char *) "self",(char *) "item", NULL
36947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36949 if (!SWIG_IsOK(res1
)) {
36950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36952 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36953 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36954 if (!SWIG_IsOK(res2
)) {
36955 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36958 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36960 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36963 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
36964 wxPyEndAllowThreads(__tstate
);
36965 if (PyErr_Occurred()) SWIG_fail
;
36967 resultobj
= SWIG_Py_Void();
36974 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36975 PyObject
*resultobj
= 0;
36976 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36979 PyObject
*swig_obj
[1] ;
36981 if (!args
) SWIG_fail
;
36982 swig_obj
[0] = args
;
36983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36984 if (!SWIG_IsOK(res1
)) {
36985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36987 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36990 (arg1
)->UnselectAll();
36991 wxPyEndAllowThreads(__tstate
);
36992 if (PyErr_Occurred()) SWIG_fail
;
36994 resultobj
= SWIG_Py_Void();
37001 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37002 PyObject
*resultobj
= 0;
37003 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37004 wxTreeItemId
*arg2
= 0 ;
37005 bool arg3
= (bool) true ;
37012 PyObject
* obj0
= 0 ;
37013 PyObject
* obj1
= 0 ;
37014 PyObject
* obj2
= 0 ;
37015 char * kwnames
[] = {
37016 (char *) "self",(char *) "item",(char *) "select", NULL
37019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37021 if (!SWIG_IsOK(res1
)) {
37022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37024 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37025 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37026 if (!SWIG_IsOK(res2
)) {
37027 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37032 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37034 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37035 if (!SWIG_IsOK(ecode3
)) {
37036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37038 arg3
= static_cast< bool >(val3
);
37041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37042 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37043 wxPyEndAllowThreads(__tstate
);
37044 if (PyErr_Occurred()) SWIG_fail
;
37046 resultobj
= SWIG_Py_Void();
37053 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37054 PyObject
*resultobj
= 0;
37055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37056 wxTreeItemId
*arg2
= 0 ;
37061 PyObject
* obj0
= 0 ;
37062 PyObject
* obj1
= 0 ;
37063 char * kwnames
[] = {
37064 (char *) "self",(char *) "item", NULL
37067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37069 if (!SWIG_IsOK(res1
)) {
37070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37072 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37073 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37074 if (!SWIG_IsOK(res2
)) {
37075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37078 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37080 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37083 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37084 wxPyEndAllowThreads(__tstate
);
37085 if (PyErr_Occurred()) SWIG_fail
;
37087 resultobj
= SWIG_Py_Void();
37094 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37095 PyObject
*resultobj
= 0;
37096 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37097 wxTreeItemId
*arg2
= 0 ;
37102 PyObject
* obj0
= 0 ;
37103 PyObject
* obj1
= 0 ;
37104 char * kwnames
[] = {
37105 (char *) "self",(char *) "item", NULL
37108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37110 if (!SWIG_IsOK(res1
)) {
37111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37113 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37115 if (!SWIG_IsOK(res2
)) {
37116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37121 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37124 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37125 wxPyEndAllowThreads(__tstate
);
37126 if (PyErr_Occurred()) SWIG_fail
;
37128 resultobj
= SWIG_Py_Void();
37135 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37136 PyObject
*resultobj
= 0;
37137 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37138 wxTreeItemId
*arg2
= 0 ;
37143 PyObject
* obj0
= 0 ;
37144 PyObject
* obj1
= 0 ;
37145 char * kwnames
[] = {
37146 (char *) "self",(char *) "item", NULL
37149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37151 if (!SWIG_IsOK(res1
)) {
37152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37154 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37155 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37156 if (!SWIG_IsOK(res2
)) {
37157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37160 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37162 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37165 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37166 wxPyEndAllowThreads(__tstate
);
37167 if (PyErr_Occurred()) SWIG_fail
;
37169 resultobj
= SWIG_Py_Void();
37176 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37177 PyObject
*resultobj
= 0;
37178 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37179 wxTreeItemId
*arg2
= 0 ;
37184 PyObject
* obj0
= 0 ;
37185 PyObject
* obj1
= 0 ;
37186 char * kwnames
[] = {
37187 (char *) "self",(char *) "item", NULL
37190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37192 if (!SWIG_IsOK(res1
)) {
37193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37195 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37196 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37197 if (!SWIG_IsOK(res2
)) {
37198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37201 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37203 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37206 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37207 wxPyEndAllowThreads(__tstate
);
37208 if (PyErr_Occurred()) SWIG_fail
;
37210 resultobj
= SWIG_Py_Void();
37217 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37218 PyObject
*resultobj
= 0;
37219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37220 wxTextCtrl
*result
= 0 ;
37223 PyObject
*swig_obj
[1] ;
37225 if (!args
) SWIG_fail
;
37226 swig_obj
[0] = args
;
37227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37228 if (!SWIG_IsOK(res1
)) {
37229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37231 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37234 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37235 wxPyEndAllowThreads(__tstate
);
37236 if (PyErr_Occurred()) SWIG_fail
;
37239 resultobj
= wxPyMake_wxObject(result
, 0);
37247 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37248 PyObject
*resultobj
= 0;
37249 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37250 wxTreeItemId
*arg2
= 0 ;
37255 PyObject
* obj0
= 0 ;
37256 PyObject
* obj1
= 0 ;
37257 char * kwnames
[] = {
37258 (char *) "self",(char *) "item", NULL
37261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37263 if (!SWIG_IsOK(res1
)) {
37264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37266 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37267 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37268 if (!SWIG_IsOK(res2
)) {
37269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37272 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37274 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37277 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37278 wxPyEndAllowThreads(__tstate
);
37279 if (PyErr_Occurred()) SWIG_fail
;
37281 resultobj
= SWIG_Py_Void();
37288 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37289 PyObject
*resultobj
= 0;
37290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37291 wxPoint
*arg2
= 0 ;
37293 wxTreeItemId result
;
37298 int res3
= SWIG_TMPOBJ
;
37299 PyObject
* obj0
= 0 ;
37300 PyObject
* obj1
= 0 ;
37301 char * kwnames
[] = {
37302 (char *) "self",(char *) "point", NULL
37306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37308 if (!SWIG_IsOK(res1
)) {
37309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37311 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37314 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37318 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37319 wxPyEndAllowThreads(__tstate
);
37320 if (PyErr_Occurred()) SWIG_fail
;
37322 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37323 if (SWIG_IsTmpObj(res3
)) {
37324 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37326 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37327 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37335 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37336 PyObject
*resultobj
= 0;
37337 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37338 wxTreeItemId
*arg2
= 0 ;
37339 bool arg3
= (bool) false ;
37340 PyObject
*result
= 0 ;
37347 PyObject
* obj0
= 0 ;
37348 PyObject
* obj1
= 0 ;
37349 PyObject
* obj2
= 0 ;
37350 char * kwnames
[] = {
37351 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37356 if (!SWIG_IsOK(res1
)) {
37357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37359 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37360 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37361 if (!SWIG_IsOK(res2
)) {
37362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37365 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37367 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37369 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37370 if (!SWIG_IsOK(ecode3
)) {
37371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37373 arg3
= static_cast< bool >(val3
);
37376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37377 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37378 wxPyEndAllowThreads(__tstate
);
37379 if (PyErr_Occurred()) SWIG_fail
;
37381 resultobj
= result
;
37388 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37389 PyObject
*resultobj
= 0;
37390 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37391 SwigValueWrapper
<wxVisualAttributes
> result
;
37394 PyObject
* obj0
= 0 ;
37395 char * kwnames
[] = {
37396 (char *) "variant", NULL
37399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37401 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37402 if (!SWIG_IsOK(ecode1
)) {
37403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37405 arg1
= static_cast< wxWindowVariant
>(val1
);
37408 if (!wxPyCheckForApp()) SWIG_fail
;
37409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37410 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37411 wxPyEndAllowThreads(__tstate
);
37412 if (PyErr_Occurred()) SWIG_fail
;
37414 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37421 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37422 PyObject
*resultobj
= 0;
37423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37429 PyObject
* obj0
= 0 ;
37430 PyObject
* obj1
= 0 ;
37431 char * kwnames
[] = {
37432 (char *) "self",(char *) "q", NULL
37435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) 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_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37440 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37441 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37442 if (!SWIG_IsOK(ecode2
)) {
37443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37445 arg2
= static_cast< bool >(val2
);
37447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37448 (arg1
)->SetQuickBestSize(arg2
);
37449 wxPyEndAllowThreads(__tstate
);
37450 if (PyErr_Occurred()) SWIG_fail
;
37452 resultobj
= SWIG_Py_Void();
37459 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37460 PyObject
*resultobj
= 0;
37461 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37465 PyObject
*swig_obj
[1] ;
37467 if (!args
) SWIG_fail
;
37468 swig_obj
[0] = args
;
37469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37470 if (!SWIG_IsOK(res1
)) {
37471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37473 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37476 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37477 wxPyEndAllowThreads(__tstate
);
37478 if (PyErr_Occurred()) SWIG_fail
;
37481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37489 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37492 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37493 return SWIG_Py_Void();
37496 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37497 return SWIG_Python_InitShadowInstance(args
);
37500 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37501 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37506 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37507 PyObject
*pyobj
= 0;
37511 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37513 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37520 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37521 PyObject
*resultobj
= 0;
37522 wxWindow
*arg1
= (wxWindow
*) 0 ;
37523 int arg2
= (int) (int)-1 ;
37524 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37525 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37530 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37531 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37532 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37533 int arg8
= (int) 0 ;
37534 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37535 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37536 wxGenericDirCtrl
*result
= 0 ;
37541 bool temp3
= false ;
37546 bool temp7
= false ;
37549 bool temp9
= false ;
37550 PyObject
* obj0
= 0 ;
37551 PyObject
* obj1
= 0 ;
37552 PyObject
* obj2
= 0 ;
37553 PyObject
* obj3
= 0 ;
37554 PyObject
* obj4
= 0 ;
37555 PyObject
* obj5
= 0 ;
37556 PyObject
* obj6
= 0 ;
37557 PyObject
* obj7
= 0 ;
37558 PyObject
* obj8
= 0 ;
37559 char * kwnames
[] = {
37560 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37563 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37564 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37565 if (!SWIG_IsOK(res1
)) {
37566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37568 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37570 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37571 if (!SWIG_IsOK(ecode2
)) {
37572 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37574 arg2
= static_cast< int >(val2
);
37578 arg3
= wxString_in_helper(obj2
);
37579 if (arg3
== NULL
) SWIG_fail
;
37586 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37592 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37596 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37597 if (!SWIG_IsOK(ecode6
)) {
37598 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37600 arg6
= static_cast< long >(val6
);
37604 arg7
= wxString_in_helper(obj6
);
37605 if (arg7
== NULL
) SWIG_fail
;
37610 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37611 if (!SWIG_IsOK(ecode8
)) {
37612 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37614 arg8
= static_cast< int >(val8
);
37618 arg9
= wxString_in_helper(obj8
);
37619 if (arg9
== NULL
) SWIG_fail
;
37624 if (!wxPyCheckForApp()) SWIG_fail
;
37625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37626 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37627 wxPyEndAllowThreads(__tstate
);
37628 if (PyErr_Occurred()) SWIG_fail
;
37630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37661 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37662 PyObject
*resultobj
= 0;
37663 wxGenericDirCtrl
*result
= 0 ;
37665 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
37667 if (!wxPyCheckForApp()) SWIG_fail
;
37668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37669 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
37670 wxPyEndAllowThreads(__tstate
);
37671 if (PyErr_Occurred()) SWIG_fail
;
37673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
37680 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37681 PyObject
*resultobj
= 0;
37682 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37683 wxWindow
*arg2
= (wxWindow
*) 0 ;
37684 int arg3
= (int) (int)-1 ;
37685 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
37686 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
37687 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
37688 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
37689 wxSize
const &arg6_defvalue
= wxDefaultSize
;
37690 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
37691 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37692 wxString
const &arg8_defvalue
= wxPyEmptyString
;
37693 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
37694 int arg9
= (int) 0 ;
37695 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
37696 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
37704 bool temp4
= false ;
37709 bool temp8
= false ;
37712 bool temp10
= false ;
37713 PyObject
* obj0
= 0 ;
37714 PyObject
* obj1
= 0 ;
37715 PyObject
* obj2
= 0 ;
37716 PyObject
* obj3
= 0 ;
37717 PyObject
* obj4
= 0 ;
37718 PyObject
* obj5
= 0 ;
37719 PyObject
* obj6
= 0 ;
37720 PyObject
* obj7
= 0 ;
37721 PyObject
* obj8
= 0 ;
37722 PyObject
* obj9
= 0 ;
37723 char * kwnames
[] = {
37724 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
37728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37729 if (!SWIG_IsOK(res1
)) {
37730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37732 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37733 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37734 if (!SWIG_IsOK(res2
)) {
37735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
37737 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
37740 if (!SWIG_IsOK(ecode3
)) {
37741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
37743 arg3
= static_cast< int >(val3
);
37747 arg4
= wxString_in_helper(obj3
);
37748 if (arg4
== NULL
) SWIG_fail
;
37755 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
37761 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
37765 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
37766 if (!SWIG_IsOK(ecode7
)) {
37767 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
37769 arg7
= static_cast< long >(val7
);
37773 arg8
= wxString_in_helper(obj7
);
37774 if (arg8
== NULL
) SWIG_fail
;
37779 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
37780 if (!SWIG_IsOK(ecode9
)) {
37781 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
37783 arg9
= static_cast< int >(val9
);
37787 arg10
= wxString_in_helper(obj9
);
37788 if (arg10
== NULL
) SWIG_fail
;
37793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37794 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
37795 wxPyEndAllowThreads(__tstate
);
37796 if (PyErr_Occurred()) SWIG_fail
;
37799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37831 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37832 PyObject
*resultobj
= 0;
37833 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37834 wxString
*arg2
= 0 ;
37838 bool temp2
= false ;
37839 PyObject
* obj0
= 0 ;
37840 PyObject
* obj1
= 0 ;
37841 char * kwnames
[] = {
37842 (char *) "self",(char *) "path", NULL
37845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37847 if (!SWIG_IsOK(res1
)) {
37848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37850 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37852 arg2
= wxString_in_helper(obj1
);
37853 if (arg2
== NULL
) SWIG_fail
;
37857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37858 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
37859 wxPyEndAllowThreads(__tstate
);
37860 if (PyErr_Occurred()) SWIG_fail
;
37863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37879 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37880 PyObject
*resultobj
= 0;
37881 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37882 wxString
*arg2
= 0 ;
37886 bool temp2
= false ;
37887 PyObject
* obj0
= 0 ;
37888 PyObject
* obj1
= 0 ;
37889 char * kwnames
[] = {
37890 (char *) "self",(char *) "path", NULL
37893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37895 if (!SWIG_IsOK(res1
)) {
37896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37898 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37900 arg2
= wxString_in_helper(obj1
);
37901 if (arg2
== NULL
) SWIG_fail
;
37905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37906 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
37907 wxPyEndAllowThreads(__tstate
);
37908 if (PyErr_Occurred()) SWIG_fail
;
37911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37927 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37928 PyObject
*resultobj
= 0;
37929 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37933 PyObject
*swig_obj
[1] ;
37935 if (!args
) SWIG_fail
;
37936 swig_obj
[0] = args
;
37937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37938 if (!SWIG_IsOK(res1
)) {
37939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
37941 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37944 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
37945 wxPyEndAllowThreads(__tstate
);
37946 if (PyErr_Occurred()) SWIG_fail
;
37950 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37952 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37961 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37962 PyObject
*resultobj
= 0;
37963 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
37964 wxString
*arg2
= 0 ;
37967 bool temp2
= false ;
37968 PyObject
* obj0
= 0 ;
37969 PyObject
* obj1
= 0 ;
37970 char * kwnames
[] = {
37971 (char *) "self",(char *) "path", NULL
37974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
37976 if (!SWIG_IsOK(res1
)) {
37977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
37979 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
37981 arg2
= wxString_in_helper(obj1
);
37982 if (arg2
== NULL
) SWIG_fail
;
37986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37987 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
37988 wxPyEndAllowThreads(__tstate
);
37989 if (PyErr_Occurred()) SWIG_fail
;
37991 resultobj
= SWIG_Py_Void();
38006 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38007 PyObject
*resultobj
= 0;
38008 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38012 PyObject
*swig_obj
[1] ;
38014 if (!args
) SWIG_fail
;
38015 swig_obj
[0] = args
;
38016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38017 if (!SWIG_IsOK(res1
)) {
38018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38020 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38023 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38024 wxPyEndAllowThreads(__tstate
);
38025 if (PyErr_Occurred()) SWIG_fail
;
38029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38040 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38041 PyObject
*resultobj
= 0;
38042 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38046 PyObject
*swig_obj
[1] ;
38048 if (!args
) SWIG_fail
;
38049 swig_obj
[0] = args
;
38050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38051 if (!SWIG_IsOK(res1
)) {
38052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38054 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38057 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38058 wxPyEndAllowThreads(__tstate
);
38059 if (PyErr_Occurred()) SWIG_fail
;
38063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38074 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38075 PyObject
*resultobj
= 0;
38076 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38077 wxString
*arg2
= 0 ;
38080 bool temp2
= false ;
38081 PyObject
* obj0
= 0 ;
38082 PyObject
* obj1
= 0 ;
38083 char * kwnames
[] = {
38084 (char *) "self",(char *) "path", NULL
38087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38089 if (!SWIG_IsOK(res1
)) {
38090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38092 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38094 arg2
= wxString_in_helper(obj1
);
38095 if (arg2
== NULL
) SWIG_fail
;
38099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38100 (arg1
)->SetPath((wxString
const &)*arg2
);
38101 wxPyEndAllowThreads(__tstate
);
38102 if (PyErr_Occurred()) SWIG_fail
;
38104 resultobj
= SWIG_Py_Void();
38119 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38120 PyObject
*resultobj
= 0;
38121 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38127 PyObject
* obj0
= 0 ;
38128 PyObject
* obj1
= 0 ;
38129 char * kwnames
[] = {
38130 (char *) "self",(char *) "show", NULL
38133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38135 if (!SWIG_IsOK(res1
)) {
38136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38138 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38139 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38140 if (!SWIG_IsOK(ecode2
)) {
38141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38143 arg2
= static_cast< bool >(val2
);
38145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38146 (arg1
)->ShowHidden(arg2
);
38147 wxPyEndAllowThreads(__tstate
);
38148 if (PyErr_Occurred()) SWIG_fail
;
38150 resultobj
= SWIG_Py_Void();
38157 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38158 PyObject
*resultobj
= 0;
38159 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38163 PyObject
*swig_obj
[1] ;
38165 if (!args
) SWIG_fail
;
38166 swig_obj
[0] = args
;
38167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38168 if (!SWIG_IsOK(res1
)) {
38169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38171 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38174 result
= (bool)(arg1
)->GetShowHidden();
38175 wxPyEndAllowThreads(__tstate
);
38176 if (PyErr_Occurred()) SWIG_fail
;
38179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38187 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38188 PyObject
*resultobj
= 0;
38189 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38193 PyObject
*swig_obj
[1] ;
38195 if (!args
) SWIG_fail
;
38196 swig_obj
[0] = args
;
38197 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38198 if (!SWIG_IsOK(res1
)) {
38199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38201 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38204 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38205 wxPyEndAllowThreads(__tstate
);
38206 if (PyErr_Occurred()) SWIG_fail
;
38210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38221 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38222 PyObject
*resultobj
= 0;
38223 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38224 wxString
*arg2
= 0 ;
38227 bool temp2
= false ;
38228 PyObject
* obj0
= 0 ;
38229 PyObject
* obj1
= 0 ;
38230 char * kwnames
[] = {
38231 (char *) "self",(char *) "filter", NULL
38234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38236 if (!SWIG_IsOK(res1
)) {
38237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38239 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38241 arg2
= wxString_in_helper(obj1
);
38242 if (arg2
== NULL
) SWIG_fail
;
38246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38247 (arg1
)->SetFilter((wxString
const &)*arg2
);
38248 wxPyEndAllowThreads(__tstate
);
38249 if (PyErr_Occurred()) SWIG_fail
;
38251 resultobj
= SWIG_Py_Void();
38266 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38267 PyObject
*resultobj
= 0;
38268 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38272 PyObject
*swig_obj
[1] ;
38274 if (!args
) SWIG_fail
;
38275 swig_obj
[0] = args
;
38276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38277 if (!SWIG_IsOK(res1
)) {
38278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38280 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38283 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38284 wxPyEndAllowThreads(__tstate
);
38285 if (PyErr_Occurred()) SWIG_fail
;
38287 resultobj
= SWIG_From_int(static_cast< int >(result
));
38294 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38295 PyObject
*resultobj
= 0;
38296 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38302 PyObject
* obj0
= 0 ;
38303 PyObject
* obj1
= 0 ;
38304 char * kwnames
[] = {
38305 (char *) "self",(char *) "n", NULL
38308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38310 if (!SWIG_IsOK(res1
)) {
38311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38313 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38315 if (!SWIG_IsOK(ecode2
)) {
38316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38318 arg2
= static_cast< int >(val2
);
38320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38321 (arg1
)->SetFilterIndex(arg2
);
38322 wxPyEndAllowThreads(__tstate
);
38323 if (PyErr_Occurred()) SWIG_fail
;
38325 resultobj
= SWIG_Py_Void();
38332 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38333 PyObject
*resultobj
= 0;
38334 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38335 wxTreeItemId result
;
38338 PyObject
*swig_obj
[1] ;
38340 if (!args
) SWIG_fail
;
38341 swig_obj
[0] = args
;
38342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38343 if (!SWIG_IsOK(res1
)) {
38344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38346 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38349 result
= (arg1
)->GetRootId();
38350 wxPyEndAllowThreads(__tstate
);
38351 if (PyErr_Occurred()) SWIG_fail
;
38353 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38360 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38361 PyObject
*resultobj
= 0;
38362 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38363 wxPyTreeCtrl
*result
= 0 ;
38366 PyObject
*swig_obj
[1] ;
38368 if (!args
) SWIG_fail
;
38369 swig_obj
[0] = args
;
38370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38371 if (!SWIG_IsOK(res1
)) {
38372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38374 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38377 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38378 wxPyEndAllowThreads(__tstate
);
38379 if (PyErr_Occurred()) SWIG_fail
;
38382 resultobj
= wxPyMake_wxObject(result
, 0);
38390 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38391 PyObject
*resultobj
= 0;
38392 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38393 wxDirFilterListCtrl
*result
= 0 ;
38396 PyObject
*swig_obj
[1] ;
38398 if (!args
) SWIG_fail
;
38399 swig_obj
[0] = args
;
38400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38401 if (!SWIG_IsOK(res1
)) {
38402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38404 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38407 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38408 wxPyEndAllowThreads(__tstate
);
38409 if (PyErr_Occurred()) SWIG_fail
;
38411 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38418 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38419 PyObject
*resultobj
= 0;
38420 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38421 wxTreeItemId arg2
;
38422 wxString
*arg3
= 0 ;
38424 wxTreeItemId result
;
38429 bool temp3
= false ;
38431 int res4
= SWIG_TMPOBJ
;
38432 PyObject
* obj0
= 0 ;
38433 PyObject
* obj1
= 0 ;
38434 PyObject
* obj2
= 0 ;
38435 char * kwnames
[] = {
38436 (char *) "self",(char *) "parentId",(char *) "path", NULL
38440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38442 if (!SWIG_IsOK(res1
)) {
38443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38445 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38447 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38448 if (!SWIG_IsOK(res2
)) {
38449 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38452 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38454 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38456 if (SWIG_IsNewObj(res2
)) delete temp
;
38460 arg3
= wxString_in_helper(obj2
);
38461 if (arg3
== NULL
) SWIG_fail
;
38465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38466 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38467 wxPyEndAllowThreads(__tstate
);
38468 if (PyErr_Occurred()) SWIG_fail
;
38470 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38471 if (SWIG_IsTmpObj(res4
)) {
38472 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38474 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38475 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38491 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38492 PyObject
*resultobj
= 0;
38493 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38496 PyObject
*swig_obj
[1] ;
38498 if (!args
) SWIG_fail
;
38499 swig_obj
[0] = args
;
38500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38501 if (!SWIG_IsOK(res1
)) {
38502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38504 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38507 (arg1
)->DoResize();
38508 wxPyEndAllowThreads(__tstate
);
38509 if (PyErr_Occurred()) SWIG_fail
;
38511 resultobj
= SWIG_Py_Void();
38518 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38519 PyObject
*resultobj
= 0;
38520 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38523 PyObject
*swig_obj
[1] ;
38525 if (!args
) SWIG_fail
;
38526 swig_obj
[0] = args
;
38527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38528 if (!SWIG_IsOK(res1
)) {
38529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38531 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38534 (arg1
)->ReCreateTree();
38535 wxPyEndAllowThreads(__tstate
);
38536 if (PyErr_Occurred()) SWIG_fail
;
38538 resultobj
= SWIG_Py_Void();
38545 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38547 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38548 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38549 return SWIG_Py_Void();
38552 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38553 return SWIG_Python_InitShadowInstance(args
);
38556 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38557 PyObject
*resultobj
= 0;
38558 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38559 int arg2
= (int) (int)-1 ;
38560 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38561 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38562 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38563 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38564 long arg5
= (long) 0 ;
38565 wxDirFilterListCtrl
*result
= 0 ;
38574 PyObject
* obj0
= 0 ;
38575 PyObject
* obj1
= 0 ;
38576 PyObject
* obj2
= 0 ;
38577 PyObject
* obj3
= 0 ;
38578 PyObject
* obj4
= 0 ;
38579 char * kwnames
[] = {
38580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38585 if (!SWIG_IsOK(res1
)) {
38586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38588 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38591 if (!SWIG_IsOK(ecode2
)) {
38592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38594 arg2
= static_cast< int >(val2
);
38599 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38605 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38609 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38610 if (!SWIG_IsOK(ecode5
)) {
38611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38613 arg5
= static_cast< long >(val5
);
38616 if (!wxPyCheckForApp()) SWIG_fail
;
38617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38618 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38619 wxPyEndAllowThreads(__tstate
);
38620 if (PyErr_Occurred()) SWIG_fail
;
38622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38629 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38630 PyObject
*resultobj
= 0;
38631 wxDirFilterListCtrl
*result
= 0 ;
38633 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38635 if (!wxPyCheckForApp()) SWIG_fail
;
38636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38637 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38638 wxPyEndAllowThreads(__tstate
);
38639 if (PyErr_Occurred()) SWIG_fail
;
38641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38648 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38649 PyObject
*resultobj
= 0;
38650 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38651 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38652 int arg3
= (int) (int)-1 ;
38653 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38654 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38655 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38656 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38657 long arg6
= (long) 0 ;
38669 PyObject
* obj0
= 0 ;
38670 PyObject
* obj1
= 0 ;
38671 PyObject
* obj2
= 0 ;
38672 PyObject
* obj3
= 0 ;
38673 PyObject
* obj4
= 0 ;
38674 PyObject
* obj5
= 0 ;
38675 char * kwnames
[] = {
38676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38681 if (!SWIG_IsOK(res1
)) {
38682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38684 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38686 if (!SWIG_IsOK(res2
)) {
38687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
38689 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
38691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38692 if (!SWIG_IsOK(ecode3
)) {
38693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38695 arg3
= static_cast< int >(val3
);
38700 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
38706 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
38710 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
38711 if (!SWIG_IsOK(ecode6
)) {
38712 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
38714 arg6
= static_cast< long >(val6
);
38717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38718 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
38719 wxPyEndAllowThreads(__tstate
);
38720 if (PyErr_Occurred()) SWIG_fail
;
38723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38731 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38732 PyObject
*resultobj
= 0;
38733 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38734 wxString
*arg2
= 0 ;
38738 bool temp2
= false ;
38741 PyObject
* obj0
= 0 ;
38742 PyObject
* obj1
= 0 ;
38743 PyObject
* obj2
= 0 ;
38744 char * kwnames
[] = {
38745 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
38748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38750 if (!SWIG_IsOK(res1
)) {
38751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
38753 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
38755 arg2
= wxString_in_helper(obj1
);
38756 if (arg2
== NULL
) SWIG_fail
;
38759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38760 if (!SWIG_IsOK(ecode3
)) {
38761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
38763 arg3
= static_cast< int >(val3
);
38765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38766 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
38767 wxPyEndAllowThreads(__tstate
);
38768 if (PyErr_Occurred()) SWIG_fail
;
38770 resultobj
= SWIG_Py_Void();
38785 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38787 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38788 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
38789 return SWIG_Py_Void();
38792 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38793 return SWIG_Python_InitShadowInstance(args
);
38796 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38797 PyObject
*resultobj
= 0;
38798 wxWindow
*arg1
= (wxWindow
*) 0 ;
38799 int arg2
= (int) (int)-1 ;
38800 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38801 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38802 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38803 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38804 long arg5
= (long) 0 ;
38805 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
38806 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
38807 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
38808 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
38809 wxPyControl
*result
= 0 ;
38820 bool temp7
= false ;
38821 PyObject
* obj0
= 0 ;
38822 PyObject
* obj1
= 0 ;
38823 PyObject
* obj2
= 0 ;
38824 PyObject
* obj3
= 0 ;
38825 PyObject
* obj4
= 0 ;
38826 PyObject
* obj5
= 0 ;
38827 PyObject
* obj6
= 0 ;
38828 char * kwnames
[] = {
38829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
38832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
38833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38834 if (!SWIG_IsOK(res1
)) {
38835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
38837 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
38839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38840 if (!SWIG_IsOK(ecode2
)) {
38841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
38843 arg2
= static_cast< int >(val2
);
38848 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38854 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38858 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38859 if (!SWIG_IsOK(ecode5
)) {
38860 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
38862 arg5
= static_cast< long >(val5
);
38865 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
38866 if (!SWIG_IsOK(res6
)) {
38867 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38870 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
38872 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
38876 arg7
= wxString_in_helper(obj6
);
38877 if (arg7
== NULL
) SWIG_fail
;
38882 if (!wxPyCheckForApp()) SWIG_fail
;
38883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38884 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
38885 wxPyEndAllowThreads(__tstate
);
38886 if (PyErr_Occurred()) SWIG_fail
;
38888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
38903 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38904 PyObject
*resultobj
= 0;
38905 wxPyControl
*result
= 0 ;
38907 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
38909 if (!wxPyCheckForApp()) SWIG_fail
;
38910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38911 result
= (wxPyControl
*)new wxPyControl();
38912 wxPyEndAllowThreads(__tstate
);
38913 if (PyErr_Occurred()) SWIG_fail
;
38915 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
38922 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38923 PyObject
*resultobj
= 0;
38924 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38925 PyObject
*arg2
= (PyObject
*) 0 ;
38926 PyObject
*arg3
= (PyObject
*) 0 ;
38929 PyObject
* obj0
= 0 ;
38930 PyObject
* obj1
= 0 ;
38931 PyObject
* obj2
= 0 ;
38932 char * kwnames
[] = {
38933 (char *) "self",(char *) "self",(char *) "_class", NULL
38936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38938 if (!SWIG_IsOK(res1
)) {
38939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
38941 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38946 (arg1
)->_setCallbackInfo(arg2
,arg3
);
38947 wxPyEndAllowThreads(__tstate
);
38948 if (PyErr_Occurred()) SWIG_fail
;
38950 resultobj
= SWIG_Py_Void();
38957 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38958 PyObject
*resultobj
= 0;
38959 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
38960 wxDC
*arg2
= (wxDC
*) 0 ;
38966 PyObject
* obj0
= 0 ;
38967 PyObject
* obj1
= 0 ;
38968 char * kwnames
[] = {
38969 (char *) "self",(char *) "dc", NULL
38972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
38974 if (!SWIG_IsOK(res1
)) {
38975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
38977 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
38978 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
38979 if (!SWIG_IsOK(res2
)) {
38980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
38982 arg2
= reinterpret_cast< wxDC
* >(argp2
);
38984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38985 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
38986 wxPyEndAllowThreads(__tstate
);
38987 if (PyErr_Occurred()) SWIG_fail
;
38990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38998 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38999 PyObject
*resultobj
= 0;
39000 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39015 PyObject
* obj0
= 0 ;
39016 PyObject
* obj1
= 0 ;
39017 PyObject
* obj2
= 0 ;
39018 PyObject
* obj3
= 0 ;
39019 PyObject
* obj4
= 0 ;
39020 char * kwnames
[] = {
39021 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39026 if (!SWIG_IsOK(res1
)) {
39027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39029 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39031 if (!SWIG_IsOK(ecode2
)) {
39032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39034 arg2
= static_cast< int >(val2
);
39035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39036 if (!SWIG_IsOK(ecode3
)) {
39037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39039 arg3
= static_cast< int >(val3
);
39040 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39041 if (!SWIG_IsOK(ecode4
)) {
39042 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39044 arg4
= static_cast< int >(val4
);
39045 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39046 if (!SWIG_IsOK(ecode5
)) {
39047 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39049 arg5
= static_cast< int >(val5
);
39051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39052 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39053 wxPyEndAllowThreads(__tstate
);
39054 if (PyErr_Occurred()) SWIG_fail
;
39056 resultobj
= SWIG_Py_Void();
39063 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39064 PyObject
*resultobj
= 0;
39065 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39070 int arg6
= (int) wxSIZE_AUTO
;
39083 PyObject
* obj0
= 0 ;
39084 PyObject
* obj1
= 0 ;
39085 PyObject
* obj2
= 0 ;
39086 PyObject
* obj3
= 0 ;
39087 PyObject
* obj4
= 0 ;
39088 PyObject
* obj5
= 0 ;
39089 char * kwnames
[] = {
39090 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39098 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39099 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39100 if (!SWIG_IsOK(ecode2
)) {
39101 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39103 arg2
= static_cast< int >(val2
);
39104 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39105 if (!SWIG_IsOK(ecode3
)) {
39106 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39108 arg3
= static_cast< int >(val3
);
39109 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39110 if (!SWIG_IsOK(ecode4
)) {
39111 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39113 arg4
= static_cast< int >(val4
);
39114 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39115 if (!SWIG_IsOK(ecode5
)) {
39116 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39118 arg5
= static_cast< int >(val5
);
39120 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39121 if (!SWIG_IsOK(ecode6
)) {
39122 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39124 arg6
= static_cast< int >(val6
);
39127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39128 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39129 wxPyEndAllowThreads(__tstate
);
39130 if (PyErr_Occurred()) SWIG_fail
;
39132 resultobj
= SWIG_Py_Void();
39139 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39140 PyObject
*resultobj
= 0;
39141 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39150 PyObject
* obj0
= 0 ;
39151 PyObject
* obj1
= 0 ;
39152 PyObject
* obj2
= 0 ;
39153 char * kwnames
[] = {
39154 (char *) "self",(char *) "width",(char *) "height", NULL
39157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39159 if (!SWIG_IsOK(res1
)) {
39160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39162 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39164 if (!SWIG_IsOK(ecode2
)) {
39165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39167 arg2
= static_cast< int >(val2
);
39168 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39169 if (!SWIG_IsOK(ecode3
)) {
39170 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39172 arg3
= static_cast< int >(val3
);
39174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39175 (arg1
)->DoSetClientSize(arg2
,arg3
);
39176 wxPyEndAllowThreads(__tstate
);
39177 if (PyErr_Occurred()) SWIG_fail
;
39179 resultobj
= SWIG_Py_Void();
39186 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39187 PyObject
*resultobj
= 0;
39188 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39197 PyObject
* obj0
= 0 ;
39198 PyObject
* obj1
= 0 ;
39199 PyObject
* obj2
= 0 ;
39200 char * kwnames
[] = {
39201 (char *) "self",(char *) "x",(char *) "y", NULL
39204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39206 if (!SWIG_IsOK(res1
)) {
39207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39209 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39210 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39211 if (!SWIG_IsOK(ecode2
)) {
39212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39214 arg2
= static_cast< int >(val2
);
39215 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39216 if (!SWIG_IsOK(ecode3
)) {
39217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39219 arg3
= static_cast< int >(val3
);
39221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39222 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39223 wxPyEndAllowThreads(__tstate
);
39224 if (PyErr_Occurred()) SWIG_fail
;
39226 resultobj
= SWIG_Py_Void();
39233 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39234 PyObject
*resultobj
= 0;
39235 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39236 int *arg2
= (int *) 0 ;
39237 int *arg3
= (int *) 0 ;
39241 int res2
= SWIG_TMPOBJ
;
39243 int res3
= SWIG_TMPOBJ
;
39244 PyObject
*swig_obj
[1] ;
39248 if (!args
) SWIG_fail
;
39249 swig_obj
[0] = args
;
39250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39251 if (!SWIG_IsOK(res1
)) {
39252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39254 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39257 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39258 wxPyEndAllowThreads(__tstate
);
39259 if (PyErr_Occurred()) SWIG_fail
;
39261 resultobj
= SWIG_Py_Void();
39262 if (SWIG_IsTmpObj(res2
)) {
39263 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39265 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39266 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39268 if (SWIG_IsTmpObj(res3
)) {
39269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39271 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39280 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39281 PyObject
*resultobj
= 0;
39282 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39283 int *arg2
= (int *) 0 ;
39284 int *arg3
= (int *) 0 ;
39288 int res2
= SWIG_TMPOBJ
;
39290 int res3
= SWIG_TMPOBJ
;
39291 PyObject
*swig_obj
[1] ;
39295 if (!args
) SWIG_fail
;
39296 swig_obj
[0] = args
;
39297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39298 if (!SWIG_IsOK(res1
)) {
39299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39301 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39304 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39305 wxPyEndAllowThreads(__tstate
);
39306 if (PyErr_Occurred()) SWIG_fail
;
39308 resultobj
= SWIG_Py_Void();
39309 if (SWIG_IsTmpObj(res2
)) {
39310 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39312 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39313 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39315 if (SWIG_IsTmpObj(res3
)) {
39316 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39318 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39319 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39327 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39328 PyObject
*resultobj
= 0;
39329 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39330 int *arg2
= (int *) 0 ;
39331 int *arg3
= (int *) 0 ;
39335 int res2
= SWIG_TMPOBJ
;
39337 int res3
= SWIG_TMPOBJ
;
39338 PyObject
*swig_obj
[1] ;
39342 if (!args
) SWIG_fail
;
39343 swig_obj
[0] = args
;
39344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39345 if (!SWIG_IsOK(res1
)) {
39346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39348 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39351 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39352 wxPyEndAllowThreads(__tstate
);
39353 if (PyErr_Occurred()) SWIG_fail
;
39355 resultobj
= SWIG_Py_Void();
39356 if (SWIG_IsTmpObj(res2
)) {
39357 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39359 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39360 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39362 if (SWIG_IsTmpObj(res3
)) {
39363 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39365 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39366 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39374 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39375 PyObject
*resultobj
= 0;
39376 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39380 PyObject
*swig_obj
[1] ;
39382 if (!args
) SWIG_fail
;
39383 swig_obj
[0] = args
;
39384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39385 if (!SWIG_IsOK(res1
)) {
39386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39388 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39391 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39392 wxPyEndAllowThreads(__tstate
);
39393 if (PyErr_Occurred()) SWIG_fail
;
39395 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39402 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39403 PyObject
*resultobj
= 0;
39404 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39408 PyObject
*swig_obj
[1] ;
39410 if (!args
) SWIG_fail
;
39411 swig_obj
[0] = args
;
39412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39413 if (!SWIG_IsOK(res1
)) {
39414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39416 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39419 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39420 wxPyEndAllowThreads(__tstate
);
39421 if (PyErr_Occurred()) SWIG_fail
;
39423 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39430 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39431 PyObject
*resultobj
= 0;
39432 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39433 SwigValueWrapper
<wxVisualAttributes
> result
;
39436 PyObject
*swig_obj
[1] ;
39438 if (!args
) SWIG_fail
;
39439 swig_obj
[0] = args
;
39440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39441 if (!SWIG_IsOK(res1
)) {
39442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39444 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39447 result
= (arg1
)->GetDefaultAttributes();
39448 wxPyEndAllowThreads(__tstate
);
39449 if (PyErr_Occurred()) SWIG_fail
;
39451 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39458 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39459 PyObject
*resultobj
= 0;
39460 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39463 PyObject
*swig_obj
[1] ;
39465 if (!args
) SWIG_fail
;
39466 swig_obj
[0] = args
;
39467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39468 if (!SWIG_IsOK(res1
)) {
39469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39471 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39474 (arg1
)->OnInternalIdle();
39475 wxPyEndAllowThreads(__tstate
);
39476 if (PyErr_Occurred()) SWIG_fail
;
39478 resultobj
= SWIG_Py_Void();
39485 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39488 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39489 return SWIG_Py_Void();
39492 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39493 return SWIG_Python_InitShadowInstance(args
);
39496 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39497 PyObject
*resultobj
= 0;
39498 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39499 int arg2
= (int) 0 ;
39500 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39501 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39502 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39503 wxHelpEvent
*result
= 0 ;
39511 PyObject
* obj0
= 0 ;
39512 PyObject
* obj1
= 0 ;
39513 PyObject
* obj2
= 0 ;
39514 PyObject
* obj3
= 0 ;
39515 char * kwnames
[] = {
39516 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39521 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39522 if (!SWIG_IsOK(ecode1
)) {
39523 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39525 arg1
= static_cast< wxEventType
>(val1
);
39528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39529 if (!SWIG_IsOK(ecode2
)) {
39530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39532 arg2
= static_cast< int >(val2
);
39537 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39541 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39542 if (!SWIG_IsOK(ecode4
)) {
39543 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39545 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39549 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39550 wxPyEndAllowThreads(__tstate
);
39551 if (PyErr_Occurred()) SWIG_fail
;
39553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39560 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39561 PyObject
*resultobj
= 0;
39562 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39566 PyObject
*swig_obj
[1] ;
39568 if (!args
) SWIG_fail
;
39569 swig_obj
[0] = args
;
39570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39571 if (!SWIG_IsOK(res1
)) {
39572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39574 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39577 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39578 wxPyEndAllowThreads(__tstate
);
39579 if (PyErr_Occurred()) SWIG_fail
;
39581 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39588 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39589 PyObject
*resultobj
= 0;
39590 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39591 wxPoint
*arg2
= 0 ;
39595 PyObject
* obj0
= 0 ;
39596 PyObject
* obj1
= 0 ;
39597 char * kwnames
[] = {
39598 (char *) "self",(char *) "pos", NULL
39601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39603 if (!SWIG_IsOK(res1
)) {
39604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39606 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39609 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39613 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39614 wxPyEndAllowThreads(__tstate
);
39615 if (PyErr_Occurred()) SWIG_fail
;
39617 resultobj
= SWIG_Py_Void();
39624 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39625 PyObject
*resultobj
= 0;
39626 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39627 wxString
*result
= 0 ;
39630 PyObject
*swig_obj
[1] ;
39632 if (!args
) SWIG_fail
;
39633 swig_obj
[0] = args
;
39634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39635 if (!SWIG_IsOK(res1
)) {
39636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39638 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39642 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39643 result
= (wxString
*) &_result_ref
;
39645 wxPyEndAllowThreads(__tstate
);
39646 if (PyErr_Occurred()) SWIG_fail
;
39650 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39652 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39661 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39662 PyObject
*resultobj
= 0;
39663 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39664 wxString
*arg2
= 0 ;
39667 bool temp2
= false ;
39668 PyObject
* obj0
= 0 ;
39669 PyObject
* obj1
= 0 ;
39670 char * kwnames
[] = {
39671 (char *) "self",(char *) "link", NULL
39674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39676 if (!SWIG_IsOK(res1
)) {
39677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39679 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39681 arg2
= wxString_in_helper(obj1
);
39682 if (arg2
== NULL
) SWIG_fail
;
39686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39687 (arg1
)->SetLink((wxString
const &)*arg2
);
39688 wxPyEndAllowThreads(__tstate
);
39689 if (PyErr_Occurred()) SWIG_fail
;
39691 resultobj
= SWIG_Py_Void();
39706 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39707 PyObject
*resultobj
= 0;
39708 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39709 wxString
*result
= 0 ;
39712 PyObject
*swig_obj
[1] ;
39714 if (!args
) SWIG_fail
;
39715 swig_obj
[0] = args
;
39716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39717 if (!SWIG_IsOK(res1
)) {
39718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39720 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39724 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
39725 result
= (wxString
*) &_result_ref
;
39727 wxPyEndAllowThreads(__tstate
);
39728 if (PyErr_Occurred()) SWIG_fail
;
39732 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39734 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39743 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39744 PyObject
*resultobj
= 0;
39745 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39746 wxString
*arg2
= 0 ;
39749 bool temp2
= false ;
39750 PyObject
* obj0
= 0 ;
39751 PyObject
* obj1
= 0 ;
39752 char * kwnames
[] = {
39753 (char *) "self",(char *) "target", NULL
39756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39758 if (!SWIG_IsOK(res1
)) {
39759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39761 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39763 arg2
= wxString_in_helper(obj1
);
39764 if (arg2
== NULL
) SWIG_fail
;
39768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39769 (arg1
)->SetTarget((wxString
const &)*arg2
);
39770 wxPyEndAllowThreads(__tstate
);
39771 if (PyErr_Occurred()) SWIG_fail
;
39773 resultobj
= SWIG_Py_Void();
39788 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39789 PyObject
*resultobj
= 0;
39790 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39791 wxHelpEvent::Origin result
;
39794 PyObject
*swig_obj
[1] ;
39796 if (!args
) SWIG_fail
;
39797 swig_obj
[0] = args
;
39798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39799 if (!SWIG_IsOK(res1
)) {
39800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39802 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39805 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
39806 wxPyEndAllowThreads(__tstate
);
39807 if (PyErr_Occurred()) SWIG_fail
;
39809 resultobj
= SWIG_From_int(static_cast< int >(result
));
39816 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39817 PyObject
*resultobj
= 0;
39818 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39819 wxHelpEvent::Origin arg2
;
39824 PyObject
* obj0
= 0 ;
39825 PyObject
* obj1
= 0 ;
39826 char * kwnames
[] = {
39827 (char *) "self",(char *) "origin", NULL
39830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39832 if (!SWIG_IsOK(res1
)) {
39833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39835 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39837 if (!SWIG_IsOK(ecode2
)) {
39838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
39840 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
39842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39843 (arg1
)->SetOrigin(arg2
);
39844 wxPyEndAllowThreads(__tstate
);
39845 if (PyErr_Occurred()) SWIG_fail
;
39847 resultobj
= SWIG_Py_Void();
39854 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39857 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
39858 return SWIG_Py_Void();
39861 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39862 return SWIG_Python_InitShadowInstance(args
);
39865 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39866 PyObject
*resultobj
= 0;
39867 wxWindow
*arg1
= (wxWindow
*) NULL
;
39868 bool arg2
= (bool) true ;
39869 wxContextHelp
*result
= 0 ;
39874 PyObject
* obj0
= 0 ;
39875 PyObject
* obj1
= 0 ;
39876 char * kwnames
[] = {
39877 (char *) "window",(char *) "doNow", NULL
39880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39883 if (!SWIG_IsOK(res1
)) {
39884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
39886 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39889 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
39890 if (!SWIG_IsOK(ecode2
)) {
39891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
39893 arg2
= static_cast< bool >(val2
);
39896 if (!wxPyCheckForApp()) SWIG_fail
;
39897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39898 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
39899 wxPyEndAllowThreads(__tstate
);
39900 if (PyErr_Occurred()) SWIG_fail
;
39902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
39909 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39910 PyObject
*resultobj
= 0;
39911 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39914 PyObject
*swig_obj
[1] ;
39916 if (!args
) SWIG_fail
;
39917 swig_obj
[0] = args
;
39918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
39919 if (!SWIG_IsOK(res1
)) {
39920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39922 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39927 wxPyEndAllowThreads(__tstate
);
39928 if (PyErr_Occurred()) SWIG_fail
;
39930 resultobj
= SWIG_Py_Void();
39937 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39938 PyObject
*resultobj
= 0;
39939 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39940 wxWindow
*arg2
= (wxWindow
*) NULL
;
39946 PyObject
* obj0
= 0 ;
39947 PyObject
* obj1
= 0 ;
39948 char * kwnames
[] = {
39949 (char *) "self",(char *) "window", NULL
39952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39954 if (!SWIG_IsOK(res1
)) {
39955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39957 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39960 if (!SWIG_IsOK(res2
)) {
39961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
39963 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
39966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39967 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
39968 wxPyEndAllowThreads(__tstate
);
39969 if (PyErr_Occurred()) SWIG_fail
;
39972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39980 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39981 PyObject
*resultobj
= 0;
39982 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
39986 PyObject
*swig_obj
[1] ;
39988 if (!args
) SWIG_fail
;
39989 swig_obj
[0] = args
;
39990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
39991 if (!SWIG_IsOK(res1
)) {
39992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
39994 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
39996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39997 result
= (bool)(arg1
)->EndContextHelp();
39998 wxPyEndAllowThreads(__tstate
);
39999 if (PyErr_Occurred()) SWIG_fail
;
40002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40010 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40012 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40013 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40014 return SWIG_Py_Void();
40017 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40018 return SWIG_Python_InitShadowInstance(args
);
40021 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40022 PyObject
*resultobj
= 0;
40023 wxWindow
*arg1
= (wxWindow
*) 0 ;
40024 int arg2
= (int) wxID_CONTEXT_HELP
;
40025 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40026 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40027 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40028 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40029 long arg5
= (long) wxBU_AUTODRAW
;
40030 wxContextHelpButton
*result
= 0 ;
40039 PyObject
* obj0
= 0 ;
40040 PyObject
* obj1
= 0 ;
40041 PyObject
* obj2
= 0 ;
40042 PyObject
* obj3
= 0 ;
40043 PyObject
* obj4
= 0 ;
40044 char * kwnames
[] = {
40045 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40050 if (!SWIG_IsOK(res1
)) {
40051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40053 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40055 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40056 if (!SWIG_IsOK(ecode2
)) {
40057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40059 arg2
= static_cast< int >(val2
);
40064 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40070 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40074 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40075 if (!SWIG_IsOK(ecode5
)) {
40076 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40078 arg5
= static_cast< long >(val5
);
40081 if (!wxPyCheckForApp()) SWIG_fail
;
40082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40083 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40084 wxPyEndAllowThreads(__tstate
);
40085 if (PyErr_Occurred()) SWIG_fail
;
40087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40094 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40097 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40098 return SWIG_Py_Void();
40101 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40102 return SWIG_Python_InitShadowInstance(args
);
40105 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40106 PyObject
*resultobj
= 0;
40107 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40110 PyObject
*swig_obj
[1] ;
40112 if (!args
) SWIG_fail
;
40113 swig_obj
[0] = args
;
40114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40115 if (!SWIG_IsOK(res1
)) {
40116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40118 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40123 wxPyEndAllowThreads(__tstate
);
40124 if (PyErr_Occurred()) SWIG_fail
;
40126 resultobj
= SWIG_Py_Void();
40133 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40134 PyObject
*resultobj
= 0;
40135 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40136 wxHelpProvider
*result
= 0 ;
40138 PyObject
* obj0
= 0 ;
40139 char * kwnames
[] = {
40140 (char *) "helpProvider", NULL
40143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40144 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40145 if (!SWIG_IsOK(res1
)) {
40146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40150 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40151 wxPyEndAllowThreads(__tstate
);
40152 if (PyErr_Occurred()) SWIG_fail
;
40154 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40161 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40162 PyObject
*resultobj
= 0;
40163 wxHelpProvider
*result
= 0 ;
40165 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40168 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40169 wxPyEndAllowThreads(__tstate
);
40170 if (PyErr_Occurred()) SWIG_fail
;
40172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40179 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40180 PyObject
*resultobj
= 0;
40181 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40182 wxWindow
*arg2
= (wxWindow
*) 0 ;
40188 PyObject
* obj0
= 0 ;
40189 PyObject
* obj1
= 0 ;
40190 char * kwnames
[] = {
40191 (char *) "self",(char *) "window", NULL
40194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40196 if (!SWIG_IsOK(res1
)) {
40197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40199 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40200 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40201 if (!SWIG_IsOK(res2
)) {
40202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40204 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40207 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40208 wxPyEndAllowThreads(__tstate
);
40209 if (PyErr_Occurred()) SWIG_fail
;
40213 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40215 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40224 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40225 PyObject
*resultobj
= 0;
40226 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40227 wxWindow
*arg2
= (wxWindow
*) 0 ;
40233 PyObject
* obj0
= 0 ;
40234 PyObject
* obj1
= 0 ;
40235 char * kwnames
[] = {
40236 (char *) "self",(char *) "window", NULL
40239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40241 if (!SWIG_IsOK(res1
)) {
40242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40244 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40245 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40246 if (!SWIG_IsOK(res2
)) {
40247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40249 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40252 result
= (bool)(arg1
)->ShowHelp(arg2
);
40253 wxPyEndAllowThreads(__tstate
);
40254 if (PyErr_Occurred()) SWIG_fail
;
40257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40265 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40266 PyObject
*resultobj
= 0;
40267 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40268 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40269 wxPoint
*arg3
= 0 ;
40270 wxHelpEvent::Origin arg4
;
40279 PyObject
* obj0
= 0 ;
40280 PyObject
* obj1
= 0 ;
40281 PyObject
* obj2
= 0 ;
40282 PyObject
* obj3
= 0 ;
40283 char * kwnames
[] = {
40284 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40289 if (!SWIG_IsOK(res1
)) {
40290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40292 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40294 if (!SWIG_IsOK(res2
)) {
40295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40297 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40300 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40302 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40303 if (!SWIG_IsOK(ecode4
)) {
40304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40306 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40309 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40310 wxPyEndAllowThreads(__tstate
);
40311 if (PyErr_Occurred()) SWIG_fail
;
40314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40322 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40323 PyObject
*resultobj
= 0;
40324 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40325 wxWindow
*arg2
= (wxWindow
*) 0 ;
40326 wxString
*arg3
= 0 ;
40331 bool temp3
= false ;
40332 PyObject
* obj0
= 0 ;
40333 PyObject
* obj1
= 0 ;
40334 PyObject
* obj2
= 0 ;
40335 char * kwnames
[] = {
40336 (char *) "self",(char *) "window",(char *) "text", NULL
40339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40341 if (!SWIG_IsOK(res1
)) {
40342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40344 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40346 if (!SWIG_IsOK(res2
)) {
40347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40349 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40351 arg3
= wxString_in_helper(obj2
);
40352 if (arg3
== NULL
) SWIG_fail
;
40356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40357 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40358 wxPyEndAllowThreads(__tstate
);
40359 if (PyErr_Occurred()) SWIG_fail
;
40361 resultobj
= SWIG_Py_Void();
40376 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40377 PyObject
*resultobj
= 0;
40378 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40380 wxString
*arg3
= 0 ;
40385 bool temp3
= false ;
40386 PyObject
* obj0
= 0 ;
40387 PyObject
* obj1
= 0 ;
40388 PyObject
* obj2
= 0 ;
40389 char * kwnames
[] = {
40390 (char *) "self",(char *) "id",(char *) "text", NULL
40393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40395 if (!SWIG_IsOK(res1
)) {
40396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40398 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40400 if (!SWIG_IsOK(ecode2
)) {
40401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40403 arg2
= static_cast< int >(val2
);
40405 arg3
= wxString_in_helper(obj2
);
40406 if (arg3
== NULL
) SWIG_fail
;
40410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40411 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40412 wxPyEndAllowThreads(__tstate
);
40413 if (PyErr_Occurred()) SWIG_fail
;
40415 resultobj
= SWIG_Py_Void();
40430 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40431 PyObject
*resultobj
= 0;
40432 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40433 wxWindow
*arg2
= (wxWindow
*) 0 ;
40438 PyObject
* obj0
= 0 ;
40439 PyObject
* obj1
= 0 ;
40440 char * kwnames
[] = {
40441 (char *) "self",(char *) "window", NULL
40444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40446 if (!SWIG_IsOK(res1
)) {
40447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40449 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40451 if (!SWIG_IsOK(res2
)) {
40452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40454 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40457 (arg1
)->RemoveHelp(arg2
);
40458 wxPyEndAllowThreads(__tstate
);
40459 if (PyErr_Occurred()) SWIG_fail
;
40461 resultobj
= SWIG_Py_Void();
40468 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40469 PyObject
*resultobj
= 0;
40470 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40473 PyObject
*swig_obj
[1] ;
40475 if (!args
) SWIG_fail
;
40476 swig_obj
[0] = args
;
40477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40478 if (!SWIG_IsOK(res1
)) {
40479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40481 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40484 wxHelpProvider_Destroy(arg1
);
40485 wxPyEndAllowThreads(__tstate
);
40486 if (PyErr_Occurred()) SWIG_fail
;
40488 resultobj
= SWIG_Py_Void();
40495 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40498 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40499 return SWIG_Py_Void();
40502 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40503 PyObject
*resultobj
= 0;
40504 wxSimpleHelpProvider
*result
= 0 ;
40506 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40509 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40510 wxPyEndAllowThreads(__tstate
);
40511 if (PyErr_Occurred()) SWIG_fail
;
40513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40520 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40522 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40523 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40524 return SWIG_Py_Void();
40527 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40528 return SWIG_Python_InitShadowInstance(args
);
40531 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40532 PyObject
*resultobj
= 0;
40533 wxBitmap
*arg1
= 0 ;
40534 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40535 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40536 wxGenericDragImage
*result
= 0 ;
40541 PyObject
* obj0
= 0 ;
40542 PyObject
* obj1
= 0 ;
40543 char * kwnames
[] = {
40544 (char *) "image",(char *) "cursor", NULL
40547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40548 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40549 if (!SWIG_IsOK(res1
)) {
40550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40555 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40557 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40558 if (!SWIG_IsOK(res2
)) {
40559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40562 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40564 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40567 if (!wxPyCheckForApp()) SWIG_fail
;
40568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40569 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40570 wxPyEndAllowThreads(__tstate
);
40571 if (PyErr_Occurred()) SWIG_fail
;
40573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40580 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40581 PyObject
*resultobj
= 0;
40583 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40584 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40585 wxGenericDragImage
*result
= 0 ;
40590 PyObject
* obj0
= 0 ;
40591 PyObject
* obj1
= 0 ;
40592 char * kwnames
[] = {
40593 (char *) "image",(char *) "cursor", NULL
40596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40597 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40598 if (!SWIG_IsOK(res1
)) {
40599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40602 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40604 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40607 if (!SWIG_IsOK(res2
)) {
40608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40613 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40616 if (!wxPyCheckForApp()) SWIG_fail
;
40617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40618 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40619 wxPyEndAllowThreads(__tstate
);
40620 if (PyErr_Occurred()) SWIG_fail
;
40622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40629 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40630 PyObject
*resultobj
= 0;
40631 wxString
*arg1
= 0 ;
40632 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40633 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40634 wxGenericDragImage
*result
= 0 ;
40635 bool temp1
= false ;
40638 PyObject
* obj0
= 0 ;
40639 PyObject
* obj1
= 0 ;
40640 char * kwnames
[] = {
40641 (char *) "str",(char *) "cursor", NULL
40644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40646 arg1
= wxString_in_helper(obj0
);
40647 if (arg1
== NULL
) SWIG_fail
;
40651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40652 if (!SWIG_IsOK(res2
)) {
40653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40658 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40661 if (!wxPyCheckForApp()) SWIG_fail
;
40662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40663 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40664 wxPyEndAllowThreads(__tstate
);
40665 if (PyErr_Occurred()) SWIG_fail
;
40667 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40682 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40683 PyObject
*resultobj
= 0;
40684 wxPyTreeCtrl
*arg1
= 0 ;
40685 wxTreeItemId
*arg2
= 0 ;
40686 wxGenericDragImage
*result
= 0 ;
40691 PyObject
* obj0
= 0 ;
40692 PyObject
* obj1
= 0 ;
40693 char * kwnames
[] = {
40694 (char *) "treeCtrl",(char *) "id", NULL
40697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40698 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
40699 if (!SWIG_IsOK(res1
)) {
40700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
40705 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
40706 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
40707 if (!SWIG_IsOK(res2
)) {
40708 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40711 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
40713 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
40715 if (!wxPyCheckForApp()) SWIG_fail
;
40716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40717 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
40718 wxPyEndAllowThreads(__tstate
);
40719 if (PyErr_Occurred()) SWIG_fail
;
40721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40728 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40729 PyObject
*resultobj
= 0;
40730 wxPyListCtrl
*arg1
= 0 ;
40732 wxGenericDragImage
*result
= 0 ;
40737 PyObject
* obj0
= 0 ;
40738 PyObject
* obj1
= 0 ;
40739 char * kwnames
[] = {
40740 (char *) "listCtrl",(char *) "id", NULL
40743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40744 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
40745 if (!SWIG_IsOK(res1
)) {
40746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40749 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
40751 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
40752 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
40753 if (!SWIG_IsOK(ecode2
)) {
40754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
40756 arg2
= static_cast< long >(val2
);
40758 if (!wxPyCheckForApp()) SWIG_fail
;
40759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40760 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
40761 wxPyEndAllowThreads(__tstate
);
40762 if (PyErr_Occurred()) SWIG_fail
;
40764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40771 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40772 PyObject
*resultobj
= 0;
40773 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40776 PyObject
*swig_obj
[1] ;
40778 if (!args
) SWIG_fail
;
40779 swig_obj
[0] = args
;
40780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
40781 if (!SWIG_IsOK(res1
)) {
40782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40784 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40789 wxPyEndAllowThreads(__tstate
);
40790 if (PyErr_Occurred()) SWIG_fail
;
40792 resultobj
= SWIG_Py_Void();
40799 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40800 PyObject
*resultobj
= 0;
40801 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40802 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
40807 PyObject
* obj0
= 0 ;
40808 PyObject
* obj1
= 0 ;
40809 char * kwnames
[] = {
40810 (char *) "self",(char *) "bitmap", NULL
40813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40815 if (!SWIG_IsOK(res1
)) {
40816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40818 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40819 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
40820 if (!SWIG_IsOK(res2
)) {
40821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
40823 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
40825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40826 (arg1
)->SetBackingBitmap(arg2
);
40827 wxPyEndAllowThreads(__tstate
);
40828 if (PyErr_Occurred()) SWIG_fail
;
40830 resultobj
= SWIG_Py_Void();
40837 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40838 PyObject
*resultobj
= 0;
40839 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40840 wxPoint
*arg2
= 0 ;
40841 wxWindow
*arg3
= (wxWindow
*) 0 ;
40842 bool arg4
= (bool) false ;
40843 wxRect
*arg5
= (wxRect
*) NULL
;
40854 PyObject
* obj0
= 0 ;
40855 PyObject
* obj1
= 0 ;
40856 PyObject
* obj2
= 0 ;
40857 PyObject
* obj3
= 0 ;
40858 PyObject
* obj4
= 0 ;
40859 char * kwnames
[] = {
40860 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
40863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40865 if (!SWIG_IsOK(res1
)) {
40866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40868 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40871 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40873 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40874 if (!SWIG_IsOK(res3
)) {
40875 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
40877 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40879 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
40880 if (!SWIG_IsOK(ecode4
)) {
40881 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
40883 arg4
= static_cast< bool >(val4
);
40886 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
40887 if (!SWIG_IsOK(res5
)) {
40888 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
40890 arg5
= reinterpret_cast< wxRect
* >(argp5
);
40893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40894 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
40895 wxPyEndAllowThreads(__tstate
);
40896 if (PyErr_Occurred()) SWIG_fail
;
40899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40907 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40908 PyObject
*resultobj
= 0;
40909 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40910 wxPoint
*arg2
= 0 ;
40911 wxWindow
*arg3
= (wxWindow
*) 0 ;
40912 wxWindow
*arg4
= (wxWindow
*) 0 ;
40921 PyObject
* obj0
= 0 ;
40922 PyObject
* obj1
= 0 ;
40923 PyObject
* obj2
= 0 ;
40924 PyObject
* obj3
= 0 ;
40925 char * kwnames
[] = {
40926 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
40929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40931 if (!SWIG_IsOK(res1
)) {
40932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40934 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40937 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
40939 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40940 if (!SWIG_IsOK(res3
)) {
40941 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
40943 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
40944 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40945 if (!SWIG_IsOK(res4
)) {
40946 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
40948 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
40950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40951 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
40952 wxPyEndAllowThreads(__tstate
);
40953 if (PyErr_Occurred()) SWIG_fail
;
40956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40964 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40965 PyObject
*resultobj
= 0;
40966 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40970 PyObject
*swig_obj
[1] ;
40972 if (!args
) SWIG_fail
;
40973 swig_obj
[0] = args
;
40974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
40975 if (!SWIG_IsOK(res1
)) {
40976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
40978 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
40980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40981 result
= (bool)(arg1
)->EndDrag();
40982 wxPyEndAllowThreads(__tstate
);
40983 if (PyErr_Occurred()) SWIG_fail
;
40986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40994 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40995 PyObject
*resultobj
= 0;
40996 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
40997 wxPoint
*arg2
= 0 ;
41002 PyObject
* obj0
= 0 ;
41003 PyObject
* obj1
= 0 ;
41004 char * kwnames
[] = {
41005 (char *) "self",(char *) "pt", NULL
41008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41010 if (!SWIG_IsOK(res1
)) {
41011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41013 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41016 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41020 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41021 wxPyEndAllowThreads(__tstate
);
41022 if (PyErr_Occurred()) SWIG_fail
;
41025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41033 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41034 PyObject
*resultobj
= 0;
41035 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41039 PyObject
*swig_obj
[1] ;
41041 if (!args
) SWIG_fail
;
41042 swig_obj
[0] = args
;
41043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41044 if (!SWIG_IsOK(res1
)) {
41045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41047 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41050 result
= (bool)(arg1
)->Show();
41051 wxPyEndAllowThreads(__tstate
);
41052 if (PyErr_Occurred()) SWIG_fail
;
41055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41063 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41064 PyObject
*resultobj
= 0;
41065 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41069 PyObject
*swig_obj
[1] ;
41071 if (!args
) SWIG_fail
;
41072 swig_obj
[0] = args
;
41073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41074 if (!SWIG_IsOK(res1
)) {
41075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41077 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41080 result
= (bool)(arg1
)->Hide();
41081 wxPyEndAllowThreads(__tstate
);
41082 if (PyErr_Occurred()) SWIG_fail
;
41085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41093 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41094 PyObject
*resultobj
= 0;
41095 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41096 wxPoint
*arg2
= 0 ;
41101 PyObject
* obj0
= 0 ;
41102 PyObject
* obj1
= 0 ;
41103 char * kwnames
[] = {
41104 (char *) "self",(char *) "pos", NULL
41107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41109 if (!SWIG_IsOK(res1
)) {
41110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41112 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41115 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41119 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41120 wxPyEndAllowThreads(__tstate
);
41121 if (PyErr_Occurred()) SWIG_fail
;
41123 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41130 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41131 PyObject
*resultobj
= 0;
41132 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41134 wxPoint
*arg3
= 0 ;
41141 PyObject
* obj0
= 0 ;
41142 PyObject
* obj1
= 0 ;
41143 PyObject
* obj2
= 0 ;
41144 char * kwnames
[] = {
41145 (char *) "self",(char *) "dc",(char *) "pos", NULL
41148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41150 if (!SWIG_IsOK(res1
)) {
41151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41153 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41154 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41155 if (!SWIG_IsOK(res2
)) {
41156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41159 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41161 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41164 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41168 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41169 wxPyEndAllowThreads(__tstate
);
41170 if (PyErr_Occurred()) SWIG_fail
;
41173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41181 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41182 PyObject
*resultobj
= 0;
41183 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41185 wxMemoryDC
*arg3
= 0 ;
41197 PyObject
* obj0
= 0 ;
41198 PyObject
* obj1
= 0 ;
41199 PyObject
* obj2
= 0 ;
41200 PyObject
* obj3
= 0 ;
41201 PyObject
* obj4
= 0 ;
41202 char * kwnames
[] = {
41203 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41208 if (!SWIG_IsOK(res1
)) {
41209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41211 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41213 if (!SWIG_IsOK(res2
)) {
41214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41219 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41220 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41221 if (!SWIG_IsOK(res3
)) {
41222 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41227 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41230 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41234 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41238 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41239 wxPyEndAllowThreads(__tstate
);
41240 if (PyErr_Occurred()) SWIG_fail
;
41243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41251 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41252 PyObject
*resultobj
= 0;
41253 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41254 wxPoint
*arg2
= 0 ;
41255 wxPoint
*arg3
= 0 ;
41267 PyObject
* obj0
= 0 ;
41268 PyObject
* obj1
= 0 ;
41269 PyObject
* obj2
= 0 ;
41270 PyObject
* obj3
= 0 ;
41271 PyObject
* obj4
= 0 ;
41272 char * kwnames
[] = {
41273 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41278 if (!SWIG_IsOK(res1
)) {
41279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41281 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41284 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41288 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41290 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41291 if (!SWIG_IsOK(ecode4
)) {
41292 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41294 arg4
= static_cast< bool >(val4
);
41295 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41296 if (!SWIG_IsOK(ecode5
)) {
41297 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41299 arg5
= static_cast< bool >(val5
);
41301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41302 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41303 wxPyEndAllowThreads(__tstate
);
41304 if (PyErr_Occurred()) SWIG_fail
;
41307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41315 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41317 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41318 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41319 return SWIG_Py_Void();
41322 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41323 return SWIG_Python_InitShadowInstance(args
);
41326 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41327 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41332 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41333 PyObject
*pyobj
= 0;
41337 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41339 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41346 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41347 PyObject
*resultobj
= 0;
41348 wxWindow
*arg1
= (wxWindow
*) 0 ;
41349 int arg2
= (int) -1 ;
41350 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41351 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41352 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41353 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41354 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41355 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41356 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41357 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41358 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41359 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41360 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41361 wxDatePickerCtrl
*result
= 0 ;
41374 bool temp8
= false ;
41375 PyObject
* obj0
= 0 ;
41376 PyObject
* obj1
= 0 ;
41377 PyObject
* obj2
= 0 ;
41378 PyObject
* obj3
= 0 ;
41379 PyObject
* obj4
= 0 ;
41380 PyObject
* obj5
= 0 ;
41381 PyObject
* obj6
= 0 ;
41382 PyObject
* obj7
= 0 ;
41383 char * kwnames
[] = {
41384 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41389 if (!SWIG_IsOK(res1
)) {
41390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41392 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41395 if (!SWIG_IsOK(ecode2
)) {
41396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41398 arg2
= static_cast< int >(val2
);
41401 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41402 if (!SWIG_IsOK(res3
)) {
41403 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41406 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41408 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41413 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41419 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41423 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41424 if (!SWIG_IsOK(ecode6
)) {
41425 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41427 arg6
= static_cast< long >(val6
);
41430 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41431 if (!SWIG_IsOK(res7
)) {
41432 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41435 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41437 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41441 arg8
= wxString_in_helper(obj7
);
41442 if (arg8
== NULL
) SWIG_fail
;
41447 if (!wxPyCheckForApp()) SWIG_fail
;
41448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41449 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41450 wxPyEndAllowThreads(__tstate
);
41451 if (PyErr_Occurred()) SWIG_fail
;
41453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41468 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41469 PyObject
*resultobj
= 0;
41470 wxDatePickerCtrl
*result
= 0 ;
41472 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41474 if (!wxPyCheckForApp()) SWIG_fail
;
41475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41476 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41477 wxPyEndAllowThreads(__tstate
);
41478 if (PyErr_Occurred()) SWIG_fail
;
41480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41487 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41488 PyObject
*resultobj
= 0;
41489 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41490 wxWindow
*arg2
= (wxWindow
*) 0 ;
41491 int arg3
= (int) -1 ;
41492 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41493 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41494 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41495 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41496 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41497 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41498 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41499 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41500 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41501 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41502 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41518 bool temp9
= false ;
41519 PyObject
* obj0
= 0 ;
41520 PyObject
* obj1
= 0 ;
41521 PyObject
* obj2
= 0 ;
41522 PyObject
* obj3
= 0 ;
41523 PyObject
* obj4
= 0 ;
41524 PyObject
* obj5
= 0 ;
41525 PyObject
* obj6
= 0 ;
41526 PyObject
* obj7
= 0 ;
41527 PyObject
* obj8
= 0 ;
41528 char * kwnames
[] = {
41529 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41534 if (!SWIG_IsOK(res1
)) {
41535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41537 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41539 if (!SWIG_IsOK(res2
)) {
41540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41542 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41544 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41545 if (!SWIG_IsOK(ecode3
)) {
41546 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41548 arg3
= static_cast< int >(val3
);
41551 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41552 if (!SWIG_IsOK(res4
)) {
41553 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41556 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41558 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41563 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41569 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41573 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41574 if (!SWIG_IsOK(ecode7
)) {
41575 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41577 arg7
= static_cast< long >(val7
);
41580 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41581 if (!SWIG_IsOK(res8
)) {
41582 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41587 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41591 arg9
= wxString_in_helper(obj8
);
41592 if (arg9
== NULL
) SWIG_fail
;
41597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41598 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41599 wxPyEndAllowThreads(__tstate
);
41600 if (PyErr_Occurred()) SWIG_fail
;
41603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41619 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41620 PyObject
*resultobj
= 0;
41621 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41622 wxDateTime
*arg2
= 0 ;
41627 PyObject
* obj0
= 0 ;
41628 PyObject
* obj1
= 0 ;
41629 char * kwnames
[] = {
41630 (char *) "self",(char *) "dt", NULL
41633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41635 if (!SWIG_IsOK(res1
)) {
41636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41638 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41639 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41640 if (!SWIG_IsOK(res2
)) {
41641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41644 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41646 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41649 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41650 wxPyEndAllowThreads(__tstate
);
41651 if (PyErr_Occurred()) SWIG_fail
;
41653 resultobj
= SWIG_Py_Void();
41660 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41661 PyObject
*resultobj
= 0;
41662 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41666 PyObject
*swig_obj
[1] ;
41668 if (!args
) SWIG_fail
;
41669 swig_obj
[0] = args
;
41670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41671 if (!SWIG_IsOK(res1
)) {
41672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
41674 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41677 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
41678 wxPyEndAllowThreads(__tstate
);
41679 if (PyErr_Occurred()) SWIG_fail
;
41681 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41688 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41689 PyObject
*resultobj
= 0;
41690 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41691 wxDateTime
*arg2
= 0 ;
41692 wxDateTime
*arg3
= 0 ;
41699 PyObject
* obj0
= 0 ;
41700 PyObject
* obj1
= 0 ;
41701 PyObject
* obj2
= 0 ;
41702 char * kwnames
[] = {
41703 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
41706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41708 if (!SWIG_IsOK(res1
)) {
41709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41711 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41712 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41713 if (!SWIG_IsOK(res2
)) {
41714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41717 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41719 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41720 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41721 if (!SWIG_IsOK(res3
)) {
41722 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41725 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41727 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41730 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
41731 wxPyEndAllowThreads(__tstate
);
41732 if (PyErr_Occurred()) SWIG_fail
;
41734 resultobj
= SWIG_Py_Void();
41741 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41742 PyObject
*resultobj
= 0;
41743 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41747 PyObject
*swig_obj
[1] ;
41749 if (!args
) SWIG_fail
;
41750 swig_obj
[0] = args
;
41751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41752 if (!SWIG_IsOK(res1
)) {
41753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41755 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41758 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
41759 wxPyEndAllowThreads(__tstate
);
41760 if (PyErr_Occurred()) SWIG_fail
;
41762 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41769 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41770 PyObject
*resultobj
= 0;
41771 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41775 PyObject
*swig_obj
[1] ;
41777 if (!args
) SWIG_fail
;
41778 swig_obj
[0] = args
;
41779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41780 if (!SWIG_IsOK(res1
)) {
41781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41783 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41786 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
41787 wxPyEndAllowThreads(__tstate
);
41788 if (PyErr_Occurred()) SWIG_fail
;
41790 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
41797 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41799 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41800 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
41801 return SWIG_Py_Void();
41804 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41805 return SWIG_Python_InitShadowInstance(args
);
41808 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
41809 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
41814 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
41815 PyObject
*pyobj
= 0;
41819 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41821 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
41828 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41829 PyObject
*resultobj
= 0;
41830 wxWindow
*arg1
= (wxWindow
*) 0 ;
41832 wxString
*arg3
= 0 ;
41833 wxString
*arg4
= 0 ;
41834 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41835 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41836 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41837 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41838 long arg7
= (long) wxHL_DEFAULT_STYLE
;
41839 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
41840 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41841 wxHyperlinkCtrl
*result
= 0 ;
41846 bool temp3
= false ;
41847 bool temp4
= false ;
41852 bool temp8
= false ;
41853 PyObject
* obj0
= 0 ;
41854 PyObject
* obj1
= 0 ;
41855 PyObject
* obj2
= 0 ;
41856 PyObject
* obj3
= 0 ;
41857 PyObject
* obj4
= 0 ;
41858 PyObject
* obj5
= 0 ;
41859 PyObject
* obj6
= 0 ;
41860 PyObject
* obj7
= 0 ;
41861 char * kwnames
[] = {
41862 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
41865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41867 if (!SWIG_IsOK(res1
)) {
41868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41870 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41872 if (!SWIG_IsOK(ecode2
)) {
41873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
41875 arg2
= static_cast< int >(val2
);
41877 arg3
= wxString_in_helper(obj2
);
41878 if (arg3
== NULL
) SWIG_fail
;
41882 arg4
= wxString_in_helper(obj3
);
41883 if (arg4
== NULL
) SWIG_fail
;
41889 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41895 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41899 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41900 if (!SWIG_IsOK(ecode7
)) {
41901 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
41903 arg7
= static_cast< long >(val7
);
41907 arg8
= wxString_in_helper(obj7
);
41908 if (arg8
== NULL
) SWIG_fail
;
41913 if (!wxPyCheckForApp()) SWIG_fail
;
41914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41915 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
41916 wxPyEndAllowThreads(__tstate
);
41917 if (PyErr_Occurred()) SWIG_fail
;
41919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
41950 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41951 PyObject
*resultobj
= 0;
41952 wxHyperlinkCtrl
*result
= 0 ;
41954 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
41956 if (!wxPyCheckForApp()) SWIG_fail
;
41957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41958 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
41959 wxPyEndAllowThreads(__tstate
);
41960 if (PyErr_Occurred()) SWIG_fail
;
41962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
41969 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41970 PyObject
*resultobj
= 0;
41971 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
41972 wxWindow
*arg2
= (wxWindow
*) 0 ;
41974 wxString
*arg4
= 0 ;
41975 wxString
*arg5
= 0 ;
41976 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
41977 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
41978 wxSize
const &arg7_defvalue
= wxDefaultSize
;
41979 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
41980 long arg8
= (long) wxHL_DEFAULT_STYLE
;
41981 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
41982 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41990 bool temp4
= false ;
41991 bool temp5
= false ;
41996 bool temp9
= false ;
41997 PyObject
* obj0
= 0 ;
41998 PyObject
* obj1
= 0 ;
41999 PyObject
* obj2
= 0 ;
42000 PyObject
* obj3
= 0 ;
42001 PyObject
* obj4
= 0 ;
42002 PyObject
* obj5
= 0 ;
42003 PyObject
* obj6
= 0 ;
42004 PyObject
* obj7
= 0 ;
42005 PyObject
* obj8
= 0 ;
42006 char * kwnames
[] = {
42007 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42012 if (!SWIG_IsOK(res1
)) {
42013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42015 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42016 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42017 if (!SWIG_IsOK(res2
)) {
42018 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42020 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42021 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42022 if (!SWIG_IsOK(ecode3
)) {
42023 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42025 arg3
= static_cast< int >(val3
);
42027 arg4
= wxString_in_helper(obj3
);
42028 if (arg4
== NULL
) SWIG_fail
;
42032 arg5
= wxString_in_helper(obj4
);
42033 if (arg5
== NULL
) SWIG_fail
;
42039 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42045 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42049 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42050 if (!SWIG_IsOK(ecode8
)) {
42051 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42053 arg8
= static_cast< long >(val8
);
42057 arg9
= wxString_in_helper(obj8
);
42058 if (arg9
== NULL
) SWIG_fail
;
42063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42064 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42065 wxPyEndAllowThreads(__tstate
);
42066 if (PyErr_Occurred()) SWIG_fail
;
42069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42101 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42102 PyObject
*resultobj
= 0;
42103 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42107 PyObject
*swig_obj
[1] ;
42109 if (!args
) SWIG_fail
;
42110 swig_obj
[0] = args
;
42111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42112 if (!SWIG_IsOK(res1
)) {
42113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42115 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42118 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42119 wxPyEndAllowThreads(__tstate
);
42120 if (PyErr_Occurred()) SWIG_fail
;
42122 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42129 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42130 PyObject
*resultobj
= 0;
42131 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42132 wxColour
*arg2
= 0 ;
42136 PyObject
* obj0
= 0 ;
42137 PyObject
* obj1
= 0 ;
42138 char * kwnames
[] = {
42139 (char *) "self",(char *) "colour", NULL
42142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42143 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42144 if (!SWIG_IsOK(res1
)) {
42145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42147 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42150 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42154 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42155 wxPyEndAllowThreads(__tstate
);
42156 if (PyErr_Occurred()) SWIG_fail
;
42158 resultobj
= SWIG_Py_Void();
42165 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42166 PyObject
*resultobj
= 0;
42167 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42171 PyObject
*swig_obj
[1] ;
42173 if (!args
) SWIG_fail
;
42174 swig_obj
[0] = args
;
42175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42176 if (!SWIG_IsOK(res1
)) {
42177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42179 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42182 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42183 wxPyEndAllowThreads(__tstate
);
42184 if (PyErr_Occurred()) SWIG_fail
;
42186 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42193 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42194 PyObject
*resultobj
= 0;
42195 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42196 wxColour
*arg2
= 0 ;
42200 PyObject
* obj0
= 0 ;
42201 PyObject
* obj1
= 0 ;
42202 char * kwnames
[] = {
42203 (char *) "self",(char *) "colour", NULL
42206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42208 if (!SWIG_IsOK(res1
)) {
42209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42211 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42214 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42218 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42219 wxPyEndAllowThreads(__tstate
);
42220 if (PyErr_Occurred()) SWIG_fail
;
42222 resultobj
= SWIG_Py_Void();
42229 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42230 PyObject
*resultobj
= 0;
42231 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42235 PyObject
*swig_obj
[1] ;
42237 if (!args
) SWIG_fail
;
42238 swig_obj
[0] = args
;
42239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42240 if (!SWIG_IsOK(res1
)) {
42241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42243 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42246 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42247 wxPyEndAllowThreads(__tstate
);
42248 if (PyErr_Occurred()) SWIG_fail
;
42250 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42257 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42258 PyObject
*resultobj
= 0;
42259 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42260 wxColour
*arg2
= 0 ;
42264 PyObject
* obj0
= 0 ;
42265 PyObject
* obj1
= 0 ;
42266 char * kwnames
[] = {
42267 (char *) "self",(char *) "colour", NULL
42270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42272 if (!SWIG_IsOK(res1
)) {
42273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42275 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42278 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42282 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42283 wxPyEndAllowThreads(__tstate
);
42284 if (PyErr_Occurred()) SWIG_fail
;
42286 resultobj
= SWIG_Py_Void();
42293 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42294 PyObject
*resultobj
= 0;
42295 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42299 PyObject
*swig_obj
[1] ;
42301 if (!args
) SWIG_fail
;
42302 swig_obj
[0] = args
;
42303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42304 if (!SWIG_IsOK(res1
)) {
42305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42307 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42310 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42311 wxPyEndAllowThreads(__tstate
);
42312 if (PyErr_Occurred()) SWIG_fail
;
42316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42327 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42328 PyObject
*resultobj
= 0;
42329 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42330 wxString
*arg2
= 0 ;
42333 bool temp2
= false ;
42334 PyObject
* obj0
= 0 ;
42335 PyObject
* obj1
= 0 ;
42336 char * kwnames
[] = {
42337 (char *) "self",(char *) "url", NULL
42340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42342 if (!SWIG_IsOK(res1
)) {
42343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42345 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42347 arg2
= wxString_in_helper(obj1
);
42348 if (arg2
== NULL
) SWIG_fail
;
42352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42353 (arg1
)->SetURL((wxString
const &)*arg2
);
42354 wxPyEndAllowThreads(__tstate
);
42355 if (PyErr_Occurred()) SWIG_fail
;
42357 resultobj
= SWIG_Py_Void();
42372 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42373 PyObject
*resultobj
= 0;
42374 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42375 bool arg2
= (bool) true ;
42380 PyObject
* obj0
= 0 ;
42381 PyObject
* obj1
= 0 ;
42382 char * kwnames
[] = {
42383 (char *) "self",(char *) "visited", NULL
42386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42388 if (!SWIG_IsOK(res1
)) {
42389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42391 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42393 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42394 if (!SWIG_IsOK(ecode2
)) {
42395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42397 arg2
= static_cast< bool >(val2
);
42400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42401 (arg1
)->SetVisited(arg2
);
42402 wxPyEndAllowThreads(__tstate
);
42403 if (PyErr_Occurred()) SWIG_fail
;
42405 resultobj
= SWIG_Py_Void();
42412 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42413 PyObject
*resultobj
= 0;
42414 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42418 PyObject
*swig_obj
[1] ;
42420 if (!args
) SWIG_fail
;
42421 swig_obj
[0] = args
;
42422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42423 if (!SWIG_IsOK(res1
)) {
42424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42426 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42429 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42430 wxPyEndAllowThreads(__tstate
);
42431 if (PyErr_Occurred()) SWIG_fail
;
42434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42442 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42445 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42446 return SWIG_Py_Void();
42449 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42450 return SWIG_Python_InitShadowInstance(args
);
42453 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42454 PyObject
*resultobj
= 0;
42455 wxObject
*arg1
= (wxObject
*) 0 ;
42457 wxString
*arg3
= 0 ;
42458 wxHyperlinkEvent
*result
= 0 ;
42463 bool temp3
= false ;
42464 PyObject
* obj0
= 0 ;
42465 PyObject
* obj1
= 0 ;
42466 PyObject
* obj2
= 0 ;
42467 char * kwnames
[] = {
42468 (char *) "generator",(char *) "id",(char *) "url", NULL
42471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42473 if (!SWIG_IsOK(res1
)) {
42474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42476 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42478 if (!SWIG_IsOK(ecode2
)) {
42479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42481 arg2
= static_cast< int >(val2
);
42483 arg3
= wxString_in_helper(obj2
);
42484 if (arg3
== NULL
) SWIG_fail
;
42488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42489 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42490 wxPyEndAllowThreads(__tstate
);
42491 if (PyErr_Occurred()) SWIG_fail
;
42493 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42508 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42509 PyObject
*resultobj
= 0;
42510 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42514 PyObject
*swig_obj
[1] ;
42516 if (!args
) SWIG_fail
;
42517 swig_obj
[0] = args
;
42518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42519 if (!SWIG_IsOK(res1
)) {
42520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42522 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42525 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42526 wxPyEndAllowThreads(__tstate
);
42527 if (PyErr_Occurred()) SWIG_fail
;
42531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42542 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42543 PyObject
*resultobj
= 0;
42544 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42545 wxString
*arg2
= 0 ;
42548 bool temp2
= false ;
42549 PyObject
* obj0
= 0 ;
42550 PyObject
* obj1
= 0 ;
42551 char * kwnames
[] = {
42552 (char *) "self",(char *) "url", NULL
42555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42557 if (!SWIG_IsOK(res1
)) {
42558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42560 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42562 arg2
= wxString_in_helper(obj1
);
42563 if (arg2
== NULL
) SWIG_fail
;
42567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42568 (arg1
)->SetURL((wxString
const &)*arg2
);
42569 wxPyEndAllowThreads(__tstate
);
42570 if (PyErr_Occurred()) SWIG_fail
;
42572 resultobj
= SWIG_Py_Void();
42587 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42590 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42591 return SWIG_Py_Void();
42594 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42595 return SWIG_Python_InitShadowInstance(args
);
42598 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42599 PyObject
*resultobj
= 0;
42600 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42601 wxWindow
*arg2
= (wxWindow
*) 0 ;
42603 wxString
const &arg4_defvalue
= wxEmptyString
;
42604 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42605 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42606 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42607 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42608 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42609 long arg7
= (long) 0 ;
42610 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42611 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42612 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42613 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42621 bool temp4
= false ;
42628 bool temp9
= false ;
42629 PyObject
* obj0
= 0 ;
42630 PyObject
* obj1
= 0 ;
42631 PyObject
* obj2
= 0 ;
42632 PyObject
* obj3
= 0 ;
42633 PyObject
* obj4
= 0 ;
42634 PyObject
* obj5
= 0 ;
42635 PyObject
* obj6
= 0 ;
42636 PyObject
* obj7
= 0 ;
42637 PyObject
* obj8
= 0 ;
42638 char * kwnames
[] = {
42639 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42644 if (!SWIG_IsOK(res1
)) {
42645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42647 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42649 if (!SWIG_IsOK(res2
)) {
42650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42652 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42654 if (!SWIG_IsOK(ecode3
)) {
42655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42657 arg3
= static_cast< int >(val3
);
42660 arg4
= wxString_in_helper(obj3
);
42661 if (arg4
== NULL
) SWIG_fail
;
42668 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42674 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42678 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42679 if (!SWIG_IsOK(ecode7
)) {
42680 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
42682 arg7
= static_cast< long >(val7
);
42685 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
42686 if (!SWIG_IsOK(res8
)) {
42687 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42690 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
42692 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
42696 arg9
= wxString_in_helper(obj8
);
42697 if (arg9
== NULL
) SWIG_fail
;
42702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42703 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
42704 wxPyEndAllowThreads(__tstate
);
42705 if (PyErr_Occurred()) SWIG_fail
;
42708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42732 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42733 PyObject
*resultobj
= 0;
42734 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42740 PyObject
* obj0
= 0 ;
42741 PyObject
* obj1
= 0 ;
42742 char * kwnames
[] = {
42743 (char *) "self",(char *) "newmargin", NULL
42746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42748 if (!SWIG_IsOK(res1
)) {
42749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42751 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42752 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42753 if (!SWIG_IsOK(ecode2
)) {
42754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
42756 arg2
= static_cast< int >(val2
);
42758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42759 (arg1
)->SetInternalMargin(arg2
);
42760 wxPyEndAllowThreads(__tstate
);
42761 if (PyErr_Occurred()) SWIG_fail
;
42763 resultobj
= SWIG_Py_Void();
42770 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42771 PyObject
*resultobj
= 0;
42772 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42776 PyObject
*swig_obj
[1] ;
42778 if (!args
) SWIG_fail
;
42779 swig_obj
[0] = args
;
42780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42781 if (!SWIG_IsOK(res1
)) {
42782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42784 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42787 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
42788 wxPyEndAllowThreads(__tstate
);
42789 if (PyErr_Occurred()) SWIG_fail
;
42791 resultobj
= SWIG_From_int(static_cast< int >(result
));
42798 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42799 PyObject
*resultobj
= 0;
42800 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42806 PyObject
* obj0
= 0 ;
42807 PyObject
* obj1
= 0 ;
42808 char * kwnames
[] = {
42809 (char *) "self",(char *) "prop", NULL
42812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42814 if (!SWIG_IsOK(res1
)) {
42815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42817 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42819 if (!SWIG_IsOK(ecode2
)) {
42820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42822 arg2
= static_cast< int >(val2
);
42824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42825 (arg1
)->SetTextCtrlProportion(arg2
);
42826 wxPyEndAllowThreads(__tstate
);
42827 if (PyErr_Occurred()) SWIG_fail
;
42829 resultobj
= SWIG_Py_Void();
42836 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42837 PyObject
*resultobj
= 0;
42838 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42842 PyObject
*swig_obj
[1] ;
42844 if (!args
) SWIG_fail
;
42845 swig_obj
[0] = args
;
42846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42847 if (!SWIG_IsOK(res1
)) {
42848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42850 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42853 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
42854 wxPyEndAllowThreads(__tstate
);
42855 if (PyErr_Occurred()) SWIG_fail
;
42857 resultobj
= SWIG_From_int(static_cast< int >(result
));
42864 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42865 PyObject
*resultobj
= 0;
42866 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42872 PyObject
* obj0
= 0 ;
42873 PyObject
* obj1
= 0 ;
42874 char * kwnames
[] = {
42875 (char *) "self",(char *) "prop", NULL
42878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42880 if (!SWIG_IsOK(res1
)) {
42881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42883 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42885 if (!SWIG_IsOK(ecode2
)) {
42886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
42888 arg2
= static_cast< int >(val2
);
42890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42891 (arg1
)->SetPickerCtrlProportion(arg2
);
42892 wxPyEndAllowThreads(__tstate
);
42893 if (PyErr_Occurred()) SWIG_fail
;
42895 resultobj
= SWIG_Py_Void();
42902 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42903 PyObject
*resultobj
= 0;
42904 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42908 PyObject
*swig_obj
[1] ;
42910 if (!args
) SWIG_fail
;
42911 swig_obj
[0] = args
;
42912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42913 if (!SWIG_IsOK(res1
)) {
42914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42916 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42919 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
42920 wxPyEndAllowThreads(__tstate
);
42921 if (PyErr_Occurred()) SWIG_fail
;
42923 resultobj
= SWIG_From_int(static_cast< int >(result
));
42930 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42931 PyObject
*resultobj
= 0;
42932 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42936 PyObject
*swig_obj
[1] ;
42938 if (!args
) SWIG_fail
;
42939 swig_obj
[0] = args
;
42940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42941 if (!SWIG_IsOK(res1
)) {
42942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
42944 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42947 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
42948 wxPyEndAllowThreads(__tstate
);
42949 if (PyErr_Occurred()) SWIG_fail
;
42952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42960 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42961 PyObject
*resultobj
= 0;
42962 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42963 bool arg2
= (bool) true ;
42968 PyObject
* obj0
= 0 ;
42969 PyObject
* obj1
= 0 ;
42970 char * kwnames
[] = {
42971 (char *) "self",(char *) "grow", NULL
42974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42976 if (!SWIG_IsOK(res1
)) {
42977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42979 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42981 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42982 if (!SWIG_IsOK(ecode2
)) {
42983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
42985 arg2
= static_cast< bool >(val2
);
42988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42989 (arg1
)->SetTextCtrlGrowable(arg2
);
42990 wxPyEndAllowThreads(__tstate
);
42991 if (PyErr_Occurred()) SWIG_fail
;
42993 resultobj
= SWIG_Py_Void();
43000 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43001 PyObject
*resultobj
= 0;
43002 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43006 PyObject
*swig_obj
[1] ;
43008 if (!args
) SWIG_fail
;
43009 swig_obj
[0] = args
;
43010 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43011 if (!SWIG_IsOK(res1
)) {
43012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43014 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43017 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43018 wxPyEndAllowThreads(__tstate
);
43019 if (PyErr_Occurred()) SWIG_fail
;
43022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43030 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43031 PyObject
*resultobj
= 0;
43032 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43033 bool arg2
= (bool) true ;
43038 PyObject
* obj0
= 0 ;
43039 PyObject
* obj1
= 0 ;
43040 char * kwnames
[] = {
43041 (char *) "self",(char *) "grow", NULL
43044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43046 if (!SWIG_IsOK(res1
)) {
43047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43049 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43051 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43052 if (!SWIG_IsOK(ecode2
)) {
43053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43055 arg2
= static_cast< bool >(val2
);
43058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43059 (arg1
)->SetPickerCtrlGrowable(arg2
);
43060 wxPyEndAllowThreads(__tstate
);
43061 if (PyErr_Occurred()) SWIG_fail
;
43063 resultobj
= SWIG_Py_Void();
43070 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43071 PyObject
*resultobj
= 0;
43072 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43076 PyObject
*swig_obj
[1] ;
43078 if (!args
) SWIG_fail
;
43079 swig_obj
[0] = args
;
43080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43081 if (!SWIG_IsOK(res1
)) {
43082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43084 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43087 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43088 wxPyEndAllowThreads(__tstate
);
43089 if (PyErr_Occurred()) SWIG_fail
;
43092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43100 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43101 PyObject
*resultobj
= 0;
43102 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43103 wxTextCtrl
*result
= 0 ;
43106 PyObject
*swig_obj
[1] ;
43108 if (!args
) SWIG_fail
;
43109 swig_obj
[0] = args
;
43110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43111 if (!SWIG_IsOK(res1
)) {
43112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43114 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43117 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43118 wxPyEndAllowThreads(__tstate
);
43119 if (PyErr_Occurred()) SWIG_fail
;
43122 resultobj
= wxPyMake_wxObject(result
, 0);
43130 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43131 PyObject
*resultobj
= 0;
43132 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43133 wxControl
*result
= 0 ;
43136 PyObject
*swig_obj
[1] ;
43138 if (!args
) SWIG_fail
;
43139 swig_obj
[0] = args
;
43140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43141 if (!SWIG_IsOK(res1
)) {
43142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43144 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43147 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43148 wxPyEndAllowThreads(__tstate
);
43149 if (PyErr_Occurred()) SWIG_fail
;
43152 resultobj
= wxPyMake_wxObject(result
, 0);
43160 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43162 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43163 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43164 return SWIG_Py_Void();
43167 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43168 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43173 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43174 PyObject
*pyobj
= 0;
43178 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43180 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43187 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43188 PyObject
*resultobj
= 0;
43189 wxWindow
*arg1
= (wxWindow
*) 0 ;
43190 int arg2
= (int) -1 ;
43191 wxColour
const &arg3_defvalue
= *wxBLACK
;
43192 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43193 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43194 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43195 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43196 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43197 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43198 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43199 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43200 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43201 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43202 wxColourPickerCtrl
*result
= 0 ;
43214 bool temp8
= false ;
43215 PyObject
* obj0
= 0 ;
43216 PyObject
* obj1
= 0 ;
43217 PyObject
* obj2
= 0 ;
43218 PyObject
* obj3
= 0 ;
43219 PyObject
* obj4
= 0 ;
43220 PyObject
* obj5
= 0 ;
43221 PyObject
* obj6
= 0 ;
43222 PyObject
* obj7
= 0 ;
43223 char * kwnames
[] = {
43224 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43229 if (!SWIG_IsOK(res1
)) {
43230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43232 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43235 if (!SWIG_IsOK(ecode2
)) {
43236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43238 arg2
= static_cast< int >(val2
);
43243 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43249 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43255 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43259 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43260 if (!SWIG_IsOK(ecode6
)) {
43261 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43263 arg6
= static_cast< long >(val6
);
43266 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43267 if (!SWIG_IsOK(res7
)) {
43268 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43273 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43277 arg8
= wxString_in_helper(obj7
);
43278 if (arg8
== NULL
) SWIG_fail
;
43283 if (!wxPyCheckForApp()) SWIG_fail
;
43284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43285 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43286 wxPyEndAllowThreads(__tstate
);
43287 if (PyErr_Occurred()) SWIG_fail
;
43289 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43304 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43305 PyObject
*resultobj
= 0;
43306 wxColourPickerCtrl
*result
= 0 ;
43308 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43310 if (!wxPyCheckForApp()) SWIG_fail
;
43311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43312 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43313 wxPyEndAllowThreads(__tstate
);
43314 if (PyErr_Occurred()) SWIG_fail
;
43316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43323 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43324 PyObject
*resultobj
= 0;
43325 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43326 wxWindow
*arg2
= (wxWindow
*) 0 ;
43328 wxColour
const &arg4_defvalue
= *wxBLACK
;
43329 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43330 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43331 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43332 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43333 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43334 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43335 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43336 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43337 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43338 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43353 bool temp9
= false ;
43354 PyObject
* obj0
= 0 ;
43355 PyObject
* obj1
= 0 ;
43356 PyObject
* obj2
= 0 ;
43357 PyObject
* obj3
= 0 ;
43358 PyObject
* obj4
= 0 ;
43359 PyObject
* obj5
= 0 ;
43360 PyObject
* obj6
= 0 ;
43361 PyObject
* obj7
= 0 ;
43362 PyObject
* obj8
= 0 ;
43363 char * kwnames
[] = {
43364 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43369 if (!SWIG_IsOK(res1
)) {
43370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43372 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43374 if (!SWIG_IsOK(res2
)) {
43375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43377 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43379 if (!SWIG_IsOK(ecode3
)) {
43380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43382 arg3
= static_cast< int >(val3
);
43386 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43392 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43398 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43402 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43403 if (!SWIG_IsOK(ecode7
)) {
43404 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43406 arg7
= static_cast< long >(val7
);
43409 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43410 if (!SWIG_IsOK(res8
)) {
43411 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43414 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43416 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43420 arg9
= wxString_in_helper(obj8
);
43421 if (arg9
== NULL
) SWIG_fail
;
43426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43427 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43428 wxPyEndAllowThreads(__tstate
);
43429 if (PyErr_Occurred()) SWIG_fail
;
43432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43448 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43449 PyObject
*resultobj
= 0;
43450 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43454 PyObject
*swig_obj
[1] ;
43456 if (!args
) SWIG_fail
;
43457 swig_obj
[0] = args
;
43458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43459 if (!SWIG_IsOK(res1
)) {
43460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43462 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43465 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43466 wxPyEndAllowThreads(__tstate
);
43467 if (PyErr_Occurred()) SWIG_fail
;
43469 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43476 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43477 PyObject
*resultobj
= 0;
43478 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43479 wxColour
*arg2
= 0 ;
43483 PyObject
* obj0
= 0 ;
43484 PyObject
* obj1
= 0 ;
43485 char * kwnames
[] = {
43486 (char *) "self",(char *) "col", NULL
43489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43491 if (!SWIG_IsOK(res1
)) {
43492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43494 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43497 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43501 (arg1
)->SetColour((wxColour
const &)*arg2
);
43502 wxPyEndAllowThreads(__tstate
);
43503 if (PyErr_Occurred()) SWIG_fail
;
43505 resultobj
= SWIG_Py_Void();
43512 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43514 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43515 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43516 return SWIG_Py_Void();
43519 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43520 return SWIG_Python_InitShadowInstance(args
);
43523 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43524 PyObject
*resultobj
= 0;
43525 wxObject
*arg1
= (wxObject
*) 0 ;
43527 wxColour
*arg3
= 0 ;
43528 wxColourPickerEvent
*result
= 0 ;
43534 PyObject
* obj0
= 0 ;
43535 PyObject
* obj1
= 0 ;
43536 PyObject
* obj2
= 0 ;
43537 char * kwnames
[] = {
43538 (char *) "generator",(char *) "id",(char *) "col", NULL
43541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43543 if (!SWIG_IsOK(res1
)) {
43544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43546 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43548 if (!SWIG_IsOK(ecode2
)) {
43549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43551 arg2
= static_cast< int >(val2
);
43554 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43558 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43559 wxPyEndAllowThreads(__tstate
);
43560 if (PyErr_Occurred()) SWIG_fail
;
43562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43569 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43570 PyObject
*resultobj
= 0;
43571 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 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_wxColourPickerEvent
, 0 | 0 );
43580 if (!SWIG_IsOK(res1
)) {
43581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43583 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43586 result
= ((wxColourPickerEvent
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_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43598 PyObject
*resultobj
= 0;
43599 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43600 wxColour
*arg2
= 0 ;
43604 PyObject
* obj0
= 0 ;
43605 PyObject
* obj1
= 0 ;
43606 char * kwnames
[] = {
43607 (char *) "self",(char *) "c", NULL
43610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43612 if (!SWIG_IsOK(res1
)) {
43613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43615 arg1
= reinterpret_cast< wxColourPickerEvent
* >(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
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43636 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43637 return SWIG_Py_Void();
43640 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43641 return SWIG_Python_InitShadowInstance(args
);
43644 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43645 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43650 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43651 PyObject
*pyobj
= 0;
43655 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43657 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43664 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43665 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
43670 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
43671 PyObject
*pyobj
= 0;
43675 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43677 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
43684 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
43685 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
43690 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
43691 PyObject
*pyobj
= 0;
43695 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43697 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
43704 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
43705 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
43710 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
43711 PyObject
*pyobj
= 0;
43715 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43717 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
43724 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
43725 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
43730 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
43731 PyObject
*pyobj
= 0;
43735 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43737 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
43744 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43745 PyObject
*resultobj
= 0;
43746 wxWindow
*arg1
= (wxWindow
*) 0 ;
43747 int arg2
= (int) -1 ;
43748 wxString
const &arg3_defvalue
= wxPyEmptyString
;
43749 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
43750 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
43751 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43752 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43753 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43754 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
43755 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
43756 wxSize
const &arg7_defvalue
= wxDefaultSize
;
43757 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
43758 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
43759 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
43760 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
43761 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
43762 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
43763 wxFilePickerCtrl
*result
= 0 ;
43768 bool temp3
= false ;
43769 bool temp4
= false ;
43770 bool temp5
= false ;
43777 bool temp10
= false ;
43778 PyObject
* obj0
= 0 ;
43779 PyObject
* obj1
= 0 ;
43780 PyObject
* obj2
= 0 ;
43781 PyObject
* obj3
= 0 ;
43782 PyObject
* obj4
= 0 ;
43783 PyObject
* obj5
= 0 ;
43784 PyObject
* obj6
= 0 ;
43785 PyObject
* obj7
= 0 ;
43786 PyObject
* obj8
= 0 ;
43787 PyObject
* obj9
= 0 ;
43788 char * kwnames
[] = {
43789 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
43793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43794 if (!SWIG_IsOK(res1
)) {
43795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43800 if (!SWIG_IsOK(ecode2
)) {
43801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
43803 arg2
= static_cast< int >(val2
);
43807 arg3
= wxString_in_helper(obj2
);
43808 if (arg3
== NULL
) SWIG_fail
;
43814 arg4
= wxString_in_helper(obj3
);
43815 if (arg4
== NULL
) SWIG_fail
;
43821 arg5
= wxString_in_helper(obj4
);
43822 if (arg5
== NULL
) SWIG_fail
;
43829 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
43835 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
43839 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
43840 if (!SWIG_IsOK(ecode8
)) {
43841 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
43843 arg8
= static_cast< long >(val8
);
43846 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
43847 if (!SWIG_IsOK(res9
)) {
43848 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
43853 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
43857 arg10
= wxString_in_helper(obj9
);
43858 if (arg10
== NULL
) SWIG_fail
;
43863 if (!wxPyCheckForApp()) SWIG_fail
;
43864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43865 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
);
43866 wxPyEndAllowThreads(__tstate
);
43867 if (PyErr_Occurred()) SWIG_fail
;
43869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
43908 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43909 PyObject
*resultobj
= 0;
43910 wxFilePickerCtrl
*result
= 0 ;
43912 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
43914 if (!wxPyCheckForApp()) SWIG_fail
;
43915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43916 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
43917 wxPyEndAllowThreads(__tstate
);
43918 if (PyErr_Occurred()) SWIG_fail
;
43920 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
43927 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43928 PyObject
*resultobj
= 0;
43929 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
43930 wxWindow
*arg2
= (wxWindow
*) 0 ;
43931 int arg3
= (int) -1 ;
43932 wxString
const &arg4_defvalue
= wxPyEmptyString
;
43933 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
43934 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
43935 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
43936 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
43937 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
43938 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
43939 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
43940 wxSize
const &arg8_defvalue
= wxDefaultSize
;
43941 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
43942 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
43943 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
43944 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
43945 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
43946 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
43954 bool temp4
= false ;
43955 bool temp5
= false ;
43956 bool temp6
= false ;
43963 bool temp11
= false ;
43964 PyObject
* obj0
= 0 ;
43965 PyObject
* obj1
= 0 ;
43966 PyObject
* obj2
= 0 ;
43967 PyObject
* obj3
= 0 ;
43968 PyObject
* obj4
= 0 ;
43969 PyObject
* obj5
= 0 ;
43970 PyObject
* obj6
= 0 ;
43971 PyObject
* obj7
= 0 ;
43972 PyObject
* obj8
= 0 ;
43973 PyObject
* obj9
= 0 ;
43974 PyObject
* obj10
= 0 ;
43975 char * kwnames
[] = {
43976 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
43980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
43981 if (!SWIG_IsOK(res1
)) {
43982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
43984 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
43985 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43986 if (!SWIG_IsOK(res2
)) {
43987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43989 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43992 if (!SWIG_IsOK(ecode3
)) {
43993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43995 arg3
= static_cast< int >(val3
);
43999 arg4
= wxString_in_helper(obj3
);
44000 if (arg4
== NULL
) SWIG_fail
;
44006 arg5
= wxString_in_helper(obj4
);
44007 if (arg5
== NULL
) SWIG_fail
;
44013 arg6
= wxString_in_helper(obj5
);
44014 if (arg6
== NULL
) SWIG_fail
;
44021 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44027 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44031 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44032 if (!SWIG_IsOK(ecode9
)) {
44033 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44035 arg9
= static_cast< long >(val9
);
44038 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44039 if (!SWIG_IsOK(res10
)) {
44040 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44043 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44045 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44049 arg11
= wxString_in_helper(obj10
);
44050 if (arg11
== NULL
) SWIG_fail
;
44055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44056 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
);
44057 wxPyEndAllowThreads(__tstate
);
44058 if (PyErr_Occurred()) SWIG_fail
;
44061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44101 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44102 PyObject
*resultobj
= 0;
44103 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44107 PyObject
*swig_obj
[1] ;
44109 if (!args
) SWIG_fail
;
44110 swig_obj
[0] = args
;
44111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44112 if (!SWIG_IsOK(res1
)) {
44113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44115 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44118 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44119 wxPyEndAllowThreads(__tstate
);
44120 if (PyErr_Occurred()) SWIG_fail
;
44124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44135 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44136 PyObject
*resultobj
= 0;
44137 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44138 wxString
*arg2
= 0 ;
44141 bool temp2
= false ;
44142 PyObject
* obj0
= 0 ;
44143 PyObject
* obj1
= 0 ;
44144 char * kwnames
[] = {
44145 (char *) "self",(char *) "str", NULL
44148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44150 if (!SWIG_IsOK(res1
)) {
44151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44153 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44155 arg2
= wxString_in_helper(obj1
);
44156 if (arg2
== NULL
) SWIG_fail
;
44160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44161 (arg1
)->SetPath((wxString
const &)*arg2
);
44162 wxPyEndAllowThreads(__tstate
);
44163 if (PyErr_Occurred()) SWIG_fail
;
44165 resultobj
= SWIG_Py_Void();
44180 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44181 PyObject
*resultobj
= 0;
44182 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44183 wxString
*arg2
= 0 ;
44187 bool temp2
= false ;
44188 PyObject
* obj0
= 0 ;
44189 PyObject
* obj1
= 0 ;
44190 char * kwnames
[] = {
44191 (char *) "self",(char *) "path", NULL
44194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44196 if (!SWIG_IsOK(res1
)) {
44197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44199 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44201 arg2
= wxString_in_helper(obj1
);
44202 if (arg2
== NULL
) SWIG_fail
;
44206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44207 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44208 wxPyEndAllowThreads(__tstate
);
44209 if (PyErr_Occurred()) SWIG_fail
;
44212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44228 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44229 PyObject
*resultobj
= 0;
44230 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44234 PyObject
*swig_obj
[1] ;
44236 if (!args
) SWIG_fail
;
44237 swig_obj
[0] = args
;
44238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44239 if (!SWIG_IsOK(res1
)) {
44240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44242 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44245 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44246 wxPyEndAllowThreads(__tstate
);
44247 if (PyErr_Occurred()) SWIG_fail
;
44251 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44253 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44262 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44265 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44266 return SWIG_Py_Void();
44269 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44270 return SWIG_Python_InitShadowInstance(args
);
44273 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44274 PyObject
*resultobj
= 0;
44275 wxWindow
*arg1
= (wxWindow
*) 0 ;
44276 int arg2
= (int) -1 ;
44277 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44278 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44279 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44280 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44281 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44282 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44283 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44284 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44285 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44286 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44287 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44288 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44289 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44290 wxDirPickerCtrl
*result
= 0 ;
44295 bool temp3
= false ;
44296 bool temp4
= false ;
44303 bool temp9
= false ;
44304 PyObject
* obj0
= 0 ;
44305 PyObject
* obj1
= 0 ;
44306 PyObject
* obj2
= 0 ;
44307 PyObject
* obj3
= 0 ;
44308 PyObject
* obj4
= 0 ;
44309 PyObject
* obj5
= 0 ;
44310 PyObject
* obj6
= 0 ;
44311 PyObject
* obj7
= 0 ;
44312 PyObject
* obj8
= 0 ;
44313 char * kwnames
[] = {
44314 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44319 if (!SWIG_IsOK(res1
)) {
44320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44322 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44324 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44325 if (!SWIG_IsOK(ecode2
)) {
44326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44328 arg2
= static_cast< int >(val2
);
44332 arg3
= wxString_in_helper(obj2
);
44333 if (arg3
== NULL
) SWIG_fail
;
44339 arg4
= wxString_in_helper(obj3
);
44340 if (arg4
== NULL
) SWIG_fail
;
44347 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44353 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44357 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44358 if (!SWIG_IsOK(ecode7
)) {
44359 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44361 arg7
= static_cast< long >(val7
);
44364 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44365 if (!SWIG_IsOK(res8
)) {
44366 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44369 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44371 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44375 arg9
= wxString_in_helper(obj8
);
44376 if (arg9
== NULL
) SWIG_fail
;
44381 if (!wxPyCheckForApp()) SWIG_fail
;
44382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44383 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
);
44384 wxPyEndAllowThreads(__tstate
);
44385 if (PyErr_Occurred()) SWIG_fail
;
44387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44418 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44419 PyObject
*resultobj
= 0;
44420 wxDirPickerCtrl
*result
= 0 ;
44422 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44424 if (!wxPyCheckForApp()) SWIG_fail
;
44425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44426 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44427 wxPyEndAllowThreads(__tstate
);
44428 if (PyErr_Occurred()) SWIG_fail
;
44430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44437 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44438 PyObject
*resultobj
= 0;
44439 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44440 wxWindow
*arg2
= (wxWindow
*) 0 ;
44441 int arg3
= (int) -1 ;
44442 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44443 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44444 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44445 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44446 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44447 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44448 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44449 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44450 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44451 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44452 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44453 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44454 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44462 bool temp4
= false ;
44463 bool temp5
= false ;
44470 bool temp10
= false ;
44471 PyObject
* obj0
= 0 ;
44472 PyObject
* obj1
= 0 ;
44473 PyObject
* obj2
= 0 ;
44474 PyObject
* obj3
= 0 ;
44475 PyObject
* obj4
= 0 ;
44476 PyObject
* obj5
= 0 ;
44477 PyObject
* obj6
= 0 ;
44478 PyObject
* obj7
= 0 ;
44479 PyObject
* obj8
= 0 ;
44480 PyObject
* obj9
= 0 ;
44481 char * kwnames
[] = {
44482 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44487 if (!SWIG_IsOK(res1
)) {
44488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44490 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44491 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44492 if (!SWIG_IsOK(res2
)) {
44493 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44495 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44497 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44498 if (!SWIG_IsOK(ecode3
)) {
44499 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44501 arg3
= static_cast< int >(val3
);
44505 arg4
= wxString_in_helper(obj3
);
44506 if (arg4
== NULL
) SWIG_fail
;
44512 arg5
= wxString_in_helper(obj4
);
44513 if (arg5
== NULL
) SWIG_fail
;
44520 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44526 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44530 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44531 if (!SWIG_IsOK(ecode8
)) {
44532 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44534 arg8
= static_cast< long >(val8
);
44537 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44538 if (!SWIG_IsOK(res9
)) {
44539 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44542 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44544 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44548 arg10
= wxString_in_helper(obj9
);
44549 if (arg10
== NULL
) SWIG_fail
;
44554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44555 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
);
44556 wxPyEndAllowThreads(__tstate
);
44557 if (PyErr_Occurred()) SWIG_fail
;
44560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44592 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44593 PyObject
*resultobj
= 0;
44594 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44598 PyObject
*swig_obj
[1] ;
44600 if (!args
) SWIG_fail
;
44601 swig_obj
[0] = args
;
44602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44603 if (!SWIG_IsOK(res1
)) {
44604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44606 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44609 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44610 wxPyEndAllowThreads(__tstate
);
44611 if (PyErr_Occurred()) SWIG_fail
;
44615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44626 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44627 PyObject
*resultobj
= 0;
44628 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44629 wxString
*arg2
= 0 ;
44632 bool temp2
= false ;
44633 PyObject
* obj0
= 0 ;
44634 PyObject
* obj1
= 0 ;
44635 char * kwnames
[] = {
44636 (char *) "self",(char *) "str", NULL
44639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44641 if (!SWIG_IsOK(res1
)) {
44642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44644 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44646 arg2
= wxString_in_helper(obj1
);
44647 if (arg2
== NULL
) SWIG_fail
;
44651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44652 (arg1
)->SetPath((wxString
const &)*arg2
);
44653 wxPyEndAllowThreads(__tstate
);
44654 if (PyErr_Occurred()) SWIG_fail
;
44656 resultobj
= SWIG_Py_Void();
44671 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44672 PyObject
*resultobj
= 0;
44673 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44674 wxString
*arg2
= 0 ;
44678 bool temp2
= false ;
44679 PyObject
* obj0
= 0 ;
44680 PyObject
* obj1
= 0 ;
44681 char * kwnames
[] = {
44682 (char *) "self",(char *) "path", NULL
44685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44687 if (!SWIG_IsOK(res1
)) {
44688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44690 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44692 arg2
= wxString_in_helper(obj1
);
44693 if (arg2
== NULL
) SWIG_fail
;
44697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44698 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44699 wxPyEndAllowThreads(__tstate
);
44700 if (PyErr_Occurred()) SWIG_fail
;
44703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44719 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44720 PyObject
*resultobj
= 0;
44721 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44725 PyObject
*swig_obj
[1] ;
44727 if (!args
) SWIG_fail
;
44728 swig_obj
[0] = args
;
44729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44730 if (!SWIG_IsOK(res1
)) {
44731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44733 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44736 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
44737 wxPyEndAllowThreads(__tstate
);
44738 if (PyErr_Occurred()) SWIG_fail
;
44742 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44744 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44753 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44756 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
44757 return SWIG_Py_Void();
44760 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44761 return SWIG_Python_InitShadowInstance(args
);
44764 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44765 PyObject
*resultobj
= 0;
44767 wxObject
*arg2
= (wxObject
*) 0 ;
44769 wxString
*arg4
= 0 ;
44770 wxFileDirPickerEvent
*result
= 0 ;
44777 bool temp4
= false ;
44778 PyObject
* obj0
= 0 ;
44779 PyObject
* obj1
= 0 ;
44780 PyObject
* obj2
= 0 ;
44781 PyObject
* obj3
= 0 ;
44782 char * kwnames
[] = {
44783 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
44786 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44787 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44788 if (!SWIG_IsOK(ecode1
)) {
44789 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
44791 arg1
= static_cast< wxEventType
>(val1
);
44792 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
44793 if (!SWIG_IsOK(res2
)) {
44794 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
44796 arg2
= reinterpret_cast< wxObject
* >(argp2
);
44797 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44798 if (!SWIG_IsOK(ecode3
)) {
44799 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
44801 arg3
= static_cast< int >(val3
);
44803 arg4
= wxString_in_helper(obj3
);
44804 if (arg4
== NULL
) SWIG_fail
;
44808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44809 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
44810 wxPyEndAllowThreads(__tstate
);
44811 if (PyErr_Occurred()) SWIG_fail
;
44813 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
44828 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44829 PyObject
*resultobj
= 0;
44830 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44834 PyObject
*swig_obj
[1] ;
44836 if (!args
) SWIG_fail
;
44837 swig_obj
[0] = args
;
44838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44839 if (!SWIG_IsOK(res1
)) {
44840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
44842 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44845 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
44846 wxPyEndAllowThreads(__tstate
);
44847 if (PyErr_Occurred()) SWIG_fail
;
44851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44862 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44863 PyObject
*resultobj
= 0;
44864 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
44865 wxString
*arg2
= 0 ;
44868 bool temp2
= false ;
44869 PyObject
* obj0
= 0 ;
44870 PyObject
* obj1
= 0 ;
44871 char * kwnames
[] = {
44872 (char *) "self",(char *) "p", NULL
44875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
44877 if (!SWIG_IsOK(res1
)) {
44878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
44880 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
44882 arg2
= wxString_in_helper(obj1
);
44883 if (arg2
== NULL
) SWIG_fail
;
44887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44888 (arg1
)->SetPath((wxString
const &)*arg2
);
44889 wxPyEndAllowThreads(__tstate
);
44890 if (PyErr_Occurred()) SWIG_fail
;
44892 resultobj
= SWIG_Py_Void();
44907 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44910 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
44911 return SWIG_Py_Void();
44914 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44915 return SWIG_Python_InitShadowInstance(args
);
44918 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
44919 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
44924 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
44925 PyObject
*pyobj
= 0;
44929 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44931 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
44938 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44939 PyObject
*resultobj
= 0;
44940 wxWindow
*arg1
= (wxWindow
*) 0 ;
44941 int arg2
= (int) -1 ;
44942 wxFont
const &arg3_defvalue
= wxNullFont
;
44943 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
44944 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
44945 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
44946 wxSize
const &arg5_defvalue
= wxDefaultSize
;
44947 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
44948 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
44949 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
44950 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
44951 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
44952 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
44953 wxFontPickerCtrl
*result
= 0 ;
44966 bool temp8
= false ;
44967 PyObject
* obj0
= 0 ;
44968 PyObject
* obj1
= 0 ;
44969 PyObject
* obj2
= 0 ;
44970 PyObject
* obj3
= 0 ;
44971 PyObject
* obj4
= 0 ;
44972 PyObject
* obj5
= 0 ;
44973 PyObject
* obj6
= 0 ;
44974 PyObject
* obj7
= 0 ;
44975 char * kwnames
[] = {
44976 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
44980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44981 if (!SWIG_IsOK(res1
)) {
44982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44984 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44986 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44987 if (!SWIG_IsOK(ecode2
)) {
44988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44990 arg2
= static_cast< int >(val2
);
44993 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
44994 if (!SWIG_IsOK(res3
)) {
44995 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
44998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45000 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45005 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45011 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45015 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45016 if (!SWIG_IsOK(ecode6
)) {
45017 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45019 arg6
= static_cast< long >(val6
);
45022 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45023 if (!SWIG_IsOK(res7
)) {
45024 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45029 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45033 arg8
= wxString_in_helper(obj7
);
45034 if (arg8
== NULL
) SWIG_fail
;
45039 if (!wxPyCheckForApp()) SWIG_fail
;
45040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45041 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45042 wxPyEndAllowThreads(__tstate
);
45043 if (PyErr_Occurred()) SWIG_fail
;
45045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45060 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45061 PyObject
*resultobj
= 0;
45062 wxFontPickerCtrl
*result
= 0 ;
45064 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45066 if (!wxPyCheckForApp()) SWIG_fail
;
45067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45068 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45069 wxPyEndAllowThreads(__tstate
);
45070 if (PyErr_Occurred()) SWIG_fail
;
45072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45079 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45080 PyObject
*resultobj
= 0;
45081 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45082 wxWindow
*arg2
= (wxWindow
*) 0 ;
45083 int arg3
= (int) -1 ;
45084 wxFont
const &arg4_defvalue
= wxNullFont
;
45085 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45086 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45087 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45088 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45089 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45090 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45091 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45092 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45093 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45094 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45110 bool temp9
= false ;
45111 PyObject
* obj0
= 0 ;
45112 PyObject
* obj1
= 0 ;
45113 PyObject
* obj2
= 0 ;
45114 PyObject
* obj3
= 0 ;
45115 PyObject
* obj4
= 0 ;
45116 PyObject
* obj5
= 0 ;
45117 PyObject
* obj6
= 0 ;
45118 PyObject
* obj7
= 0 ;
45119 PyObject
* obj8
= 0 ;
45120 char * kwnames
[] = {
45121 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45126 if (!SWIG_IsOK(res1
)) {
45127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45129 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45130 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45131 if (!SWIG_IsOK(res2
)) {
45132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45134 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45136 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45137 if (!SWIG_IsOK(ecode3
)) {
45138 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45140 arg3
= static_cast< int >(val3
);
45143 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45144 if (!SWIG_IsOK(res4
)) {
45145 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45148 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45150 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45155 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45161 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45165 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45166 if (!SWIG_IsOK(ecode7
)) {
45167 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45169 arg7
= static_cast< long >(val7
);
45172 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45173 if (!SWIG_IsOK(res8
)) {
45174 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45177 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45179 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45183 arg9
= wxString_in_helper(obj8
);
45184 if (arg9
== NULL
) SWIG_fail
;
45189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45190 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45191 wxPyEndAllowThreads(__tstate
);
45192 if (PyErr_Occurred()) SWIG_fail
;
45195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45211 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45212 PyObject
*resultobj
= 0;
45213 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45217 PyObject
*swig_obj
[1] ;
45219 if (!args
) SWIG_fail
;
45220 swig_obj
[0] = args
;
45221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45222 if (!SWIG_IsOK(res1
)) {
45223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45225 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45228 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45229 wxPyEndAllowThreads(__tstate
);
45230 if (PyErr_Occurred()) SWIG_fail
;
45232 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45239 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45240 PyObject
*resultobj
= 0;
45241 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45247 PyObject
* obj0
= 0 ;
45248 PyObject
* obj1
= 0 ;
45249 char * kwnames
[] = {
45250 (char *) "self",(char *) "f", NULL
45253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45255 if (!SWIG_IsOK(res1
)) {
45256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45258 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45259 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45260 if (!SWIG_IsOK(res2
)) {
45261 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45266 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45269 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45270 wxPyEndAllowThreads(__tstate
);
45271 if (PyErr_Occurred()) SWIG_fail
;
45273 resultobj
= SWIG_Py_Void();
45280 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45281 PyObject
*resultobj
= 0;
45282 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45283 unsigned int arg2
;
45286 unsigned int val2
;
45288 PyObject
* obj0
= 0 ;
45289 PyObject
* obj1
= 0 ;
45290 char * kwnames
[] = {
45291 (char *) "self",(char *) "max", NULL
45294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45296 if (!SWIG_IsOK(res1
)) {
45297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45299 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45300 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45301 if (!SWIG_IsOK(ecode2
)) {
45302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45304 arg2
= static_cast< unsigned int >(val2
);
45306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45307 (arg1
)->SetMaxPointSize(arg2
);
45308 wxPyEndAllowThreads(__tstate
);
45309 if (PyErr_Occurred()) SWIG_fail
;
45311 resultobj
= SWIG_Py_Void();
45318 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45319 PyObject
*resultobj
= 0;
45320 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45321 unsigned int result
;
45324 PyObject
*swig_obj
[1] ;
45326 if (!args
) SWIG_fail
;
45327 swig_obj
[0] = args
;
45328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45329 if (!SWIG_IsOK(res1
)) {
45330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45332 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45335 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45336 wxPyEndAllowThreads(__tstate
);
45337 if (PyErr_Occurred()) SWIG_fail
;
45339 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45346 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45349 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45350 return SWIG_Py_Void();
45353 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45354 return SWIG_Python_InitShadowInstance(args
);
45357 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45358 PyObject
*resultobj
= 0;
45359 wxObject
*arg1
= (wxObject
*) 0 ;
45362 wxFontPickerEvent
*result
= 0 ;
45369 PyObject
* obj0
= 0 ;
45370 PyObject
* obj1
= 0 ;
45371 PyObject
* obj2
= 0 ;
45372 char * kwnames
[] = {
45373 (char *) "generator",(char *) "id",(char *) "f", NULL
45376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45378 if (!SWIG_IsOK(res1
)) {
45379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45381 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45383 if (!SWIG_IsOK(ecode2
)) {
45384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45386 arg2
= static_cast< int >(val2
);
45387 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45388 if (!SWIG_IsOK(res3
)) {
45389 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45392 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45394 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45397 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45398 wxPyEndAllowThreads(__tstate
);
45399 if (PyErr_Occurred()) SWIG_fail
;
45401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45408 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45409 PyObject
*resultobj
= 0;
45410 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45414 PyObject
*swig_obj
[1] ;
45416 if (!args
) SWIG_fail
;
45417 swig_obj
[0] = args
;
45418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45419 if (!SWIG_IsOK(res1
)) {
45420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45422 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45425 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45426 wxPyEndAllowThreads(__tstate
);
45427 if (PyErr_Occurred()) SWIG_fail
;
45429 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45436 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45437 PyObject
*resultobj
= 0;
45438 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45444 PyObject
* obj0
= 0 ;
45445 PyObject
* obj1
= 0 ;
45446 char * kwnames
[] = {
45447 (char *) "self",(char *) "c", NULL
45450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45452 if (!SWIG_IsOK(res1
)) {
45453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45455 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45456 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45457 if (!SWIG_IsOK(res2
)) {
45458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45461 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45463 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45466 (arg1
)->SetFont((wxFont
const &)*arg2
);
45467 wxPyEndAllowThreads(__tstate
);
45468 if (PyErr_Occurred()) SWIG_fail
;
45470 resultobj
= SWIG_Py_Void();
45477 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45479 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45480 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45481 return SWIG_Py_Void();
45484 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45485 return SWIG_Python_InitShadowInstance(args
);
45488 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45489 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45494 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45495 PyObject
*pyobj
= 0;
45499 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45501 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45508 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45509 PyObject
*resultobj
= 0;
45510 wxWindow
*arg1
= (wxWindow
*) 0 ;
45511 int arg2
= (int) -1 ;
45512 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45513 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45514 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45515 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45516 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45517 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45518 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45519 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45520 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45521 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45522 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45523 wxCollapsiblePane
*result
= 0 ;
45528 bool temp3
= false ;
45535 bool temp8
= false ;
45536 PyObject
* obj0
= 0 ;
45537 PyObject
* obj1
= 0 ;
45538 PyObject
* obj2
= 0 ;
45539 PyObject
* obj3
= 0 ;
45540 PyObject
* obj4
= 0 ;
45541 PyObject
* obj5
= 0 ;
45542 PyObject
* obj6
= 0 ;
45543 PyObject
* obj7
= 0 ;
45544 char * kwnames
[] = {
45545 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45550 if (!SWIG_IsOK(res1
)) {
45551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45553 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45556 if (!SWIG_IsOK(ecode2
)) {
45557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45559 arg2
= static_cast< int >(val2
);
45563 arg3
= wxString_in_helper(obj2
);
45564 if (arg3
== NULL
) SWIG_fail
;
45571 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45577 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45581 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45582 if (!SWIG_IsOK(ecode6
)) {
45583 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45585 arg6
= static_cast< long >(val6
);
45588 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45589 if (!SWIG_IsOK(res7
)) {
45590 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45593 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45595 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45599 arg8
= wxString_in_helper(obj7
);
45600 if (arg8
== NULL
) SWIG_fail
;
45605 if (!wxPyCheckForApp()) SWIG_fail
;
45606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45607 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45608 wxPyEndAllowThreads(__tstate
);
45609 if (PyErr_Occurred()) SWIG_fail
;
45611 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45634 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45635 PyObject
*resultobj
= 0;
45636 wxCollapsiblePane
*result
= 0 ;
45638 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45640 if (!wxPyCheckForApp()) SWIG_fail
;
45641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45642 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45643 wxPyEndAllowThreads(__tstate
);
45644 if (PyErr_Occurred()) SWIG_fail
;
45646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45653 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45654 PyObject
*resultobj
= 0;
45655 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45656 wxWindow
*arg2
= (wxWindow
*) 0 ;
45657 int arg3
= (int) -1 ;
45658 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45659 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45660 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45661 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45662 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45663 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45664 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45665 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45666 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45667 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
45668 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45676 bool temp4
= false ;
45683 bool temp9
= false ;
45684 PyObject
* obj0
= 0 ;
45685 PyObject
* obj1
= 0 ;
45686 PyObject
* obj2
= 0 ;
45687 PyObject
* obj3
= 0 ;
45688 PyObject
* obj4
= 0 ;
45689 PyObject
* obj5
= 0 ;
45690 PyObject
* obj6
= 0 ;
45691 PyObject
* obj7
= 0 ;
45692 PyObject
* obj8
= 0 ;
45693 char * kwnames
[] = {
45694 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45699 if (!SWIG_IsOK(res1
)) {
45700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45702 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45704 if (!SWIG_IsOK(res2
)) {
45705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45707 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45710 if (!SWIG_IsOK(ecode3
)) {
45711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
45713 arg3
= static_cast< int >(val3
);
45717 arg4
= wxString_in_helper(obj3
);
45718 if (arg4
== NULL
) SWIG_fail
;
45725 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45731 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45735 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45736 if (!SWIG_IsOK(ecode7
)) {
45737 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
45739 arg7
= static_cast< long >(val7
);
45742 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45743 if (!SWIG_IsOK(res8
)) {
45744 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45747 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45749 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45753 arg9
= wxString_in_helper(obj8
);
45754 if (arg9
== NULL
) SWIG_fail
;
45759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45760 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45761 wxPyEndAllowThreads(__tstate
);
45762 if (PyErr_Occurred()) SWIG_fail
;
45765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45789 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45790 PyObject
*resultobj
= 0;
45791 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45792 bool arg2
= (bool) true ;
45797 PyObject
* obj0
= 0 ;
45798 PyObject
* obj1
= 0 ;
45799 char * kwnames
[] = {
45800 (char *) "self",(char *) "collapse", NULL
45803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45805 if (!SWIG_IsOK(res1
)) {
45806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45808 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45810 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45811 if (!SWIG_IsOK(ecode2
)) {
45812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
45814 arg2
= static_cast< bool >(val2
);
45817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45818 (arg1
)->Collapse(arg2
);
45819 wxPyEndAllowThreads(__tstate
);
45820 if (PyErr_Occurred()) SWIG_fail
;
45822 resultobj
= SWIG_Py_Void();
45829 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45830 PyObject
*resultobj
= 0;
45831 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45834 PyObject
*swig_obj
[1] ;
45836 if (!args
) SWIG_fail
;
45837 swig_obj
[0] = args
;
45838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45839 if (!SWIG_IsOK(res1
)) {
45840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
45842 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45846 wxPyEndAllowThreads(__tstate
);
45847 if (PyErr_Occurred()) SWIG_fail
;
45849 resultobj
= SWIG_Py_Void();
45856 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45857 PyObject
*resultobj
= 0;
45858 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45862 PyObject
*swig_obj
[1] ;
45864 if (!args
) SWIG_fail
;
45865 swig_obj
[0] = args
;
45866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45867 if (!SWIG_IsOK(res1
)) {
45868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45870 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45873 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
45874 wxPyEndAllowThreads(__tstate
);
45875 if (PyErr_Occurred()) SWIG_fail
;
45878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45886 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45887 PyObject
*resultobj
= 0;
45888 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45892 PyObject
*swig_obj
[1] ;
45894 if (!args
) SWIG_fail
;
45895 swig_obj
[0] = args
;
45896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45897 if (!SWIG_IsOK(res1
)) {
45898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45900 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45903 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
45904 wxPyEndAllowThreads(__tstate
);
45905 if (PyErr_Occurred()) SWIG_fail
;
45908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45916 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45917 PyObject
*resultobj
= 0;
45918 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45919 wxWindow
*result
= 0 ;
45922 PyObject
*swig_obj
[1] ;
45924 if (!args
) SWIG_fail
;
45925 swig_obj
[0] = args
;
45926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
45927 if (!SWIG_IsOK(res1
)) {
45928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
45930 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
45932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45933 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
45934 wxPyEndAllowThreads(__tstate
);
45935 if (PyErr_Occurred()) SWIG_fail
;
45938 resultobj
= wxPyMake_wxObject(result
, 0);
45946 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45948 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45949 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
45950 return SWIG_Py_Void();
45953 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45954 return SWIG_Python_InitShadowInstance(args
);
45957 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45958 PyObject
*resultobj
= 0;
45959 wxObject
*arg1
= (wxObject
*) 0 ;
45962 wxCollapsiblePaneEvent
*result
= 0 ;
45969 PyObject
* obj0
= 0 ;
45970 PyObject
* obj1
= 0 ;
45971 PyObject
* obj2
= 0 ;
45972 char * kwnames
[] = {
45973 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
45976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45978 if (!SWIG_IsOK(res1
)) {
45979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45981 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45982 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45983 if (!SWIG_IsOK(ecode2
)) {
45984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
45986 arg2
= static_cast< int >(val2
);
45987 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
45988 if (!SWIG_IsOK(ecode3
)) {
45989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
45991 arg3
= static_cast< bool >(val3
);
45993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45994 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
45995 wxPyEndAllowThreads(__tstate
);
45996 if (PyErr_Occurred()) SWIG_fail
;
45998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46005 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46006 PyObject
*resultobj
= 0;
46007 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46011 PyObject
*swig_obj
[1] ;
46013 if (!args
) SWIG_fail
;
46014 swig_obj
[0] = args
;
46015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46016 if (!SWIG_IsOK(res1
)) {
46017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46019 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46022 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46023 wxPyEndAllowThreads(__tstate
);
46024 if (PyErr_Occurred()) SWIG_fail
;
46027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46035 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46036 PyObject
*resultobj
= 0;
46037 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46043 PyObject
* obj0
= 0 ;
46044 PyObject
* obj1
= 0 ;
46045 char * kwnames
[] = {
46046 (char *) "self",(char *) "c", NULL
46049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46051 if (!SWIG_IsOK(res1
)) {
46052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46054 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46055 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46056 if (!SWIG_IsOK(ecode2
)) {
46057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46059 arg2
= static_cast< bool >(val2
);
46061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46062 (arg1
)->SetCollapsed(arg2
);
46063 wxPyEndAllowThreads(__tstate
);
46064 if (PyErr_Occurred()) SWIG_fail
;
46066 resultobj
= SWIG_Py_Void();
46073 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46076 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46077 return SWIG_Py_Void();
46080 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46081 return SWIG_Python_InitShadowInstance(args
);
46084 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46085 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46090 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46091 PyObject
*pyobj
= 0;
46095 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46097 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46104 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46105 PyObject
*resultobj
= 0;
46106 wxWindow
*arg1
= (wxWindow
*) 0 ;
46107 int arg2
= (int) -1 ;
46108 wxString
const &arg3_defvalue
= wxEmptyString
;
46109 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46110 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46111 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46112 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46113 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46114 long arg6
= (long) 0 ;
46115 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46116 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46117 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46118 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46119 wxSearchCtrl
*result
= 0 ;
46124 bool temp3
= false ;
46131 bool temp8
= false ;
46132 PyObject
* obj0
= 0 ;
46133 PyObject
* obj1
= 0 ;
46134 PyObject
* obj2
= 0 ;
46135 PyObject
* obj3
= 0 ;
46136 PyObject
* obj4
= 0 ;
46137 PyObject
* obj5
= 0 ;
46138 PyObject
* obj6
= 0 ;
46139 PyObject
* obj7
= 0 ;
46140 char * kwnames
[] = {
46141 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46146 if (!SWIG_IsOK(res1
)) {
46147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46149 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46152 if (!SWIG_IsOK(ecode2
)) {
46153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46155 arg2
= static_cast< int >(val2
);
46159 arg3
= wxString_in_helper(obj2
);
46160 if (arg3
== NULL
) SWIG_fail
;
46167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46177 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46178 if (!SWIG_IsOK(ecode6
)) {
46179 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46181 arg6
= static_cast< long >(val6
);
46184 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46185 if (!SWIG_IsOK(res7
)) {
46186 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46189 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46191 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46195 arg8
= wxString_in_helper(obj7
);
46196 if (arg8
== NULL
) SWIG_fail
;
46201 if (!wxPyCheckForApp()) SWIG_fail
;
46202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46203 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46204 wxPyEndAllowThreads(__tstate
);
46205 if (PyErr_Occurred()) SWIG_fail
;
46207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46230 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46231 PyObject
*resultobj
= 0;
46232 wxSearchCtrl
*result
= 0 ;
46234 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46236 if (!wxPyCheckForApp()) SWIG_fail
;
46237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46238 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46239 wxPyEndAllowThreads(__tstate
);
46240 if (PyErr_Occurred()) SWIG_fail
;
46242 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46249 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46250 PyObject
*resultobj
= 0;
46251 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46252 wxWindow
*arg2
= (wxWindow
*) 0 ;
46253 int arg3
= (int) -1 ;
46254 wxString
const &arg4_defvalue
= wxEmptyString
;
46255 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46256 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46257 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46258 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46259 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46260 long arg7
= (long) 0 ;
46261 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46262 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46263 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46264 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46272 bool temp4
= false ;
46279 bool temp9
= false ;
46280 PyObject
* obj0
= 0 ;
46281 PyObject
* obj1
= 0 ;
46282 PyObject
* obj2
= 0 ;
46283 PyObject
* obj3
= 0 ;
46284 PyObject
* obj4
= 0 ;
46285 PyObject
* obj5
= 0 ;
46286 PyObject
* obj6
= 0 ;
46287 PyObject
* obj7
= 0 ;
46288 PyObject
* obj8
= 0 ;
46289 char * kwnames
[] = {
46290 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46295 if (!SWIG_IsOK(res1
)) {
46296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46298 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46299 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46300 if (!SWIG_IsOK(res2
)) {
46301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46303 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46306 if (!SWIG_IsOK(ecode3
)) {
46307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46309 arg3
= static_cast< int >(val3
);
46313 arg4
= wxString_in_helper(obj3
);
46314 if (arg4
== NULL
) SWIG_fail
;
46321 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46327 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46331 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46332 if (!SWIG_IsOK(ecode7
)) {
46333 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46335 arg7
= static_cast< long >(val7
);
46338 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46339 if (!SWIG_IsOK(res8
)) {
46340 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46345 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46349 arg9
= wxString_in_helper(obj8
);
46350 if (arg9
== NULL
) SWIG_fail
;
46355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46356 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46357 wxPyEndAllowThreads(__tstate
);
46358 if (PyErr_Occurred()) SWIG_fail
;
46361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46385 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46386 PyObject
*resultobj
= 0;
46387 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46388 wxMenu
*arg2
= (wxMenu
*) 0 ;
46393 PyObject
* obj0
= 0 ;
46394 PyObject
* obj1
= 0 ;
46395 char * kwnames
[] = {
46396 (char *) "self",(char *) "menu", NULL
46399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46401 if (!SWIG_IsOK(res1
)) {
46402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46404 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46405 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46406 if (!SWIG_IsOK(res2
)) {
46407 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46409 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46412 (arg1
)->SetMenu(arg2
);
46413 wxPyEndAllowThreads(__tstate
);
46414 if (PyErr_Occurred()) SWIG_fail
;
46416 resultobj
= SWIG_Py_Void();
46423 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46424 PyObject
*resultobj
= 0;
46425 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46426 wxMenu
*result
= 0 ;
46429 PyObject
*swig_obj
[1] ;
46431 if (!args
) SWIG_fail
;
46432 swig_obj
[0] = args
;
46433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46434 if (!SWIG_IsOK(res1
)) {
46435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46437 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46440 result
= (wxMenu
*)(arg1
)->GetMenu();
46441 wxPyEndAllowThreads(__tstate
);
46442 if (PyErr_Occurred()) SWIG_fail
;
46445 resultobj
= wxPyMake_wxObject(result
, 0);
46453 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46454 PyObject
*resultobj
= 0;
46455 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46461 PyObject
* obj0
= 0 ;
46462 PyObject
* obj1
= 0 ;
46463 char * kwnames
[] = {
46464 (char *) "self",(char *) "show", NULL
46467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46469 if (!SWIG_IsOK(res1
)) {
46470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46472 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46473 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46474 if (!SWIG_IsOK(ecode2
)) {
46475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46477 arg2
= static_cast< bool >(val2
);
46479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46480 (arg1
)->ShowSearchButton(arg2
);
46481 wxPyEndAllowThreads(__tstate
);
46482 if (PyErr_Occurred()) SWIG_fail
;
46484 resultobj
= SWIG_Py_Void();
46491 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46492 PyObject
*resultobj
= 0;
46493 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46497 PyObject
*swig_obj
[1] ;
46499 if (!args
) SWIG_fail
;
46500 swig_obj
[0] = args
;
46501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46502 if (!SWIG_IsOK(res1
)) {
46503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46505 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46508 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46509 wxPyEndAllowThreads(__tstate
);
46510 if (PyErr_Occurred()) SWIG_fail
;
46513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46521 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46522 PyObject
*resultobj
= 0;
46523 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46529 PyObject
* obj0
= 0 ;
46530 PyObject
* obj1
= 0 ;
46531 char * kwnames
[] = {
46532 (char *) "self",(char *) "show", NULL
46535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46537 if (!SWIG_IsOK(res1
)) {
46538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46540 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46541 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46542 if (!SWIG_IsOK(ecode2
)) {
46543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46545 arg2
= static_cast< bool >(val2
);
46547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46548 (arg1
)->ShowCancelButton(arg2
);
46549 wxPyEndAllowThreads(__tstate
);
46550 if (PyErr_Occurred()) SWIG_fail
;
46552 resultobj
= SWIG_Py_Void();
46559 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46560 PyObject
*resultobj
= 0;
46561 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46565 PyObject
*swig_obj
[1] ;
46567 if (!args
) SWIG_fail
;
46568 swig_obj
[0] = args
;
46569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46570 if (!SWIG_IsOK(res1
)) {
46571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46573 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46576 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
46577 wxPyEndAllowThreads(__tstate
);
46578 if (PyErr_Occurred()) SWIG_fail
;
46581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46589 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46590 PyObject
*resultobj
= 0;
46591 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46592 wxBitmap
*arg2
= 0 ;
46597 PyObject
* obj0
= 0 ;
46598 PyObject
* obj1
= 0 ;
46599 char * kwnames
[] = {
46600 (char *) "self",(char *)"arg2", NULL
46603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46605 if (!SWIG_IsOK(res1
)) {
46606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46608 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46609 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46610 if (!SWIG_IsOK(res2
)) {
46611 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46614 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46616 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46619 wxSearchCtrl_SetSearchBitmap(arg1
,(wxBitmap
const &)*arg2
);
46620 wxPyEndAllowThreads(__tstate
);
46621 if (PyErr_Occurred()) SWIG_fail
;
46623 resultobj
= SWIG_Py_Void();
46630 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46631 PyObject
*resultobj
= 0;
46632 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46633 wxBitmap
*arg2
= 0 ;
46638 PyObject
* obj0
= 0 ;
46639 PyObject
* obj1
= 0 ;
46640 char * kwnames
[] = {
46641 (char *) "self",(char *)"arg2", NULL
46644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46646 if (!SWIG_IsOK(res1
)) {
46647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46649 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46650 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46651 if (!SWIG_IsOK(res2
)) {
46652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46655 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46657 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46660 wxSearchCtrl_SetSearchMenuBitmap(arg1
,(wxBitmap
const &)*arg2
);
46661 wxPyEndAllowThreads(__tstate
);
46662 if (PyErr_Occurred()) SWIG_fail
;
46664 resultobj
= SWIG_Py_Void();
46671 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46672 PyObject
*resultobj
= 0;
46673 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46674 wxBitmap
*arg2
= 0 ;
46679 PyObject
* obj0
= 0 ;
46680 PyObject
* obj1
= 0 ;
46681 char * kwnames
[] = {
46682 (char *) "self",(char *)"arg2", NULL
46685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46687 if (!SWIG_IsOK(res1
)) {
46688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46690 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46691 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
46692 if (!SWIG_IsOK(res2
)) {
46693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46696 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
46698 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
46700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46701 wxSearchCtrl_SetCancelBitmap(arg1
,(wxBitmap
const &)*arg2
);
46702 wxPyEndAllowThreads(__tstate
);
46703 if (PyErr_Occurred()) SWIG_fail
;
46705 resultobj
= SWIG_Py_Void();
46712 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46715 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
46716 return SWIG_Py_Void();
46719 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46720 return SWIG_Python_InitShadowInstance(args
);
46723 static PyMethodDef SwigMethods
[] = {
46724 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46725 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
46726 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46727 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
46728 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
46729 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46730 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
46731 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
46732 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46733 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
46734 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46735 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
46736 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
46737 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
46738 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
46739 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
46740 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46741 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46742 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46743 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46744 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46745 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46746 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
46747 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
46748 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
46749 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
46750 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46751 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
46752 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46753 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
46754 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
46755 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46756 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
46757 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46758 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
46759 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
46760 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46761 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
46762 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
46763 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46764 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
46765 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46766 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
46767 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46768 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
46769 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
46770 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46771 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
46772 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46773 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
46774 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46775 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
46776 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
46777 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
46778 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46779 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
46780 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
46781 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46782 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46783 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
46784 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46785 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46786 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
46787 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46788 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
46789 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
46790 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
46791 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
46792 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
46793 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
46794 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
46795 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
46796 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
46797 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46798 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
46799 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
46800 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46801 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
46802 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46803 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46804 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
46805 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46806 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
46807 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
46808 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
46809 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46810 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
46811 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46812 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
46813 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46814 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
46815 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
46816 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46817 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
46818 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46819 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46820 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
46821 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
46822 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46823 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
46824 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46825 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
46826 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
46827 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46828 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
46829 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
46830 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46831 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
46832 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46833 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46834 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46835 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
46836 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
46837 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46838 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
46839 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46840 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
46841 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46842 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46843 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46844 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
46845 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
46846 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46847 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
46848 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46849 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46850 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46851 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46852 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46853 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46854 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46855 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46856 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46857 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46858 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
46859 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46860 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46861 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46862 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46863 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
46864 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46865 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46866 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46867 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46868 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46869 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
46870 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
46871 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46872 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
46873 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46874 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46875 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46876 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
46877 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
46878 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46879 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
46880 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
46881 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46882 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46883 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46884 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46885 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46886 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46887 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46888 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46889 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46890 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
46891 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
46892 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
46893 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
46894 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
46895 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
46896 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
46897 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46898 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
46899 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
46900 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
46901 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
46902 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
46903 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
46904 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
46905 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
46906 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
46907 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
46908 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46909 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
46910 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
46911 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46912 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
46913 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46914 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
46915 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46916 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
46917 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46918 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46919 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46920 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46921 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
46922 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
46923 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
46924 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
46925 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
46926 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
46927 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
46928 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
46929 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46930 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46931 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46932 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46933 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
46934 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
46935 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46936 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46937 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46938 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46939 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46940 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46941 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46942 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46943 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
46944 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46945 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46946 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46947 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46948 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46949 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
46950 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
46951 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
46952 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
46953 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
46954 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
46955 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
46956 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
46957 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
46958 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
46959 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46960 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
46961 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
46962 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
46963 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46964 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
46965 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46966 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46967 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
46968 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46969 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46970 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46971 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
46972 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
46973 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46974 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
46975 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
46976 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
46977 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
46978 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
46979 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46980 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
46981 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46982 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
46983 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
46984 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
46985 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
46986 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
46987 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46988 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46989 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
46990 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
46991 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46992 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
46993 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46994 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
46995 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
46996 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
46997 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46998 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
46999 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47000 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47001 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47002 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47003 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47004 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47005 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47006 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47007 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47008 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47009 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47010 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47011 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47012 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47013 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47014 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47015 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47016 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47017 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47018 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47019 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47020 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47021 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47022 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47023 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47024 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47025 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47026 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47027 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47028 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47029 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47030 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47031 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47032 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47033 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47034 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47035 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47036 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47037 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47038 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47039 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47040 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47041 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47042 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47043 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47044 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47045 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47046 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47047 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47048 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47049 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47050 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47051 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47052 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47053 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47054 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47055 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47056 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47057 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47058 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47059 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47060 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47061 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47062 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47063 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47064 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47065 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47066 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47067 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47068 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47069 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47070 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47071 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47072 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47073 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47074 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47075 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47076 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47077 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47078 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47079 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47080 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47081 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47082 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47083 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47084 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47085 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47086 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47087 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47088 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47089 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47090 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47091 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47092 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47093 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47094 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47095 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47096 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47097 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47098 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47099 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47100 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47101 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47102 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47103 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47104 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47105 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47106 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47107 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47108 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47109 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47110 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47111 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47112 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47113 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47114 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47115 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47116 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47117 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47118 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47119 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47120 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47121 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47122 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47123 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47124 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47125 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47126 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47127 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47128 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47129 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47130 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47131 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47132 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47133 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47134 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47135 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47136 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47137 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47138 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47139 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47140 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47141 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47142 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47144 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47145 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47147 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47148 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47149 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47150 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47151 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47152 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47153 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47154 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47156 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47158 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47159 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47160 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47161 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47162 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47163 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47164 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47165 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47166 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47167 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47168 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47170 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47172 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47173 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47174 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47175 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47176 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47177 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47178 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47179 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47180 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47182 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47183 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47184 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47185 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47186 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47187 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47188 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47189 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47190 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47191 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47192 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47193 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47194 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47195 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47196 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47197 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47198 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47199 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47200 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47201 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47202 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47203 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47204 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47205 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47206 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47207 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47208 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47209 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47210 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47211 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47212 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47213 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47214 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47216 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47217 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47218 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47219 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47220 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47221 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47222 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47223 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47225 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47226 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47227 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47229 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47230 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47231 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47232 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47235 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47236 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47238 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47239 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47240 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47241 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47243 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47244 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47246 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47247 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47249 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47250 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47251 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47252 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47253 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47254 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47255 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47256 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47258 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47259 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47260 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47261 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47262 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47263 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47264 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47265 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47266 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47268 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47269 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47270 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47271 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47272 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47273 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47274 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47275 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47276 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47277 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47278 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47279 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47280 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47281 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47282 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47283 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47284 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47285 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47286 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47287 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47288 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47289 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47290 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47291 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47292 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47293 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47294 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47295 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47296 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47297 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47298 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47299 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47300 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47301 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47302 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47303 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47304 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47305 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47306 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47307 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47308 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47309 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47310 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47311 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47312 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47313 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47314 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47315 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47316 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47317 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47318 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47319 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47320 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47321 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47322 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47323 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47324 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47325 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47326 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47327 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47328 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47329 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47330 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47331 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47332 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47333 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47334 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47335 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47336 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47337 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47338 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47339 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47340 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47341 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47342 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47343 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47344 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47345 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47346 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47347 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47348 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47349 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47350 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47351 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47352 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47353 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47354 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47355 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47356 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47357 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47358 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47359 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47360 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47361 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47362 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47363 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47365 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47366 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47368 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47369 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47370 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47371 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47372 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47373 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47374 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47375 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47376 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47377 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47379 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47380 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47381 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47383 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47384 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47385 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47386 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47387 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47388 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47389 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47390 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47391 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47392 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47393 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47394 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47395 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47396 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47397 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47398 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47399 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47401 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47402 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47403 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47404 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47405 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47406 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47407 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47408 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47409 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47410 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47411 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47412 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47413 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47414 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47415 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47416 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47417 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47418 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47419 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47420 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47421 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47422 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47423 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47425 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47426 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47427 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47428 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47429 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47431 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47432 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47433 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47434 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47435 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47436 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47437 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47438 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47439 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47440 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47441 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47442 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47443 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47445 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47446 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47447 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47448 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47449 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47450 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47452 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47453 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47454 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47455 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47456 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47457 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47458 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47459 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47460 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47461 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47462 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47463 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47464 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47465 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47466 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47467 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47468 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47469 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47470 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47471 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47472 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47473 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47474 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47475 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47476 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47477 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47478 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47479 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47480 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47481 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47482 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47483 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47484 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47485 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47487 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47488 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47489 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47490 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47491 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47492 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47493 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47494 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47495 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47496 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47497 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47498 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47499 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47500 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47501 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47502 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47503 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47504 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47505 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47506 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47507 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47508 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47509 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47510 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47511 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47512 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47513 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47514 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47515 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47516 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47517 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47518 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47519 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47520 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47521 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47522 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47523 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47524 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47525 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47526 { (char *)"TreeCtrl_IsEmpty", (PyCFunction
)_wrap_TreeCtrl_IsEmpty
, METH_O
, NULL
},
47527 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47528 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47529 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47530 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47531 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47532 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47533 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47534 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47535 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47536 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47537 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47538 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47539 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47540 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47541 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47542 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47543 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47544 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47545 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47546 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47547 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47548 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47549 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47550 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47551 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47552 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction
) _wrap_TreeCtrl_CollapseAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47553 { (char *)"TreeCtrl_CollapseAll", (PyCFunction
)_wrap_TreeCtrl_CollapseAll
, METH_O
, NULL
},
47554 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47555 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47556 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47557 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47558 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47559 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47560 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47561 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47562 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47563 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47564 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47565 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47566 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47567 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47568 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47569 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47570 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47571 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47572 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47573 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47574 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47575 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47576 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47577 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47578 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47579 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47580 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
47581 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
47582 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47583 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47584 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
47585 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
47586 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47587 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
47588 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47589 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
47590 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
47591 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
47592 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47593 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
47594 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
47595 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
47596 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
47597 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47598 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
47599 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47600 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47601 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
47602 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
47603 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47604 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
47605 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47606 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47607 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47608 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47609 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47610 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47611 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
47612 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
47613 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
47614 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
47615 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
47616 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
47617 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
47618 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
47619 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
47620 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47621 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
47622 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47623 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
47624 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47625 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
47626 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47627 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
47628 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47629 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
47630 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
47631 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47632 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
47633 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47634 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
47635 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
47636 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
47637 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
47639 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
47640 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
47641 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
47643 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47644 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47645 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47646 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47647 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47648 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47649 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
47650 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
47651 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
47652 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
47653 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
47654 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47655 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47656 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47657 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47658 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47659 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
47660 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47661 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47662 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47663 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
47664 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47665 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
47666 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
47667 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47668 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47669 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47670 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47671 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
47672 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
47673 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47674 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
47675 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47676 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47677 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
47678 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47679 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
47680 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
47681 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47682 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47683 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47684 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
47685 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47686 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
47687 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47688 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
47689 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47690 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
47691 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47692 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
47693 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47694 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47695 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
47696 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
47697 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
47698 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47699 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
47700 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47701 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
47702 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
47703 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47704 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47705 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
47706 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47707 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
47708 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47709 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
47710 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
47711 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47712 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
47713 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47714 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
47715 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
47716 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
47717 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
47718 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47719 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
47720 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47721 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
47722 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47723 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47724 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47725 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47726 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
47727 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47728 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47729 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47730 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47731 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
47732 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47733 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
47734 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47735 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47736 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47737 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47738 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47739 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47740 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
47741 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47742 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
47743 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47744 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47745 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
47746 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47747 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47748 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47749 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
47750 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47751 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47752 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47753 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47754 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
47755 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47756 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
47757 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47758 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47759 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
47760 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
47761 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
47762 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47763 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
47764 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47765 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
47766 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
47767 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47768 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
47769 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47770 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47771 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
47772 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
47773 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
47774 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
47775 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
47776 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
47777 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47778 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
47779 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47780 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
47781 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
47782 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47783 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
47784 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47785 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47786 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
47787 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47788 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
47789 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47790 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
47791 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47792 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47793 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47794 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
47795 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
47796 { NULL
, NULL
, 0, NULL
}
47800 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
47802 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
47803 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
47805 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
47806 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
47808 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
47809 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
47811 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
47812 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
47814 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
47815 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
47817 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
47818 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
47820 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
47821 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
47823 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
47824 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
47826 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
47827 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
47829 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
47830 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
47832 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
47833 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
47835 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
47836 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
47838 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
47839 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
47841 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
47842 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
47844 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
47845 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
47847 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
47848 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
47850 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
47851 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
47853 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
47854 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
47856 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
47857 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
47859 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
47860 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
47862 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
47863 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
47865 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
47866 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
47868 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
47869 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
47871 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
47872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
47874 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
47875 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
47877 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
47878 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
47880 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
47881 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
47883 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
47884 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
47886 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
47887 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
47889 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
47890 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
47892 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
47893 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
47895 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
47896 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
47898 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
47899 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
47901 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
47902 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
47904 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
47905 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
47907 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
47908 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
47910 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
47911 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
47913 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
47914 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
47916 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
47917 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
47919 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
47920 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
47922 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
47923 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
47925 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
47926 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
47928 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
47929 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
47931 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
47932 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
47934 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
47935 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
47937 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
47938 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
47940 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
47941 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
47943 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
47944 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
47946 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
47947 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
47949 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
47950 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
47952 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
47953 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
47955 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
47956 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
47958 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
47959 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
47961 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
47962 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
47964 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
47965 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
47967 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
47968 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
47970 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
47971 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
47973 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
47974 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
47976 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
47977 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
47979 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
47980 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
47982 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
47983 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
47985 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
47986 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
47988 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
47989 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
47991 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
47992 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
47994 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
47995 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
47997 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
47998 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48000 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48001 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48003 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48004 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48006 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48007 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48009 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48010 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48012 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48013 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48015 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48016 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48018 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48019 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48021 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48022 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48024 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48025 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48027 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48028 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48030 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48031 return (void *)((wxControl
*) ((wxComboBox
*) x
));
48033 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48034 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48036 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48037 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48039 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48040 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48042 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48043 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48045 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48046 return (void *)((wxControl
*) ((wxGauge
*) x
));
48048 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48049 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48051 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48052 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48054 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48055 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48057 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48058 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48060 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48061 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48063 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48064 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48066 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48067 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48069 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48070 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48072 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48073 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48075 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48076 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48078 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48079 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48081 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48082 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48084 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48085 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48087 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48088 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48090 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48091 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48093 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48094 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48096 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48097 return (void *)((wxControl
*) ((wxSlider
*) x
));
48099 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48100 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48102 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48103 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48105 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48106 return (void *)((wxControl
*) ((wxButton
*) x
));
48108 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48109 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48111 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48112 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48114 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48115 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48117 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48118 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48120 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48121 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48123 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48124 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48126 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48127 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48129 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48130 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48132 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48133 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48135 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48136 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48138 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48139 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48141 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48142 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48144 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48145 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48147 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48148 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48150 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48151 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48153 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48154 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48156 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48157 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48159 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48160 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48162 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48163 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48165 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48166 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48168 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48169 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48171 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48172 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48174 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48175 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48177 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48178 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48180 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48181 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48183 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48186 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48187 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48189 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48192 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48193 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48195 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48196 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48198 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48201 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48204 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48205 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48207 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48210 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48213 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48216 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48219 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48220 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48222 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48223 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48225 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48228 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48231 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48234 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48237 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48240 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48241 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48243 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48246 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48249 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48252 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48255 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48258 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48261 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48264 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48267 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48270 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48273 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48276 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48279 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48282 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48285 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48288 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48289 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48291 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48294 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48295 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48297 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48300 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48303 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48306 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48309 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48312 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48315 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48316 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48318 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48321 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48324 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48327 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48330 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48333 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48336 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48337 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48339 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48340 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48342 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48343 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48345 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48346 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48348 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48349 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48351 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48352 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48354 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48355 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48357 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48360 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48361 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48363 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48364 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48366 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48367 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48369 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48370 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48372 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48375 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48376 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48378 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48379 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48381 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48382 return (void *)((wxObject
*) ((wxSizer
*) x
));
48384 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48385 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48387 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48390 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48393 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48394 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48396 static void *_p_wxEventTo_p_wxObject(void *x
) {
48397 return (void *)((wxObject
*) ((wxEvent
*) x
));
48399 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48400 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48402 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48403 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48405 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48406 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48408 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48409 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48411 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48414 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48417 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48420 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48423 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48424 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48426 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48427 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48429 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48430 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48432 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48433 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48435 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48436 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48438 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48439 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48441 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48442 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48444 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48445 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48447 static void *_p_wxControlTo_p_wxObject(void *x
) {
48448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48450 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48453 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48456 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48459 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48462 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48465 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48466 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48468 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48469 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48471 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48472 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48474 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48475 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48477 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48480 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48481 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48483 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48484 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48486 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48489 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48492 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48493 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48495 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48498 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48501 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48502 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48504 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48505 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48507 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48510 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48513 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48514 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48516 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48519 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48522 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48523 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48525 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48526 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48528 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48529 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48531 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48532 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48534 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48535 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48537 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48538 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48540 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48541 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48543 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48544 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48546 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48547 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48549 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48550 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48552 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48553 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48555 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48556 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48558 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48561 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48564 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48565 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48567 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48568 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48570 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48571 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
48573 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
48574 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
48576 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
48577 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
48579 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
48580 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
48582 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
48583 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
48585 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
48586 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
48588 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
48589 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
48591 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
48592 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
48594 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
48595 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
48597 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
48598 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
48600 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
48601 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
48603 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
48604 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
48606 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
48607 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
48609 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
48610 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48612 static void *_p_wxListEventTo_p_wxObject(void *x
) {
48613 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48615 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
48616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48618 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
48619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48621 static void *_p_wxButtonTo_p_wxObject(void *x
) {
48622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48624 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
48625 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48627 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
48628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48630 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
48631 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48633 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
48634 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
48636 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
48637 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
48639 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
48640 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48642 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
48643 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48645 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
48646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48648 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
48649 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
48651 static void *_p_wxListItemTo_p_wxObject(void *x
) {
48652 return (void *)((wxObject
*) ((wxListItem
*) x
));
48654 static void *_p_wxImageTo_p_wxObject(void *x
) {
48655 return (void *)((wxObject
*) ((wxImage
*) x
));
48657 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
48658 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
48660 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
48661 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48663 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
48664 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
48666 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
48667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48669 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
48670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48672 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
48673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48675 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
48676 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48678 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
48679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48681 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
48682 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48684 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
48685 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48687 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
48688 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48690 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
48691 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
48693 static void *_p_wxWindowTo_p_wxObject(void *x
) {
48694 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
48696 static void *_p_wxMenuTo_p_wxObject(void *x
) {
48697 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
48699 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
48700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
48702 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
48703 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
48705 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
48706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48708 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
48709 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48711 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
48712 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
48714 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
48715 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
48717 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
48718 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
48720 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
48721 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
48723 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
48724 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
48726 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
48727 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48729 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
48730 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48732 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
48733 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48735 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
48736 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
48738 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
48739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48741 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
48742 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
48744 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
48745 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
48747 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
48748 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48750 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
48751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48753 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
48754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48756 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
48757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48759 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
48760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48762 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
48763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48765 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
48766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48768 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
48769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48771 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
48772 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
48774 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
48775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48777 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
48778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
48780 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
48781 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
48783 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
48784 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
48786 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
48787 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
48789 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
48790 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
48792 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
48793 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48795 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
48796 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
48798 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
48799 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
48801 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
48802 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
48804 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
48805 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48807 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
48808 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48810 static void *_p_wxControlTo_p_wxWindow(void *x
) {
48811 return (void *)((wxWindow
*) ((wxControl
*) x
));
48813 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
48814 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
48816 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
48817 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
48819 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
48820 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
48822 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
48823 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48825 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
48826 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
48828 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
48829 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
48831 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
48832 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
48834 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
48835 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
48837 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
48838 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
48840 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
48841 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
48843 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
48844 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48846 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
48847 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48849 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
48850 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
48852 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
48853 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
48855 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
48856 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
48858 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
48859 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
48861 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
48862 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48864 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
48865 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48867 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
48868 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48870 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
48871 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48873 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
48874 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48876 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
48877 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
48879 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
48880 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
48882 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
48883 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
48885 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
48886 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
48888 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
48889 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
48891 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
48892 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48894 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
48895 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
48897 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
48898 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
48900 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
48901 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48903 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
48904 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48906 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
48907 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
48909 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
48910 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48912 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
48913 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48915 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
48916 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48918 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
48919 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48921 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
48922 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
48924 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48925 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48927 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48928 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48930 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48931 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48933 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48934 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48936 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
48937 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48939 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
48940 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48942 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
48943 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48945 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
48946 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48948 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
48949 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48951 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
48952 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48954 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
48955 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48957 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
48958 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48960 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
48961 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
48963 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
48964 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48966 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
48967 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48969 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
48970 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48972 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
48973 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48975 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
48976 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48978 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
48979 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48981 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
48982 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48984 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
48985 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48987 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
48988 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
48990 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
48991 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48993 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
48994 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
48996 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
48997 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48999 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49000 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49002 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49003 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49005 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49006 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49008 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49009 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49011 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49012 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49014 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49015 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49017 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49018 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49020 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49021 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49023 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49024 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49026 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49027 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49029 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49030 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49032 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49033 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49034 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};
49035 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49036 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49037 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49038 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49039 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49040 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49041 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49042 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49043 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49044 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49045 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49046 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49047 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49048 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49049 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49050 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49051 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49052 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49053 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49054 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49055 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49056 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49057 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49058 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49059 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49060 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49061 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49062 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49063 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49064 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49065 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49066 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49067 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49068 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49069 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49070 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49071 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49072 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49073 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49074 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49075 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49076 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49077 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49078 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49079 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49080 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49081 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49082 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49083 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49084 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49085 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49086 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49087 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49088 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49089 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49090 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49091 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49092 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49093 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49094 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49095 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49096 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49097 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49098 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49099 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49100 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49101 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49102 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49103 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49104 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49105 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49106 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49107 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49108 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49109 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49110 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49111 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49112 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49113 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49114 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49115 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49116 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49117 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49118 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49119 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49120 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49121 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49122 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49123 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49124 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49125 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49126 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49127 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49128 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49129 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49130 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49131 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49132 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49133 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49134 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49135 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49136 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49137 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49138 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49139 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49140 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49141 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49142 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49143 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49144 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49145 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49146 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49147 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49148 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49149 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49150 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49151 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49152 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49153 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49154 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49155 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49156 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49157 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49158 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49159 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49160 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49161 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49162 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49163 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49164 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49165 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49166 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49167 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49168 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49169 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49170 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49171 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49172 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49173 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49174 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49175 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49176 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49177 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49178 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49179 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49180 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49181 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49182 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49183 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49184 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49185 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49186 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49187 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49188 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49189 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49190 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49191 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49192 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49193 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49194 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49195 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49196 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49197 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49198 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49199 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49200 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49201 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49202 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49203 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49204 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49205 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49206 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49207 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49208 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49209 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49210 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49212 static swig_type_info
*swig_type_initial
[] = {
49215 &_swigt__p_form_ops_t
,
49218 &_swigt__p_unsigned_char
,
49219 &_swigt__p_unsigned_int
,
49220 &_swigt__p_unsigned_long
,
49222 &_swigt__p_wxANIHandler
,
49223 &_swigt__p_wxAcceleratorTable
,
49224 &_swigt__p_wxActivateEvent
,
49225 &_swigt__p_wxArrayInt
,
49226 &_swigt__p_wxArrayString
,
49227 &_swigt__p_wxBMPHandler
,
49228 &_swigt__p_wxBitmap
,
49229 &_swigt__p_wxBitmapButton
,
49230 &_swigt__p_wxBookCtrlBase
,
49231 &_swigt__p_wxBookCtrlBaseEvent
,
49232 &_swigt__p_wxBoxSizer
,
49233 &_swigt__p_wxButton
,
49234 &_swigt__p_wxCURHandler
,
49235 &_swigt__p_wxCheckBox
,
49236 &_swigt__p_wxCheckListBox
,
49237 &_swigt__p_wxChildFocusEvent
,
49238 &_swigt__p_wxChoice
,
49239 &_swigt__p_wxChoicebook
,
49240 &_swigt__p_wxChoicebookEvent
,
49241 &_swigt__p_wxClipboardTextEvent
,
49242 &_swigt__p_wxCloseEvent
,
49243 &_swigt__p_wxCollapsiblePane
,
49244 &_swigt__p_wxCollapsiblePaneEvent
,
49245 &_swigt__p_wxColour
,
49246 &_swigt__p_wxColourPickerCtrl
,
49247 &_swigt__p_wxColourPickerEvent
,
49248 &_swigt__p_wxComboBox
,
49249 &_swigt__p_wxCommandEvent
,
49250 &_swigt__p_wxContextHelp
,
49251 &_swigt__p_wxContextHelpButton
,
49252 &_swigt__p_wxContextMenuEvent
,
49253 &_swigt__p_wxControl
,
49254 &_swigt__p_wxControlWithItems
,
49255 &_swigt__p_wxCursor
,
49257 &_swigt__p_wxDateEvent
,
49258 &_swigt__p_wxDatePickerCtrl
,
49259 &_swigt__p_wxDateTime
,
49260 &_swigt__p_wxDirFilterListCtrl
,
49261 &_swigt__p_wxDirPickerCtrl
,
49262 &_swigt__p_wxDisplayChangedEvent
,
49263 &_swigt__p_wxDropFilesEvent
,
49264 &_swigt__p_wxDuplexMode
,
49265 &_swigt__p_wxEraseEvent
,
49266 &_swigt__p_wxEvent
,
49267 &_swigt__p_wxEvtHandler
,
49268 &_swigt__p_wxFSFile
,
49269 &_swigt__p_wxFileDirPickerEvent
,
49270 &_swigt__p_wxFilePickerCtrl
,
49271 &_swigt__p_wxFileSystem
,
49272 &_swigt__p_wxFlexGridSizer
,
49273 &_swigt__p_wxFocusEvent
,
49275 &_swigt__p_wxFontPickerCtrl
,
49276 &_swigt__p_wxFontPickerEvent
,
49277 &_swigt__p_wxGBSizerItem
,
49278 &_swigt__p_wxGIFHandler
,
49279 &_swigt__p_wxGauge
,
49280 &_swigt__p_wxGenericDirCtrl
,
49281 &_swigt__p_wxGenericDragImage
,
49282 &_swigt__p_wxGridBagSizer
,
49283 &_swigt__p_wxGridSizer
,
49284 &_swigt__p_wxHelpEvent
,
49285 &_swigt__p_wxHelpProvider
,
49286 &_swigt__p_wxHyperlinkCtrl
,
49287 &_swigt__p_wxHyperlinkEvent
,
49288 &_swigt__p_wxICOHandler
,
49290 &_swigt__p_wxIconizeEvent
,
49291 &_swigt__p_wxIdleEvent
,
49292 &_swigt__p_wxImage
,
49293 &_swigt__p_wxImageHandler
,
49294 &_swigt__p_wxImageList
,
49295 &_swigt__p_wxIndividualLayoutConstraint
,
49296 &_swigt__p_wxInitDialogEvent
,
49297 &_swigt__p_wxItemContainer
,
49298 &_swigt__p_wxJPEGHandler
,
49299 &_swigt__p_wxKeyEvent
,
49300 &_swigt__p_wxLayoutConstraints
,
49301 &_swigt__p_wxListBox
,
49302 &_swigt__p_wxListEvent
,
49303 &_swigt__p_wxListItem
,
49304 &_swigt__p_wxListItemAttr
,
49305 &_swigt__p_wxListView
,
49306 &_swigt__p_wxListbook
,
49307 &_swigt__p_wxListbookEvent
,
49308 &_swigt__p_wxMaximizeEvent
,
49309 &_swigt__p_wxMemoryDC
,
49311 &_swigt__p_wxMenuBar
,
49312 &_swigt__p_wxMenuEvent
,
49313 &_swigt__p_wxMenuItem
,
49314 &_swigt__p_wxMouseCaptureChangedEvent
,
49315 &_swigt__p_wxMouseCaptureLostEvent
,
49316 &_swigt__p_wxMouseEvent
,
49317 &_swigt__p_wxMoveEvent
,
49318 &_swigt__p_wxNavigationKeyEvent
,
49319 &_swigt__p_wxNcPaintEvent
,
49320 &_swigt__p_wxNotebook
,
49321 &_swigt__p_wxNotebookEvent
,
49322 &_swigt__p_wxNotifyEvent
,
49323 &_swigt__p_wxObject
,
49324 &_swigt__p_wxPCXHandler
,
49325 &_swigt__p_wxPNGHandler
,
49326 &_swigt__p_wxPNMHandler
,
49327 &_swigt__p_wxPaintEvent
,
49328 &_swigt__p_wxPaletteChangedEvent
,
49329 &_swigt__p_wxPaperSize
,
49330 &_swigt__p_wxPickerBase
,
49331 &_swigt__p_wxPoint
,
49332 &_swigt__p_wxPyApp
,
49333 &_swigt__p_wxPyCommandEvent
,
49334 &_swigt__p_wxPyControl
,
49335 &_swigt__p_wxPyEvent
,
49336 &_swigt__p_wxPyImageHandler
,
49337 &_swigt__p_wxPyListCtrl
,
49338 &_swigt__p_wxPySizer
,
49339 &_swigt__p_wxPyTreeCtrl
,
49340 &_swigt__p_wxPyTreeItemData
,
49341 &_swigt__p_wxPyValidator
,
49342 &_swigt__p_wxQueryNewPaletteEvent
,
49343 &_swigt__p_wxRadioBox
,
49344 &_swigt__p_wxRadioButton
,
49346 &_swigt__p_wxScrollBar
,
49347 &_swigt__p_wxScrollEvent
,
49348 &_swigt__p_wxScrollWinEvent
,
49349 &_swigt__p_wxSearchCtrl
,
49350 &_swigt__p_wxSetCursorEvent
,
49351 &_swigt__p_wxShowEvent
,
49352 &_swigt__p_wxSimpleHelpProvider
,
49354 &_swigt__p_wxSizeEvent
,
49355 &_swigt__p_wxSizer
,
49356 &_swigt__p_wxSizerItem
,
49357 &_swigt__p_wxSlider
,
49358 &_swigt__p_wxSpinButton
,
49359 &_swigt__p_wxSpinCtrl
,
49360 &_swigt__p_wxSpinEvent
,
49361 &_swigt__p_wxStaticBitmap
,
49362 &_swigt__p_wxStaticBox
,
49363 &_swigt__p_wxStaticBoxSizer
,
49364 &_swigt__p_wxStaticLine
,
49365 &_swigt__p_wxStaticText
,
49366 &_swigt__p_wxStdDialogButtonSizer
,
49367 &_swigt__p_wxString
,
49368 &_swigt__p_wxSysColourChangedEvent
,
49369 &_swigt__p_wxTGAHandler
,
49370 &_swigt__p_wxTIFFHandler
,
49371 &_swigt__p_wxTextAttr
,
49372 &_swigt__p_wxTextCtrl
,
49373 &_swigt__p_wxTextUrlEvent
,
49374 &_swigt__p_wxToggleButton
,
49375 &_swigt__p_wxToolBar
,
49376 &_swigt__p_wxToolBarBase
,
49377 &_swigt__p_wxToolBarToolBase
,
49378 &_swigt__p_wxToolbook
,
49379 &_swigt__p_wxToolbookEvent
,
49380 &_swigt__p_wxTreeEvent
,
49381 &_swigt__p_wxTreeItemId
,
49382 &_swigt__p_wxTreebook
,
49383 &_swigt__p_wxTreebookEvent
,
49384 &_swigt__p_wxUpdateUIEvent
,
49385 &_swigt__p_wxValidator
,
49386 &_swigt__p_wxVisualAttributes
,
49387 &_swigt__p_wxWindow
,
49388 &_swigt__p_wxWindowBase
,
49389 &_swigt__p_wxWindowCreateEvent
,
49390 &_swigt__p_wxWindowDestroyEvent
,
49391 &_swigt__p_wxXPMHandler
,
49394 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49395 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49396 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49397 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49398 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49399 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49400 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49401 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49402 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49403 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49404 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49405 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49406 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}};
49407 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}};
49408 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}};
49409 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}};
49410 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49411 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49412 static swig_cast_info _swigc__p_wxChoice
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0}, {&_swigt__p_wxChoice
, 0, 0, 0},{0, 0, 0, 0}};
49413 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49414 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49415 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49416 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49417 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49418 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49419 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49420 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49421 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49422 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49423 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49424 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49425 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49426 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49427 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49428 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49429 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49430 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}};
49431 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49432 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49433 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_wxSearchCtrl
, _p_wxSearchCtrlTo_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}};
49434 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxDirFilterListCtrl
, _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxControlWithItems
, 0, 0, 0}, {&_swigt__p_wxListBox
, _p_wxListBoxTo_p_wxControlWithItems
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0},{0, 0, 0, 0}};
49435 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49436 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49437 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49438 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49439 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49440 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49441 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49442 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49443 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49444 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49445 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49446 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49447 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49448 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49449 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49450 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49451 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49452 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49453 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49454 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49455 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49456 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49457 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49458 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49459 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49460 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49461 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49462 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49463 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49464 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49465 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49466 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49467 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}};
49468 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49469 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49470 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49471 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_wxSearchCtrl
, _p_wxSearchCtrlTo_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}};
49472 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49473 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49474 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49475 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49476 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49477 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49478 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49479 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49480 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49481 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}};
49482 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49483 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49484 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49485 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49486 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}};
49487 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49488 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}};
49489 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49490 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49491 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49492 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49493 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49494 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49495 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49496 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49497 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49498 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49499 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49500 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}};
49501 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49502 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49503 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49504 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49505 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49506 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49507 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49508 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49509 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49510 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49511 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49512 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49513 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49514 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49515 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49516 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49517 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49518 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49519 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49520 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49521 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49522 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49523 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49524 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49525 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49526 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49527 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49528 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49529 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49530 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49531 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49532 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_wxSearchCtrl
, _p_wxSearchCtrlTo_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_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_wxGIFHandler
, _p_wxGIFHandlerTo_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_wxColourPickerCtrl
, _p_wxColourPickerCtrlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFilePickerCtrl
, _p_wxFilePickerCtrlTo_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}};
49533 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49534 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}};
49535 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49536 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49537 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}};
49538 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49539 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49540 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49541 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49542 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49543 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49544 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49545 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49546 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49547 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49548 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49549 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49550 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49551 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49552 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49553 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49554 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49555 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49556 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49557 static swig_cast_info _swigc__p_wxTextCtrl
[] = { {&_swigt__p_wxTextCtrl
, 0, 0, 0}, {&_swigt__p_wxSearchCtrl
, _p_wxSearchCtrlTo_p_wxTextCtrl
, 0, 0},{0, 0, 0, 0}};
49558 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49559 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49560 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49561 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}};
49562 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49563 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49564 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49565 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49566 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49567 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49568 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49569 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}};
49570 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
49571 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_wxSearchCtrl
, _p_wxSearchCtrlTo_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}};
49572 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
49574 static swig_cast_info
*swig_cast_initial
[] = {
49577 _swigc__p_form_ops_t
,
49580 _swigc__p_unsigned_char
,
49581 _swigc__p_unsigned_int
,
49582 _swigc__p_unsigned_long
,
49584 _swigc__p_wxANIHandler
,
49585 _swigc__p_wxAcceleratorTable
,
49586 _swigc__p_wxActivateEvent
,
49587 _swigc__p_wxArrayInt
,
49588 _swigc__p_wxArrayString
,
49589 _swigc__p_wxBMPHandler
,
49590 _swigc__p_wxBitmap
,
49591 _swigc__p_wxBitmapButton
,
49592 _swigc__p_wxBookCtrlBase
,
49593 _swigc__p_wxBookCtrlBaseEvent
,
49594 _swigc__p_wxBoxSizer
,
49595 _swigc__p_wxButton
,
49596 _swigc__p_wxCURHandler
,
49597 _swigc__p_wxCheckBox
,
49598 _swigc__p_wxCheckListBox
,
49599 _swigc__p_wxChildFocusEvent
,
49600 _swigc__p_wxChoice
,
49601 _swigc__p_wxChoicebook
,
49602 _swigc__p_wxChoicebookEvent
,
49603 _swigc__p_wxClipboardTextEvent
,
49604 _swigc__p_wxCloseEvent
,
49605 _swigc__p_wxCollapsiblePane
,
49606 _swigc__p_wxCollapsiblePaneEvent
,
49607 _swigc__p_wxColour
,
49608 _swigc__p_wxColourPickerCtrl
,
49609 _swigc__p_wxColourPickerEvent
,
49610 _swigc__p_wxComboBox
,
49611 _swigc__p_wxCommandEvent
,
49612 _swigc__p_wxContextHelp
,
49613 _swigc__p_wxContextHelpButton
,
49614 _swigc__p_wxContextMenuEvent
,
49615 _swigc__p_wxControl
,
49616 _swigc__p_wxControlWithItems
,
49617 _swigc__p_wxCursor
,
49619 _swigc__p_wxDateEvent
,
49620 _swigc__p_wxDatePickerCtrl
,
49621 _swigc__p_wxDateTime
,
49622 _swigc__p_wxDirFilterListCtrl
,
49623 _swigc__p_wxDirPickerCtrl
,
49624 _swigc__p_wxDisplayChangedEvent
,
49625 _swigc__p_wxDropFilesEvent
,
49626 _swigc__p_wxDuplexMode
,
49627 _swigc__p_wxEraseEvent
,
49629 _swigc__p_wxEvtHandler
,
49630 _swigc__p_wxFSFile
,
49631 _swigc__p_wxFileDirPickerEvent
,
49632 _swigc__p_wxFilePickerCtrl
,
49633 _swigc__p_wxFileSystem
,
49634 _swigc__p_wxFlexGridSizer
,
49635 _swigc__p_wxFocusEvent
,
49637 _swigc__p_wxFontPickerCtrl
,
49638 _swigc__p_wxFontPickerEvent
,
49639 _swigc__p_wxGBSizerItem
,
49640 _swigc__p_wxGIFHandler
,
49642 _swigc__p_wxGenericDirCtrl
,
49643 _swigc__p_wxGenericDragImage
,
49644 _swigc__p_wxGridBagSizer
,
49645 _swigc__p_wxGridSizer
,
49646 _swigc__p_wxHelpEvent
,
49647 _swigc__p_wxHelpProvider
,
49648 _swigc__p_wxHyperlinkCtrl
,
49649 _swigc__p_wxHyperlinkEvent
,
49650 _swigc__p_wxICOHandler
,
49652 _swigc__p_wxIconizeEvent
,
49653 _swigc__p_wxIdleEvent
,
49655 _swigc__p_wxImageHandler
,
49656 _swigc__p_wxImageList
,
49657 _swigc__p_wxIndividualLayoutConstraint
,
49658 _swigc__p_wxInitDialogEvent
,
49659 _swigc__p_wxItemContainer
,
49660 _swigc__p_wxJPEGHandler
,
49661 _swigc__p_wxKeyEvent
,
49662 _swigc__p_wxLayoutConstraints
,
49663 _swigc__p_wxListBox
,
49664 _swigc__p_wxListEvent
,
49665 _swigc__p_wxListItem
,
49666 _swigc__p_wxListItemAttr
,
49667 _swigc__p_wxListView
,
49668 _swigc__p_wxListbook
,
49669 _swigc__p_wxListbookEvent
,
49670 _swigc__p_wxMaximizeEvent
,
49671 _swigc__p_wxMemoryDC
,
49673 _swigc__p_wxMenuBar
,
49674 _swigc__p_wxMenuEvent
,
49675 _swigc__p_wxMenuItem
,
49676 _swigc__p_wxMouseCaptureChangedEvent
,
49677 _swigc__p_wxMouseCaptureLostEvent
,
49678 _swigc__p_wxMouseEvent
,
49679 _swigc__p_wxMoveEvent
,
49680 _swigc__p_wxNavigationKeyEvent
,
49681 _swigc__p_wxNcPaintEvent
,
49682 _swigc__p_wxNotebook
,
49683 _swigc__p_wxNotebookEvent
,
49684 _swigc__p_wxNotifyEvent
,
49685 _swigc__p_wxObject
,
49686 _swigc__p_wxPCXHandler
,
49687 _swigc__p_wxPNGHandler
,
49688 _swigc__p_wxPNMHandler
,
49689 _swigc__p_wxPaintEvent
,
49690 _swigc__p_wxPaletteChangedEvent
,
49691 _swigc__p_wxPaperSize
,
49692 _swigc__p_wxPickerBase
,
49695 _swigc__p_wxPyCommandEvent
,
49696 _swigc__p_wxPyControl
,
49697 _swigc__p_wxPyEvent
,
49698 _swigc__p_wxPyImageHandler
,
49699 _swigc__p_wxPyListCtrl
,
49700 _swigc__p_wxPySizer
,
49701 _swigc__p_wxPyTreeCtrl
,
49702 _swigc__p_wxPyTreeItemData
,
49703 _swigc__p_wxPyValidator
,
49704 _swigc__p_wxQueryNewPaletteEvent
,
49705 _swigc__p_wxRadioBox
,
49706 _swigc__p_wxRadioButton
,
49708 _swigc__p_wxScrollBar
,
49709 _swigc__p_wxScrollEvent
,
49710 _swigc__p_wxScrollWinEvent
,
49711 _swigc__p_wxSearchCtrl
,
49712 _swigc__p_wxSetCursorEvent
,
49713 _swigc__p_wxShowEvent
,
49714 _swigc__p_wxSimpleHelpProvider
,
49716 _swigc__p_wxSizeEvent
,
49718 _swigc__p_wxSizerItem
,
49719 _swigc__p_wxSlider
,
49720 _swigc__p_wxSpinButton
,
49721 _swigc__p_wxSpinCtrl
,
49722 _swigc__p_wxSpinEvent
,
49723 _swigc__p_wxStaticBitmap
,
49724 _swigc__p_wxStaticBox
,
49725 _swigc__p_wxStaticBoxSizer
,
49726 _swigc__p_wxStaticLine
,
49727 _swigc__p_wxStaticText
,
49728 _swigc__p_wxStdDialogButtonSizer
,
49729 _swigc__p_wxString
,
49730 _swigc__p_wxSysColourChangedEvent
,
49731 _swigc__p_wxTGAHandler
,
49732 _swigc__p_wxTIFFHandler
,
49733 _swigc__p_wxTextAttr
,
49734 _swigc__p_wxTextCtrl
,
49735 _swigc__p_wxTextUrlEvent
,
49736 _swigc__p_wxToggleButton
,
49737 _swigc__p_wxToolBar
,
49738 _swigc__p_wxToolBarBase
,
49739 _swigc__p_wxToolBarToolBase
,
49740 _swigc__p_wxToolbook
,
49741 _swigc__p_wxToolbookEvent
,
49742 _swigc__p_wxTreeEvent
,
49743 _swigc__p_wxTreeItemId
,
49744 _swigc__p_wxTreebook
,
49745 _swigc__p_wxTreebookEvent
,
49746 _swigc__p_wxUpdateUIEvent
,
49747 _swigc__p_wxValidator
,
49748 _swigc__p_wxVisualAttributes
,
49749 _swigc__p_wxWindow
,
49750 _swigc__p_wxWindowBase
,
49751 _swigc__p_wxWindowCreateEvent
,
49752 _swigc__p_wxWindowDestroyEvent
,
49753 _swigc__p_wxXPMHandler
,
49757 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
49759 static swig_const_info swig_const_table
[] = {
49760 {0, 0, 0, 0.0, 0, 0}};
49765 /* -----------------------------------------------------------------------------
49766 * Type initialization:
49767 * This problem is tough by the requirement that no dynamic
49768 * memory is used. Also, since swig_type_info structures store pointers to
49769 * swig_cast_info structures and swig_cast_info structures store pointers back
49770 * to swig_type_info structures, we need some lookup code at initialization.
49771 * The idea is that swig generates all the structures that are needed.
49772 * The runtime then collects these partially filled structures.
49773 * The SWIG_InitializeModule function takes these initial arrays out of
49774 * swig_module, and does all the lookup, filling in the swig_module.types
49775 * array with the correct data and linking the correct swig_cast_info
49776 * structures together.
49778 * The generated swig_type_info structures are assigned staticly to an initial
49779 * array. We just loop though that array, and handle each type individually.
49780 * First we lookup if this type has been already loaded, and if so, use the
49781 * loaded structure instead of the generated one. Then we have to fill in the
49782 * cast linked list. The cast data is initially stored in something like a
49783 * two-dimensional array. Each row corresponds to a type (there are the same
49784 * number of rows as there are in the swig_type_initial array). Each entry in
49785 * a column is one of the swig_cast_info structures for that type.
49786 * The cast_initial array is actually an array of arrays, because each row has
49787 * a variable number of columns. So to actually build the cast linked list,
49788 * we find the array of casts associated with the type, and loop through it
49789 * adding the casts to the list. The one last trick we need to do is making
49790 * sure the type pointer in the swig_cast_info struct is correct.
49792 * First off, we lookup the cast->type name to see if it is already loaded.
49793 * There are three cases to handle:
49794 * 1) If the cast->type has already been loaded AND the type we are adding
49795 * casting info to has not been loaded (it is in this module), THEN we
49796 * replace the cast->type pointer with the type pointer that has already
49798 * 2) If BOTH types (the one we are adding casting info to, and the
49799 * cast->type) are loaded, THEN the cast info has already been loaded by
49800 * the previous module so we just ignore it.
49801 * 3) Finally, if cast->type has not already been loaded, then we add that
49802 * swig_cast_info to the linked list (because the cast->type) pointer will
49804 * ----------------------------------------------------------------------------- */
49814 #define SWIGRUNTIME_DEBUG
49818 SWIG_InitializeModule(void *clientdata
) {
49820 swig_module_info
*module_head
;
49821 static int init_run
= 0;
49823 clientdata
= clientdata
;
49825 if (init_run
) return;
49828 /* Initialize the swig_module */
49829 swig_module
.type_initial
= swig_type_initial
;
49830 swig_module
.cast_initial
= swig_cast_initial
;
49832 /* Try and load any already created modules */
49833 module_head
= SWIG_GetModule(clientdata
);
49835 swig_module
.next
= module_head
->next
;
49836 module_head
->next
= &swig_module
;
49838 /* This is the first module loaded */
49839 swig_module
.next
= &swig_module
;
49840 SWIG_SetModule(clientdata
, &swig_module
);
49843 /* Now work on filling in swig_module.types */
49844 #ifdef SWIGRUNTIME_DEBUG
49845 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
49847 for (i
= 0; i
< swig_module
.size
; ++i
) {
49848 swig_type_info
*type
= 0;
49849 swig_type_info
*ret
;
49850 swig_cast_info
*cast
;
49852 #ifdef SWIGRUNTIME_DEBUG
49853 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49856 /* if there is another module already loaded */
49857 if (swig_module
.next
!= &swig_module
) {
49858 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
49861 /* Overwrite clientdata field */
49862 #ifdef SWIGRUNTIME_DEBUG
49863 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
49865 if (swig_module
.type_initial
[i
]->clientdata
) {
49866 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
49867 #ifdef SWIGRUNTIME_DEBUG
49868 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
49872 type
= swig_module
.type_initial
[i
];
49875 /* Insert casting types */
49876 cast
= swig_module
.cast_initial
[i
];
49877 while (cast
->type
) {
49878 /* Don't need to add information already in the list */
49880 #ifdef SWIGRUNTIME_DEBUG
49881 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
49883 if (swig_module
.next
!= &swig_module
) {
49884 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
49885 #ifdef SWIGRUNTIME_DEBUG
49886 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
49890 if (type
== swig_module
.type_initial
[i
]) {
49891 #ifdef SWIGRUNTIME_DEBUG
49892 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
49897 /* Check for casting already in the list */
49898 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
49899 #ifdef SWIGRUNTIME_DEBUG
49900 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
49902 if (!ocast
) ret
= 0;
49907 #ifdef SWIGRUNTIME_DEBUG
49908 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
49911 type
->cast
->prev
= cast
;
49912 cast
->next
= type
->cast
;
49918 /* Set entry in modules->types array equal to the type */
49919 swig_module
.types
[i
] = type
;
49921 swig_module
.types
[i
] = 0;
49923 #ifdef SWIGRUNTIME_DEBUG
49924 printf("**** SWIG_InitializeModule: Cast List ******\n");
49925 for (i
= 0; i
< swig_module
.size
; ++i
) {
49927 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
49928 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
49929 while (cast
->type
) {
49930 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
49934 printf("---- Total casts: %d\n",j
);
49936 printf("**** SWIG_InitializeModule: Cast List ******\n");
49940 /* This function will propagate the clientdata field of type to
49941 * any new swig_type_info structures that have been added into the list
49942 * of equivalent types. It is like calling
49943 * SWIG_TypeClientData(type, clientdata) a second time.
49946 SWIG_PropagateClientData(void) {
49948 swig_cast_info
*equiv
;
49949 static int init_run
= 0;
49951 if (init_run
) return;
49954 for (i
= 0; i
< swig_module
.size
; i
++) {
49955 if (swig_module
.types
[i
]->clientdata
) {
49956 equiv
= swig_module
.types
[i
]->cast
;
49958 if (!equiv
->converter
) {
49959 if (equiv
->type
&& !equiv
->type
->clientdata
)
49960 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
49962 equiv
= equiv
->next
;
49982 /* Python-specific SWIG API */
49983 #define SWIG_newvarlink() SWIG_Python_newvarlink()
49984 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
49985 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
49987 /* -----------------------------------------------------------------------------
49988 * global variable support code.
49989 * ----------------------------------------------------------------------------- */
49991 typedef struct swig_globalvar
{
49992 char *name
; /* Name of global variable */
49993 PyObject
*(*get_attr
)(void); /* Return the current value */
49994 int (*set_attr
)(PyObject
*); /* Set the value */
49995 struct swig_globalvar
*next
;
49998 typedef struct swig_varlinkobject
{
50000 swig_globalvar
*vars
;
50001 } swig_varlinkobject
;
50003 SWIGINTERN PyObject
*
50004 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50005 return PyString_FromString("<Swig global variables>");
50008 SWIGINTERN PyObject
*
50009 swig_varlink_str(swig_varlinkobject
*v
) {
50010 PyObject
*str
= PyString_FromString("(");
50011 swig_globalvar
*var
;
50012 for (var
= v
->vars
; var
; var
=var
->next
) {
50013 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50014 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50016 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50021 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50022 PyObject
*str
= swig_varlink_str(v
);
50023 fprintf(fp
,"Swig global variables ");
50024 fprintf(fp
,"%s\n", PyString_AsString(str
));
50030 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50031 swig_globalvar
*var
= v
->vars
;
50033 swig_globalvar
*n
= var
->next
;
50040 SWIGINTERN PyObject
*
50041 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50042 PyObject
*res
= NULL
;
50043 swig_globalvar
*var
= v
->vars
;
50045 if (strcmp(var
->name
,n
) == 0) {
50046 res
= (*var
->get_attr
)();
50051 if (res
== NULL
&& !PyErr_Occurred()) {
50052 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50058 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50060 swig_globalvar
*var
= v
->vars
;
50062 if (strcmp(var
->name
,n
) == 0) {
50063 res
= (*var
->set_attr
)(p
);
50068 if (res
== 1 && !PyErr_Occurred()) {
50069 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50074 SWIGINTERN PyTypeObject
*
50075 swig_varlink_type(void) {
50076 static char varlink__doc__
[] = "Swig var link object";
50077 static PyTypeObject varlink_type
;
50078 static int type_init
= 0;
50080 const PyTypeObject tmp
50082 PyObject_HEAD_INIT(NULL
)
50083 0, /* Number of items in variable part (ob_size) */
50084 (char *)"swigvarlink", /* Type name (tp_name) */
50085 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50086 0, /* Itemsize (tp_itemsize) */
50087 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50088 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50089 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50090 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50091 0, /* tp_compare */
50092 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50093 0, /* tp_as_number */
50094 0, /* tp_as_sequence */
50095 0, /* tp_as_mapping */
50098 (reprfunc
)swig_varlink_str
, /* tp_str */
50099 0, /* tp_getattro */
50100 0, /* tp_setattro */
50101 0, /* tp_as_buffer */
50103 varlink__doc__
, /* tp_doc */
50104 0, /* tp_traverse */
50106 0, /* tp_richcompare */
50107 0, /* tp_weaklistoffset */
50108 #if PY_VERSION_HEX >= 0x02020000
50109 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50111 #if PY_VERSION_HEX >= 0x02030000
50114 #ifdef COUNT_ALLOCS
50115 0,0,0,0 /* tp_alloc -> tp_next */
50118 varlink_type
= tmp
;
50119 varlink_type
.ob_type
= &PyType_Type
;
50122 return &varlink_type
;
50125 /* Create a variable linking object for use later */
50126 SWIGINTERN PyObject
*
50127 SWIG_Python_newvarlink(void) {
50128 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50132 return ((PyObject
*) result
);
50136 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50137 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50138 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50140 size_t size
= strlen(name
)+1;
50141 gv
->name
= (char *)malloc(size
);
50143 strncpy(gv
->name
,name
,size
);
50144 gv
->get_attr
= get_attr
;
50145 gv
->set_attr
= set_attr
;
50146 gv
->next
= v
->vars
;
50152 SWIGINTERN PyObject
*
50154 static PyObject
*_SWIG_globals
= 0;
50155 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50156 return _SWIG_globals
;
50159 /* -----------------------------------------------------------------------------
50160 * constants/methods manipulation
50161 * ----------------------------------------------------------------------------- */
50163 /* Install Constants */
50165 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50168 for (i
= 0; constants
[i
].type
; ++i
) {
50169 switch(constants
[i
].type
) {
50170 case SWIG_PY_POINTER
:
50171 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50173 case SWIG_PY_BINARY
:
50174 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50181 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50187 /* -----------------------------------------------------------------------------*/
50188 /* Fix SwigMethods to carry the callback ptrs when needed */
50189 /* -----------------------------------------------------------------------------*/
50192 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50193 swig_const_info
*const_table
,
50194 swig_type_info
**types
,
50195 swig_type_info
**types_initial
) {
50197 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50198 const char *c
= methods
[i
].ml_doc
;
50199 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50201 swig_const_info
*ci
= 0;
50202 const char *name
= c
+ 10;
50203 for (j
= 0; const_table
[j
].type
; ++j
) {
50204 if (strncmp(const_table
[j
].name
, name
,
50205 strlen(const_table
[j
].name
)) == 0) {
50206 ci
= &(const_table
[j
]);
50211 size_t shift
= (ci
->ptype
) - types
;
50212 swig_type_info
*ty
= types_initial
[shift
];
50213 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50214 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50215 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50218 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50220 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50222 strncpy(buff
, "swig_ptr: ", 10);
50224 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50225 methods
[i
].ml_doc
= ndoc
;
50237 /* -----------------------------------------------------------------------------*
50238 * Partial Init method
50239 * -----------------------------------------------------------------------------*/
50244 SWIGEXPORT
void SWIG_init(void) {
50247 /* Fix SwigMethods to carry the callback ptrs when needed */
50248 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50250 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50251 d
= PyModule_GetDict(m
);
50253 SWIG_InitializeModule(0);
50254 SWIG_InstallConstants(d
,swig_const_table
);
50257 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50258 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50259 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50260 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50261 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50262 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50263 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50264 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50265 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50266 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50267 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50268 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50269 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50270 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50271 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50272 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50273 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50274 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50275 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50276 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50277 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50278 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50279 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50280 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50281 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50282 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50283 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50284 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50285 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50286 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50287 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50288 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50289 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50290 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50291 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50292 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50293 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50294 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50295 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50296 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50297 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50298 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50299 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50300 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50301 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50302 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50303 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50304 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50305 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50306 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50307 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50308 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50309 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50310 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50311 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50312 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50313 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50314 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50315 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50316 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50317 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50318 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50319 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50320 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50321 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50322 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50323 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50324 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50325 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50326 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50327 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50328 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50329 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50330 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50331 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50332 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50333 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50334 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50335 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50336 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50337 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50338 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50339 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50340 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50341 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50342 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50343 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50344 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50345 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50346 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50347 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50348 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50349 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50350 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50351 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50352 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50353 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50354 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50355 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50356 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50357 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50358 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50359 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50360 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50361 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50362 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50363 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50364 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50365 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50366 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50367 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50368 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50369 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50370 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50371 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50372 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50373 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50374 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50375 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50376 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50377 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50378 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50379 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50380 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50381 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50382 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50383 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50384 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50385 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50386 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50387 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50388 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50389 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50390 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50391 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50392 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50393 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50394 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50395 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50396 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50397 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50398 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50399 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50400 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50401 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50402 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50403 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50404 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50405 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50406 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50407 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50408 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50409 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50410 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50411 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50412 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50413 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50414 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50415 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50416 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50417 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50418 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50419 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50420 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50421 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50422 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50423 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50424 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50425 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50426 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50427 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50428 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50429 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50430 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50431 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50432 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50433 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50434 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50435 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50436 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50437 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50438 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50439 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50440 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50441 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50442 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50443 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50444 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50445 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50446 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50447 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50448 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50449 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50450 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50451 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50452 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50453 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50454 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50455 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50456 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50457 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50458 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50459 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50460 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50461 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50462 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50463 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50464 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50465 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50466 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50467 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50468 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50469 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50470 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50471 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50472 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50473 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50474 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50475 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50476 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50477 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50478 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50479 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50480 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50481 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50482 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50483 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50484 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50485 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50486 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50487 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50488 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50489 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50490 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50491 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50492 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50493 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50494 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50495 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50496 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50497 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50498 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50499 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50500 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50501 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50502 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50503 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50504 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50505 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50506 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50507 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50508 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50509 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50510 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50511 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50512 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50513 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50514 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50515 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50516 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50517 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50519 // Map renamed classes back to their common name for OOR
50520 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50522 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50523 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50524 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50525 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50526 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50527 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50528 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50529 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50530 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50531 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50532 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50533 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50534 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50535 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50536 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50537 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50538 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50539 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50540 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50541 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50542 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50543 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50544 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50545 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50546 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50547 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50548 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50549 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50550 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50551 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50552 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50553 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50554 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50555 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50556 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50557 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50558 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50559 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50560 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50561 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50562 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
50563 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
50564 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
50565 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
50566 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
50567 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
50568 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
50569 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
50570 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
50571 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
50572 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
50573 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
50574 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
50575 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
50576 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
50577 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
50579 // Map renamed classes back to their common name for OOR
50580 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
50581 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
50583 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
50584 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
50585 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
50586 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
50587 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
50588 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
50589 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
50590 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
50591 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
50592 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
50593 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
50595 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
50597 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
50598 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
50599 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
50600 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
50601 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
50602 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
50603 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
50604 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
50605 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
50606 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
50607 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
50608 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
50609 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
50610 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
50611 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
50612 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
50613 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
50614 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
50615 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
50616 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
50617 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
50618 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
50619 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
50620 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
50621 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
50622 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
50623 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
50624 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
50625 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
50626 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
50627 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
50628 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
50629 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
50630 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
50631 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
50632 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
50633 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
50634 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
50635 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
50636 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
50637 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
50638 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
50639 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
50640 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
50641 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
50642 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
50643 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
50644 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
50645 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
50646 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));