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_wxEventBlocker swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[57]
2524 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[58]
2525 #define SWIGTYPE_p_wxFileSystem swig_types[59]
2526 #define SWIGTYPE_p_wxFlexGridSizer swig_types[60]
2527 #define SWIGTYPE_p_wxFocusEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFont swig_types[62]
2529 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[63]
2530 #define SWIGTYPE_p_wxFontPickerEvent swig_types[64]
2531 #define SWIGTYPE_p_wxGBSizerItem swig_types[65]
2532 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
2533 #define SWIGTYPE_p_wxGauge swig_types[67]
2534 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[68]
2535 #define SWIGTYPE_p_wxGenericDragImage swig_types[69]
2536 #define SWIGTYPE_p_wxGridBagSizer swig_types[70]
2537 #define SWIGTYPE_p_wxGridSizer swig_types[71]
2538 #define SWIGTYPE_p_wxHelpEvent swig_types[72]
2539 #define SWIGTYPE_p_wxHelpProvider swig_types[73]
2540 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[74]
2541 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[75]
2542 #define SWIGTYPE_p_wxICOHandler swig_types[76]
2543 #define SWIGTYPE_p_wxIcon swig_types[77]
2544 #define SWIGTYPE_p_wxIconizeEvent swig_types[78]
2545 #define SWIGTYPE_p_wxIdleEvent swig_types[79]
2546 #define SWIGTYPE_p_wxImage swig_types[80]
2547 #define SWIGTYPE_p_wxImageHandler swig_types[81]
2548 #define SWIGTYPE_p_wxImageList swig_types[82]
2549 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[83]
2550 #define SWIGTYPE_p_wxInitDialogEvent swig_types[84]
2551 #define SWIGTYPE_p_wxItemContainer swig_types[85]
2552 #define SWIGTYPE_p_wxJPEGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxKeyEvent swig_types[87]
2554 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2555 #define SWIGTYPE_p_wxListBox swig_types[89]
2556 #define SWIGTYPE_p_wxListEvent swig_types[90]
2557 #define SWIGTYPE_p_wxListItem swig_types[91]
2558 #define SWIGTYPE_p_wxListItemAttr swig_types[92]
2559 #define SWIGTYPE_p_wxListView swig_types[93]
2560 #define SWIGTYPE_p_wxListbook swig_types[94]
2561 #define SWIGTYPE_p_wxListbookEvent swig_types[95]
2562 #define SWIGTYPE_p_wxMaximizeEvent swig_types[96]
2563 #define SWIGTYPE_p_wxMemoryDC swig_types[97]
2564 #define SWIGTYPE_p_wxMenu swig_types[98]
2565 #define SWIGTYPE_p_wxMenuBar swig_types[99]
2566 #define SWIGTYPE_p_wxMenuEvent swig_types[100]
2567 #define SWIGTYPE_p_wxMenuItem swig_types[101]
2568 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102]
2569 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
2571 #define SWIGTYPE_p_wxMoveEvent swig_types[105]
2572 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
2573 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
2574 #define SWIGTYPE_p_wxNotebook swig_types[108]
2575 #define SWIGTYPE_p_wxNotebookEvent swig_types[109]
2576 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2577 #define SWIGTYPE_p_wxObject swig_types[111]
2578 #define SWIGTYPE_p_wxPCXHandler swig_types[112]
2579 #define SWIGTYPE_p_wxPNGHandler swig_types[113]
2580 #define SWIGTYPE_p_wxPNMHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPaintEvent swig_types[115]
2582 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[116]
2583 #define SWIGTYPE_p_wxPaperSize swig_types[117]
2584 #define SWIGTYPE_p_wxPickerBase swig_types[118]
2585 #define SWIGTYPE_p_wxPoint swig_types[119]
2586 #define SWIGTYPE_p_wxPyApp swig_types[120]
2587 #define SWIGTYPE_p_wxPyCommandEvent swig_types[121]
2588 #define SWIGTYPE_p_wxPyControl swig_types[122]
2589 #define SWIGTYPE_p_wxPyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxPyImageHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPyListCtrl swig_types[125]
2592 #define SWIGTYPE_p_wxPySizer swig_types[126]
2593 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[127]
2594 #define SWIGTYPE_p_wxPyTreeItemData swig_types[128]
2595 #define SWIGTYPE_p_wxPyValidator swig_types[129]
2596 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[130]
2597 #define SWIGTYPE_p_wxRadioBox swig_types[131]
2598 #define SWIGTYPE_p_wxRadioButton swig_types[132]
2599 #define SWIGTYPE_p_wxRect swig_types[133]
2600 #define SWIGTYPE_p_wxScrollBar swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSearchCtrl swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[140]
2607 #define SWIGTYPE_p_wxSize swig_types[141]
2608 #define SWIGTYPE_p_wxSizeEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSizer swig_types[143]
2610 #define SWIGTYPE_p_wxSizerItem swig_types[144]
2611 #define SWIGTYPE_p_wxSlider swig_types[145]
2612 #define SWIGTYPE_p_wxSpinButton swig_types[146]
2613 #define SWIGTYPE_p_wxSpinCtrl swig_types[147]
2614 #define SWIGTYPE_p_wxSpinEvent swig_types[148]
2615 #define SWIGTYPE_p_wxStaticBitmap swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBox swig_types[150]
2617 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[151]
2618 #define SWIGTYPE_p_wxStaticLine swig_types[152]
2619 #define SWIGTYPE_p_wxStaticText swig_types[153]
2620 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[154]
2621 #define SWIGTYPE_p_wxString swig_types[155]
2622 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[156]
2623 #define SWIGTYPE_p_wxTGAHandler swig_types[157]
2624 #define SWIGTYPE_p_wxTIFFHandler swig_types[158]
2625 #define SWIGTYPE_p_wxTextAttr swig_types[159]
2626 #define SWIGTYPE_p_wxTextCtrl swig_types[160]
2627 #define SWIGTYPE_p_wxTextUrlEvent swig_types[161]
2628 #define SWIGTYPE_p_wxToggleButton swig_types[162]
2629 #define SWIGTYPE_p_wxToolBar swig_types[163]
2630 #define SWIGTYPE_p_wxToolBarBase swig_types[164]
2631 #define SWIGTYPE_p_wxToolBarToolBase swig_types[165]
2632 #define SWIGTYPE_p_wxToolbook swig_types[166]
2633 #define SWIGTYPE_p_wxToolbookEvent swig_types[167]
2634 #define SWIGTYPE_p_wxTreeEvent swig_types[168]
2635 #define SWIGTYPE_p_wxTreeItemId swig_types[169]
2636 #define SWIGTYPE_p_wxTreebook swig_types[170]
2637 #define SWIGTYPE_p_wxTreebookEvent swig_types[171]
2638 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[172]
2639 #define SWIGTYPE_p_wxValidator swig_types[173]
2640 #define SWIGTYPE_p_wxVisualAttributes swig_types[174]
2641 #define SWIGTYPE_p_wxWindow swig_types[175]
2642 #define SWIGTYPE_p_wxWindowBase swig_types[176]
2643 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[177]
2644 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[178]
2645 #define SWIGTYPE_p_wxXPMHandler swig_types[179]
2646 static swig_type_info
*swig_types
[181];
2647 static swig_module_info swig_module
= {swig_types
, 180, 0, 0, 0, 0};
2648 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2649 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2651 /* -------- TYPES TABLE (END) -------- */
2653 #if (PY_VERSION_HEX <= 0x02000000)
2654 # if !defined(SWIG_PYTHON_CLASSIC)
2655 # error "This python version requires to use swig with the '-classic' option"
2658 #if (PY_VERSION_HEX <= 0x02020000)
2659 # error "This python version requires to use swig with the '-nomodern' option"
2661 #if (PY_VERSION_HEX <= 0x02020000)
2662 # error "This python version requires to use swig with the '-nomodernargs' option"
2665 # error "This python version requires to use swig with the '-nofastunpack' option"
2668 /*-----------------------------------------------
2669 @(target):= _controls_.so
2670 ------------------------------------------------*/
2671 #define SWIG_init init_controls_
2673 #define SWIG_name "_controls_"
2675 #define SWIGVERSION 0x010329
2678 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2679 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2682 #include <stdexcept>
2686 class PyObject_ptr
{
2691 PyObject_ptr() :_obj(0)
2695 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2700 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2702 if (initial_ref
) Py_XINCREF(_obj
);
2705 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2707 Py_XINCREF(item
._obj
);
2718 operator PyObject
*() const
2723 PyObject
*operator->() const
2732 struct PyObject_var
: PyObject_ptr
{
2733 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2735 PyObject_var
& operator = (PyObject
* obj
)
2745 #include "wx/wxPython/wxPython.h"
2746 #include "wx/wxPython/pyclasses.h"
2748 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2749 static const wxString
wxPyEmptyString(wxEmptyString
);
2750 static const wxString
wxPyControlNameStr(wxControlNameStr
);
2752 const wxArrayString wxPyEmptyStringArray
;
2754 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
2756 #define SWIG_From_long PyInt_FromLong
2759 SWIGINTERNINLINE PyObject
*
2760 SWIG_From_int (int value
)
2762 return SWIG_From_long (value
);
2768 # define LLONG_MIN LONG_LONG_MIN
2771 # define LLONG_MAX LONG_LONG_MAX
2774 # define ULLONG_MAX ULONG_LONG_MAX
2779 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2781 if (PyNumber_Check(obj
)) {
2782 if (val
) *val
= PyInt_AsLong(obj
);
2785 return SWIG_TypeError
;
2790 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2793 int res
= SWIG_AsVal_long (obj
, &v
);
2794 if (SWIG_IsOK(res
)) {
2795 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2796 return SWIG_OverflowError
;
2798 if (val
) *val
= static_cast< int >(v
);
2804 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
2807 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2809 if (obj
== Py_True
) {
2810 if (val
) *val
= true;
2812 } else if (obj
== Py_False
) {
2813 if (val
) *val
= false;
2817 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2818 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2823 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
2824 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
2825 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
2826 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
2827 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
2828 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
2829 static const wxString
wxPyStaticLineNameStr(wxStaticLineNameStr
);
2831 #include <wx/checklst.h>
2833 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
2834 SWIGINTERN
void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
=NULL
){
2837 wxPyClientData
* data
= new wxPyClientData(clientData
);
2838 self
->Insert(item
, pos
, data
);
2841 self
->Insert(item
, pos
);
2845 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2848 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2849 return SWIG_TypeError
;
2852 *val
= (unsigned long)v
;
2858 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
2861 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2862 if (SWIG_IsOK(res
)) {
2863 if ((v
> UINT_MAX
)) {
2864 return SWIG_OverflowError
;
2866 if (val
) *val
= static_cast< unsigned int >(v
);
2872 SWIGINTERN PyObject
*wxListBox_GetSelections(wxListBox
*self
){
2873 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2875 self
->GetSelections(lst
);
2876 PyObject
*tup
= PyTuple_New(lst
.GetCount());
2877 for (size_t i
=0; i
<lst
.GetCount(); i
++)
2879 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
2881 wxPyEndBlockThreads(blocked
);
2884 SWIGINTERN
void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2886 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2887 self
->GetItem(item
)->SetTextColour(c
);
2890 SWIGINTERN
void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
2892 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2893 self
->GetItem(item
)->SetBackgroundColour(c
);
2896 SWIGINTERN
void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
2898 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
2899 self
->GetItem(item
)->SetFont(f
);
2902 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
2903 SWIGINTERN
void wxTextCtrl_MacCheckSpelling(wxTextCtrl
*self
,bool check
){}
2904 SWIGINTERN
void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
2905 self
->AppendText(text
);
2907 SWIGINTERN wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
2908 return self
->GetValue().Mid(from
, to
- from
);
2910 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
2911 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
2912 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
2913 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
2914 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
2916 SWIGINTERNINLINE PyObject
*
2917 SWIG_From_unsigned_SS_long (unsigned long value
)
2919 return (value
> LONG_MAX
) ?
2920 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2924 SWIGINTERNINLINE PyObject
*
2925 SWIG_From_size_t (size_t value
)
2927 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2931 SWIGINTERNINLINE PyObject
*
2932 SWIG_From_unsigned_SS_int (unsigned int value
)
2934 return SWIG_From_unsigned_SS_long (value
);
2938 #include <wx/slider.h>
2941 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
2942 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
2944 #if !wxUSE_TOGGLEBTN
2945 // implement dummy items for platforms that don't have this class
2947 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
2949 class wxToggleButton
: public wxControl
2952 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
2953 const wxPoint
&, const wxSize
&, long,
2954 const wxValidator
&, const wxString
&)
2955 { wxPyRaiseNotImplemented(); }
2958 { wxPyRaiseNotImplemented(); }
2962 static const wxString
wxPyNotebookNameStr(wxNotebookNameStr
);
2964 SWIGINTERNINLINE
int
2965 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2968 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2969 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2973 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2974 SWIGINTERN PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
2975 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
2977 Py_INCREF(udata
->m_obj
);
2978 return udata
->m_obj
;
2984 SWIGINTERN
void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
2985 self
->SetClientData(new wxPyUserData(clientData
));
2987 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
){
2988 wxPyUserData
* udata
= NULL
;
2989 if (clientData
&& clientData
!= Py_None
)
2990 udata
= new wxPyUserData(clientData
);
2991 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
2992 shortHelp
, longHelp
, udata
);
2994 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
){
2995 wxPyUserData
* udata
= NULL
;
2996 if (clientData
&& clientData
!= Py_None
)
2997 udata
= new wxPyUserData(clientData
);
2998 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
2999 shortHelp
, longHelp
, udata
);
3001 SWIGINTERN PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
3002 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
3004 Py_INCREF(udata
->m_obj
);
3005 return udata
->m_obj
;
3011 SWIGINTERN
void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
3012 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
3015 #include <wx/listctrl.h>
3017 static const wxString
wxPyListCtrlNameStr(wxListCtrlNameStr
);
3018 SWIGINTERN
void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
3019 // Python aware sorting function for wxPyListCtrl
3020 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
3022 PyObject
* func
= (PyObject
*)funcPtr
;
3023 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3025 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
3026 PyObject
* result
= PyEval_CallObject(func
, args
);
3029 retval
= PyInt_AsLong(result
);
3033 wxPyEndBlockThreads(blocked
);
3037 // C++ Version of a Python aware class
3038 class wxPyListCtrl
: public wxListCtrl
{
3039 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
)
3041 wxPyListCtrl() : wxListCtrl() {}
3042 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
3046 const wxValidator
& validator
,
3047 const wxString
& name
) :
3048 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3050 bool Create(wxWindow
* parent
, wxWindowID id
,
3054 const wxValidator
& validator
,
3055 const wxString
& name
) {
3056 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3059 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
3060 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
3062 // use the virtual version to avoid a confusing assert in the base class
3063 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
3064 DEC_PYCALLBACK_INT_LONGLONG(OnGetItemColumnImage
);
3069 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
3071 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
3072 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
3073 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
3074 IMP_PYCALLBACK_INT_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemColumnImage
);
3077 SWIGINTERN wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
3079 item
.SetMask( wxLIST_MASK_STATE
|
3087 if (self
->GetColumn(col
, item
))
3088 return new wxListItem(item
);
3092 SWIGINTERN wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
=0){
3093 wxListItem
* info
= new wxListItem
;
3094 info
->m_itemId
= itemId
;
3096 info
->m_mask
= 0xFFFF;
3097 self
->GetItem(*info
);
3100 SWIGINTERN wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
3102 self
->GetItemPosition(item
, pos
);
3105 SWIGINTERN wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
=wxLIST_RECT_BOUNDS
){
3107 self
->GetItemRect(item
, rect
, code
);
3110 SWIGINTERN
bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
3111 if (!PyCallable_Check(func
))
3113 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
3115 SWIGINTERN wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
3119 return (wxWindow
*)self
->m_mainWin
;
3123 #include <wx/treectrl.h>
3124 #include "wx/wxPython/pytree.h"
3126 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
3127 SWIGINTERN
bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
3128 SWIGINTERN
bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
3129 SWIGINTERN
void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
3131 static wxTreeItemId wxNullTreeItemId
;
3133 // C++ version of Python aware wxTreeCtrl
3134 class wxPyTreeCtrl
: public wxTreeCtrl
{
3135 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
)
3137 wxPyTreeCtrl() : wxTreeCtrl() {}
3138 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
3142 const wxValidator
& validator
,
3143 const wxString
& name
) :
3144 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3146 bool Create(wxWindow
*parent
, wxWindowID id
,
3150 const wxValidator
& validator
,
3151 const wxString
& name
) {
3152 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
3156 int OnCompareItems(const wxTreeItemId
& item1
,
3157 const wxTreeItemId
& item2
) {
3160 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3161 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
3162 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
3163 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
3164 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
3168 wxPyEndBlockThreads(blocked
);
3170 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
3176 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
3179 SWIGINTERN wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3180 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3182 data
= new wxPyTreeItemData();
3183 data
->SetId(item
); // set the id
3184 self
->SetItemData(item
, data
);
3188 SWIGINTERN PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3189 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3191 data
= new wxPyTreeItemData();
3192 data
->SetId(item
); // set the id
3193 self
->SetItemData(item
, data
);
3195 return data
->GetData();
3197 SWIGINTERN
void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
3198 data
->SetId(item
); // set the id
3199 self
->SetItemData(item
, data
);
3201 SWIGINTERN
void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
3202 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
3204 data
= new wxPyTreeItemData(obj
);
3205 data
->SetId(item
); // set the id
3206 self
->SetItemData(item
, data
);
3210 SWIGINTERN PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
3211 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3212 PyObject
* rval
= PyList_New(0);
3213 wxArrayTreeItemIds array
;
3215 num
= self
->GetSelections(array
);
3216 for (x
=0; x
< num
; x
++) {
3217 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
3218 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
3219 PyList_Append(rval
, item
);
3222 wxPyEndBlockThreads(blocked
);
3225 SWIGINTERN PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
3227 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
3228 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3229 PyObject
* tup
= PyTuple_New(2);
3230 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3231 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3232 wxPyEndBlockThreads(blocked
);
3235 SWIGINTERN PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
3236 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
3237 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3238 PyObject
* tup
= PyTuple_New(2);
3239 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
3240 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
3241 wxPyEndBlockThreads(blocked
);
3244 SWIGINTERN PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
=false){
3246 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
3247 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3248 wxRect
* r
= new wxRect(rect
);
3249 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
3250 wxPyEndBlockThreads(blocked
);
3256 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
3258 SWIGINTERNINLINE PyObject
*
3259 SWIG_From_bool (bool value
)
3261 return PyBool_FromLong(value
? 1 : 0);
3264 // C++ version of Python aware wxControl
3265 class wxPyControl
: public wxControl
3267 DECLARE_DYNAMIC_CLASS(wxPyControl
)
3269 wxPyControl() : wxControl() {}
3270 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
3271 const wxPoint
& pos
= wxDefaultPosition
,
3272 const wxSize
& size
= wxDefaultSize
,
3274 const wxValidator
& validator
=wxDefaultValidator
,
3275 const wxString
& name
= wxPyControlNameStr
)
3276 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
3279 bool DoEraseBackground(wxDC
* dc
) {
3281 return wxWindow::DoEraseBackground(dc
->GetHDC());
3283 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3289 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3290 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3291 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3298 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3299 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3301 DEC_PYCALLBACK__(InitDialog
);
3302 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3303 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3304 DEC_PYCALLBACK_BOOL_(Validate
);
3306 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3308 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3310 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3313 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3314 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3316 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3318 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3323 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
3325 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
3326 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
3327 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
3335 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
3337 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
3338 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
3339 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
3340 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
3342 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
3344 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
3346 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
3349 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
3350 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
3352 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, HasTransparentBackground
);
3354 IMP_PYCALLBACK_VOID_(wxPyControl
, wxControl
, OnInternalIdle
);
3358 SWIGINTERN
void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
3360 #include <wx/generic/dragimgg.h>
3362 static const wxString
wxPyDatePickerCtrlNameStr(wxDatePickerCtrlNameStr
);
3363 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetLowerLimit(wxDatePickerCtrl
*self
){
3365 self
->GetRange(&rv
, NULL
);
3368 SWIGINTERN wxDateTime
wxDatePickerCtrl_GetUpperLimit(wxDatePickerCtrl
*self
){
3370 self
->GetRange(NULL
, &rv
);
3373 static const wxString
wxPyHyperlinkCtrlNameStr(wxHyperlinkCtrlNameStr
);
3374 static const wxString
wxPyColourPickerCtrlNameStr(wxColourPickerCtrlNameStr
);
3375 static const wxString
wxPyFilePickerCtrlNameStr(wxFilePickerCtrlNameStr
);
3376 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3377 static const wxString
wxPyDirPickerCtrlNameStr(wxDirPickerCtrlNameStr
);
3378 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3379 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3380 static const wxString
wxPyFontPickerCtrlNameStr(wxFontPickerCtrlNameStr
);
3381 static const wxString
wxPyCollapsiblePaneNameStr(wxCollapsiblePaneNameStr
);
3382 static const wxString
wxPySearchCtrlNameStr(wxSearchCtrlNameStr
);
3384 #if !defined(wxUSE_SEARCHCTRL) || !wxUSE_SEARCHCTRL
3385 // define a dummy class for builds that don't have wxSearchCtrl
3388 wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
,
3389 wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
3392 class wxSearchCtrl
: public wxTextCtrl
3395 wxSearchCtrl() { wxPyRaiseNotImplemented(); }
3396 wxSearchCtrl(wxWindow
*, wxWindowID
,
3402 const wxString
& name
)
3403 { wxPyRaiseNotImplemented(); }
3405 bool Create( wxWindow
*, wxWindowID
,
3411 const wxString
& name
) {}
3413 virtual void SetMenu( wxMenu
* ) {}
3414 virtual wxMenu
* GetMenu() { return NULL
; }
3416 // get/set search options
3417 // ----------------------
3418 virtual void ShowSearchButton( bool ) {}
3419 virtual bool IsSearchButtonVisible() const { return false; }
3421 virtual void ShowCancelButton( bool ) {}
3422 virtual bool IsCancelButtonVisible() const { return false; }
3424 virtual void SetDescriptiveText(const wxString
& text
);
3425 virtual wxString
GetDescriptiveText() const;
3432 SWIGINTERN
int ButtonNameStr_set(PyObject
*) {
3433 SWIG_Error(SWIG_AttributeError
,"Variable ButtonNameStr is read-only.");
3438 SWIGINTERN PyObject
*ButtonNameStr_get(void) {
3439 PyObject
*pyobj
= 0;
3443 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3445 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
3452 SWIGINTERN PyObject
*_wrap_new_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
= 0;
3454 wxWindow
*arg1
= (wxWindow
*) 0 ;
3455 int arg2
= (int) -1 ;
3456 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3457 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3458 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3459 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3460 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3461 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3462 long arg6
= (long) 0 ;
3463 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3464 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3465 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3466 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3467 wxButton
*result
= 0 ;
3472 bool temp3
= false ;
3479 bool temp8
= false ;
3480 PyObject
* obj0
= 0 ;
3481 PyObject
* obj1
= 0 ;
3482 PyObject
* obj2
= 0 ;
3483 PyObject
* obj3
= 0 ;
3484 PyObject
* obj4
= 0 ;
3485 PyObject
* obj5
= 0 ;
3486 PyObject
* obj6
= 0 ;
3487 PyObject
* obj7
= 0 ;
3488 char * kwnames
[] = {
3489 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3494 if (!SWIG_IsOK(res1
)) {
3495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Button" "', expected argument " "1"" of type '" "wxWindow *""'");
3497 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3500 if (!SWIG_IsOK(ecode2
)) {
3501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Button" "', expected argument " "2"" of type '" "int""'");
3503 arg2
= static_cast< int >(val2
);
3507 arg3
= wxString_in_helper(obj2
);
3508 if (arg3
== NULL
) SWIG_fail
;
3515 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3521 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3525 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3526 if (!SWIG_IsOK(ecode6
)) {
3527 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Button" "', expected argument " "6"" of type '" "long""'");
3529 arg6
= static_cast< long >(val6
);
3532 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3533 if (!SWIG_IsOK(res7
)) {
3534 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3537 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Button" "', expected argument " "7"" of type '" "wxValidator const &""'");
3539 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3543 arg8
= wxString_in_helper(obj7
);
3544 if (arg8
== NULL
) SWIG_fail
;
3549 if (!wxPyCheckForApp()) SWIG_fail
;
3550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3551 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3552 wxPyEndAllowThreads(__tstate
);
3553 if (PyErr_Occurred()) SWIG_fail
;
3555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_NEW
| 0 );
3578 SWIGINTERN PyObject
*_wrap_new_PreButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3579 PyObject
*resultobj
= 0;
3580 wxButton
*result
= 0 ;
3582 if (!SWIG_Python_UnpackTuple(args
,"new_PreButton",0,0,0)) SWIG_fail
;
3584 if (!wxPyCheckForApp()) SWIG_fail
;
3585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3586 result
= (wxButton
*)new wxButton();
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxButton
, SWIG_POINTER_OWN
| 0 );
3597 SWIGINTERN PyObject
*_wrap_Button_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
= 0;
3599 wxButton
*arg1
= (wxButton
*) 0 ;
3600 wxWindow
*arg2
= (wxWindow
*) 0 ;
3601 int arg3
= (int) -1 ;
3602 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3603 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3604 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3605 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3606 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3607 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3608 long arg7
= (long) 0 ;
3609 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3610 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3611 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3612 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3620 bool temp4
= false ;
3627 bool temp9
= false ;
3628 PyObject
* obj0
= 0 ;
3629 PyObject
* obj1
= 0 ;
3630 PyObject
* obj2
= 0 ;
3631 PyObject
* obj3
= 0 ;
3632 PyObject
* obj4
= 0 ;
3633 PyObject
* obj5
= 0 ;
3634 PyObject
* obj6
= 0 ;
3635 PyObject
* obj7
= 0 ;
3636 PyObject
* obj8
= 0 ;
3637 char * kwnames
[] = {
3638 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
3642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3643 if (!SWIG_IsOK(res1
)) {
3644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_Create" "', expected argument " "1"" of type '" "wxButton *""'");
3646 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3647 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3648 if (!SWIG_IsOK(res2
)) {
3649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Button_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3651 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3653 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3654 if (!SWIG_IsOK(ecode3
)) {
3655 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Button_Create" "', expected argument " "3"" of type '" "int""'");
3657 arg3
= static_cast< int >(val3
);
3661 arg4
= wxString_in_helper(obj3
);
3662 if (arg4
== NULL
) SWIG_fail
;
3669 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3675 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3679 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
3680 if (!SWIG_IsOK(ecode7
)) {
3681 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Button_Create" "', expected argument " "7"" of type '" "long""'");
3683 arg7
= static_cast< long >(val7
);
3686 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
3687 if (!SWIG_IsOK(res8
)) {
3688 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3691 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Button_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
3693 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
3697 arg9
= wxString_in_helper(obj8
);
3698 if (arg9
== NULL
) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3705 wxPyEndAllowThreads(__tstate
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3733 SWIGINTERN PyObject
*_wrap_Button_SetDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3734 PyObject
*resultobj
= 0;
3735 wxButton
*arg1
= (wxButton
*) 0 ;
3736 wxWindow
*result
= 0 ;
3739 PyObject
*swig_obj
[1] ;
3741 if (!args
) SWIG_fail
;
3743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxButton
, 0 | 0 );
3744 if (!SWIG_IsOK(res1
)) {
3745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Button_SetDefault" "', expected argument " "1"" of type '" "wxButton *""'");
3747 arg1
= reinterpret_cast< wxButton
* >(argp1
);
3749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3750 result
= (wxWindow
*)(arg1
)->SetDefault();
3751 wxPyEndAllowThreads(__tstate
);
3752 if (PyErr_Occurred()) SWIG_fail
;
3755 resultobj
= wxPyMake_wxObject(result
, 0);
3763 SWIGINTERN PyObject
*_wrap_Button_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3764 PyObject
*resultobj
= 0;
3767 if (!SWIG_Python_UnpackTuple(args
,"Button_GetDefaultSize",0,0,0)) SWIG_fail
;
3769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3770 result
= wxButton::GetDefaultSize();
3771 wxPyEndAllowThreads(__tstate
);
3772 if (PyErr_Occurred()) SWIG_fail
;
3774 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
3781 SWIGINTERN PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3782 PyObject
*resultobj
= 0;
3783 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3784 SwigValueWrapper
<wxVisualAttributes
> result
;
3787 PyObject
* obj0
= 0 ;
3788 char * kwnames
[] = {
3789 (char *) "variant", NULL
3792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3794 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3795 if (!SWIG_IsOK(ecode1
)) {
3796 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Button_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3798 arg1
= static_cast< wxWindowVariant
>(val1
);
3801 if (!wxPyCheckForApp()) SWIG_fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= wxButton::GetClassDefaultAttributes(arg1
);
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3807 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3814 SWIGINTERN PyObject
*Button_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3817 SWIG_TypeNewClientData(SWIGTYPE_p_wxButton
, SWIG_NewClientData(obj
));
3818 return SWIG_Py_Void();
3821 SWIGINTERN PyObject
*Button_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3822 return SWIG_Python_InitShadowInstance(args
);
3825 SWIGINTERN PyObject
*_wrap_new_BitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3826 PyObject
*resultobj
= 0;
3827 wxWindow
*arg1
= (wxWindow
*) 0 ;
3828 int arg2
= (int) -1 ;
3829 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
3830 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
3831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3835 long arg6
= (long) wxBU_AUTODRAW
;
3836 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3837 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3838 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
3839 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3840 wxBitmapButton
*result
= 0 ;
3853 bool temp8
= false ;
3854 PyObject
* obj0
= 0 ;
3855 PyObject
* obj1
= 0 ;
3856 PyObject
* obj2
= 0 ;
3857 PyObject
* obj3
= 0 ;
3858 PyObject
* obj4
= 0 ;
3859 PyObject
* obj5
= 0 ;
3860 PyObject
* obj6
= 0 ;
3861 PyObject
* obj7
= 0 ;
3862 char * kwnames
[] = {
3863 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
3867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3868 if (!SWIG_IsOK(res1
)) {
3869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_BitmapButton" "', expected argument " "1"" of type '" "wxWindow *""'");
3871 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3874 if (!SWIG_IsOK(ecode2
)) {
3875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BitmapButton" "', expected argument " "2"" of type '" "int""'");
3877 arg2
= static_cast< int >(val2
);
3880 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
3881 if (!SWIG_IsOK(res3
)) {
3882 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "3"" of type '" "wxBitmap const &""'");
3887 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
3892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3902 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3903 if (!SWIG_IsOK(ecode6
)) {
3904 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_BitmapButton" "', expected argument " "6"" of type '" "long""'");
3906 arg6
= static_cast< long >(val6
);
3909 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
3910 if (!SWIG_IsOK(res7
)) {
3911 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_BitmapButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
3916 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
3920 arg8
= wxString_in_helper(obj7
);
3921 if (arg8
== NULL
) SWIG_fail
;
3926 if (!wxPyCheckForApp()) SWIG_fail
;
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_NEW
| 0 );
3947 SWIGINTERN PyObject
*_wrap_new_PreBitmapButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3948 PyObject
*resultobj
= 0;
3949 wxBitmapButton
*result
= 0 ;
3951 if (!SWIG_Python_UnpackTuple(args
,"new_PreBitmapButton",0,0,0)) SWIG_fail
;
3953 if (!wxPyCheckForApp()) SWIG_fail
;
3954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3955 result
= (wxBitmapButton
*)new wxBitmapButton();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBitmapButton
, SWIG_POINTER_OWN
| 0 );
3966 SWIGINTERN PyObject
*_wrap_BitmapButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
= 0;
3968 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
3969 wxWindow
*arg2
= (wxWindow
*) 0 ;
3970 int arg3
= (int) -1 ;
3971 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
3972 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
3973 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3974 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3975 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3976 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3977 long arg7
= (long) wxBU_AUTODRAW
;
3978 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3979 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3980 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
3981 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3997 bool temp9
= false ;
3998 PyObject
* obj0
= 0 ;
3999 PyObject
* obj1
= 0 ;
4000 PyObject
* obj2
= 0 ;
4001 PyObject
* obj3
= 0 ;
4002 PyObject
* obj4
= 0 ;
4003 PyObject
* obj5
= 0 ;
4004 PyObject
* obj6
= 0 ;
4005 PyObject
* obj7
= 0 ;
4006 PyObject
* obj8
= 0 ;
4007 char * kwnames
[] = {
4008 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4013 if (!SWIG_IsOK(res1
)) {
4014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_Create" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4016 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4017 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4018 if (!SWIG_IsOK(res2
)) {
4019 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4021 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4023 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4024 if (!SWIG_IsOK(ecode3
)) {
4025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_Create" "', expected argument " "3"" of type '" "int""'");
4027 arg3
= static_cast< int >(val3
);
4030 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4031 if (!SWIG_IsOK(res4
)) {
4032 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4035 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
4037 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
4042 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4048 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4052 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4053 if (!SWIG_IsOK(ecode7
)) {
4054 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "BitmapButton_Create" "', expected argument " "7"" of type '" "long""'");
4056 arg7
= static_cast< long >(val7
);
4059 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4060 if (!SWIG_IsOK(res8
)) {
4061 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4064 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4066 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4070 arg9
= wxString_in_helper(obj8
);
4071 if (arg9
== NULL
) SWIG_fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4098 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4099 PyObject
*resultobj
= 0;
4100 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4104 PyObject
*swig_obj
[1] ;
4106 if (!args
) SWIG_fail
;
4108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4109 if (!SWIG_IsOK(res1
)) {
4110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4112 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 result
= (arg1
)->GetBitmapLabel();
4116 wxPyEndAllowThreads(__tstate
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4119 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4126 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4127 PyObject
*resultobj
= 0;
4128 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4132 PyObject
*swig_obj
[1] ;
4134 if (!args
) SWIG_fail
;
4136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4137 if (!SWIG_IsOK(res1
)) {
4138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4140 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4143 result
= (arg1
)->GetBitmapDisabled();
4144 wxPyEndAllowThreads(__tstate
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4147 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4154 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4155 PyObject
*resultobj
= 0;
4156 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4160 PyObject
*swig_obj
[1] ;
4162 if (!args
) SWIG_fail
;
4164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4165 if (!SWIG_IsOK(res1
)) {
4166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4168 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (arg1
)->GetBitmapFocus();
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4182 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4183 PyObject
*resultobj
= 0;
4184 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4188 PyObject
*swig_obj
[1] ;
4190 if (!args
) SWIG_fail
;
4192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4193 if (!SWIG_IsOK(res1
)) {
4194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4196 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 result
= (arg1
)->GetBitmapSelected();
4200 wxPyEndAllowThreads(__tstate
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4210 SWIGINTERN PyObject
*_wrap_BitmapButton_GetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4211 PyObject
*resultobj
= 0;
4212 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4216 PyObject
*swig_obj
[1] ;
4218 if (!args
) SWIG_fail
;
4220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4221 if (!SWIG_IsOK(res1
)) {
4222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4224 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (arg1
)->GetBitmapHover();
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
4238 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
= 0;
4240 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4241 wxBitmap
*arg2
= 0 ;
4246 PyObject
* obj0
= 0 ;
4247 PyObject
* obj1
= 0 ;
4248 char * kwnames
[] = {
4249 (char *) "self",(char *) "bitmap", NULL
4252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4254 if (!SWIG_IsOK(res1
)) {
4255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4257 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4258 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4259 if (!SWIG_IsOK(res2
)) {
4260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4263 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapDisabled" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4265 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4268 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
4269 wxPyEndAllowThreads(__tstate
);
4270 if (PyErr_Occurred()) SWIG_fail
;
4272 resultobj
= SWIG_Py_Void();
4279 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4280 PyObject
*resultobj
= 0;
4281 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4282 wxBitmap
*arg2
= 0 ;
4287 PyObject
* obj0
= 0 ;
4288 PyObject
* obj1
= 0 ;
4289 char * kwnames
[] = {
4290 (char *) "self",(char *) "bitmap", NULL
4293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4295 if (!SWIG_IsOK(res1
)) {
4296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4298 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4299 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4300 if (!SWIG_IsOK(res2
)) {
4301 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4304 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapFocus" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4306 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4309 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 resultobj
= SWIG_Py_Void();
4320 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
= 0;
4322 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4323 wxBitmap
*arg2
= 0 ;
4328 PyObject
* obj0
= 0 ;
4329 PyObject
* obj1
= 0 ;
4330 char * kwnames
[] = {
4331 (char *) "self",(char *) "bitmap", NULL
4334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4336 if (!SWIG_IsOK(res1
)) {
4337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4339 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4340 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4341 if (!SWIG_IsOK(res2
)) {
4342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4345 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapSelected" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4347 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
4351 wxPyEndAllowThreads(__tstate
);
4352 if (PyErr_Occurred()) SWIG_fail
;
4354 resultobj
= SWIG_Py_Void();
4361 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4362 PyObject
*resultobj
= 0;
4363 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4364 wxBitmap
*arg2
= 0 ;
4369 PyObject
* obj0
= 0 ;
4370 PyObject
* obj1
= 0 ;
4371 char * kwnames
[] = {
4372 (char *) "self",(char *) "bitmap", NULL
4375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4377 if (!SWIG_IsOK(res1
)) {
4378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4380 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4381 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4382 if (!SWIG_IsOK(res2
)) {
4383 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4386 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapLabel" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4388 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= SWIG_Py_Void();
4402 SWIGINTERN PyObject
*_wrap_BitmapButton_SetBitmapHover(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
= 0;
4404 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4405 wxBitmap
*arg2
= 0 ;
4410 PyObject
* obj0
= 0 ;
4411 PyObject
* obj1
= 0 ;
4412 char * kwnames
[] = {
4413 (char *) "self",(char *) "hover", NULL
4416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapHover",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4418 if (!SWIG_IsOK(res1
)) {
4419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4421 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4422 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
4423 if (!SWIG_IsOK(res2
)) {
4424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4427 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "BitmapButton_SetBitmapHover" "', expected argument " "2"" of type '" "wxBitmap const &""'");
4429 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
4431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 (arg1
)->SetBitmapHover((wxBitmap
const &)*arg2
);
4433 wxPyEndAllowThreads(__tstate
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= SWIG_Py_Void();
4443 SWIGINTERN PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
= 0;
4445 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4454 PyObject
* obj0
= 0 ;
4455 PyObject
* obj1
= 0 ;
4456 PyObject
* obj2
= 0 ;
4457 char * kwnames
[] = {
4458 (char *) "self",(char *) "x",(char *) "y", NULL
4461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4463 if (!SWIG_IsOK(res1
)) {
4464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_SetMargins" "', expected argument " "1"" of type '" "wxBitmapButton *""'");
4466 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4467 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4468 if (!SWIG_IsOK(ecode2
)) {
4469 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BitmapButton_SetMargins" "', expected argument " "2"" of type '" "int""'");
4471 arg2
= static_cast< int >(val2
);
4472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4473 if (!SWIG_IsOK(ecode3
)) {
4474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BitmapButton_SetMargins" "', expected argument " "3"" of type '" "int""'");
4476 arg3
= static_cast< int >(val3
);
4478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4479 (arg1
)->SetMargins(arg2
,arg3
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= SWIG_Py_Void();
4490 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4491 PyObject
*resultobj
= 0;
4492 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4496 PyObject
*swig_obj
[1] ;
4498 if (!args
) SWIG_fail
;
4500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4501 if (!SWIG_IsOK(res1
)) {
4502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginX" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4504 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4507 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
4508 wxPyEndAllowThreads(__tstate
);
4509 if (PyErr_Occurred()) SWIG_fail
;
4511 resultobj
= SWIG_From_int(static_cast< int >(result
));
4518 SWIGINTERN PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4519 PyObject
*resultobj
= 0;
4520 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
4524 PyObject
*swig_obj
[1] ;
4526 if (!args
) SWIG_fail
;
4528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBitmapButton
, 0 | 0 );
4529 if (!SWIG_IsOK(res1
)) {
4530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BitmapButton_GetMarginY" "', expected argument " "1"" of type '" "wxBitmapButton const *""'");
4532 arg1
= reinterpret_cast< wxBitmapButton
* >(argp1
);
4534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4535 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
4536 wxPyEndAllowThreads(__tstate
);
4537 if (PyErr_Occurred()) SWIG_fail
;
4539 resultobj
= SWIG_From_int(static_cast< int >(result
));
4546 SWIGINTERN PyObject
*BitmapButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4549 SWIG_TypeNewClientData(SWIGTYPE_p_wxBitmapButton
, SWIG_NewClientData(obj
));
4550 return SWIG_Py_Void();
4553 SWIGINTERN PyObject
*BitmapButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4554 return SWIG_Python_InitShadowInstance(args
);
4557 SWIGINTERN
int CheckBoxNameStr_set(PyObject
*) {
4558 SWIG_Error(SWIG_AttributeError
,"Variable CheckBoxNameStr is read-only.");
4563 SWIGINTERN PyObject
*CheckBoxNameStr_get(void) {
4564 PyObject
*pyobj
= 0;
4568 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4570 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
4577 SWIGINTERN PyObject
*_wrap_new_CheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
= 0;
4579 wxWindow
*arg1
= (wxWindow
*) 0 ;
4580 int arg2
= (int) -1 ;
4581 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4582 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4583 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4584 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4585 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4586 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4587 long arg6
= (long) 0 ;
4588 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4589 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4590 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
4591 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4592 wxCheckBox
*result
= 0 ;
4597 bool temp3
= false ;
4604 bool temp8
= false ;
4605 PyObject
* obj0
= 0 ;
4606 PyObject
* obj1
= 0 ;
4607 PyObject
* obj2
= 0 ;
4608 PyObject
* obj3
= 0 ;
4609 PyObject
* obj4
= 0 ;
4610 PyObject
* obj5
= 0 ;
4611 PyObject
* obj6
= 0 ;
4612 PyObject
* obj7
= 0 ;
4613 char * kwnames
[] = {
4614 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4619 if (!SWIG_IsOK(res1
)) {
4620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckBox" "', expected argument " "1"" of type '" "wxWindow *""'");
4622 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4624 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4625 if (!SWIG_IsOK(ecode2
)) {
4626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckBox" "', expected argument " "2"" of type '" "int""'");
4628 arg2
= static_cast< int >(val2
);
4632 arg3
= wxString_in_helper(obj2
);
4633 if (arg3
== NULL
) SWIG_fail
;
4640 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4646 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4650 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4651 if (!SWIG_IsOK(ecode6
)) {
4652 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckBox" "', expected argument " "6"" of type '" "long""'");
4654 arg6
= static_cast< long >(val6
);
4657 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
4658 if (!SWIG_IsOK(res7
)) {
4659 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4662 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
4664 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
4668 arg8
= wxString_in_helper(obj7
);
4669 if (arg8
== NULL
) SWIG_fail
;
4674 if (!wxPyCheckForApp()) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4677 wxPyEndAllowThreads(__tstate
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_NEW
| 0 );
4703 SWIGINTERN PyObject
*_wrap_new_PreCheckBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4704 PyObject
*resultobj
= 0;
4705 wxCheckBox
*result
= 0 ;
4707 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckBox",0,0,0)) SWIG_fail
;
4709 if (!wxPyCheckForApp()) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 result
= (wxCheckBox
*)new wxCheckBox();
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckBox
, SWIG_POINTER_OWN
| 0 );
4722 SWIGINTERN PyObject
*_wrap_CheckBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
= 0;
4724 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4725 wxWindow
*arg2
= (wxWindow
*) 0 ;
4726 int arg3
= (int) -1 ;
4727 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4728 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4729 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4730 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4731 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4732 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4733 long arg7
= (long) 0 ;
4734 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4735 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4736 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
4737 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4745 bool temp4
= false ;
4752 bool temp9
= false ;
4753 PyObject
* obj0
= 0 ;
4754 PyObject
* obj1
= 0 ;
4755 PyObject
* obj2
= 0 ;
4756 PyObject
* obj3
= 0 ;
4757 PyObject
* obj4
= 0 ;
4758 PyObject
* obj5
= 0 ;
4759 PyObject
* obj6
= 0 ;
4760 PyObject
* obj7
= 0 ;
4761 PyObject
* obj8
= 0 ;
4762 char * kwnames
[] = {
4763 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
4767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4768 if (!SWIG_IsOK(res1
)) {
4769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Create" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4771 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4773 if (!SWIG_IsOK(res2
)) {
4774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4776 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4778 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4779 if (!SWIG_IsOK(ecode3
)) {
4780 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckBox_Create" "', expected argument " "3"" of type '" "int""'");
4782 arg3
= static_cast< int >(val3
);
4786 arg4
= wxString_in_helper(obj3
);
4787 if (arg4
== NULL
) SWIG_fail
;
4794 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4800 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4804 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
4805 if (!SWIG_IsOK(ecode7
)) {
4806 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckBox_Create" "', expected argument " "7"" of type '" "long""'");
4808 arg7
= static_cast< long >(val7
);
4811 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
4812 if (!SWIG_IsOK(res8
)) {
4813 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4816 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
4818 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
4822 arg9
= wxString_in_helper(obj8
);
4823 if (arg9
== NULL
) SWIG_fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4858 SWIGINTERN PyObject
*_wrap_CheckBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4859 PyObject
*resultobj
= 0;
4860 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4864 PyObject
*swig_obj
[1] ;
4866 if (!args
) SWIG_fail
;
4868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4869 if (!SWIG_IsOK(res1
)) {
4870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_GetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4872 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (bool)(arg1
)->GetValue();
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4888 SWIGINTERN PyObject
*_wrap_CheckBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4889 PyObject
*resultobj
= 0;
4890 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4894 PyObject
*swig_obj
[1] ;
4896 if (!args
) SWIG_fail
;
4898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4899 if (!SWIG_IsOK(res1
)) {
4900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4902 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 result
= (bool)(arg1
)->IsChecked();
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4918 SWIGINTERN PyObject
*_wrap_CheckBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
= 0;
4920 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4926 PyObject
* obj0
= 0 ;
4927 PyObject
* obj1
= 0 ;
4928 char * kwnames
[] = {
4929 (char *) "self",(char *) "state", NULL
4932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4934 if (!SWIG_IsOK(res1
)) {
4935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_SetValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
4937 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4938 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4939 if (!SWIG_IsOK(ecode2
)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_SetValue" "', expected argument " "2"" of type '" "bool""'");
4942 arg2
= static_cast< bool >(val2
);
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 (arg1
)->SetValue(arg2
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_Py_Void();
4956 SWIGINTERN PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4957 PyObject
*resultobj
= 0;
4958 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4959 wxCheckBoxState result
;
4962 PyObject
*swig_obj
[1] ;
4964 if (!args
) SWIG_fail
;
4966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
4967 if (!SWIG_IsOK(res1
)) {
4968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Get3StateValue" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
4970 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 result
= (wxCheckBoxState
)((wxCheckBox
const *)arg1
)->Get3StateValue();
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 resultobj
= SWIG_From_int(static_cast< int >(result
));
4984 SWIGINTERN PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
= 0;
4986 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
4987 wxCheckBoxState arg2
;
4992 PyObject
* obj0
= 0 ;
4993 PyObject
* obj1
= 0 ;
4994 char * kwnames
[] = {
4995 (char *) "self",(char *) "state", NULL
4998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5000 if (!SWIG_IsOK(res1
)) {
5001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "1"" of type '" "wxCheckBox *""'");
5003 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5005 if (!SWIG_IsOK(ecode2
)) {
5006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckBox_Set3StateValue" "', expected argument " "2"" of type '" "wxCheckBoxState""'");
5008 arg2
= static_cast< wxCheckBoxState
>(val2
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 (arg1
)->Set3StateValue(arg2
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_Py_Void();
5022 SWIGINTERN PyObject
*_wrap_CheckBox_Is3State(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5023 PyObject
*resultobj
= 0;
5024 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5028 PyObject
*swig_obj
[1] ;
5030 if (!args
) SWIG_fail
;
5032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5033 if (!SWIG_IsOK(res1
)) {
5034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3State" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5036 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5052 SWIGINTERN PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5053 PyObject
*resultobj
= 0;
5054 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
5058 PyObject
*swig_obj
[1] ;
5060 if (!args
) SWIG_fail
;
5062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckBox
, 0 | 0 );
5063 if (!SWIG_IsOK(res1
)) {
5064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckBox_Is3rdStateAllowedForUser" "', expected argument " "1"" of type '" "wxCheckBox const *""'");
5066 arg1
= reinterpret_cast< wxCheckBox
* >(argp1
);
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
5070 wxPyEndAllowThreads(__tstate
);
5071 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5082 SWIGINTERN PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5083 PyObject
*resultobj
= 0;
5084 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5085 SwigValueWrapper
<wxVisualAttributes
> result
;
5088 PyObject
* obj0
= 0 ;
5089 char * kwnames
[] = {
5090 (char *) "variant", NULL
5093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5095 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5096 if (!SWIG_IsOK(ecode1
)) {
5097 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "CheckBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5099 arg1
= static_cast< wxWindowVariant
>(val1
);
5102 if (!wxPyCheckForApp()) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= wxCheckBox::GetClassDefaultAttributes(arg1
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5115 SWIGINTERN PyObject
*CheckBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5118 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckBox
, SWIG_NewClientData(obj
));
5119 return SWIG_Py_Void();
5122 SWIGINTERN PyObject
*CheckBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5123 return SWIG_Python_InitShadowInstance(args
);
5126 SWIGINTERN
int ChoiceNameStr_set(PyObject
*) {
5127 SWIG_Error(SWIG_AttributeError
,"Variable ChoiceNameStr is read-only.");
5132 SWIGINTERN PyObject
*ChoiceNameStr_get(void) {
5133 PyObject
*pyobj
= 0;
5137 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5139 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
5146 SWIGINTERN PyObject
*_wrap_new_Choice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
= 0;
5148 wxWindow
*arg1
= (wxWindow
*) 0 ;
5149 int arg2
= (int) -1 ;
5150 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5151 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5152 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5153 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5154 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5155 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5156 long arg6
= (long) 0 ;
5157 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5158 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5159 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
5160 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5161 wxChoice
*result
= 0 ;
5168 bool temp5
= false ;
5173 bool temp8
= false ;
5174 PyObject
* obj0
= 0 ;
5175 PyObject
* obj1
= 0 ;
5176 PyObject
* obj2
= 0 ;
5177 PyObject
* obj3
= 0 ;
5178 PyObject
* obj4
= 0 ;
5179 PyObject
* obj5
= 0 ;
5180 PyObject
* obj6
= 0 ;
5181 PyObject
* obj7
= 0 ;
5182 char * kwnames
[] = {
5183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
5187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5188 if (!SWIG_IsOK(res1
)) {
5189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choice" "', expected argument " "1"" of type '" "wxWindow *""'");
5191 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5194 if (!SWIG_IsOK(ecode2
)) {
5195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choice" "', expected argument " "2"" of type '" "int""'");
5197 arg2
= static_cast< int >(val2
);
5202 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5208 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5213 if (! PySequence_Check(obj4
)) {
5214 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5217 arg5
= new wxArrayString
;
5219 int i
, len
=PySequence_Length(obj4
);
5220 for (i
=0; i
<len
; i
++) {
5221 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5222 wxString
* s
= wxString_in_helper(item
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5231 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5232 if (!SWIG_IsOK(ecode6
)) {
5233 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Choice" "', expected argument " "6"" of type '" "long""'");
5235 arg6
= static_cast< long >(val6
);
5238 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
5239 if (!SWIG_IsOK(res7
)) {
5240 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5243 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Choice" "', expected argument " "7"" of type '" "wxValidator const &""'");
5245 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
5249 arg8
= wxString_in_helper(obj7
);
5250 if (arg8
== NULL
) SWIG_fail
;
5255 if (!wxPyCheckForApp()) SWIG_fail
;
5256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5257 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_NEW
| 0 );
5263 if (temp5
) delete arg5
;
5272 if (temp5
) delete arg5
;
5282 SWIGINTERN PyObject
*_wrap_new_PreChoice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5283 PyObject
*resultobj
= 0;
5284 wxChoice
*result
= 0 ;
5286 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoice",0,0,0)) SWIG_fail
;
5288 if (!wxPyCheckForApp()) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (wxChoice
*)new wxChoice();
5291 wxPyEndAllowThreads(__tstate
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, SWIG_POINTER_OWN
| 0 );
5301 SWIGINTERN PyObject
*_wrap_Choice_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5302 PyObject
*resultobj
= 0;
5303 wxChoice
*arg1
= (wxChoice
*) 0 ;
5304 wxWindow
*arg2
= (wxWindow
*) 0 ;
5305 int arg3
= (int) -1 ;
5306 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5307 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5308 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5309 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5310 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5311 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5312 long arg7
= (long) 0 ;
5313 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5314 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5315 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
5316 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5326 bool temp6
= false ;
5331 bool temp9
= false ;
5332 PyObject
* obj0
= 0 ;
5333 PyObject
* obj1
= 0 ;
5334 PyObject
* obj2
= 0 ;
5335 PyObject
* obj3
= 0 ;
5336 PyObject
* obj4
= 0 ;
5337 PyObject
* obj5
= 0 ;
5338 PyObject
* obj6
= 0 ;
5339 PyObject
* obj7
= 0 ;
5340 PyObject
* obj8
= 0 ;
5341 char * kwnames
[] = {
5342 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5347 if (!SWIG_IsOK(res1
)) {
5348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_Create" "', expected argument " "1"" of type '" "wxChoice *""'");
5350 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5351 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5352 if (!SWIG_IsOK(res2
)) {
5353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choice_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5355 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5358 if (!SWIG_IsOK(ecode3
)) {
5359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choice_Create" "', expected argument " "3"" of type '" "int""'");
5361 arg3
= static_cast< int >(val3
);
5366 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5372 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5377 if (! PySequence_Check(obj5
)) {
5378 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5381 arg6
= new wxArrayString
;
5383 int i
, len
=PySequence_Length(obj5
);
5384 for (i
=0; i
<len
; i
++) {
5385 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5386 wxString
* s
= wxString_in_helper(item
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5395 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5396 if (!SWIG_IsOK(ecode7
)) {
5397 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Choice_Create" "', expected argument " "7"" of type '" "long""'");
5399 arg7
= static_cast< long >(val7
);
5402 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5403 if (!SWIG_IsOK(res8
)) {
5404 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5407 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Choice_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
5409 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5413 arg9
= wxString_in_helper(obj8
);
5414 if (arg9
== NULL
) SWIG_fail
;
5419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5420 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5421 wxPyEndAllowThreads(__tstate
);
5422 if (PyErr_Occurred()) SWIG_fail
;
5425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5428 if (temp6
) delete arg6
;
5437 if (temp6
) delete arg6
;
5447 SWIGINTERN PyObject
*_wrap_Choice_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5448 PyObject
*resultobj
= 0;
5449 wxChoice
*arg1
= (wxChoice
*) 0 ;
5453 PyObject
*swig_obj
[1] ;
5455 if (!args
) SWIG_fail
;
5457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoice
, 0 | 0 );
5458 if (!SWIG_IsOK(res1
)) {
5459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choice_GetCurrentSelection" "', expected argument " "1"" of type '" "wxChoice const *""'");
5461 arg1
= reinterpret_cast< wxChoice
* >(argp1
);
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (int)((wxChoice
const *)arg1
)->GetCurrentSelection();
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5468 resultobj
= SWIG_From_int(static_cast< int >(result
));
5475 SWIGINTERN PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5476 PyObject
*resultobj
= 0;
5477 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5478 SwigValueWrapper
<wxVisualAttributes
> result
;
5481 PyObject
* obj0
= 0 ;
5482 char * kwnames
[] = {
5483 (char *) "variant", NULL
5486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5488 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5489 if (!SWIG_IsOK(ecode1
)) {
5490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Choice_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5492 arg1
= static_cast< wxWindowVariant
>(val1
);
5495 if (!wxPyCheckForApp()) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 result
= wxChoice::GetClassDefaultAttributes(arg1
);
5498 wxPyEndAllowThreads(__tstate
);
5499 if (PyErr_Occurred()) SWIG_fail
;
5501 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5508 SWIGINTERN PyObject
*Choice_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5511 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoice
, SWIG_NewClientData(obj
));
5512 return SWIG_Py_Void();
5515 SWIGINTERN PyObject
*Choice_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5516 return SWIG_Python_InitShadowInstance(args
);
5519 SWIGINTERN
int ComboBoxNameStr_set(PyObject
*) {
5520 SWIG_Error(SWIG_AttributeError
,"Variable ComboBoxNameStr is read-only.");
5525 SWIGINTERN PyObject
*ComboBoxNameStr_get(void) {
5526 PyObject
*pyobj
= 0;
5530 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5532 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
5539 SWIGINTERN PyObject
*_wrap_new_ComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5540 PyObject
*resultobj
= 0;
5541 wxWindow
*arg1
= (wxWindow
*) 0 ;
5542 int arg2
= (int) -1 ;
5543 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5544 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5545 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5546 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5547 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5548 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5549 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5550 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5551 long arg7
= (long) 0 ;
5552 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5553 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5554 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
5555 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5556 wxComboBox
*result
= 0 ;
5561 bool temp3
= false ;
5564 bool temp6
= false ;
5569 bool temp9
= false ;
5570 PyObject
* obj0
= 0 ;
5571 PyObject
* obj1
= 0 ;
5572 PyObject
* obj2
= 0 ;
5573 PyObject
* obj3
= 0 ;
5574 PyObject
* obj4
= 0 ;
5575 PyObject
* obj5
= 0 ;
5576 PyObject
* obj6
= 0 ;
5577 PyObject
* obj7
= 0 ;
5578 PyObject
* obj8
= 0 ;
5579 char * kwnames
[] = {
5580 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
5584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5585 if (!SWIG_IsOK(res1
)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ComboBox" "', expected argument " "1"" of type '" "wxWindow *""'");
5588 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5591 if (!SWIG_IsOK(ecode2
)) {
5592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ComboBox" "', expected argument " "2"" of type '" "int""'");
5594 arg2
= static_cast< int >(val2
);
5598 arg3
= wxString_in_helper(obj2
);
5599 if (arg3
== NULL
) SWIG_fail
;
5606 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5612 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5617 if (! PySequence_Check(obj5
)) {
5618 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5621 arg6
= new wxArrayString
;
5623 int i
, len
=PySequence_Length(obj5
);
5624 for (i
=0; i
<len
; i
++) {
5625 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5626 wxString
* s
= wxString_in_helper(item
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5635 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
5636 if (!SWIG_IsOK(ecode7
)) {
5637 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_ComboBox" "', expected argument " "7"" of type '" "long""'");
5639 arg7
= static_cast< long >(val7
);
5642 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
5643 if (!SWIG_IsOK(res8
)) {
5644 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5647 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ComboBox" "', expected argument " "8"" of type '" "wxValidator const &""'");
5649 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
5653 arg9
= wxString_in_helper(obj8
);
5654 if (arg9
== NULL
) SWIG_fail
;
5659 if (!wxPyCheckForApp()) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 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
);
5662 wxPyEndAllowThreads(__tstate
);
5663 if (PyErr_Occurred()) SWIG_fail
;
5665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_NEW
| 0 );
5671 if (temp6
) delete arg6
;
5684 if (temp6
) delete arg6
;
5694 SWIGINTERN PyObject
*_wrap_new_PreComboBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5695 PyObject
*resultobj
= 0;
5696 wxComboBox
*result
= 0 ;
5698 if (!SWIG_Python_UnpackTuple(args
,"new_PreComboBox",0,0,0)) SWIG_fail
;
5700 if (!wxPyCheckForApp()) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (wxComboBox
*)new wxComboBox();
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxComboBox
, SWIG_POINTER_OWN
| 0 );
5713 SWIGINTERN PyObject
*_wrap_ComboBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
= 0;
5715 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5716 wxWindow
*arg2
= (wxWindow
*) 0 ;
5717 int arg3
= (int) -1 ;
5718 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5719 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5720 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5721 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5722 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5723 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5724 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
5725 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
5726 long arg8
= (long) 0 ;
5727 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
5728 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
5729 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
5730 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
5738 bool temp4
= false ;
5741 bool temp7
= false ;
5746 bool temp10
= false ;
5747 PyObject
* obj0
= 0 ;
5748 PyObject
* obj1
= 0 ;
5749 PyObject
* obj2
= 0 ;
5750 PyObject
* obj3
= 0 ;
5751 PyObject
* obj4
= 0 ;
5752 PyObject
* obj5
= 0 ;
5753 PyObject
* obj6
= 0 ;
5754 PyObject
* obj7
= 0 ;
5755 PyObject
* obj8
= 0 ;
5756 PyObject
* obj9
= 0 ;
5757 char * kwnames
[] = {
5758 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
5762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5763 if (!SWIG_IsOK(res1
)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Create" "', expected argument " "1"" of type '" "wxComboBox *""'");
5766 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5768 if (!SWIG_IsOK(res2
)) {
5769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ComboBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5771 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5773 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5774 if (!SWIG_IsOK(ecode3
)) {
5775 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Create" "', expected argument " "3"" of type '" "int""'");
5777 arg3
= static_cast< int >(val3
);
5781 arg4
= wxString_in_helper(obj3
);
5782 if (arg4
== NULL
) SWIG_fail
;
5789 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5795 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5800 if (! PySequence_Check(obj6
)) {
5801 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5804 arg7
= new wxArrayString
;
5806 int i
, len
=PySequence_Length(obj6
);
5807 for (i
=0; i
<len
; i
++) {
5808 PyObject
* item
= PySequence_GetItem(obj6
, i
);
5809 wxString
* s
= wxString_in_helper(item
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5818 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
5819 if (!SWIG_IsOK(ecode8
)) {
5820 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ComboBox_Create" "', expected argument " "8"" of type '" "long""'");
5822 arg8
= static_cast< long >(val8
);
5825 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
5826 if (!SWIG_IsOK(res9
)) {
5827 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5830 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ComboBox_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
5832 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
5836 arg10
= wxString_in_helper(obj9
);
5837 if (arg10
== NULL
) SWIG_fail
;
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 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
);
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5855 if (temp7
) delete arg7
;
5868 if (temp7
) delete arg7
;
5878 SWIGINTERN PyObject
*_wrap_ComboBox_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5879 PyObject
*resultobj
= 0;
5880 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5884 PyObject
*swig_obj
[1] ;
5886 if (!args
) SWIG_fail
;
5888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5889 if (!SWIG_IsOK(res1
)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetValue" "', expected argument " "1"" of type '" "wxComboBox const *""'");
5892 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= ((wxComboBox
const *)arg1
)->GetValue();
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5901 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5903 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5912 SWIGINTERN PyObject
*_wrap_ComboBox_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
= 0;
5914 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5915 wxString
*arg2
= 0 ;
5918 bool temp2
= false ;
5919 PyObject
* obj0
= 0 ;
5920 PyObject
* obj1
= 0 ;
5921 char * kwnames
[] = {
5922 (char *) "self",(char *) "value", NULL
5925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5927 if (!SWIG_IsOK(res1
)) {
5928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetValue" "', expected argument " "1"" of type '" "wxComboBox *""'");
5930 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5932 arg2
= wxString_in_helper(obj1
);
5933 if (arg2
== NULL
) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 (arg1
)->SetValue((wxString
const &)*arg2
);
5939 wxPyEndAllowThreads(__tstate
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 resultobj
= SWIG_Py_Void();
5957 SWIGINTERN PyObject
*_wrap_ComboBox_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5958 PyObject
*resultobj
= 0;
5959 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5962 PyObject
*swig_obj
[1] ;
5964 if (!args
) SWIG_fail
;
5966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5967 if (!SWIG_IsOK(res1
)) {
5968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Copy" "', expected argument " "1"" of type '" "wxComboBox *""'");
5970 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_Py_Void();
5984 SWIGINTERN PyObject
*_wrap_ComboBox_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5985 PyObject
*resultobj
= 0;
5986 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
5989 PyObject
*swig_obj
[1] ;
5991 if (!args
) SWIG_fail
;
5993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
5994 if (!SWIG_IsOK(res1
)) {
5995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Cut" "', expected argument " "1"" of type '" "wxComboBox *""'");
5997 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
5999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 wxPyEndAllowThreads(__tstate
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= SWIG_Py_Void();
6011 SWIGINTERN PyObject
*_wrap_ComboBox_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6012 PyObject
*resultobj
= 0;
6013 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6016 PyObject
*swig_obj
[1] ;
6018 if (!args
) SWIG_fail
;
6020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6021 if (!SWIG_IsOK(res1
)) {
6022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Paste" "', expected argument " "1"" of type '" "wxComboBox *""'");
6024 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_Py_Void();
6038 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
= 0;
6040 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6046 PyObject
* obj0
= 0 ;
6047 PyObject
* obj1
= 0 ;
6048 char * kwnames
[] = {
6049 (char *) "self",(char *) "pos", NULL
6052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6054 if (!SWIG_IsOK(res1
)) {
6055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox *""'");
6057 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6058 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6059 if (!SWIG_IsOK(ecode2
)) {
6060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
6062 arg2
= static_cast< long >(val2
);
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 (arg1
)->SetInsertionPoint(arg2
);
6066 wxPyEndAllowThreads(__tstate
);
6067 if (PyErr_Occurred()) SWIG_fail
;
6069 resultobj
= SWIG_Py_Void();
6076 SWIGINTERN PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6077 PyObject
*resultobj
= 0;
6078 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6082 PyObject
*swig_obj
[1] ;
6084 if (!args
) SWIG_fail
;
6086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6087 if (!SWIG_IsOK(res1
)) {
6088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetInsertionPoint" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6090 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6093 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
6094 wxPyEndAllowThreads(__tstate
);
6095 if (PyErr_Occurred()) SWIG_fail
;
6097 resultobj
= SWIG_From_long(static_cast< long >(result
));
6104 SWIGINTERN PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6105 PyObject
*resultobj
= 0;
6106 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6110 PyObject
*swig_obj
[1] ;
6112 if (!args
) SWIG_fail
;
6114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6115 if (!SWIG_IsOK(res1
)) {
6116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetLastPosition" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6118 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6121 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= SWIG_From_long(static_cast< long >(result
));
6132 SWIGINTERN PyObject
*_wrap_ComboBox_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
= 0;
6134 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6137 wxString
*arg4
= 0 ;
6144 bool temp4
= false ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 PyObject
* obj2
= 0 ;
6148 PyObject
* obj3
= 0 ;
6149 char * kwnames
[] = {
6150 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6155 if (!SWIG_IsOK(res1
)) {
6156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Replace" "', expected argument " "1"" of type '" "wxComboBox *""'");
6158 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6159 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6160 if (!SWIG_IsOK(ecode2
)) {
6161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Replace" "', expected argument " "2"" of type '" "long""'");
6163 arg2
= static_cast< long >(val2
);
6164 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6165 if (!SWIG_IsOK(ecode3
)) {
6166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Replace" "', expected argument " "3"" of type '" "long""'");
6168 arg3
= static_cast< long >(val3
);
6170 arg4
= wxString_in_helper(obj3
);
6171 if (arg4
== NULL
) SWIG_fail
;
6175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6176 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
6177 wxPyEndAllowThreads(__tstate
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 resultobj
= SWIG_Py_Void();
6195 SWIGINTERN PyObject
*_wrap_ComboBox_SetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6196 PyObject
*resultobj
= 0;
6197 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6207 PyObject
* obj1
= 0 ;
6208 PyObject
* obj2
= 0 ;
6209 char * kwnames
[] = {
6210 (char *) "self",(char *) "from",(char *) "to", NULL
6213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6215 if (!SWIG_IsOK(res1
)) {
6216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6218 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6219 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6220 if (!SWIG_IsOK(ecode2
)) {
6221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetMark" "', expected argument " "2"" of type '" "long""'");
6223 arg2
= static_cast< long >(val2
);
6224 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6225 if (!SWIG_IsOK(ecode3
)) {
6226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_SetMark" "', expected argument " "3"" of type '" "long""'");
6228 arg3
= static_cast< long >(val3
);
6230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6231 (arg1
)->SetSelection(arg2
,arg3
);
6232 wxPyEndAllowThreads(__tstate
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6235 resultobj
= SWIG_Py_Void();
6242 SWIGINTERN PyObject
*_wrap_ComboBox_GetMark(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6243 PyObject
*resultobj
= 0;
6244 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6245 long *arg2
= (long *) 0 ;
6246 long *arg3
= (long *) 0 ;
6250 int res2
= SWIG_TMPOBJ
;
6252 int res3
= SWIG_TMPOBJ
;
6253 PyObject
*swig_obj
[1] ;
6257 if (!args
) SWIG_fail
;
6259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6260 if (!SWIG_IsOK(res1
)) {
6261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetMark" "', expected argument " "1"" of type '" "wxComboBox *""'");
6263 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 (arg1
)->GetSelection(arg2
,arg3
);
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6270 resultobj
= SWIG_Py_Void();
6271 if (SWIG_IsTmpObj(res2
)) {
6272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
6274 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6275 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
6277 if (SWIG_IsTmpObj(res3
)) {
6278 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
6280 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
6281 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
6289 SWIGINTERN PyObject
*_wrap_ComboBox_GetCurrentSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6290 PyObject
*resultobj
= 0;
6291 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6295 PyObject
*swig_obj
[1] ;
6297 if (!args
) SWIG_fail
;
6299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6300 if (!SWIG_IsOK(res1
)) {
6301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_GetCurrentSelection" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6303 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6306 result
= (int)((wxComboBox
const *)arg1
)->GetCurrentSelection();
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 resultobj
= SWIG_From_int(static_cast< int >(result
));
6317 SWIGINTERN PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
= 0;
6319 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6320 wxString
*arg2
= 0 ;
6324 bool temp2
= false ;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6327 char * kwnames
[] = {
6328 (char *) "self",(char *) "string", NULL
6331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6333 if (!SWIG_IsOK(res1
)) {
6334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetStringSelection" "', expected argument " "1"" of type '" "wxComboBox *""'");
6336 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6338 arg2
= wxString_in_helper(obj1
);
6339 if (arg2
== NULL
) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
6345 wxPyEndAllowThreads(__tstate
);
6346 if (PyErr_Occurred()) SWIG_fail
;
6349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6365 SWIGINTERN PyObject
*_wrap_ComboBox_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
= 0;
6367 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6373 PyObject
* obj0
= 0 ;
6374 PyObject
* obj1
= 0 ;
6375 char * kwnames
[] = {
6376 (char *) "self",(char *) "editable", NULL
6379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6381 if (!SWIG_IsOK(res1
)) {
6382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetEditable" "', expected argument " "1"" of type '" "wxComboBox *""'");
6384 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6385 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6386 if (!SWIG_IsOK(ecode2
)) {
6387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_SetEditable" "', expected argument " "2"" of type '" "bool""'");
6389 arg2
= static_cast< bool >(val2
);
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 (arg1
)->SetEditable(arg2
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6396 resultobj
= SWIG_Py_Void();
6403 SWIGINTERN PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6404 PyObject
*resultobj
= 0;
6405 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6408 PyObject
*swig_obj
[1] ;
6410 if (!args
) SWIG_fail
;
6412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6413 if (!SWIG_IsOK(res1
)) {
6414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxComboBox *""'");
6416 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 (arg1
)->SetInsertionPointEnd();
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_Py_Void();
6430 SWIGINTERN PyObject
*_wrap_ComboBox_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
= 0;
6432 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6442 PyObject
* obj1
= 0 ;
6443 PyObject
* obj2
= 0 ;
6444 char * kwnames
[] = {
6445 (char *) "self",(char *) "from",(char *) "to", NULL
6448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6450 if (!SWIG_IsOK(res1
)) {
6451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Remove" "', expected argument " "1"" of type '" "wxComboBox *""'");
6453 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6454 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6455 if (!SWIG_IsOK(ecode2
)) {
6456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ComboBox_Remove" "', expected argument " "2"" of type '" "long""'");
6458 arg2
= static_cast< long >(val2
);
6459 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6460 if (!SWIG_IsOK(ecode3
)) {
6461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ComboBox_Remove" "', expected argument " "3"" of type '" "long""'");
6463 arg3
= static_cast< long >(val3
);
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 (arg1
)->Remove(arg2
,arg3
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= SWIG_Py_Void();
6477 SWIGINTERN PyObject
*_wrap_ComboBox_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6478 PyObject
*resultobj
= 0;
6479 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6483 PyObject
*swig_obj
[1] ;
6485 if (!args
) SWIG_fail
;
6487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6488 if (!SWIG_IsOK(res1
)) {
6489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_IsEditable" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6491 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6494 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
6495 wxPyEndAllowThreads(__tstate
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6507 SWIGINTERN PyObject
*_wrap_ComboBox_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6508 PyObject
*resultobj
= 0;
6509 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6512 PyObject
*swig_obj
[1] ;
6514 if (!args
) SWIG_fail
;
6516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6517 if (!SWIG_IsOK(res1
)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Undo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6520 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6527 resultobj
= SWIG_Py_Void();
6534 SWIGINTERN PyObject
*_wrap_ComboBox_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6535 PyObject
*resultobj
= 0;
6536 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6539 PyObject
*swig_obj
[1] ;
6541 if (!args
) SWIG_fail
;
6543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6544 if (!SWIG_IsOK(res1
)) {
6545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_Redo" "', expected argument " "1"" of type '" "wxComboBox *""'");
6547 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= SWIG_Py_Void();
6561 SWIGINTERN PyObject
*_wrap_ComboBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6562 PyObject
*resultobj
= 0;
6563 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6566 PyObject
*swig_obj
[1] ;
6568 if (!args
) SWIG_fail
;
6570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6571 if (!SWIG_IsOK(res1
)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_SelectAll" "', expected argument " "1"" of type '" "wxComboBox *""'");
6574 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6577 (arg1
)->SelectAll();
6578 wxPyEndAllowThreads(__tstate
);
6579 if (PyErr_Occurred()) SWIG_fail
;
6581 resultobj
= SWIG_Py_Void();
6588 SWIGINTERN PyObject
*_wrap_ComboBox_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6589 PyObject
*resultobj
= 0;
6590 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6594 PyObject
*swig_obj
[1] ;
6596 if (!args
) SWIG_fail
;
6598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6599 if (!SWIG_IsOK(res1
)) {
6600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCopy" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6602 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
6606 wxPyEndAllowThreads(__tstate
);
6607 if (PyErr_Occurred()) SWIG_fail
;
6610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6618 SWIGINTERN PyObject
*_wrap_ComboBox_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6619 PyObject
*resultobj
= 0;
6620 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6624 PyObject
*swig_obj
[1] ;
6626 if (!args
) SWIG_fail
;
6628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6629 if (!SWIG_IsOK(res1
)) {
6630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanCut" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6632 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6648 SWIGINTERN PyObject
*_wrap_ComboBox_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6649 PyObject
*resultobj
= 0;
6650 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6654 PyObject
*swig_obj
[1] ;
6656 if (!args
) SWIG_fail
;
6658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6659 if (!SWIG_IsOK(res1
)) {
6660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanPaste" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6662 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
6666 wxPyEndAllowThreads(__tstate
);
6667 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6678 SWIGINTERN PyObject
*_wrap_ComboBox_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6679 PyObject
*resultobj
= 0;
6680 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6684 PyObject
*swig_obj
[1] ;
6686 if (!args
) SWIG_fail
;
6688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6689 if (!SWIG_IsOK(res1
)) {
6690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanUndo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6692 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6708 SWIGINTERN PyObject
*_wrap_ComboBox_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6709 PyObject
*resultobj
= 0;
6710 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
6714 PyObject
*swig_obj
[1] ;
6716 if (!args
) SWIG_fail
;
6718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxComboBox
, 0 | 0 );
6719 if (!SWIG_IsOK(res1
)) {
6720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ComboBox_CanRedo" "', expected argument " "1"" of type '" "wxComboBox const *""'");
6722 arg1
= reinterpret_cast< wxComboBox
* >(argp1
);
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
6726 wxPyEndAllowThreads(__tstate
);
6727 if (PyErr_Occurred()) SWIG_fail
;
6730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6738 SWIGINTERN PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6739 PyObject
*resultobj
= 0;
6740 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6741 SwigValueWrapper
<wxVisualAttributes
> result
;
6744 PyObject
* obj0
= 0 ;
6745 char * kwnames
[] = {
6746 (char *) "variant", NULL
6749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6751 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6752 if (!SWIG_IsOK(ecode1
)) {
6753 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ComboBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6755 arg1
= static_cast< wxWindowVariant
>(val1
);
6758 if (!wxPyCheckForApp()) SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 result
= wxComboBox::GetClassDefaultAttributes(arg1
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6771 SWIGINTERN PyObject
*ComboBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6774 SWIG_TypeNewClientData(SWIGTYPE_p_wxComboBox
, SWIG_NewClientData(obj
));
6775 return SWIG_Py_Void();
6778 SWIGINTERN PyObject
*ComboBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6779 return SWIG_Python_InitShadowInstance(args
);
6782 SWIGINTERN
int GaugeNameStr_set(PyObject
*) {
6783 SWIG_Error(SWIG_AttributeError
,"Variable GaugeNameStr is read-only.");
6788 SWIGINTERN PyObject
*GaugeNameStr_get(void) {
6789 PyObject
*pyobj
= 0;
6793 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6795 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
6802 SWIGINTERN PyObject
*_wrap_new_Gauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6803 PyObject
*resultobj
= 0;
6804 wxWindow
*arg1
= (wxWindow
*) 0 ;
6805 int arg2
= (int) -1 ;
6806 int arg3
= (int) 100 ;
6807 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6808 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6809 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6810 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6811 long arg6
= (long) wxGA_HORIZONTAL
;
6812 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6813 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6814 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
6815 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6816 wxGauge
*result
= 0 ;
6829 bool temp8
= false ;
6830 PyObject
* obj0
= 0 ;
6831 PyObject
* obj1
= 0 ;
6832 PyObject
* obj2
= 0 ;
6833 PyObject
* obj3
= 0 ;
6834 PyObject
* obj4
= 0 ;
6835 PyObject
* obj5
= 0 ;
6836 PyObject
* obj6
= 0 ;
6837 PyObject
* obj7
= 0 ;
6838 char * kwnames
[] = {
6839 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6844 if (!SWIG_IsOK(res1
)) {
6845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Gauge" "', expected argument " "1"" of type '" "wxWindow *""'");
6847 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6849 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6850 if (!SWIG_IsOK(ecode2
)) {
6851 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Gauge" "', expected argument " "2"" of type '" "int""'");
6853 arg2
= static_cast< int >(val2
);
6856 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6857 if (!SWIG_IsOK(ecode3
)) {
6858 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Gauge" "', expected argument " "3"" of type '" "int""'");
6860 arg3
= static_cast< int >(val3
);
6865 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6871 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6875 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6876 if (!SWIG_IsOK(ecode6
)) {
6877 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Gauge" "', expected argument " "6"" of type '" "long""'");
6879 arg6
= static_cast< long >(val6
);
6882 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
6883 if (!SWIG_IsOK(res7
)) {
6884 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Gauge" "', expected argument " "7"" of type '" "wxValidator const &""'");
6889 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
6893 arg8
= wxString_in_helper(obj7
);
6894 if (arg8
== NULL
) SWIG_fail
;
6899 if (!wxPyCheckForApp()) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_NEW
| 0 );
6920 SWIGINTERN PyObject
*_wrap_new_PreGauge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6921 PyObject
*resultobj
= 0;
6922 wxGauge
*result
= 0 ;
6924 if (!SWIG_Python_UnpackTuple(args
,"new_PreGauge",0,0,0)) SWIG_fail
;
6926 if (!wxPyCheckForApp()) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= (wxGauge
*)new wxGauge();
6929 wxPyEndAllowThreads(__tstate
);
6930 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGauge
, SWIG_POINTER_OWN
| 0 );
6939 SWIGINTERN PyObject
*_wrap_Gauge_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
= 0;
6941 wxGauge
*arg1
= (wxGauge
*) 0 ;
6942 wxWindow
*arg2
= (wxWindow
*) 0 ;
6943 int arg3
= (int) -1 ;
6944 int arg4
= (int) 100 ;
6945 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6946 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6947 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6948 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6949 long arg7
= (long) wxGA_HORIZONTAL
;
6950 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6951 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6952 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
6953 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6969 bool temp9
= false ;
6970 PyObject
* obj0
= 0 ;
6971 PyObject
* obj1
= 0 ;
6972 PyObject
* obj2
= 0 ;
6973 PyObject
* obj3
= 0 ;
6974 PyObject
* obj4
= 0 ;
6975 PyObject
* obj5
= 0 ;
6976 PyObject
* obj6
= 0 ;
6977 PyObject
* obj7
= 0 ;
6978 PyObject
* obj8
= 0 ;
6979 char * kwnames
[] = {
6980 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6983 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
6984 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
6985 if (!SWIG_IsOK(res1
)) {
6986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Create" "', expected argument " "1"" of type '" "wxGauge *""'");
6988 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
6989 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6990 if (!SWIG_IsOK(res2
)) {
6991 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Gauge_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6993 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6995 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6996 if (!SWIG_IsOK(ecode3
)) {
6997 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Gauge_Create" "', expected argument " "3"" of type '" "int""'");
6999 arg3
= static_cast< int >(val3
);
7002 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7003 if (!SWIG_IsOK(ecode4
)) {
7004 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Gauge_Create" "', expected argument " "4"" of type '" "int""'");
7006 arg4
= static_cast< int >(val4
);
7011 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7017 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7021 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7022 if (!SWIG_IsOK(ecode7
)) {
7023 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Gauge_Create" "', expected argument " "7"" of type '" "long""'");
7025 arg7
= static_cast< long >(val7
);
7028 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
7029 if (!SWIG_IsOK(res8
)) {
7030 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7033 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Gauge_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
7035 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
7039 arg9
= wxString_in_helper(obj8
);
7040 if (arg9
== NULL
) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7047 wxPyEndAllowThreads(__tstate
);
7048 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7067 SWIGINTERN PyObject
*_wrap_Gauge_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
= 0;
7069 wxGauge
*arg1
= (wxGauge
*) 0 ;
7075 PyObject
* obj0
= 0 ;
7076 PyObject
* obj1
= 0 ;
7077 char * kwnames
[] = {
7078 (char *) "self",(char *) "range", NULL
7081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7083 if (!SWIG_IsOK(res1
)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetRange" "', expected argument " "1"" of type '" "wxGauge *""'");
7086 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7088 if (!SWIG_IsOK(ecode2
)) {
7089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetRange" "', expected argument " "2"" of type '" "int""'");
7091 arg2
= static_cast< int >(val2
);
7093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7094 (arg1
)->SetRange(arg2
);
7095 wxPyEndAllowThreads(__tstate
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 resultobj
= SWIG_Py_Void();
7105 SWIGINTERN PyObject
*_wrap_Gauge_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7106 PyObject
*resultobj
= 0;
7107 wxGauge
*arg1
= (wxGauge
*) 0 ;
7111 PyObject
*swig_obj
[1] ;
7113 if (!args
) SWIG_fail
;
7115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7116 if (!SWIG_IsOK(res1
)) {
7117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetRange" "', expected argument " "1"" of type '" "wxGauge const *""'");
7119 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 result
= (int)((wxGauge
const *)arg1
)->GetRange();
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= SWIG_From_int(static_cast< int >(result
));
7133 SWIGINTERN PyObject
*_wrap_Gauge_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
= 0;
7135 wxGauge
*arg1
= (wxGauge
*) 0 ;
7141 PyObject
* obj0
= 0 ;
7142 PyObject
* obj1
= 0 ;
7143 char * kwnames
[] = {
7144 (char *) "self",(char *) "pos", NULL
7147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7149 if (!SWIG_IsOK(res1
)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetValue" "', expected argument " "1"" of type '" "wxGauge *""'");
7152 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7154 if (!SWIG_IsOK(ecode2
)) {
7155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetValue" "', expected argument " "2"" of type '" "int""'");
7157 arg2
= static_cast< int >(val2
);
7159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7160 (arg1
)->SetValue(arg2
);
7161 wxPyEndAllowThreads(__tstate
);
7162 if (PyErr_Occurred()) SWIG_fail
;
7164 resultobj
= SWIG_Py_Void();
7171 SWIGINTERN PyObject
*_wrap_Gauge_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7172 PyObject
*resultobj
= 0;
7173 wxGauge
*arg1
= (wxGauge
*) 0 ;
7177 PyObject
*swig_obj
[1] ;
7179 if (!args
) SWIG_fail
;
7181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7182 if (!SWIG_IsOK(res1
)) {
7183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetValue" "', expected argument " "1"" of type '" "wxGauge const *""'");
7185 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7188 result
= (int)((wxGauge
const *)arg1
)->GetValue();
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 resultobj
= SWIG_From_int(static_cast< int >(result
));
7199 SWIGINTERN PyObject
*_wrap_Gauge_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7200 PyObject
*resultobj
= 0;
7201 wxGauge
*arg1
= (wxGauge
*) 0 ;
7204 PyObject
*swig_obj
[1] ;
7206 if (!args
) SWIG_fail
;
7208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7209 if (!SWIG_IsOK(res1
)) {
7210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_Pulse" "', expected argument " "1"" of type '" "wxGauge *""'");
7212 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 wxPyEndAllowThreads(__tstate
);
7217 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= SWIG_Py_Void();
7226 SWIGINTERN PyObject
*_wrap_Gauge_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7227 PyObject
*resultobj
= 0;
7228 wxGauge
*arg1
= (wxGauge
*) 0 ;
7232 PyObject
*swig_obj
[1] ;
7234 if (!args
) SWIG_fail
;
7236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7237 if (!SWIG_IsOK(res1
)) {
7238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_IsVertical" "', expected argument " "1"" of type '" "wxGauge const *""'");
7240 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
7244 wxPyEndAllowThreads(__tstate
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7256 SWIGINTERN PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7258 wxGauge
*arg1
= (wxGauge
*) 0 ;
7264 PyObject
* obj0
= 0 ;
7265 PyObject
* obj1
= 0 ;
7266 char * kwnames
[] = {
7267 (char *) "self",(char *) "w", NULL
7270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7272 if (!SWIG_IsOK(res1
)) {
7273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "1"" of type '" "wxGauge *""'");
7275 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7276 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7277 if (!SWIG_IsOK(ecode2
)) {
7278 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetShadowWidth" "', expected argument " "2"" of type '" "int""'");
7280 arg2
= static_cast< int >(val2
);
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 (arg1
)->SetShadowWidth(arg2
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7287 resultobj
= SWIG_Py_Void();
7294 SWIGINTERN PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7295 PyObject
*resultobj
= 0;
7296 wxGauge
*arg1
= (wxGauge
*) 0 ;
7300 PyObject
*swig_obj
[1] ;
7302 if (!args
) SWIG_fail
;
7304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7305 if (!SWIG_IsOK(res1
)) {
7306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetShadowWidth" "', expected argument " "1"" of type '" "wxGauge const *""'");
7308 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
7312 wxPyEndAllowThreads(__tstate
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7315 resultobj
= SWIG_From_int(static_cast< int >(result
));
7322 SWIGINTERN PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7323 PyObject
*resultobj
= 0;
7324 wxGauge
*arg1
= (wxGauge
*) 0 ;
7330 PyObject
* obj0
= 0 ;
7331 PyObject
* obj1
= 0 ;
7332 char * kwnames
[] = {
7333 (char *) "self",(char *) "w", NULL
7336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7338 if (!SWIG_IsOK(res1
)) {
7339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_SetBezelFace" "', expected argument " "1"" of type '" "wxGauge *""'");
7341 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7343 if (!SWIG_IsOK(ecode2
)) {
7344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Gauge_SetBezelFace" "', expected argument " "2"" of type '" "int""'");
7346 arg2
= static_cast< int >(val2
);
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 (arg1
)->SetBezelFace(arg2
);
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_Py_Void();
7360 SWIGINTERN PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7361 PyObject
*resultobj
= 0;
7362 wxGauge
*arg1
= (wxGauge
*) 0 ;
7366 PyObject
*swig_obj
[1] ;
7368 if (!args
) SWIG_fail
;
7370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGauge
, 0 | 0 );
7371 if (!SWIG_IsOK(res1
)) {
7372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Gauge_GetBezelFace" "', expected argument " "1"" of type '" "wxGauge const *""'");
7374 arg1
= reinterpret_cast< wxGauge
* >(argp1
);
7376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7377 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_From_int(static_cast< int >(result
));
7388 SWIGINTERN PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
= 0;
7390 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7391 SwigValueWrapper
<wxVisualAttributes
> result
;
7394 PyObject
* obj0
= 0 ;
7395 char * kwnames
[] = {
7396 (char *) "variant", NULL
7399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7401 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7402 if (!SWIG_IsOK(ecode1
)) {
7403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Gauge_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7405 arg1
= static_cast< wxWindowVariant
>(val1
);
7408 if (!wxPyCheckForApp()) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= wxGauge::GetClassDefaultAttributes(arg1
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7421 SWIGINTERN PyObject
*Gauge_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7424 SWIG_TypeNewClientData(SWIGTYPE_p_wxGauge
, SWIG_NewClientData(obj
));
7425 return SWIG_Py_Void();
7428 SWIGINTERN PyObject
*Gauge_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7429 return SWIG_Python_InitShadowInstance(args
);
7432 SWIGINTERN
int StaticBitmapNameStr_set(PyObject
*) {
7433 SWIG_Error(SWIG_AttributeError
,"Variable StaticBitmapNameStr is read-only.");
7438 SWIGINTERN PyObject
*StaticBitmapNameStr_get(void) {
7439 PyObject
*pyobj
= 0;
7443 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7445 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
7452 SWIGINTERN
int StaticBoxNameStr_set(PyObject
*) {
7453 SWIG_Error(SWIG_AttributeError
,"Variable StaticBoxNameStr is read-only.");
7458 SWIGINTERN PyObject
*StaticBoxNameStr_get(void) {
7459 PyObject
*pyobj
= 0;
7463 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7465 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
7472 SWIGINTERN
int StaticTextNameStr_set(PyObject
*) {
7473 SWIG_Error(SWIG_AttributeError
,"Variable StaticTextNameStr is read-only.");
7478 SWIGINTERN PyObject
*StaticTextNameStr_get(void) {
7479 PyObject
*pyobj
= 0;
7483 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7485 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
7492 SWIGINTERN
int StaticLineNameStr_set(PyObject
*) {
7493 SWIG_Error(SWIG_AttributeError
,"Variable StaticLineNameStr is read-only.");
7498 SWIGINTERN PyObject
*StaticLineNameStr_get(void) {
7499 PyObject
*pyobj
= 0;
7503 pyobj
= PyUnicode_FromWideChar((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7505 pyobj
= PyString_FromStringAndSize((&wxPyStaticLineNameStr
)->c_str(), (&wxPyStaticLineNameStr
)->Len());
7512 SWIGINTERN PyObject
*_wrap_new_StaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
= 0;
7514 wxWindow
*arg1
= (wxWindow
*) 0 ;
7515 int arg2
= (int) -1 ;
7516 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7517 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7518 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7519 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7520 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7521 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7522 long arg6
= (long) 0 ;
7523 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
7524 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7525 wxStaticBox
*result
= 0 ;
7530 bool temp3
= false ;
7535 bool temp7
= false ;
7536 PyObject
* obj0
= 0 ;
7537 PyObject
* obj1
= 0 ;
7538 PyObject
* obj2
= 0 ;
7539 PyObject
* obj3
= 0 ;
7540 PyObject
* obj4
= 0 ;
7541 PyObject
* obj5
= 0 ;
7542 PyObject
* obj6
= 0 ;
7543 char * kwnames
[] = {
7544 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7549 if (!SWIG_IsOK(res1
)) {
7550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBox" "', expected argument " "1"" of type '" "wxWindow *""'");
7552 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7554 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7555 if (!SWIG_IsOK(ecode2
)) {
7556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBox" "', expected argument " "2"" of type '" "int""'");
7558 arg2
= static_cast< int >(val2
);
7562 arg3
= wxString_in_helper(obj2
);
7563 if (arg3
== NULL
) SWIG_fail
;
7570 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7576 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7580 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7581 if (!SWIG_IsOK(ecode6
)) {
7582 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBox" "', expected argument " "6"" of type '" "long""'");
7584 arg6
= static_cast< long >(val6
);
7588 arg7
= wxString_in_helper(obj6
);
7589 if (arg7
== NULL
) SWIG_fail
;
7594 if (!wxPyCheckForApp()) SWIG_fail
;
7595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7596 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_NEW
| 0 );
7623 SWIGINTERN PyObject
*_wrap_new_PreStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7624 PyObject
*resultobj
= 0;
7625 wxStaticBox
*result
= 0 ;
7627 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBox",0,0,0)) SWIG_fail
;
7629 if (!wxPyCheckForApp()) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (wxStaticBox
*)new wxStaticBox();
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBox
, SWIG_POINTER_OWN
| 0 );
7642 SWIGINTERN PyObject
*_wrap_StaticBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
7645 wxWindow
*arg2
= (wxWindow
*) 0 ;
7646 int arg3
= (int) -1 ;
7647 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7648 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7649 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7650 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7651 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7652 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7653 long arg7
= (long) 0 ;
7654 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
7655 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7663 bool temp4
= false ;
7668 bool temp8
= false ;
7669 PyObject
* obj0
= 0 ;
7670 PyObject
* obj1
= 0 ;
7671 PyObject
* obj2
= 0 ;
7672 PyObject
* obj3
= 0 ;
7673 PyObject
* obj4
= 0 ;
7674 PyObject
* obj5
= 0 ;
7675 PyObject
* obj6
= 0 ;
7676 PyObject
* obj7
= 0 ;
7677 char * kwnames
[] = {
7678 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
7683 if (!SWIG_IsOK(res1
)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBox_Create" "', expected argument " "1"" of type '" "wxStaticBox *""'");
7686 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
7687 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7688 if (!SWIG_IsOK(res2
)) {
7689 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7691 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7693 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7694 if (!SWIG_IsOK(ecode3
)) {
7695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBox_Create" "', expected argument " "3"" of type '" "int""'");
7697 arg3
= static_cast< int >(val3
);
7701 arg4
= wxString_in_helper(obj3
);
7702 if (arg4
== NULL
) SWIG_fail
;
7709 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7715 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7719 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7720 if (!SWIG_IsOK(ecode7
)) {
7721 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBox_Create" "', expected argument " "7"" of type '" "long""'");
7723 arg7
= static_cast< long >(val7
);
7727 arg8
= wxString_in_helper(obj7
);
7728 if (arg8
== NULL
) SWIG_fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7735 wxPyEndAllowThreads(__tstate
);
7736 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7763 SWIGINTERN PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7764 PyObject
*resultobj
= 0;
7765 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7766 SwigValueWrapper
<wxVisualAttributes
> result
;
7769 PyObject
* obj0
= 0 ;
7770 char * kwnames
[] = {
7771 (char *) "variant", NULL
7774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7776 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7777 if (!SWIG_IsOK(ecode1
)) {
7778 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7780 arg1
= static_cast< wxWindowVariant
>(val1
);
7783 if (!wxPyCheckForApp()) SWIG_fail
;
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 result
= wxStaticBox::GetClassDefaultAttributes(arg1
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7796 SWIGINTERN PyObject
*StaticBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7799 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBox
, SWIG_NewClientData(obj
));
7800 return SWIG_Py_Void();
7803 SWIGINTERN PyObject
*StaticBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7804 return SWIG_Python_InitShadowInstance(args
);
7807 SWIGINTERN PyObject
*_wrap_new_StaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7808 PyObject
*resultobj
= 0;
7809 wxWindow
*arg1
= (wxWindow
*) 0 ;
7810 int arg2
= (int) -1 ;
7811 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7812 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7813 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7814 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7815 long arg5
= (long) wxLI_HORIZONTAL
;
7816 wxString
const &arg6_defvalue
= wxPyStaticLineNameStr
;
7817 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7818 wxStaticLine
*result
= 0 ;
7827 bool temp6
= false ;
7828 PyObject
* obj0
= 0 ;
7829 PyObject
* obj1
= 0 ;
7830 PyObject
* obj2
= 0 ;
7831 PyObject
* obj3
= 0 ;
7832 PyObject
* obj4
= 0 ;
7833 PyObject
* obj5
= 0 ;
7834 char * kwnames
[] = {
7835 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
7839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7840 if (!SWIG_IsOK(res1
)) {
7841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticLine" "', expected argument " "1"" of type '" "wxWindow *""'");
7843 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7845 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7846 if (!SWIG_IsOK(ecode2
)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticLine" "', expected argument " "2"" of type '" "int""'");
7849 arg2
= static_cast< int >(val2
);
7854 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7860 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7864 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
7865 if (!SWIG_IsOK(ecode5
)) {
7866 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_StaticLine" "', expected argument " "5"" of type '" "long""'");
7868 arg5
= static_cast< long >(val5
);
7872 arg6
= wxString_in_helper(obj5
);
7873 if (arg6
== NULL
) SWIG_fail
;
7878 if (!wxPyCheckForApp()) SWIG_fail
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7880 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7881 wxPyEndAllowThreads(__tstate
);
7882 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_NEW
| 0 );
7899 SWIGINTERN PyObject
*_wrap_new_PreStaticLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7900 PyObject
*resultobj
= 0;
7901 wxStaticLine
*result
= 0 ;
7903 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticLine",0,0,0)) SWIG_fail
;
7905 if (!wxPyCheckForApp()) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (wxStaticLine
*)new wxStaticLine();
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticLine
, SWIG_POINTER_OWN
| 0 );
7918 SWIGINTERN PyObject
*_wrap_StaticLine_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
= 0;
7920 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
7921 wxWindow
*arg2
= (wxWindow
*) 0 ;
7922 int arg3
= (int) -1 ;
7923 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7924 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7925 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7926 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7927 long arg6
= (long) wxLI_HORIZONTAL
;
7928 wxString
const &arg7_defvalue
= wxPyStaticLineNameStr
;
7929 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7941 bool temp7
= false ;
7942 PyObject
* obj0
= 0 ;
7943 PyObject
* obj1
= 0 ;
7944 PyObject
* obj2
= 0 ;
7945 PyObject
* obj3
= 0 ;
7946 PyObject
* obj4
= 0 ;
7947 PyObject
* obj5
= 0 ;
7948 PyObject
* obj6
= 0 ;
7949 char * kwnames
[] = {
7950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
7955 if (!SWIG_IsOK(res1
)) {
7956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_Create" "', expected argument " "1"" of type '" "wxStaticLine *""'");
7958 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
7959 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7960 if (!SWIG_IsOK(res2
)) {
7961 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticLine_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7963 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7966 if (!SWIG_IsOK(ecode3
)) {
7967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticLine_Create" "', expected argument " "3"" of type '" "int""'");
7969 arg3
= static_cast< int >(val3
);
7974 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7980 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7984 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7985 if (!SWIG_IsOK(ecode6
)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "StaticLine_Create" "', expected argument " "6"" of type '" "long""'");
7988 arg6
= static_cast< long >(val6
);
7992 arg7
= wxString_in_helper(obj6
);
7993 if (arg7
== NULL
) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8020 SWIGINTERN PyObject
*_wrap_StaticLine_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8021 PyObject
*resultobj
= 0;
8022 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
8026 PyObject
*swig_obj
[1] ;
8028 if (!args
) SWIG_fail
;
8030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticLine
, 0 | 0 );
8031 if (!SWIG_IsOK(res1
)) {
8032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticLine_IsVertical" "', expected argument " "1"" of type '" "wxStaticLine const *""'");
8034 arg1
= reinterpret_cast< wxStaticLine
* >(argp1
);
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8050 SWIGINTERN PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8051 PyObject
*resultobj
= 0;
8054 if (!SWIG_Python_UnpackTuple(args
,"StaticLine_GetDefaultSize",0,0,0)) SWIG_fail
;
8056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8057 result
= (int)wxStaticLine::GetDefaultSize();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= SWIG_From_int(static_cast< int >(result
));
8068 SWIGINTERN PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
= 0;
8070 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8071 SwigValueWrapper
<wxVisualAttributes
> result
;
8074 PyObject
* obj0
= 0 ;
8075 char * kwnames
[] = {
8076 (char *) "variant", NULL
8079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8081 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8082 if (!SWIG_IsOK(ecode1
)) {
8083 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticLine_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8085 arg1
= static_cast< wxWindowVariant
>(val1
);
8088 if (!wxPyCheckForApp()) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 result
= wxStaticLine::GetClassDefaultAttributes(arg1
);
8091 wxPyEndAllowThreads(__tstate
);
8092 if (PyErr_Occurred()) SWIG_fail
;
8094 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8101 SWIGINTERN PyObject
*StaticLine_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8103 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8104 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticLine
, SWIG_NewClientData(obj
));
8105 return SWIG_Py_Void();
8108 SWIGINTERN PyObject
*StaticLine_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8109 return SWIG_Python_InitShadowInstance(args
);
8112 SWIGINTERN PyObject
*_wrap_new_StaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8113 PyObject
*resultobj
= 0;
8114 wxWindow
*arg1
= (wxWindow
*) 0 ;
8115 int arg2
= (int) -1 ;
8116 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8117 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8122 long arg6
= (long) 0 ;
8123 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
8124 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8125 wxStaticText
*result
= 0 ;
8130 bool temp3
= false ;
8135 bool temp7
= false ;
8136 PyObject
* obj0
= 0 ;
8137 PyObject
* obj1
= 0 ;
8138 PyObject
* obj2
= 0 ;
8139 PyObject
* obj3
= 0 ;
8140 PyObject
* obj4
= 0 ;
8141 PyObject
* obj5
= 0 ;
8142 PyObject
* obj6
= 0 ;
8143 char * kwnames
[] = {
8144 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8149 if (!SWIG_IsOK(res1
)) {
8150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticText" "', expected argument " "1"" of type '" "wxWindow *""'");
8152 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8155 if (!SWIG_IsOK(ecode2
)) {
8156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticText" "', expected argument " "2"" of type '" "int""'");
8158 arg2
= static_cast< int >(val2
);
8162 arg3
= wxString_in_helper(obj2
);
8163 if (arg3
== NULL
) SWIG_fail
;
8170 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8176 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8180 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8181 if (!SWIG_IsOK(ecode6
)) {
8182 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticText" "', expected argument " "6"" of type '" "long""'");
8184 arg6
= static_cast< long >(val6
);
8188 arg7
= wxString_in_helper(obj6
);
8189 if (arg7
== NULL
) SWIG_fail
;
8194 if (!wxPyCheckForApp()) SWIG_fail
;
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8196 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_NEW
| 0 );
8223 SWIGINTERN PyObject
*_wrap_new_PreStaticText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8224 PyObject
*resultobj
= 0;
8225 wxStaticText
*result
= 0 ;
8227 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticText",0,0,0)) SWIG_fail
;
8229 if (!wxPyCheckForApp()) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (wxStaticText
*)new wxStaticText();
8232 wxPyEndAllowThreads(__tstate
);
8233 if (PyErr_Occurred()) SWIG_fail
;
8235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticText
, SWIG_POINTER_OWN
| 0 );
8242 SWIGINTERN PyObject
*_wrap_StaticText_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8243 PyObject
*resultobj
= 0;
8244 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8245 wxWindow
*arg2
= (wxWindow
*) 0 ;
8246 int arg3
= (int) -1 ;
8247 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8248 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8249 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8250 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8251 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8252 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8253 long arg7
= (long) 0 ;
8254 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
8255 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8263 bool temp4
= false ;
8268 bool temp8
= false ;
8269 PyObject
* obj0
= 0 ;
8270 PyObject
* obj1
= 0 ;
8271 PyObject
* obj2
= 0 ;
8272 PyObject
* obj3
= 0 ;
8273 PyObject
* obj4
= 0 ;
8274 PyObject
* obj5
= 0 ;
8275 PyObject
* obj6
= 0 ;
8276 PyObject
* obj7
= 0 ;
8277 char * kwnames
[] = {
8278 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8283 if (!SWIG_IsOK(res1
)) {
8284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Create" "', expected argument " "1"" of type '" "wxStaticText *""'");
8286 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8288 if (!SWIG_IsOK(res2
)) {
8289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticText_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8291 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8294 if (!SWIG_IsOK(ecode3
)) {
8295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticText_Create" "', expected argument " "3"" of type '" "int""'");
8297 arg3
= static_cast< int >(val3
);
8301 arg4
= wxString_in_helper(obj3
);
8302 if (arg4
== NULL
) SWIG_fail
;
8309 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8315 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8319 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8320 if (!SWIG_IsOK(ecode7
)) {
8321 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticText_Create" "', expected argument " "7"" of type '" "long""'");
8323 arg7
= static_cast< long >(val7
);
8327 arg8
= wxString_in_helper(obj7
);
8328 if (arg8
== NULL
) SWIG_fail
;
8333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8334 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8363 SWIGINTERN PyObject
*_wrap_StaticText_Wrap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
= 0;
8365 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8371 PyObject
* obj0
= 0 ;
8372 PyObject
* obj1
= 0 ;
8373 char * kwnames
[] = {
8374 (char *) "self",(char *) "width", NULL
8377 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticText_Wrap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8378 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8379 if (!SWIG_IsOK(res1
)) {
8380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_Wrap" "', expected argument " "1"" of type '" "wxStaticText *""'");
8382 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8384 if (!SWIG_IsOK(ecode2
)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StaticText_Wrap" "', expected argument " "2"" of type '" "int""'");
8387 arg2
= static_cast< int >(val2
);
8389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 resultobj
= SWIG_Py_Void();
8401 SWIGINTERN PyObject
*_wrap_StaticText_IsEllipsized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8402 PyObject
*resultobj
= 0;
8403 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
8407 PyObject
*swig_obj
[1] ;
8409 if (!args
) SWIG_fail
;
8411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticText
, 0 | 0 );
8412 if (!SWIG_IsOK(res1
)) {
8413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticText_IsEllipsized" "', expected argument " "1"" of type '" "wxStaticText const *""'");
8415 arg1
= reinterpret_cast< wxStaticText
* >(argp1
);
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (bool)((wxStaticText
const *)arg1
)->IsEllipsized();
8419 wxPyEndAllowThreads(__tstate
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8431 SWIGINTERN PyObject
*_wrap_StaticText_RemoveMarkup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8432 PyObject
*resultobj
= 0;
8433 wxString
*arg1
= 0 ;
8435 bool temp1
= false ;
8436 PyObject
* obj0
= 0 ;
8437 char * kwnames
[] = {
8438 (char *) "str", NULL
8441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticText_RemoveMarkup",kwnames
,&obj0
)) SWIG_fail
;
8443 arg1
= wxString_in_helper(obj0
);
8444 if (arg1
== NULL
) SWIG_fail
;
8448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8449 result
= wxStaticText::RemoveMarkup((wxString
const &)*arg1
);
8450 wxPyEndAllowThreads(__tstate
);
8451 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8474 SWIGINTERN PyObject
*_wrap_StaticText_EscapeMarkup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8475 PyObject
*resultobj
= 0;
8476 wxString
*arg1
= 0 ;
8478 bool temp1
= false ;
8479 PyObject
* obj0
= 0 ;
8480 char * kwnames
[] = {
8481 (char *) "str", NULL
8484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticText_EscapeMarkup",kwnames
,&obj0
)) SWIG_fail
;
8486 arg1
= wxString_in_helper(obj0
);
8487 if (arg1
== NULL
) SWIG_fail
;
8491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8492 result
= wxStaticText::EscapeMarkup((wxString
const &)*arg1
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8500 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8517 SWIGINTERN PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
= 0;
8519 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8520 SwigValueWrapper
<wxVisualAttributes
> result
;
8523 PyObject
* obj0
= 0 ;
8524 char * kwnames
[] = {
8525 (char *) "variant", NULL
8528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8530 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8531 if (!SWIG_IsOK(ecode1
)) {
8532 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticText_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8534 arg1
= static_cast< wxWindowVariant
>(val1
);
8537 if (!wxPyCheckForApp()) SWIG_fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 result
= wxStaticText::GetClassDefaultAttributes(arg1
);
8540 wxPyEndAllowThreads(__tstate
);
8541 if (PyErr_Occurred()) SWIG_fail
;
8543 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8550 SWIGINTERN PyObject
*StaticText_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8553 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticText
, SWIG_NewClientData(obj
));
8554 return SWIG_Py_Void();
8557 SWIGINTERN PyObject
*StaticText_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8558 return SWIG_Python_InitShadowInstance(args
);
8561 SWIGINTERN PyObject
*_wrap_new_StaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8562 PyObject
*resultobj
= 0;
8563 wxWindow
*arg1
= (wxWindow
*) 0 ;
8564 int arg2
= (int) -1 ;
8565 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
8566 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
8567 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8568 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8569 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8570 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8571 long arg6
= (long) 0 ;
8572 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
8573 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8574 wxStaticBitmap
*result
= 0 ;
8585 bool temp7
= false ;
8586 PyObject
* obj0
= 0 ;
8587 PyObject
* obj1
= 0 ;
8588 PyObject
* obj2
= 0 ;
8589 PyObject
* obj3
= 0 ;
8590 PyObject
* obj4
= 0 ;
8591 PyObject
* obj5
= 0 ;
8592 PyObject
* obj6
= 0 ;
8593 char * kwnames
[] = {
8594 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8599 if (!SWIG_IsOK(res1
)) {
8600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBitmap" "', expected argument " "1"" of type '" "wxWindow *""'");
8602 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8604 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8605 if (!SWIG_IsOK(ecode2
)) {
8606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBitmap" "', expected argument " "2"" of type '" "int""'");
8608 arg2
= static_cast< int >(val2
);
8611 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8612 if (!SWIG_IsOK(res3
)) {
8613 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8616 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_StaticBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
8618 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
8623 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8629 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8633 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8634 if (!SWIG_IsOK(ecode6
)) {
8635 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_StaticBitmap" "', expected argument " "6"" of type '" "long""'");
8637 arg6
= static_cast< long >(val6
);
8641 arg7
= wxString_in_helper(obj6
);
8642 if (arg7
== NULL
) SWIG_fail
;
8647 if (!wxPyCheckForApp()) SWIG_fail
;
8648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8649 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_NEW
| 0 );
8668 SWIGINTERN PyObject
*_wrap_new_PreStaticBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8669 PyObject
*resultobj
= 0;
8670 wxStaticBitmap
*result
= 0 ;
8672 if (!SWIG_Python_UnpackTuple(args
,"new_PreStaticBitmap",0,0,0)) SWIG_fail
;
8674 if (!wxPyCheckForApp()) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 result
= (wxStaticBitmap
*)new wxStaticBitmap();
8677 wxPyEndAllowThreads(__tstate
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBitmap
, SWIG_POINTER_OWN
| 0 );
8687 SWIGINTERN PyObject
*_wrap_StaticBitmap_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8690 wxWindow
*arg2
= (wxWindow
*) 0 ;
8691 int arg3
= (int) -1 ;
8692 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
8693 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
8694 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8695 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8696 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8697 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8698 long arg7
= (long) 0 ;
8699 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
8700 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8714 bool temp8
= false ;
8715 PyObject
* obj0
= 0 ;
8716 PyObject
* obj1
= 0 ;
8717 PyObject
* obj2
= 0 ;
8718 PyObject
* obj3
= 0 ;
8719 PyObject
* obj4
= 0 ;
8720 PyObject
* obj5
= 0 ;
8721 PyObject
* obj6
= 0 ;
8722 PyObject
* obj7
= 0 ;
8723 char * kwnames
[] = {
8724 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8729 if (!SWIG_IsOK(res1
)) {
8730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_Create" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8732 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8733 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8734 if (!SWIG_IsOK(res2
)) {
8735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8737 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8740 if (!SWIG_IsOK(ecode3
)) {
8741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StaticBitmap_Create" "', expected argument " "3"" of type '" "int""'");
8743 arg3
= static_cast< int >(val3
);
8746 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8747 if (!SWIG_IsOK(res4
)) {
8748 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
8753 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
8758 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8764 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8768 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8769 if (!SWIG_IsOK(ecode7
)) {
8770 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "StaticBitmap_Create" "', expected argument " "7"" of type '" "long""'");
8772 arg7
= static_cast< long >(val7
);
8776 arg8
= wxString_in_helper(obj7
);
8777 if (arg8
== NULL
) SWIG_fail
;
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8804 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8805 PyObject
*resultobj
= 0;
8806 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8810 PyObject
*swig_obj
[1] ;
8812 if (!args
) SWIG_fail
;
8814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8815 if (!SWIG_IsOK(res1
)) {
8816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_GetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8818 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 result
= (arg1
)->GetBitmap();
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8825 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
8832 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8833 PyObject
*resultobj
= 0;
8834 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8835 wxBitmap
*arg2
= 0 ;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8842 char * kwnames
[] = {
8843 (char *) "self",(char *) "bitmap", NULL
8846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8848 if (!SWIG_IsOK(res1
)) {
8849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8851 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8852 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8853 if (!SWIG_IsOK(res2
)) {
8854 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8857 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8859 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8862 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8866 resultobj
= SWIG_Py_Void();
8873 SWIGINTERN PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
= 0;
8875 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
8881 PyObject
* obj0
= 0 ;
8882 PyObject
* obj1
= 0 ;
8883 char * kwnames
[] = {
8884 (char *) "self",(char *) "icon", NULL
8887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBitmap
, 0 | 0 );
8889 if (!SWIG_IsOK(res1
)) {
8890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "1"" of type '" "wxStaticBitmap *""'");
8892 arg1
= reinterpret_cast< wxStaticBitmap
* >(argp1
);
8893 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
8894 if (!SWIG_IsOK(res2
)) {
8895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8898 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "StaticBitmap_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
8900 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
8904 wxPyEndAllowThreads(__tstate
);
8905 if (PyErr_Occurred()) SWIG_fail
;
8907 resultobj
= SWIG_Py_Void();
8914 SWIGINTERN PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
= 0;
8916 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8917 SwigValueWrapper
<wxVisualAttributes
> result
;
8920 PyObject
* obj0
= 0 ;
8921 char * kwnames
[] = {
8922 (char *) "variant", NULL
8925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8927 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8928 if (!SWIG_IsOK(ecode1
)) {
8929 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StaticBitmap_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8931 arg1
= static_cast< wxWindowVariant
>(val1
);
8934 if (!wxPyCheckForApp()) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= wxStaticBitmap::GetClassDefaultAttributes(arg1
);
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8947 SWIGINTERN PyObject
*StaticBitmap_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8950 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBitmap
, SWIG_NewClientData(obj
));
8951 return SWIG_Py_Void();
8954 SWIGINTERN PyObject
*StaticBitmap_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8955 return SWIG_Python_InitShadowInstance(args
);
8958 SWIGINTERN
int ListBoxNameStr_set(PyObject
*) {
8959 SWIG_Error(SWIG_AttributeError
,"Variable ListBoxNameStr is read-only.");
8964 SWIGINTERN PyObject
*ListBoxNameStr_get(void) {
8965 PyObject
*pyobj
= 0;
8969 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8971 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
8978 SWIGINTERN PyObject
*_wrap_new_ListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
= 0;
8980 wxWindow
*arg1
= (wxWindow
*) 0 ;
8981 int arg2
= (int) -1 ;
8982 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8983 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8984 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8985 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8986 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
8987 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
8988 long arg6
= (long) 0 ;
8989 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8990 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8991 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
8992 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8993 wxListBox
*result
= 0 ;
9000 bool temp5
= false ;
9005 bool temp8
= false ;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9008 PyObject
* obj2
= 0 ;
9009 PyObject
* obj3
= 0 ;
9010 PyObject
* obj4
= 0 ;
9011 PyObject
* obj5
= 0 ;
9012 PyObject
* obj6
= 0 ;
9013 PyObject
* obj7
= 0 ;
9014 char * kwnames
[] = {
9015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
9019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9020 if (!SWIG_IsOK(res1
)) {
9021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
9023 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9026 if (!SWIG_IsOK(ecode2
)) {
9027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListBox" "', expected argument " "2"" of type '" "int""'");
9029 arg2
= static_cast< int >(val2
);
9034 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9040 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9045 if (! PySequence_Check(obj4
)) {
9046 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9049 arg5
= new wxArrayString
;
9051 int i
, len
=PySequence_Length(obj4
);
9052 for (i
=0; i
<len
; i
++) {
9053 PyObject
* item
= PySequence_GetItem(obj4
, i
);
9054 wxString
* s
= wxString_in_helper(item
);
9055 if (PyErr_Occurred()) SWIG_fail
;
9063 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9064 if (!SWIG_IsOK(ecode6
)) {
9065 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ListBox" "', expected argument " "6"" of type '" "long""'");
9067 arg6
= static_cast< long >(val6
);
9070 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
9071 if (!SWIG_IsOK(res7
)) {
9072 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9075 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
9077 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
9081 arg8
= wxString_in_helper(obj7
);
9082 if (arg8
== NULL
) SWIG_fail
;
9087 if (!wxPyCheckForApp()) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_NEW
| 0 );
9095 if (temp5
) delete arg5
;
9104 if (temp5
) delete arg5
;
9114 SWIGINTERN PyObject
*_wrap_new_PreListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9115 PyObject
*resultobj
= 0;
9116 wxListBox
*result
= 0 ;
9118 if (!SWIG_Python_UnpackTuple(args
,"new_PreListBox",0,0,0)) SWIG_fail
;
9120 if (!wxPyCheckForApp()) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (wxListBox
*)new wxListBox();
9123 wxPyEndAllowThreads(__tstate
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListBox
, SWIG_POINTER_OWN
| 0 );
9133 SWIGINTERN PyObject
*_wrap_ListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9134 PyObject
*resultobj
= 0;
9135 wxListBox
*arg1
= (wxListBox
*) 0 ;
9136 wxWindow
*arg2
= (wxWindow
*) 0 ;
9137 int arg3
= (int) -1 ;
9138 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9139 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9140 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9141 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9142 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
9143 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
9144 long arg7
= (long) 0 ;
9145 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
9146 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
9147 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
9148 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
9158 bool temp6
= false ;
9163 bool temp9
= false ;
9164 PyObject
* obj0
= 0 ;
9165 PyObject
* obj1
= 0 ;
9166 PyObject
* obj2
= 0 ;
9167 PyObject
* obj3
= 0 ;
9168 PyObject
* obj4
= 0 ;
9169 PyObject
* obj5
= 0 ;
9170 PyObject
* obj6
= 0 ;
9171 PyObject
* obj7
= 0 ;
9172 PyObject
* obj8
= 0 ;
9173 char * kwnames
[] = {
9174 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
9177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
9178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9179 if (!SWIG_IsOK(res1
)) {
9180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Create" "', expected argument " "1"" of type '" "wxListBox *""'");
9182 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9183 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9184 if (!SWIG_IsOK(res2
)) {
9185 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9187 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9189 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9190 if (!SWIG_IsOK(ecode3
)) {
9191 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Create" "', expected argument " "3"" of type '" "int""'");
9193 arg3
= static_cast< int >(val3
);
9198 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9204 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9209 if (! PySequence_Check(obj5
)) {
9210 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9213 arg6
= new wxArrayString
;
9215 int i
, len
=PySequence_Length(obj5
);
9216 for (i
=0; i
<len
; i
++) {
9217 PyObject
* item
= PySequence_GetItem(obj5
, i
);
9218 wxString
* s
= wxString_in_helper(item
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9227 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
9228 if (!SWIG_IsOK(ecode7
)) {
9229 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ListBox_Create" "', expected argument " "7"" of type '" "long""'");
9231 arg7
= static_cast< long >(val7
);
9234 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
9235 if (!SWIG_IsOK(res8
)) {
9236 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9239 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
9241 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
9245 arg9
= wxString_in_helper(obj8
);
9246 if (arg9
== NULL
) SWIG_fail
;
9251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
9253 wxPyEndAllowThreads(__tstate
);
9254 if (PyErr_Occurred()) SWIG_fail
;
9257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9260 if (temp6
) delete arg6
;
9269 if (temp6
) delete arg6
;
9279 SWIGINTERN PyObject
*_wrap_ListBox_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
= 0;
9281 wxListBox
*arg1
= (wxListBox
*) 0 ;
9282 wxString
*arg2
= 0 ;
9284 PyObject
*arg4
= (PyObject
*) NULL
;
9287 bool temp2
= false ;
9290 PyObject
* obj0
= 0 ;
9291 PyObject
* obj1
= 0 ;
9292 PyObject
* obj2
= 0 ;
9293 PyObject
* obj3
= 0 ;
9294 char * kwnames
[] = {
9295 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
9298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9300 if (!SWIG_IsOK(res1
)) {
9301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Insert" "', expected argument " "1"" of type '" "wxListBox *""'");
9303 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9305 arg2
= wxString_in_helper(obj1
);
9306 if (arg2
== NULL
) SWIG_fail
;
9309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9310 if (!SWIG_IsOK(ecode3
)) {
9311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_Insert" "', expected argument " "3"" of type '" "int""'");
9313 arg3
= static_cast< int >(val3
);
9318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9319 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= SWIG_Py_Void();
9338 SWIGINTERN PyObject
*_wrap_ListBox_InsertItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
= 0;
9340 wxListBox
*arg1
= (wxListBox
*) 0 ;
9341 wxArrayString
*arg2
= 0 ;
9345 bool temp2
= false ;
9348 PyObject
* obj0
= 0 ;
9349 PyObject
* obj1
= 0 ;
9350 PyObject
* obj2
= 0 ;
9351 char * kwnames
[] = {
9352 (char *) "self",(char *) "items",(char *) "pos", NULL
9355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9357 if (!SWIG_IsOK(res1
)) {
9358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_InsertItems" "', expected argument " "1"" of type '" "wxListBox *""'");
9360 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9362 if (! PySequence_Check(obj1
)) {
9363 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9366 arg2
= new wxArrayString
;
9368 int i
, len
=PySequence_Length(obj1
);
9369 for (i
=0; i
<len
; i
++) {
9370 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9371 wxString
* s
= wxString_in_helper(item
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9378 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
9379 if (!SWIG_IsOK(ecode3
)) {
9380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_InsertItems" "', expected argument " "3"" of type '" "unsigned int""'");
9382 arg3
= static_cast< unsigned int >(val3
);
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
9386 wxPyEndAllowThreads(__tstate
);
9387 if (PyErr_Occurred()) SWIG_fail
;
9389 resultobj
= SWIG_Py_Void();
9391 if (temp2
) delete arg2
;
9396 if (temp2
) delete arg2
;
9402 SWIGINTERN PyObject
*_wrap_ListBox_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
= 0;
9404 wxListBox
*arg1
= (wxListBox
*) 0 ;
9405 wxArrayString
*arg2
= 0 ;
9408 bool temp2
= false ;
9409 PyObject
* obj0
= 0 ;
9410 PyObject
* obj1
= 0 ;
9411 char * kwnames
[] = {
9412 (char *) "self",(char *) "items", NULL
9415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9417 if (!SWIG_IsOK(res1
)) {
9418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Set" "', expected argument " "1"" of type '" "wxListBox *""'");
9420 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9422 if (! PySequence_Check(obj1
)) {
9423 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
9426 arg2
= new wxArrayString
;
9428 int i
, len
=PySequence_Length(obj1
);
9429 for (i
=0; i
<len
; i
++) {
9430 PyObject
* item
= PySequence_GetItem(obj1
, i
);
9431 wxString
* s
= wxString_in_helper(item
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 (arg1
)->Set((wxArrayString
const &)*arg2
);
9441 wxPyEndAllowThreads(__tstate
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 resultobj
= SWIG_Py_Void();
9446 if (temp2
) delete arg2
;
9451 if (temp2
) delete arg2
;
9457 SWIGINTERN PyObject
*_wrap_ListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
= 0;
9459 wxListBox
*arg1
= (wxListBox
*) 0 ;
9466 PyObject
* obj0
= 0 ;
9467 PyObject
* obj1
= 0 ;
9468 char * kwnames
[] = {
9469 (char *) "self",(char *) "n", NULL
9472 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9473 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9474 if (!SWIG_IsOK(res1
)) {
9475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSelected" "', expected argument " "1"" of type '" "wxListBox const *""'");
9477 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9478 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9479 if (!SWIG_IsOK(ecode2
)) {
9480 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_IsSelected" "', expected argument " "2"" of type '" "int""'");
9482 arg2
= static_cast< int >(val2
);
9484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9485 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
9486 wxPyEndAllowThreads(__tstate
);
9487 if (PyErr_Occurred()) SWIG_fail
;
9490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9498 SWIGINTERN PyObject
*_wrap_ListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
= 0;
9500 wxListBox
*arg1
= (wxListBox
*) 0 ;
9502 bool arg3
= (bool) true ;
9509 PyObject
* obj0
= 0 ;
9510 PyObject
* obj1
= 0 ;
9511 PyObject
* obj2
= 0 ;
9512 char * kwnames
[] = {
9513 (char *) "self",(char *) "n",(char *) "select", NULL
9516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9518 if (!SWIG_IsOK(res1
)) {
9519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9521 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9522 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9523 if (!SWIG_IsOK(ecode2
)) {
9524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
9526 arg2
= static_cast< int >(val2
);
9528 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9529 if (!SWIG_IsOK(ecode3
)) {
9530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetSelection" "', expected argument " "3"" of type '" "bool""'");
9532 arg3
= static_cast< bool >(val3
);
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 (arg1
)->SetSelection(arg2
,arg3
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9540 resultobj
= SWIG_Py_Void();
9547 SWIGINTERN PyObject
*_wrap_ListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9548 PyObject
*resultobj
= 0;
9549 wxListBox
*arg1
= (wxListBox
*) 0 ;
9555 PyObject
* obj0
= 0 ;
9556 PyObject
* obj1
= 0 ;
9557 char * kwnames
[] = {
9558 (char *) "self",(char *) "n", NULL
9561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9563 if (!SWIG_IsOK(res1
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Select" "', expected argument " "1"" of type '" "wxListBox *""'");
9566 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9568 if (!SWIG_IsOK(ecode2
)) {
9569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Select" "', expected argument " "2"" of type '" "int""'");
9571 arg2
= static_cast< int >(val2
);
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 (arg1
)->Select(arg2
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= SWIG_Py_Void();
9585 SWIGINTERN PyObject
*_wrap_ListBox_Deselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
= 0;
9587 wxListBox
*arg1
= (wxListBox
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9594 PyObject
* obj1
= 0 ;
9595 char * kwnames
[] = {
9596 (char *) "self",(char *) "n", NULL
9599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9601 if (!SWIG_IsOK(res1
)) {
9602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_Deselect" "', expected argument " "1"" of type '" "wxListBox *""'");
9604 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9606 if (!SWIG_IsOK(ecode2
)) {
9607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_Deselect" "', expected argument " "2"" of type '" "int""'");
9609 arg2
= static_cast< int >(val2
);
9611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9612 (arg1
)->Deselect(arg2
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 resultobj
= SWIG_Py_Void();
9623 SWIGINTERN PyObject
*_wrap_ListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
= 0;
9625 wxListBox
*arg1
= (wxListBox
*) 0 ;
9626 int arg2
= (int) -1 ;
9631 PyObject
* obj0
= 0 ;
9632 PyObject
* obj1
= 0 ;
9633 char * kwnames
[] = {
9634 (char *) "self",(char *) "itemToLeaveSelected", NULL
9637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9639 if (!SWIG_IsOK(res1
)) {
9640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_DeselectAll" "', expected argument " "1"" of type '" "wxListBox *""'");
9642 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9645 if (!SWIG_IsOK(ecode2
)) {
9646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_DeselectAll" "', expected argument " "2"" of type '" "int""'");
9648 arg2
= static_cast< int >(val2
);
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 (arg1
)->DeselectAll(arg2
);
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= SWIG_Py_Void();
9663 SWIGINTERN PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
= 0;
9665 wxListBox
*arg1
= (wxListBox
*) 0 ;
9666 wxString
*arg2
= 0 ;
9667 bool arg3
= (bool) true ;
9671 bool temp2
= false ;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9676 PyObject
* obj2
= 0 ;
9677 char * kwnames
[] = {
9678 (char *) "self",(char *) "s",(char *) "select", NULL
9681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetStringSelection" "', expected argument " "1"" of type '" "wxListBox *""'");
9686 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9688 arg2
= wxString_in_helper(obj1
);
9689 if (arg2
== NULL
) SWIG_fail
;
9693 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9694 if (!SWIG_IsOK(ecode3
)) {
9695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListBox_SetStringSelection" "', expected argument " "3"" of type '" "bool""'");
9697 arg3
= static_cast< bool >(val3
);
9700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9701 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9722 SWIGINTERN PyObject
*_wrap_ListBox_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9723 PyObject
*resultobj
= 0;
9724 wxListBox
*arg1
= (wxListBox
*) 0 ;
9725 PyObject
*result
= 0 ;
9728 PyObject
*swig_obj
[1] ;
9730 if (!args
) SWIG_fail
;
9732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9733 if (!SWIG_IsOK(res1
)) {
9734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_GetSelections" "', expected argument " "1"" of type '" "wxListBox *""'");
9736 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9750 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
= 0;
9752 wxListBox
*arg1
= (wxListBox
*) 0 ;
9758 PyObject
* obj0
= 0 ;
9759 PyObject
* obj1
= 0 ;
9760 char * kwnames
[] = {
9761 (char *) "self",(char *) "n", NULL
9764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9766 if (!SWIG_IsOK(res1
)) {
9767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItem" "', expected argument " "1"" of type '" "wxListBox *""'");
9769 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9771 if (!SWIG_IsOK(ecode2
)) {
9772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetFirstItem" "', expected argument " "2"" of type '" "int""'");
9774 arg2
= static_cast< int >(val2
);
9776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9777 (arg1
)->SetFirstItem(arg2
);
9778 wxPyEndAllowThreads(__tstate
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= SWIG_Py_Void();
9788 SWIGINTERN PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
= 0;
9790 wxListBox
*arg1
= (wxListBox
*) 0 ;
9791 wxString
*arg2
= 0 ;
9794 bool temp2
= false ;
9795 PyObject
* obj0
= 0 ;
9796 PyObject
* obj1
= 0 ;
9797 char * kwnames
[] = {
9798 (char *) "self",(char *) "s", NULL
9801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9803 if (!SWIG_IsOK(res1
)) {
9804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetFirstItemStr" "', expected argument " "1"" of type '" "wxListBox *""'");
9806 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9808 arg2
= wxString_in_helper(obj1
);
9809 if (arg2
== NULL
) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
9815 wxPyEndAllowThreads(__tstate
);
9816 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= SWIG_Py_Void();
9833 SWIGINTERN PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
= 0;
9835 wxListBox
*arg1
= (wxListBox
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9843 char * kwnames
[] = {
9844 (char *) "self",(char *) "n", NULL
9847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9849 if (!SWIG_IsOK(res1
)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_EnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9852 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9853 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9854 if (!SWIG_IsOK(ecode2
)) {
9855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_EnsureVisible" "', expected argument " "2"" of type '" "int""'");
9857 arg2
= static_cast< int >(val2
);
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 (arg1
)->EnsureVisible(arg2
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_Py_Void();
9871 SWIGINTERN PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
= 0;
9873 wxListBox
*arg1
= (wxListBox
*) 0 ;
9874 wxString
*arg2
= 0 ;
9877 bool temp2
= false ;
9878 PyObject
* obj0
= 0 ;
9879 PyObject
* obj1
= 0 ;
9880 char * kwnames
[] = {
9881 (char *) "self",(char *) "s", NULL
9884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9886 if (!SWIG_IsOK(res1
)) {
9887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_AppendAndEnsureVisible" "', expected argument " "1"" of type '" "wxListBox *""'");
9889 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9891 arg2
= wxString_in_helper(obj1
);
9892 if (arg2
== NULL
) SWIG_fail
;
9896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9897 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_Py_Void();
9916 SWIGINTERN PyObject
*_wrap_ListBox_IsSorted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9917 PyObject
*resultobj
= 0;
9918 wxListBox
*arg1
= (wxListBox
*) 0 ;
9922 PyObject
*swig_obj
[1] ;
9924 if (!args
) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_IsSorted" "', expected argument " "1"" of type '" "wxListBox const *""'");
9930 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9933 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
9934 wxPyEndAllowThreads(__tstate
);
9935 if (PyErr_Occurred()) SWIG_fail
;
9938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9946 SWIGINTERN PyObject
*_wrap_ListBox_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
= 0;
9948 wxListBox
*arg1
= (wxListBox
*) 0 ;
9954 PyObject
* obj0
= 0 ;
9955 PyObject
* obj1
= 0 ;
9956 char * kwnames
[] = {
9957 (char *) "self",(char *) "pt", NULL
9960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
9962 if (!SWIG_IsOK(res1
)) {
9963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_HitTest" "', expected argument " "1"" of type '" "wxListBox const *""'");
9965 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
9968 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (int)((wxListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_From_int(static_cast< int >(result
));
9983 SWIGINTERN PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
= 0;
9985 wxListBox
*arg1
= (wxListBox
*) 0 ;
9987 wxColour
*arg3
= 0 ;
9993 PyObject
* obj0
= 0 ;
9994 PyObject
* obj1
= 0 ;
9995 PyObject
* obj2
= 0 ;
9996 char * kwnames
[] = {
9997 (char *) "self",(char *) "item",(char *) "c", NULL
10000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
10002 if (!SWIG_IsOK(res1
)) {
10003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
10005 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
10006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10007 if (!SWIG_IsOK(ecode2
)) {
10008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemForegroundColour" "', expected argument " "2"" of type '" "int""'");
10010 arg2
= static_cast< int >(val2
);
10013 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 resultobj
= SWIG_Py_Void();
10028 SWIGINTERN PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10029 PyObject
*resultobj
= 0;
10030 wxListBox
*arg1
= (wxListBox
*) 0 ;
10032 wxColour
*arg3
= 0 ;
10038 PyObject
* obj0
= 0 ;
10039 PyObject
* obj1
= 0 ;
10040 PyObject
* obj2
= 0 ;
10041 char * kwnames
[] = {
10042 (char *) "self",(char *) "item",(char *) "c", NULL
10045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
10047 if (!SWIG_IsOK(res1
)) {
10048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxListBox *""'");
10050 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
10051 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10052 if (!SWIG_IsOK(ecode2
)) {
10053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemBackgroundColour" "', expected argument " "2"" of type '" "int""'");
10055 arg2
= static_cast< int >(val2
);
10058 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 resultobj
= SWIG_Py_Void();
10073 SWIGINTERN PyObject
*_wrap_ListBox_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
= 0;
10075 wxListBox
*arg1
= (wxListBox
*) 0 ;
10084 PyObject
* obj0
= 0 ;
10085 PyObject
* obj1
= 0 ;
10086 PyObject
* obj2
= 0 ;
10087 char * kwnames
[] = {
10088 (char *) "self",(char *) "item",(char *) "f", NULL
10091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListBox
, 0 | 0 );
10093 if (!SWIG_IsOK(res1
)) {
10094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListBox_SetItemFont" "', expected argument " "1"" of type '" "wxListBox *""'");
10096 arg1
= reinterpret_cast< wxListBox
* >(argp1
);
10097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10098 if (!SWIG_IsOK(ecode2
)) {
10099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListBox_SetItemFont" "', expected argument " "2"" of type '" "int""'");
10101 arg2
= static_cast< int >(val2
);
10102 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10103 if (!SWIG_IsOK(res3
)) {
10104 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10107 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListBox_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
10109 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_Py_Void();
10123 SWIGINTERN PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10124 PyObject
*resultobj
= 0;
10125 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10126 SwigValueWrapper
<wxVisualAttributes
> result
;
10129 PyObject
* obj0
= 0 ;
10130 char * kwnames
[] = {
10131 (char *) "variant", NULL
10134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10137 if (!SWIG_IsOK(ecode1
)) {
10138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10140 arg1
= static_cast< wxWindowVariant
>(val1
);
10143 if (!wxPyCheckForApp()) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 result
= wxListBox::GetClassDefaultAttributes(arg1
);
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10156 SWIGINTERN PyObject
*ListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10158 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10159 SWIG_TypeNewClientData(SWIGTYPE_p_wxListBox
, SWIG_NewClientData(obj
));
10160 return SWIG_Py_Void();
10163 SWIGINTERN PyObject
*ListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10164 return SWIG_Python_InitShadowInstance(args
);
10167 SWIGINTERN PyObject
*_wrap_new_CheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
= 0;
10169 wxWindow
*arg1
= (wxWindow
*) 0 ;
10170 int arg2
= (int) -1 ;
10171 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10172 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10173 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10174 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10175 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
10176 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
10177 long arg6
= (long) 0 ;
10178 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10179 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10180 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
10181 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10182 wxCheckListBox
*result
= 0 ;
10189 bool temp5
= false ;
10194 bool temp8
= false ;
10195 PyObject
* obj0
= 0 ;
10196 PyObject
* obj1
= 0 ;
10197 PyObject
* obj2
= 0 ;
10198 PyObject
* obj3
= 0 ;
10199 PyObject
* obj4
= 0 ;
10200 PyObject
* obj5
= 0 ;
10201 PyObject
* obj6
= 0 ;
10202 PyObject
* obj7
= 0 ;
10203 char * kwnames
[] = {
10204 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
10208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10209 if (!SWIG_IsOK(res1
)) {
10210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CheckListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
10212 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10215 if (!SWIG_IsOK(ecode2
)) {
10216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CheckListBox" "', expected argument " "2"" of type '" "int""'");
10218 arg2
= static_cast< int >(val2
);
10223 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10229 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10234 if (! PySequence_Check(obj4
)) {
10235 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10238 arg5
= new wxArrayString
;
10240 int i
, len
=PySequence_Length(obj4
);
10241 for (i
=0; i
<len
; i
++) {
10242 PyObject
* item
= PySequence_GetItem(obj4
, i
);
10243 wxString
* s
= wxString_in_helper(item
);
10244 if (PyErr_Occurred()) SWIG_fail
;
10252 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10253 if (!SWIG_IsOK(ecode6
)) {
10254 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CheckListBox" "', expected argument " "6"" of type '" "long""'");
10256 arg6
= static_cast< long >(val6
);
10259 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
10260 if (!SWIG_IsOK(res7
)) {
10261 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10264 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CheckListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
10266 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
10270 arg8
= wxString_in_helper(obj7
);
10271 if (arg8
== NULL
) SWIG_fail
;
10276 if (!wxPyCheckForApp()) SWIG_fail
;
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_NEW
| 0 );
10284 if (temp5
) delete arg5
;
10293 if (temp5
) delete arg5
;
10303 SWIGINTERN PyObject
*_wrap_new_PreCheckListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10304 PyObject
*resultobj
= 0;
10305 wxCheckListBox
*result
= 0 ;
10307 if (!SWIG_Python_UnpackTuple(args
,"new_PreCheckListBox",0,0,0)) SWIG_fail
;
10309 if (!wxPyCheckForApp()) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (wxCheckListBox
*)new wxCheckListBox();
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCheckListBox
, SWIG_POINTER_OWN
| 0 );
10322 SWIGINTERN PyObject
*_wrap_CheckListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
= 0;
10324 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10325 wxWindow
*arg2
= (wxWindow
*) 0 ;
10326 int arg3
= (int) -1 ;
10327 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10328 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10329 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10330 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10331 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
10332 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
10333 long arg7
= (long) 0 ;
10334 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
10335 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
10336 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
10337 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
10347 bool temp6
= false ;
10352 bool temp9
= false ;
10353 PyObject
* obj0
= 0 ;
10354 PyObject
* obj1
= 0 ;
10355 PyObject
* obj2
= 0 ;
10356 PyObject
* obj3
= 0 ;
10357 PyObject
* obj4
= 0 ;
10358 PyObject
* obj5
= 0 ;
10359 PyObject
* obj6
= 0 ;
10360 PyObject
* obj7
= 0 ;
10361 PyObject
* obj8
= 0 ;
10362 char * kwnames
[] = {
10363 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
10366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
10367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10368 if (!SWIG_IsOK(res1
)) {
10369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Create" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10371 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10372 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10373 if (!SWIG_IsOK(res2
)) {
10374 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CheckListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10376 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10378 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10379 if (!SWIG_IsOK(ecode3
)) {
10380 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Create" "', expected argument " "3"" of type '" "int""'");
10382 arg3
= static_cast< int >(val3
);
10387 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10393 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10398 if (! PySequence_Check(obj5
)) {
10399 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
10402 arg6
= new wxArrayString
;
10404 int i
, len
=PySequence_Length(obj5
);
10405 for (i
=0; i
<len
; i
++) {
10406 PyObject
* item
= PySequence_GetItem(obj5
, i
);
10407 wxString
* s
= wxString_in_helper(item
);
10408 if (PyErr_Occurred()) SWIG_fail
;
10416 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
10417 if (!SWIG_IsOK(ecode7
)) {
10418 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CheckListBox_Create" "', expected argument " "7"" of type '" "long""'");
10420 arg7
= static_cast< long >(val7
);
10423 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
10424 if (!SWIG_IsOK(res8
)) {
10425 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CheckListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
10430 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
10434 arg9
= wxString_in_helper(obj8
);
10435 if (arg9
== NULL
) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
10442 wxPyEndAllowThreads(__tstate
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10449 if (temp6
) delete arg6
;
10458 if (temp6
) delete arg6
;
10468 SWIGINTERN PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10469 PyObject
*resultobj
= 0;
10470 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10471 unsigned int arg2
;
10475 unsigned int val2
;
10477 PyObject
* obj0
= 0 ;
10478 PyObject
* obj1
= 0 ;
10479 char * kwnames
[] = {
10480 (char *) "self",(char *) "index", NULL
10483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10485 if (!SWIG_IsOK(res1
)) {
10486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_IsChecked" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10488 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10489 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10490 if (!SWIG_IsOK(ecode2
)) {
10491 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_IsChecked" "', expected argument " "2"" of type '" "unsigned int""'");
10493 arg2
= static_cast< unsigned int >(val2
);
10495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10496 result
= (bool)(arg1
)->IsChecked(arg2
);
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10509 SWIGINTERN PyObject
*_wrap_CheckListBox_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
= 0;
10511 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10512 unsigned int arg2
;
10513 int arg3
= (int) true ;
10516 unsigned int val2
;
10520 PyObject
* obj0
= 0 ;
10521 PyObject
* obj1
= 0 ;
10522 PyObject
* obj2
= 0 ;
10523 char * kwnames
[] = {
10524 (char *) "self",(char *) "index",(char *) "check", NULL
10527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10529 if (!SWIG_IsOK(res1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_Check" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10532 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10533 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
10534 if (!SWIG_IsOK(ecode2
)) {
10535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CheckListBox_Check" "', expected argument " "2"" of type '" "unsigned int""'");
10537 arg2
= static_cast< unsigned int >(val2
);
10539 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10540 if (!SWIG_IsOK(ecode3
)) {
10541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CheckListBox_Check" "', expected argument " "3"" of type '" "int""'");
10543 arg3
= static_cast< int >(val3
);
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 (arg1
)->Check(arg2
,arg3
);
10548 wxPyEndAllowThreads(__tstate
);
10549 if (PyErr_Occurred()) SWIG_fail
;
10551 resultobj
= SWIG_Py_Void();
10558 SWIGINTERN PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10559 PyObject
*resultobj
= 0;
10560 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
10564 PyObject
*swig_obj
[1] ;
10566 if (!args
) SWIG_fail
;
10567 swig_obj
[0] = args
;
10568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCheckListBox
, 0 | 0 );
10569 if (!SWIG_IsOK(res1
)) {
10570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CheckListBox_GetItemHeight" "', expected argument " "1"" of type '" "wxCheckListBox *""'");
10572 arg1
= reinterpret_cast< wxCheckListBox
* >(argp1
);
10574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10575 result
= (int)(arg1
)->GetItemHeight();
10576 wxPyEndAllowThreads(__tstate
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10579 resultobj
= SWIG_From_int(static_cast< int >(result
));
10586 SWIGINTERN PyObject
*CheckListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10588 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10589 SWIG_TypeNewClientData(SWIGTYPE_p_wxCheckListBox
, SWIG_NewClientData(obj
));
10590 return SWIG_Py_Void();
10593 SWIGINTERN PyObject
*CheckListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10594 return SWIG_Python_InitShadowInstance(args
);
10597 SWIGINTERN
int TextCtrlNameStr_set(PyObject
*) {
10598 SWIG_Error(SWIG_AttributeError
,"Variable TextCtrlNameStr is read-only.");
10603 SWIGINTERN PyObject
*TextCtrlNameStr_get(void) {
10604 PyObject
*pyobj
= 0;
10608 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10610 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
10617 SWIGINTERN PyObject
*_wrap_new_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
= 0;
10619 wxColour
const &arg1_defvalue
= wxNullColour
;
10620 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
10621 wxColour
const &arg2_defvalue
= wxNullColour
;
10622 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
10623 wxFont
const &arg3_defvalue
= wxNullFont
;
10624 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
10625 wxTextAttrAlignment arg4
= (wxTextAttrAlignment
) wxTEXT_ALIGNMENT_DEFAULT
;
10626 wxTextAttr
*result
= 0 ;
10633 PyObject
* obj0
= 0 ;
10634 PyObject
* obj1
= 0 ;
10635 PyObject
* obj2
= 0 ;
10636 PyObject
* obj3
= 0 ;
10637 char * kwnames
[] = {
10638 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
10641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10645 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
10651 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10655 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
10656 if (!SWIG_IsOK(res3
)) {
10657 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
10662 arg3
= reinterpret_cast< wxFont
* >(argp3
);
10665 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10666 if (!SWIG_IsOK(ecode4
)) {
10667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextAttr" "', expected argument " "4"" of type '" "wxTextAttrAlignment""'");
10669 arg4
= static_cast< wxTextAttrAlignment
>(val4
);
10672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10673 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,arg4
);
10674 wxPyEndAllowThreads(__tstate
);
10675 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_NEW
| 0 );
10684 SWIGINTERN PyObject
*_wrap_delete_TextAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10685 PyObject
*resultobj
= 0;
10686 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10689 PyObject
*swig_obj
[1] ;
10691 if (!args
) SWIG_fail
;
10692 swig_obj
[0] = args
;
10693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_DISOWN
| 0 );
10694 if (!SWIG_IsOK(res1
)) {
10695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TextAttr" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10697 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10702 wxPyEndAllowThreads(__tstate
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= SWIG_Py_Void();
10712 SWIGINTERN PyObject
*_wrap_TextAttr_Init(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10713 PyObject
*resultobj
= 0;
10714 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10717 PyObject
*swig_obj
[1] ;
10719 if (!args
) SWIG_fail
;
10720 swig_obj
[0] = args
;
10721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10722 if (!SWIG_IsOK(res1
)) {
10723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Init" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10725 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10729 wxPyEndAllowThreads(__tstate
);
10730 if (PyErr_Occurred()) SWIG_fail
;
10732 resultobj
= SWIG_Py_Void();
10739 SWIGINTERN PyObject
*_wrap_TextAttr_Merge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10740 PyObject
*resultobj
= 0;
10741 wxTextAttr
*arg1
= 0 ;
10742 wxTextAttr
*arg2
= 0 ;
10748 PyObject
* obj0
= 0 ;
10749 PyObject
* obj1
= 0 ;
10750 char * kwnames
[] = {
10751 (char *) "base",(char *) "overlay", NULL
10754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_Merge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10755 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10756 if (!SWIG_IsOK(res1
)) {
10757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10760 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
10762 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10763 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
10764 if (!SWIG_IsOK(res2
)) {
10765 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10768 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Merge" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
10770 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= wxTextAttr::Merge((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
10784 SWIGINTERN PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10785 PyObject
*resultobj
= 0;
10786 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10787 wxColour
*arg2
= 0 ;
10791 PyObject
* obj0
= 0 ;
10792 PyObject
* obj1
= 0 ;
10793 char * kwnames
[] = {
10794 (char *) "self",(char *) "colText", NULL
10797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10799 if (!SWIG_IsOK(res1
)) {
10800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTextColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10802 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10805 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 resultobj
= SWIG_Py_Void();
10820 SWIGINTERN PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10821 PyObject
*resultobj
= 0;
10822 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10823 wxColour
*arg2
= 0 ;
10827 PyObject
* obj0
= 0 ;
10828 PyObject
* obj1
= 0 ;
10829 char * kwnames
[] = {
10830 (char *) "self",(char *) "colBack", NULL
10833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10835 if (!SWIG_IsOK(res1
)) {
10836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10838 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10841 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10849 resultobj
= SWIG_Py_Void();
10856 SWIGINTERN PyObject
*_wrap_TextAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10857 PyObject
*resultobj
= 0;
10858 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10860 long arg3
= (long) wxTEXT_ATTR_FONT
;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 PyObject
* obj2
= 0 ;
10870 char * kwnames
[] = {
10871 (char *) "self",(char *) "font",(char *) "flags", NULL
10874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10876 if (!SWIG_IsOK(res1
)) {
10877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFont" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10879 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
10881 if (!SWIG_IsOK(res2
)) {
10882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
10887 arg2
= reinterpret_cast< wxFont
* >(argp2
);
10889 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
10890 if (!SWIG_IsOK(ecode3
)) {
10891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetFont" "', expected argument " "3"" of type '" "long""'");
10893 arg3
= static_cast< long >(val3
);
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 resultobj
= SWIG_Py_Void();
10908 SWIGINTERN PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10909 PyObject
*resultobj
= 0;
10910 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10911 wxTextAttrAlignment arg2
;
10916 PyObject
* obj0
= 0 ;
10917 PyObject
* obj1
= 0 ;
10918 char * kwnames
[] = {
10919 (char *) "self",(char *) "alignment", NULL
10922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10924 if (!SWIG_IsOK(res1
)) {
10925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetAlignment" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10927 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10928 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10929 if (!SWIG_IsOK(ecode2
)) {
10930 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetAlignment" "', expected argument " "2"" of type '" "wxTextAttrAlignment""'");
10932 arg2
= static_cast< wxTextAttrAlignment
>(val2
);
10934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10935 (arg1
)->SetAlignment(arg2
);
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_Py_Void();
10946 SWIGINTERN PyObject
*_wrap_TextAttr_SetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
= 0;
10948 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
10949 wxArrayInt
*arg2
= 0 ;
10952 bool temp2
= false ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char * kwnames
[] = {
10956 (char *) "self",(char *) "tabs", NULL
10959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
10961 if (!SWIG_IsOK(res1
)) {
10962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetTabs" "', expected argument " "1"" of type '" "wxTextAttr *""'");
10964 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
10966 if (! PySequence_Check(obj1
)) {
10967 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10970 arg2
= new wxArrayInt
;
10972 int i
, len
=PySequence_Length(obj1
);
10973 for (i
=0; i
<len
; i
++) {
10974 PyObject
* item
= PySequence_GetItem(obj1
, i
);
10975 PyObject
* number
= PyNumber_Int(item
);
10977 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
10980 arg2
->Add(PyInt_AS_LONG(number
));
10986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10987 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= SWIG_Py_Void();
10993 if (temp2
) delete arg2
;
10998 if (temp2
) delete arg2
;
11004 SWIGINTERN PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
= 0;
11006 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11008 int arg3
= (int) 0 ;
11015 PyObject
* obj0
= 0 ;
11016 PyObject
* obj1
= 0 ;
11017 PyObject
* obj2
= 0 ;
11018 char * kwnames
[] = {
11019 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
11022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11024 if (!SWIG_IsOK(res1
)) {
11025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11027 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11029 if (!SWIG_IsOK(ecode2
)) {
11030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "2"" of type '" "int""'");
11032 arg2
= static_cast< int >(val2
);
11034 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11035 if (!SWIG_IsOK(ecode3
)) {
11036 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextAttr_SetLeftIndent" "', expected argument " "3"" of type '" "int""'");
11038 arg3
= static_cast< int >(val3
);
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 (arg1
)->SetLeftIndent(arg2
,arg3
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 resultobj
= SWIG_Py_Void();
11053 SWIGINTERN PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
= 0;
11055 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11061 PyObject
* obj0
= 0 ;
11062 PyObject
* obj1
= 0 ;
11063 char * kwnames
[] = {
11064 (char *) "self",(char *) "indent", NULL
11067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11069 if (!SWIG_IsOK(res1
)) {
11070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11072 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11073 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11074 if (!SWIG_IsOK(ecode2
)) {
11075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetRightIndent" "', expected argument " "2"" of type '" "int""'");
11077 arg2
= static_cast< int >(val2
);
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 (arg1
)->SetRightIndent(arg2
);
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 resultobj
= SWIG_Py_Void();
11091 SWIGINTERN PyObject
*_wrap_TextAttr_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
= 0;
11093 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 char * kwnames
[] = {
11102 (char *) "self",(char *) "flags", NULL
11105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_SetFlags" "', expected argument " "1"" of type '" "wxTextAttr *""'");
11110 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11111 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11112 if (!SWIG_IsOK(ecode2
)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_SetFlags" "', expected argument " "2"" of type '" "long""'");
11115 arg2
= static_cast< long >(val2
);
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 (arg1
)->SetFlags(arg2
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= SWIG_Py_Void();
11129 SWIGINTERN PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11130 PyObject
*resultobj
= 0;
11131 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11135 PyObject
*swig_obj
[1] ;
11137 if (!args
) SWIG_fail
;
11138 swig_obj
[0] = args
;
11139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11140 if (!SWIG_IsOK(res1
)) {
11141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11143 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11159 SWIGINTERN PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11160 PyObject
*resultobj
= 0;
11161 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11165 PyObject
*swig_obj
[1] ;
11167 if (!args
) SWIG_fail
;
11168 swig_obj
[0] = args
;
11169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11170 if (!SWIG_IsOK(res1
)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11173 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11176 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
11177 wxPyEndAllowThreads(__tstate
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11189 SWIGINTERN PyObject
*_wrap_TextAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11190 PyObject
*resultobj
= 0;
11191 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11195 PyObject
*swig_obj
[1] ;
11197 if (!args
) SWIG_fail
;
11198 swig_obj
[0] = args
;
11199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11200 if (!SWIG_IsOK(res1
)) {
11201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11203 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11219 SWIGINTERN PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11220 PyObject
*resultobj
= 0;
11221 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11225 PyObject
*swig_obj
[1] ;
11227 if (!args
) SWIG_fail
;
11228 swig_obj
[0] = args
;
11229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11230 if (!SWIG_IsOK(res1
)) {
11231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11233 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11249 SWIGINTERN PyObject
*_wrap_TextAttr_HasTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11250 PyObject
*resultobj
= 0;
11251 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11255 PyObject
*swig_obj
[1] ;
11257 if (!args
) SWIG_fail
;
11258 swig_obj
[0] = args
;
11259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11260 if (!SWIG_IsOK(res1
)) {
11261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11263 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11279 SWIGINTERN PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11280 PyObject
*resultobj
= 0;
11281 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11285 PyObject
*swig_obj
[1] ;
11287 if (!args
) SWIG_fail
;
11288 swig_obj
[0] = args
;
11289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11290 if (!SWIG_IsOK(res1
)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11293 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11296 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11309 SWIGINTERN PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11310 PyObject
*resultobj
= 0;
11311 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11315 PyObject
*swig_obj
[1] ;
11317 if (!args
) SWIG_fail
;
11318 swig_obj
[0] = args
;
11319 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11320 if (!SWIG_IsOK(res1
)) {
11321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11323 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11339 SWIGINTERN PyObject
*_wrap_TextAttr_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11340 PyObject
*resultobj
= 0;
11341 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11348 PyObject
* obj0
= 0 ;
11349 PyObject
* obj1
= 0 ;
11350 char * kwnames
[] = {
11351 (char *) "self",(char *) "flag", NULL
11354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11356 if (!SWIG_IsOK(res1
)) {
11357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_HasFlag" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11359 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11360 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11361 if (!SWIG_IsOK(ecode2
)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextAttr_HasFlag" "', expected argument " "2"" of type '" "long""'");
11364 arg2
= static_cast< long >(val2
);
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11380 SWIGINTERN PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11381 PyObject
*resultobj
= 0;
11382 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11383 wxColour
*result
= 0 ;
11386 PyObject
*swig_obj
[1] ;
11388 if (!args
) SWIG_fail
;
11389 swig_obj
[0] = args
;
11390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11391 if (!SWIG_IsOK(res1
)) {
11392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTextColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11394 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
11399 result
= (wxColour
*) &_result_ref
;
11401 wxPyEndAllowThreads(__tstate
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11411 SWIGINTERN PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11412 PyObject
*resultobj
= 0;
11413 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11414 wxColour
*result
= 0 ;
11417 PyObject
*swig_obj
[1] ;
11419 if (!args
) SWIG_fail
;
11420 swig_obj
[0] = args
;
11421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11422 if (!SWIG_IsOK(res1
)) {
11423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11425 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11429 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
11430 result
= (wxColour
*) &_result_ref
;
11432 wxPyEndAllowThreads(__tstate
);
11433 if (PyErr_Occurred()) SWIG_fail
;
11435 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
11442 SWIGINTERN PyObject
*_wrap_TextAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11443 PyObject
*resultobj
= 0;
11444 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11445 wxFont
*result
= 0 ;
11448 PyObject
*swig_obj
[1] ;
11450 if (!args
) SWIG_fail
;
11451 swig_obj
[0] = args
;
11452 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11453 if (!SWIG_IsOK(res1
)) {
11454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFont" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11456 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11460 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
11461 result
= (wxFont
*) &_result_ref
;
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11467 wxFont
* resultptr
= new wxFont(*result
);
11468 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
11476 SWIGINTERN PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11477 PyObject
*resultobj
= 0;
11478 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11479 wxTextAttrAlignment result
;
11482 PyObject
*swig_obj
[1] ;
11484 if (!args
) SWIG_fail
;
11485 swig_obj
[0] = args
;
11486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11487 if (!SWIG_IsOK(res1
)) {
11488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetAlignment" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11490 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 result
= (wxTextAttrAlignment
)((wxTextAttr
const *)arg1
)->GetAlignment();
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= SWIG_From_int(static_cast< int >(result
));
11504 SWIGINTERN PyObject
*_wrap_TextAttr_GetTabs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11505 PyObject
*resultobj
= 0;
11506 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11507 wxArrayInt
*result
= 0 ;
11510 PyObject
*swig_obj
[1] ;
11512 if (!args
) SWIG_fail
;
11513 swig_obj
[0] = args
;
11514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11515 if (!SWIG_IsOK(res1
)) {
11516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetTabs" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11518 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
11523 result
= (wxArrayInt
*) &_result_ref
;
11525 wxPyEndAllowThreads(__tstate
);
11526 if (PyErr_Occurred()) SWIG_fail
;
11529 resultobj
= wxArrayInt2PyList_helper(*result
);
11537 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11538 PyObject
*resultobj
= 0;
11539 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11543 PyObject
*swig_obj
[1] ;
11545 if (!args
) SWIG_fail
;
11546 swig_obj
[0] = args
;
11547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11548 if (!SWIG_IsOK(res1
)) {
11549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11551 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11554 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 resultobj
= SWIG_From_long(static_cast< long >(result
));
11565 SWIGINTERN PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11566 PyObject
*resultobj
= 0;
11567 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11571 PyObject
*swig_obj
[1] ;
11573 if (!args
) SWIG_fail
;
11574 swig_obj
[0] = args
;
11575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11576 if (!SWIG_IsOK(res1
)) {
11577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetLeftSubIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11579 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11582 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
11583 wxPyEndAllowThreads(__tstate
);
11584 if (PyErr_Occurred()) SWIG_fail
;
11586 resultobj
= SWIG_From_long(static_cast< long >(result
));
11593 SWIGINTERN PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11594 PyObject
*resultobj
= 0;
11595 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11599 PyObject
*swig_obj
[1] ;
11601 if (!args
) SWIG_fail
;
11602 swig_obj
[0] = args
;
11603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11604 if (!SWIG_IsOK(res1
)) {
11605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetRightIndent" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11607 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11610 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11614 resultobj
= SWIG_From_long(static_cast< long >(result
));
11621 SWIGINTERN PyObject
*_wrap_TextAttr_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11622 PyObject
*resultobj
= 0;
11623 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11627 PyObject
*swig_obj
[1] ;
11629 if (!args
) SWIG_fail
;
11630 swig_obj
[0] = args
;
11631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11632 if (!SWIG_IsOK(res1
)) {
11633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_GetFlags" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11635 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_From_long(static_cast< long >(result
));
11649 SWIGINTERN PyObject
*_wrap_TextAttr_IsDefault(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11650 PyObject
*resultobj
= 0;
11651 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
11655 PyObject
*swig_obj
[1] ;
11657 if (!args
) SWIG_fail
;
11658 swig_obj
[0] = args
;
11659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextAttr
, 0 | 0 );
11660 if (!SWIG_IsOK(res1
)) {
11661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_IsDefault" "', expected argument " "1"" of type '" "wxTextAttr const *""'");
11663 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11679 SWIGINTERN PyObject
*_wrap_TextAttr_Combine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
= 0;
11681 wxTextAttr
*arg1
= 0 ;
11682 wxTextAttr
*arg2
= 0 ;
11683 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
11691 PyObject
* obj0
= 0 ;
11692 PyObject
* obj1
= 0 ;
11693 PyObject
* obj2
= 0 ;
11694 char * kwnames
[] = {
11695 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
11698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11699 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11700 if (!SWIG_IsOK(res1
)) {
11701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11704 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "1"" of type '" "wxTextAttr const &""'");
11706 arg1
= reinterpret_cast< wxTextAttr
* >(argp1
);
11707 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
11708 if (!SWIG_IsOK(res2
)) {
11709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11712 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextAttr_Combine" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
11714 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
11715 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11716 if (!SWIG_IsOK(res3
)) {
11717 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextAttr_Combine" "', expected argument " "3"" of type '" "wxTextCtrl const *""'");
11719 arg3
= reinterpret_cast< wxTextCtrl
* >(argp3
);
11721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11722 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
11723 wxPyEndAllowThreads(__tstate
);
11724 if (PyErr_Occurred()) SWIG_fail
;
11726 resultobj
= SWIG_NewPointerObj((new wxTextAttr(static_cast< const wxTextAttr
& >(result
))), SWIGTYPE_p_wxTextAttr
, SWIG_POINTER_OWN
| 0 );
11733 SWIGINTERN PyObject
*TextAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11735 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11736 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextAttr
, SWIG_NewClientData(obj
));
11737 return SWIG_Py_Void();
11740 SWIGINTERN PyObject
*TextAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11741 return SWIG_Python_InitShadowInstance(args
);
11744 SWIGINTERN PyObject
*_wrap_new_TextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11745 PyObject
*resultobj
= 0;
11746 wxWindow
*arg1
= (wxWindow
*) 0 ;
11747 int arg2
= (int) -1 ;
11748 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11749 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11750 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11751 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11752 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11753 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11754 long arg6
= (long) 0 ;
11755 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
11756 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
11757 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
11758 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
11759 wxTextCtrl
*result
= 0 ;
11764 bool temp3
= false ;
11771 bool temp8
= false ;
11772 PyObject
* obj0
= 0 ;
11773 PyObject
* obj1
= 0 ;
11774 PyObject
* obj2
= 0 ;
11775 PyObject
* obj3
= 0 ;
11776 PyObject
* obj4
= 0 ;
11777 PyObject
* obj5
= 0 ;
11778 PyObject
* obj6
= 0 ;
11779 PyObject
* obj7
= 0 ;
11780 char * kwnames
[] = {
11781 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
11785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11786 if (!SWIG_IsOK(res1
)) {
11787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
11789 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
11791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11792 if (!SWIG_IsOK(ecode2
)) {
11793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TextCtrl" "', expected argument " "2"" of type '" "int""'");
11795 arg2
= static_cast< int >(val2
);
11799 arg3
= wxString_in_helper(obj2
);
11800 if (arg3
== NULL
) SWIG_fail
;
11807 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11813 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11817 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11818 if (!SWIG_IsOK(ecode6
)) {
11819 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_TextCtrl" "', expected argument " "6"" of type '" "long""'");
11821 arg6
= static_cast< long >(val6
);
11824 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
11825 if (!SWIG_IsOK(res7
)) {
11826 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
11831 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
11835 arg8
= wxString_in_helper(obj7
);
11836 if (arg8
== NULL
) SWIG_fail
;
11841 if (!wxPyCheckForApp()) SWIG_fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_NEW
| 0 );
11870 SWIGINTERN PyObject
*_wrap_new_PreTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11871 PyObject
*resultobj
= 0;
11872 wxTextCtrl
*result
= 0 ;
11874 if (!SWIG_Python_UnpackTuple(args
,"new_PreTextCtrl",0,0,0)) SWIG_fail
;
11876 if (!wxPyCheckForApp()) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (wxTextCtrl
*)new wxTextCtrl();
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextCtrl
, SWIG_POINTER_OWN
| 0 );
11889 SWIGINTERN PyObject
*_wrap_TextCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11890 PyObject
*resultobj
= 0;
11891 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
11892 wxWindow
*arg2
= (wxWindow
*) 0 ;
11893 int arg3
= (int) -1 ;
11894 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11895 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11896 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11897 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11898 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11899 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11900 long arg7
= (long) 0 ;
11901 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
11902 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
11903 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
11904 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
11912 bool temp4
= false ;
11919 bool temp9
= false ;
11920 PyObject
* obj0
= 0 ;
11921 PyObject
* obj1
= 0 ;
11922 PyObject
* obj2
= 0 ;
11923 PyObject
* obj3
= 0 ;
11924 PyObject
* obj4
= 0 ;
11925 PyObject
* obj5
= 0 ;
11926 PyObject
* obj6
= 0 ;
11927 PyObject
* obj7
= 0 ;
11928 PyObject
* obj8
= 0 ;
11929 char * kwnames
[] = {
11930 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
11934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
11935 if (!SWIG_IsOK(res1
)) {
11936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Create" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
11938 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
11939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11940 if (!SWIG_IsOK(res2
)) {
11941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11943 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11945 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11946 if (!SWIG_IsOK(ecode3
)) {
11947 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Create" "', expected argument " "3"" of type '" "int""'");
11949 arg3
= static_cast< int >(val3
);
11953 arg4
= wxString_in_helper(obj3
);
11954 if (arg4
== NULL
) SWIG_fail
;
11961 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11967 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11971 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
11972 if (!SWIG_IsOK(ecode7
)) {
11973 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "TextCtrl_Create" "', expected argument " "7"" of type '" "long""'");
11975 arg7
= static_cast< long >(val7
);
11978 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
11979 if (!SWIG_IsOK(res8
)) {
11980 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11983 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
11985 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
11989 arg9
= wxString_in_helper(obj8
);
11990 if (arg9
== NULL
) SWIG_fail
;
11995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11996 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12025 SWIGINTERN PyObject
*_wrap_TextCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12026 PyObject
*resultobj
= 0;
12027 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12031 PyObject
*swig_obj
[1] ;
12033 if (!args
) SWIG_fail
;
12034 swig_obj
[0] = args
;
12035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12036 if (!SWIG_IsOK(res1
)) {
12037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetValue" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12039 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
12043 wxPyEndAllowThreads(__tstate
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12059 SWIGINTERN PyObject
*_wrap_TextCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
= 0;
12061 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12062 wxString
*arg2
= 0 ;
12065 bool temp2
= false ;
12066 PyObject
* obj0
= 0 ;
12067 PyObject
* obj1
= 0 ;
12068 char * kwnames
[] = {
12069 (char *) "self",(char *) "value", NULL
12072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12074 if (!SWIG_IsOK(res1
)) {
12075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12077 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12079 arg2
= wxString_in_helper(obj1
);
12080 if (arg2
== NULL
) SWIG_fail
;
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 (arg1
)->SetValue((wxString
const &)*arg2
);
12086 wxPyEndAllowThreads(__tstate
);
12087 if (PyErr_Occurred()) SWIG_fail
;
12089 resultobj
= SWIG_Py_Void();
12104 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12105 PyObject
*resultobj
= 0;
12106 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12110 PyObject
*swig_obj
[1] ;
12112 if (!args
) SWIG_fail
;
12113 swig_obj
[0] = args
;
12114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12115 if (!SWIG_IsOK(res1
)) {
12116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12118 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEmpty();
12122 wxPyEndAllowThreads(__tstate
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12134 SWIGINTERN PyObject
*_wrap_TextCtrl_ChangeValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
= 0;
12136 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12137 wxString
*arg2
= 0 ;
12140 bool temp2
= false ;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 char * kwnames
[] = {
12144 (char *) "self",(char *) "value", NULL
12147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ChangeValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12149 if (!SWIG_IsOK(res1
)) {
12150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ChangeValue" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12152 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12154 arg2
= wxString_in_helper(obj1
);
12155 if (arg2
== NULL
) SWIG_fail
;
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 (arg1
)->ChangeValue((wxString
const &)*arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_Py_Void();
12179 SWIGINTERN PyObject
*_wrap_TextCtrl_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
= 0;
12181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12191 PyObject
* obj0
= 0 ;
12192 PyObject
* obj1
= 0 ;
12193 PyObject
* obj2
= 0 ;
12194 char * kwnames
[] = {
12195 (char *) "self",(char *) "from",(char *) "to", NULL
12198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12200 if (!SWIG_IsOK(res1
)) {
12201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetRange" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12203 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12204 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12205 if (!SWIG_IsOK(ecode2
)) {
12206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetRange" "', expected argument " "2"" of type '" "long""'");
12208 arg2
= static_cast< long >(val2
);
12209 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12210 if (!SWIG_IsOK(ecode3
)) {
12211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetRange" "', expected argument " "3"" of type '" "long""'");
12213 arg3
= static_cast< long >(val3
);
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12233 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
= 0;
12235 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12242 PyObject
* obj0
= 0 ;
12243 PyObject
* obj1
= 0 ;
12244 char * kwnames
[] = {
12245 (char *) "self",(char *) "lineNo", NULL
12248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12250 if (!SWIG_IsOK(res1
)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12253 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12254 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12255 if (!SWIG_IsOK(ecode2
)) {
12256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineLength" "', expected argument " "2"" of type '" "long""'");
12258 arg2
= static_cast< long >(val2
);
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_From_int(static_cast< int >(result
));
12272 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
= 0;
12274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12281 PyObject
* obj0
= 0 ;
12282 PyObject
* obj1
= 0 ;
12283 char * kwnames
[] = {
12284 (char *) "self",(char *) "lineNo", NULL
12287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12289 if (!SWIG_IsOK(res1
)) {
12290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLineText" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12292 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12293 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12294 if (!SWIG_IsOK(ecode2
)) {
12295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetLineText" "', expected argument " "2"" of type '" "long""'");
12297 arg2
= static_cast< long >(val2
);
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12308 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12317 SWIGINTERN PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12318 PyObject
*resultobj
= 0;
12319 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12323 PyObject
*swig_obj
[1] ;
12325 if (!args
) SWIG_fail
;
12326 swig_obj
[0] = args
;
12327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12328 if (!SWIG_IsOK(res1
)) {
12329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetNumberOfLines" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12331 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12338 resultobj
= SWIG_From_int(static_cast< int >(result
));
12345 SWIGINTERN PyObject
*_wrap_TextCtrl_IsModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12346 PyObject
*resultobj
= 0;
12347 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12351 PyObject
*swig_obj
[1] ;
12353 if (!args
) SWIG_fail
;
12354 swig_obj
[0] = args
;
12355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12356 if (!SWIG_IsOK(res1
)) {
12357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsModified" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12359 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12362 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
12363 wxPyEndAllowThreads(__tstate
);
12364 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12375 SWIGINTERN PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12376 PyObject
*resultobj
= 0;
12377 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12381 PyObject
*swig_obj
[1] ;
12383 if (!args
) SWIG_fail
;
12384 swig_obj
[0] = args
;
12385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12386 if (!SWIG_IsOK(res1
)) {
12387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsEditable" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12389 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12405 SWIGINTERN PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12406 PyObject
*resultobj
= 0;
12407 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12411 PyObject
*swig_obj
[1] ;
12413 if (!args
) SWIG_fail
;
12414 swig_obj
[0] = args
;
12415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12416 if (!SWIG_IsOK(res1
)) {
12417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsSingleLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12419 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12435 SWIGINTERN PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12436 PyObject
*resultobj
= 0;
12437 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12441 PyObject
*swig_obj
[1] ;
12443 if (!args
) SWIG_fail
;
12444 swig_obj
[0] = args
;
12445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12446 if (!SWIG_IsOK(res1
)) {
12447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_IsMultiLine" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12449 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12452 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
12453 wxPyEndAllowThreads(__tstate
);
12454 if (PyErr_Occurred()) SWIG_fail
;
12457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12465 SWIGINTERN PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12466 PyObject
*resultobj
= 0;
12467 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12468 long *arg2
= (long *) 0 ;
12469 long *arg3
= (long *) 0 ;
12473 int res2
= SWIG_TMPOBJ
;
12475 int res3
= SWIG_TMPOBJ
;
12476 PyObject
*swig_obj
[1] ;
12480 if (!args
) SWIG_fail
;
12481 swig_obj
[0] = args
;
12482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12483 if (!SWIG_IsOK(res1
)) {
12484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12486 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12489 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= SWIG_Py_Void();
12494 if (SWIG_IsTmpObj(res2
)) {
12495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
12497 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
12500 if (SWIG_IsTmpObj(res3
)) {
12501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
12503 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
12512 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12513 PyObject
*resultobj
= 0;
12514 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12518 PyObject
*swig_obj
[1] ;
12520 if (!args
) SWIG_fail
;
12521 swig_obj
[0] = args
;
12522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12523 if (!SWIG_IsOK(res1
)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStringSelection" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
12526 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12529 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
12530 wxPyEndAllowThreads(__tstate
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12546 SWIGINTERN PyObject
*_wrap_TextCtrl_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12547 PyObject
*resultobj
= 0;
12548 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12551 PyObject
*swig_obj
[1] ;
12553 if (!args
) SWIG_fail
;
12554 swig_obj
[0] = args
;
12555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12556 if (!SWIG_IsOK(res1
)) {
12557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Clear" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12559 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 wxPyEndAllowThreads(__tstate
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12566 resultobj
= SWIG_Py_Void();
12573 SWIGINTERN PyObject
*_wrap_TextCtrl_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12574 PyObject
*resultobj
= 0;
12575 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12578 wxString
*arg4
= 0 ;
12585 bool temp4
= false ;
12586 PyObject
* obj0
= 0 ;
12587 PyObject
* obj1
= 0 ;
12588 PyObject
* obj2
= 0 ;
12589 PyObject
* obj3
= 0 ;
12590 char * kwnames
[] = {
12591 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
12594 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12595 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12596 if (!SWIG_IsOK(res1
)) {
12597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Replace" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12599 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12600 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12601 if (!SWIG_IsOK(ecode2
)) {
12602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Replace" "', expected argument " "2"" of type '" "long""'");
12604 arg2
= static_cast< long >(val2
);
12605 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12606 if (!SWIG_IsOK(ecode3
)) {
12607 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Replace" "', expected argument " "3"" of type '" "long""'");
12609 arg3
= static_cast< long >(val3
);
12611 arg4
= wxString_in_helper(obj3
);
12612 if (arg4
== NULL
) SWIG_fail
;
12616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12617 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
12618 wxPyEndAllowThreads(__tstate
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12621 resultobj
= SWIG_Py_Void();
12636 SWIGINTERN PyObject
*_wrap_TextCtrl_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
= 0;
12638 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12647 PyObject
* obj0
= 0 ;
12648 PyObject
* obj1
= 0 ;
12649 PyObject
* obj2
= 0 ;
12650 char * kwnames
[] = {
12651 (char *) "self",(char *) "from",(char *) "to", NULL
12654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12656 if (!SWIG_IsOK(res1
)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Remove" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12659 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12660 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12661 if (!SWIG_IsOK(ecode2
)) {
12662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_Remove" "', expected argument " "2"" of type '" "long""'");
12664 arg2
= static_cast< long >(val2
);
12665 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
12666 if (!SWIG_IsOK(ecode3
)) {
12667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_Remove" "', expected argument " "3"" of type '" "long""'");
12669 arg3
= static_cast< long >(val3
);
12671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12672 (arg1
)->Remove(arg2
,arg3
);
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= SWIG_Py_Void();
12683 SWIGINTERN PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
= 0;
12685 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12686 wxString
*arg2
= 0 ;
12687 int arg3
= (int) wxTEXT_TYPE_ANY
;
12691 bool temp2
= false ;
12694 PyObject
* obj0
= 0 ;
12695 PyObject
* obj1
= 0 ;
12696 PyObject
* obj2
= 0 ;
12697 char * kwnames
[] = {
12698 (char *) "self",(char *) "file",(char *) "fileType", NULL
12701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12703 if (!SWIG_IsOK(res1
)) {
12704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_LoadFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12706 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12708 arg2
= wxString_in_helper(obj1
);
12709 if (arg2
== NULL
) SWIG_fail
;
12713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12714 if (!SWIG_IsOK(ecode3
)) {
12715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_LoadFile" "', expected argument " "3"" of type '" "int""'");
12717 arg3
= static_cast< int >(val3
);
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
);
12722 wxPyEndAllowThreads(__tstate
);
12723 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12742 SWIGINTERN PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12743 PyObject
*resultobj
= 0;
12744 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12745 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12746 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12747 int arg3
= (int) wxTEXT_TYPE_ANY
;
12751 bool temp2
= false ;
12754 PyObject
* obj0
= 0 ;
12755 PyObject
* obj1
= 0 ;
12756 PyObject
* obj2
= 0 ;
12757 char * kwnames
[] = {
12758 (char *) "self",(char *) "file",(char *) "fileType", NULL
12761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12763 if (!SWIG_IsOK(res1
)) {
12764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SaveFile" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12766 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12769 arg2
= wxString_in_helper(obj1
);
12770 if (arg2
== NULL
) SWIG_fail
;
12775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12776 if (!SWIG_IsOK(ecode3
)) {
12777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SaveFile" "', expected argument " "3"" of type '" "int""'");
12779 arg3
= static_cast< int >(val3
);
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12804 SWIGINTERN PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12805 PyObject
*resultobj
= 0;
12806 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12809 PyObject
*swig_obj
[1] ;
12811 if (!args
) SWIG_fail
;
12812 swig_obj
[0] = args
;
12813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12814 if (!SWIG_IsOK(res1
)) {
12815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MarkDirty" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12817 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 (arg1
)->MarkDirty();
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12824 resultobj
= SWIG_Py_Void();
12831 SWIGINTERN PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12832 PyObject
*resultobj
= 0;
12833 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12836 PyObject
*swig_obj
[1] ;
12838 if (!args
) SWIG_fail
;
12839 swig_obj
[0] = args
;
12840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12841 if (!SWIG_IsOK(res1
)) {
12842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_DiscardEdits" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12844 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12847 (arg1
)->DiscardEdits();
12848 wxPyEndAllowThreads(__tstate
);
12849 if (PyErr_Occurred()) SWIG_fail
;
12851 resultobj
= SWIG_Py_Void();
12858 SWIGINTERN PyObject
*_wrap_TextCtrl_SetModified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 char * kwnames
[] = {
12869 (char *) "self",(char *) "modified", NULL
12872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetModified",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12874 if (!SWIG_IsOK(res1
)) {
12875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetModified" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12877 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12878 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
12879 if (!SWIG_IsOK(ecode2
)) {
12880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetModified" "', expected argument " "2"" of type '" "bool""'");
12882 arg2
= static_cast< bool >(val2
);
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 (arg1
)->SetModified(arg2
);
12886 wxPyEndAllowThreads(__tstate
);
12887 if (PyErr_Occurred()) SWIG_fail
;
12889 resultobj
= SWIG_Py_Void();
12896 SWIGINTERN PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12897 PyObject
*resultobj
= 0;
12898 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12899 unsigned long arg2
;
12902 unsigned long val2
;
12904 PyObject
* obj0
= 0 ;
12905 PyObject
* obj1
= 0 ;
12906 char * kwnames
[] = {
12907 (char *) "self",(char *) "len", NULL
12910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12912 if (!SWIG_IsOK(res1
)) {
12913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12915 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12916 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12917 if (!SWIG_IsOK(ecode2
)) {
12918 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetMaxLength" "', expected argument " "2"" of type '" "unsigned long""'");
12920 arg2
= static_cast< unsigned long >(val2
);
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 (arg1
)->SetMaxLength(arg2
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 resultobj
= SWIG_Py_Void();
12934 SWIGINTERN PyObject
*_wrap_TextCtrl_WriteText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
= 0;
12936 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12937 wxString
*arg2
= 0 ;
12940 bool temp2
= false ;
12941 PyObject
* obj0
= 0 ;
12942 PyObject
* obj1
= 0 ;
12943 char * kwnames
[] = {
12944 (char *) "self",(char *) "text", NULL
12947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12949 if (!SWIG_IsOK(res1
)) {
12950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_WriteText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12952 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12954 arg2
= wxString_in_helper(obj1
);
12955 if (arg2
== NULL
) SWIG_fail
;
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 (arg1
)->WriteText((wxString
const &)*arg2
);
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_Py_Void();
12979 SWIGINTERN PyObject
*_wrap_TextCtrl_AppendText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
= 0;
12981 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
12982 wxString
*arg2
= 0 ;
12985 bool temp2
= false ;
12986 PyObject
* obj0
= 0 ;
12987 PyObject
* obj1
= 0 ;
12988 char * kwnames
[] = {
12989 (char *) "self",(char *) "text", NULL
12992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
12994 if (!SWIG_IsOK(res1
)) {
12995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_AppendText" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
12997 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
12999 arg2
= wxString_in_helper(obj1
);
13000 if (arg2
== NULL
) SWIG_fail
;
13004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13005 (arg1
)->AppendText((wxString
const &)*arg2
);
13006 wxPyEndAllowThreads(__tstate
);
13007 if (PyErr_Occurred()) SWIG_fail
;
13009 resultobj
= SWIG_Py_Void();
13024 SWIGINTERN PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13025 PyObject
*resultobj
= 0;
13026 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13027 wxKeyEvent
*arg2
= 0 ;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 char * kwnames
[] = {
13036 (char *) "self",(char *) "event", NULL
13039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13041 if (!SWIG_IsOK(res1
)) {
13042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13044 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13045 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
13046 if (!SWIG_IsOK(res2
)) {
13047 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
13050 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_EmulateKeyPress" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
13052 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
13054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13055 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
13056 wxPyEndAllowThreads(__tstate
);
13057 if (PyErr_Occurred()) SWIG_fail
;
13060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13068 SWIGINTERN PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
= 0;
13070 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13073 wxTextAttr
*arg4
= 0 ;
13083 PyObject
* obj0
= 0 ;
13084 PyObject
* obj1
= 0 ;
13085 PyObject
* obj2
= 0 ;
13086 PyObject
* obj3
= 0 ;
13087 char * kwnames
[] = {
13088 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
13091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13093 if (!SWIG_IsOK(res1
)) {
13094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13096 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13097 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13098 if (!SWIG_IsOK(ecode2
)) {
13099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetStyle" "', expected argument " "2"" of type '" "long""'");
13101 arg2
= static_cast< long >(val2
);
13102 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13103 if (!SWIG_IsOK(ecode3
)) {
13104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetStyle" "', expected argument " "3"" of type '" "long""'");
13106 arg3
= static_cast< long >(val3
);
13107 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13108 if (!SWIG_IsOK(res4
)) {
13109 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetStyle" "', expected argument " "4"" of type '" "wxTextAttr const &""'");
13114 arg4
= reinterpret_cast< wxTextAttr
* >(argp4
);
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13130 SWIGINTERN PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13131 PyObject
*resultobj
= 0;
13132 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13134 wxTextAttr
*arg3
= 0 ;
13142 PyObject
* obj0
= 0 ;
13143 PyObject
* obj1
= 0 ;
13144 PyObject
* obj2
= 0 ;
13145 char * kwnames
[] = {
13146 (char *) "self",(char *) "position",(char *) "style", NULL
13149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13151 if (!SWIG_IsOK(res1
)) {
13152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13154 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13155 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13156 if (!SWIG_IsOK(ecode2
)) {
13157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetStyle" "', expected argument " "2"" of type '" "long""'");
13159 arg2
= static_cast< long >(val2
);
13160 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTextAttr
, 0 );
13161 if (!SWIG_IsOK(res3
)) {
13162 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_GetStyle" "', expected argument " "3"" of type '" "wxTextAttr &""'");
13167 arg3
= reinterpret_cast< wxTextAttr
* >(argp3
);
13169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13170 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
13171 wxPyEndAllowThreads(__tstate
);
13172 if (PyErr_Occurred()) SWIG_fail
;
13175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13183 SWIGINTERN PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
= 0;
13185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13186 wxTextAttr
*arg2
= 0 ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 char * kwnames
[] = {
13195 (char *) "self",(char *) "style", NULL
13198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13200 if (!SWIG_IsOK(res1
)) {
13201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13203 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13204 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTextAttr
, 0 | 0);
13205 if (!SWIG_IsOK(res2
)) {
13206 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13209 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TextCtrl_SetDefaultStyle" "', expected argument " "2"" of type '" "wxTextAttr const &""'");
13211 arg2
= reinterpret_cast< wxTextAttr
* >(argp2
);
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13227 SWIGINTERN PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13228 PyObject
*resultobj
= 0;
13229 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13230 wxTextAttr
*result
= 0 ;
13233 PyObject
*swig_obj
[1] ;
13235 if (!args
) SWIG_fail
;
13236 swig_obj
[0] = args
;
13237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13238 if (!SWIG_IsOK(res1
)) {
13239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetDefaultStyle" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13241 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13245 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
13246 result
= (wxTextAttr
*) &_result_ref
;
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextAttr
, 0 | 0 );
13258 SWIGINTERN PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
= 0;
13260 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 PyObject
* obj2
= 0 ;
13273 char * kwnames
[] = {
13274 (char *) "self",(char *) "x",(char *) "y", NULL
13277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13279 if (!SWIG_IsOK(res1
)) {
13280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13282 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13283 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13284 if (!SWIG_IsOK(ecode2
)) {
13285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "2"" of type '" "long""'");
13287 arg2
= static_cast< long >(val2
);
13288 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13289 if (!SWIG_IsOK(ecode3
)) {
13290 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_XYToPosition" "', expected argument " "3"" of type '" "long""'");
13292 arg3
= static_cast< long >(val3
);
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_From_long(static_cast< long >(result
));
13306 SWIGINTERN PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
= 0;
13308 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13310 long *arg3
= (long *) 0 ;
13311 long *arg4
= (long *) 0 ;
13317 int res3
= SWIG_TMPOBJ
;
13319 int res4
= SWIG_TMPOBJ
;
13320 PyObject
* obj0
= 0 ;
13321 PyObject
* obj1
= 0 ;
13322 char * kwnames
[] = {
13323 (char *) "self",(char *) "pos", NULL
13328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13330 if (!SWIG_IsOK(res1
)) {
13331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13333 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13334 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13335 if (!SWIG_IsOK(ecode2
)) {
13336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_PositionToXY" "', expected argument " "2"" of type '" "long""'");
13338 arg2
= static_cast< long >(val2
);
13340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13341 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 resultobj
= SWIG_Py_Void();
13346 if (SWIG_IsTmpObj(res3
)) {
13347 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13349 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13350 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13352 if (SWIG_IsTmpObj(res4
)) {
13353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13355 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13364 SWIGINTERN PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
= 0;
13366 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 PyObject
* obj1
= 0 ;
13374 char * kwnames
[] = {
13375 (char *) "self",(char *) "pos", NULL
13378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13380 if (!SWIG_IsOK(res1
)) {
13381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13383 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13384 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13385 if (!SWIG_IsOK(ecode2
)) {
13386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_ShowPosition" "', expected argument " "2"" of type '" "long""'");
13388 arg2
= static_cast< long >(val2
);
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 (arg1
)->ShowPosition(arg2
);
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= SWIG_Py_Void();
13402 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
= 0;
13404 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13405 wxPoint
*arg2
= 0 ;
13406 long *arg3
= (long *) 0 ;
13407 long *arg4
= (long *) 0 ;
13408 wxTextCtrlHitTestResult result
;
13413 int res3
= SWIG_TMPOBJ
;
13415 int res4
= SWIG_TMPOBJ
;
13416 PyObject
* obj0
= 0 ;
13417 PyObject
* obj1
= 0 ;
13418 char * kwnames
[] = {
13419 (char *) "self",(char *) "pt", NULL
13424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13426 if (!SWIG_IsOK(res1
)) {
13427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTest" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13429 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= SWIG_From_int(static_cast< int >(result
));
13441 if (SWIG_IsTmpObj(res3
)) {
13442 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13444 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13445 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13447 if (SWIG_IsTmpObj(res4
)) {
13448 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
13450 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13451 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
13459 SWIGINTERN PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
= 0;
13461 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13462 wxPoint
*arg2
= 0 ;
13463 long *arg3
= (long *) 0 ;
13464 wxTextCtrlHitTestResult result
;
13469 int res3
= SWIG_TMPOBJ
;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 char * kwnames
[] = {
13473 (char *) "self",(char *) "pt", NULL
13477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13479 if (!SWIG_IsOK(res1
)) {
13480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_HitTestPos" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13482 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13485 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 result
= (wxTextCtrlHitTestResult
)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
13490 wxPyEndAllowThreads(__tstate
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 resultobj
= SWIG_From_int(static_cast< int >(result
));
13494 if (SWIG_IsTmpObj(res3
)) {
13495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
13497 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
13498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
13506 SWIGINTERN PyObject
*_wrap_TextCtrl_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13507 PyObject
*resultobj
= 0;
13508 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13511 PyObject
*swig_obj
[1] ;
13513 if (!args
) SWIG_fail
;
13514 swig_obj
[0] = args
;
13515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13516 if (!SWIG_IsOK(res1
)) {
13517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Copy" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13519 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= SWIG_Py_Void();
13533 SWIGINTERN PyObject
*_wrap_TextCtrl_Cut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13534 PyObject
*resultobj
= 0;
13535 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13538 PyObject
*swig_obj
[1] ;
13540 if (!args
) SWIG_fail
;
13541 swig_obj
[0] = args
;
13542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13543 if (!SWIG_IsOK(res1
)) {
13544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Cut" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13546 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= SWIG_Py_Void();
13560 SWIGINTERN PyObject
*_wrap_TextCtrl_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13561 PyObject
*resultobj
= 0;
13562 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13565 PyObject
*swig_obj
[1] ;
13567 if (!args
) SWIG_fail
;
13568 swig_obj
[0] = args
;
13569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13570 if (!SWIG_IsOK(res1
)) {
13571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Paste" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13573 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 resultobj
= SWIG_Py_Void();
13587 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13588 PyObject
*resultobj
= 0;
13589 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13593 PyObject
*swig_obj
[1] ;
13595 if (!args
) SWIG_fail
;
13596 swig_obj
[0] = args
;
13597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13598 if (!SWIG_IsOK(res1
)) {
13599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCopy" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13601 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13617 SWIGINTERN PyObject
*_wrap_TextCtrl_CanCut(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13618 PyObject
*resultobj
= 0;
13619 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13623 PyObject
*swig_obj
[1] ;
13625 if (!args
) SWIG_fail
;
13626 swig_obj
[0] = args
;
13627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13628 if (!SWIG_IsOK(res1
)) {
13629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanCut" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13631 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13647 SWIGINTERN PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13648 PyObject
*resultobj
= 0;
13649 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13653 PyObject
*swig_obj
[1] ;
13655 if (!args
) SWIG_fail
;
13656 swig_obj
[0] = args
;
13657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13658 if (!SWIG_IsOK(res1
)) {
13659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanPaste" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13661 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13677 SWIGINTERN PyObject
*_wrap_TextCtrl_Undo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13678 PyObject
*resultobj
= 0;
13679 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13682 PyObject
*swig_obj
[1] ;
13684 if (!args
) SWIG_fail
;
13685 swig_obj
[0] = args
;
13686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13687 if (!SWIG_IsOK(res1
)) {
13688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Undo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13690 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13697 resultobj
= SWIG_Py_Void();
13704 SWIGINTERN PyObject
*_wrap_TextCtrl_Redo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13705 PyObject
*resultobj
= 0;
13706 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13709 PyObject
*swig_obj
[1] ;
13711 if (!args
) SWIG_fail
;
13712 swig_obj
[0] = args
;
13713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13714 if (!SWIG_IsOK(res1
)) {
13715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_Redo" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13717 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 wxPyEndAllowThreads(__tstate
);
13722 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= SWIG_Py_Void();
13731 SWIGINTERN PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13732 PyObject
*resultobj
= 0;
13733 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13737 PyObject
*swig_obj
[1] ;
13739 if (!args
) SWIG_fail
;
13740 swig_obj
[0] = args
;
13741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13742 if (!SWIG_IsOK(res1
)) {
13743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanUndo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13745 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13761 SWIGINTERN PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13762 PyObject
*resultobj
= 0;
13763 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13767 PyObject
*swig_obj
[1] ;
13769 if (!args
) SWIG_fail
;
13770 swig_obj
[0] = args
;
13771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13772 if (!SWIG_IsOK(res1
)) {
13773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_CanRedo" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13775 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13791 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
= 0;
13793 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13799 PyObject
* obj0
= 0 ;
13800 PyObject
* obj1
= 0 ;
13801 char * kwnames
[] = {
13802 (char *) "self",(char *) "pos", NULL
13805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13807 if (!SWIG_IsOK(res1
)) {
13808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13810 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13811 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13812 if (!SWIG_IsOK(ecode2
)) {
13813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetInsertionPoint" "', expected argument " "2"" of type '" "long""'");
13815 arg2
= static_cast< long >(val2
);
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 (arg1
)->SetInsertionPoint(arg2
);
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= SWIG_Py_Void();
13829 SWIGINTERN PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13830 PyObject
*resultobj
= 0;
13831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13834 PyObject
*swig_obj
[1] ;
13836 if (!args
) SWIG_fail
;
13837 swig_obj
[0] = args
;
13838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13839 if (!SWIG_IsOK(res1
)) {
13840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetInsertionPointEnd" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13842 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13845 (arg1
)->SetInsertionPointEnd();
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= SWIG_Py_Void();
13856 SWIGINTERN PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13857 PyObject
*resultobj
= 0;
13858 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13862 PyObject
*swig_obj
[1] ;
13864 if (!args
) SWIG_fail
;
13865 swig_obj
[0] = args
;
13866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13867 if (!SWIG_IsOK(res1
)) {
13868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetInsertionPoint" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13870 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= SWIG_From_long(static_cast< long >(result
));
13884 SWIGINTERN PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13885 PyObject
*resultobj
= 0;
13886 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13890 PyObject
*swig_obj
[1] ;
13892 if (!args
) SWIG_fail
;
13893 swig_obj
[0] = args
;
13894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13895 if (!SWIG_IsOK(res1
)) {
13896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetLastPosition" "', expected argument " "1"" of type '" "wxTextCtrl const *""'");
13898 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
13902 wxPyEndAllowThreads(__tstate
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13905 resultobj
= SWIG_From_long(static_cast< long >(result
));
13912 SWIGINTERN PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13913 PyObject
*resultobj
= 0;
13914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13923 PyObject
* obj0
= 0 ;
13924 PyObject
* obj1
= 0 ;
13925 PyObject
* obj2
= 0 ;
13926 char * kwnames
[] = {
13927 (char *) "self",(char *) "from",(char *) "to", NULL
13930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13932 if (!SWIG_IsOK(res1
)) {
13933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetSelection" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13935 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13936 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13937 if (!SWIG_IsOK(ecode2
)) {
13938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
13940 arg2
= static_cast< long >(val2
);
13941 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
13942 if (!SWIG_IsOK(ecode3
)) {
13943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
13945 arg3
= static_cast< long >(val3
);
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 (arg1
)->SetSelection(arg2
,arg3
);
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13952 resultobj
= SWIG_Py_Void();
13959 SWIGINTERN PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13960 PyObject
*resultobj
= 0;
13961 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13964 PyObject
*swig_obj
[1] ;
13966 if (!args
) SWIG_fail
;
13967 swig_obj
[0] = args
;
13968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
13969 if (!SWIG_IsOK(res1
)) {
13970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SelectAll" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
13972 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 (arg1
)->SelectAll();
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= SWIG_Py_Void();
13986 SWIGINTERN PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
= 0;
13988 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
13994 PyObject
* obj0
= 0 ;
13995 PyObject
* obj1
= 0 ;
13996 char * kwnames
[] = {
13997 (char *) "self",(char *) "editable", NULL
14000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14002 if (!SWIG_IsOK(res1
)) {
14003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SetEditable" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14005 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14006 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14007 if (!SWIG_IsOK(ecode2
)) {
14008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_SetEditable" "', expected argument " "2"" of type '" "bool""'");
14010 arg2
= static_cast< bool >(val2
);
14012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14013 (arg1
)->SetEditable(arg2
);
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= SWIG_Py_Void();
14024 SWIGINTERN PyObject
*_wrap_TextCtrl_MacCheckSpelling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
= 0;
14026 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14032 PyObject
* obj0
= 0 ;
14033 PyObject
* obj1
= 0 ;
14034 char * kwnames
[] = {
14035 (char *) "self",(char *) "check", NULL
14038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_MacCheckSpelling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14040 if (!SWIG_IsOK(res1
)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14043 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14044 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
14045 if (!SWIG_IsOK(ecode2
)) {
14046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_MacCheckSpelling" "', expected argument " "2"" of type '" "bool""'");
14048 arg2
= static_cast< bool >(val2
);
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 wxTextCtrl_MacCheckSpelling(arg1
,arg2
);
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= SWIG_Py_Void();
14062 SWIGINTERN PyObject
*_wrap_TextCtrl_SendTextUpdatedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14063 PyObject
*resultobj
= 0;
14064 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14067 PyObject
*swig_obj
[1] ;
14069 if (!args
) SWIG_fail
;
14070 swig_obj
[0] = args
;
14071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14072 if (!SWIG_IsOK(res1
)) {
14073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_SendTextUpdatedEvent" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14075 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 (arg1
)->SendTextUpdatedEvent();
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 resultobj
= SWIG_Py_Void();
14089 SWIGINTERN PyObject
*_wrap_TextCtrl_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
= 0;
14091 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14092 wxString
*arg2
= 0 ;
14095 bool temp2
= false ;
14096 PyObject
* obj0
= 0 ;
14097 PyObject
* obj1
= 0 ;
14098 char * kwnames
[] = {
14099 (char *) "self",(char *) "text", NULL
14102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14104 if (!SWIG_IsOK(res1
)) {
14105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_write" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14107 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14109 arg2
= wxString_in_helper(obj1
);
14110 if (arg2
== NULL
) SWIG_fail
;
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_Py_Void();
14134 SWIGINTERN PyObject
*_wrap_TextCtrl_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14135 PyObject
*resultobj
= 0;
14136 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
14146 PyObject
* obj0
= 0 ;
14147 PyObject
* obj1
= 0 ;
14148 PyObject
* obj2
= 0 ;
14149 char * kwnames
[] = {
14150 (char *) "self",(char *) "from",(char *) "to", NULL
14153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextCtrl
, 0 | 0 );
14155 if (!SWIG_IsOK(res1
)) {
14156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextCtrl_GetString" "', expected argument " "1"" of type '" "wxTextCtrl *""'");
14158 arg1
= reinterpret_cast< wxTextCtrl
* >(argp1
);
14159 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14160 if (!SWIG_IsOK(ecode2
)) {
14161 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TextCtrl_GetString" "', expected argument " "2"" of type '" "long""'");
14163 arg2
= static_cast< long >(val2
);
14164 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14165 if (!SWIG_IsOK(ecode3
)) {
14166 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TextCtrl_GetString" "', expected argument " "3"" of type '" "long""'");
14168 arg3
= static_cast< long >(val3
);
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
14172 wxPyEndAllowThreads(__tstate
);
14173 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14188 SWIGINTERN PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
= 0;
14190 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14191 SwigValueWrapper
<wxVisualAttributes
> result
;
14194 PyObject
* obj0
= 0 ;
14195 char * kwnames
[] = {
14196 (char *) "variant", NULL
14199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14201 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14202 if (!SWIG_IsOK(ecode1
)) {
14203 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TextCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14205 arg1
= static_cast< wxWindowVariant
>(val1
);
14208 if (!wxPyCheckForApp()) SWIG_fail
;
14209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14210 result
= wxTextCtrl::GetClassDefaultAttributes(arg1
);
14211 wxPyEndAllowThreads(__tstate
);
14212 if (PyErr_Occurred()) SWIG_fail
;
14214 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14221 SWIGINTERN PyObject
*TextCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14224 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextCtrl
, SWIG_NewClientData(obj
));
14225 return SWIG_Py_Void();
14228 SWIGINTERN PyObject
*TextCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14229 return SWIG_Python_InitShadowInstance(args
);
14232 SWIGINTERN PyObject
*_wrap_new_TextUrlEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
= 0;
14235 wxMouseEvent
*arg2
= 0 ;
14238 wxTextUrlEvent
*result
= 0 ;
14247 PyObject
* obj0
= 0 ;
14248 PyObject
* obj1
= 0 ;
14249 PyObject
* obj2
= 0 ;
14250 PyObject
* obj3
= 0 ;
14251 char * kwnames
[] = {
14252 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
14255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14256 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14257 if (!SWIG_IsOK(ecode1
)) {
14258 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TextUrlEvent" "', expected argument " "1"" of type '" "int""'");
14260 arg1
= static_cast< int >(val1
);
14261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxMouseEvent
, 0 | 0);
14262 if (!SWIG_IsOK(res2
)) {
14263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TextUrlEvent" "', expected argument " "2"" of type '" "wxMouseEvent const &""'");
14268 arg2
= reinterpret_cast< wxMouseEvent
* >(argp2
);
14269 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14270 if (!SWIG_IsOK(ecode3
)) {
14271 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TextUrlEvent" "', expected argument " "3"" of type '" "long""'");
14273 arg3
= static_cast< long >(val3
);
14274 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
14275 if (!SWIG_IsOK(ecode4
)) {
14276 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TextUrlEvent" "', expected argument " "4"" of type '" "long""'");
14278 arg4
= static_cast< long >(val4
);
14280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14281 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextUrlEvent
, SWIG_POINTER_NEW
| 0 );
14292 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14293 PyObject
*resultobj
= 0;
14294 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14295 wxMouseEvent
*result
= 0 ;
14298 PyObject
*swig_obj
[1] ;
14300 if (!args
) SWIG_fail
;
14301 swig_obj
[0] = args
;
14302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14303 if (!SWIG_IsOK(res1
)) {
14304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetMouseEvent" "', expected argument " "1"" of type '" "wxTextUrlEvent *""'");
14306 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14310 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
14311 result
= (wxMouseEvent
*) &_result_ref
;
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
14323 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14324 PyObject
*resultobj
= 0;
14325 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14329 PyObject
*swig_obj
[1] ;
14331 if (!args
) SWIG_fail
;
14332 swig_obj
[0] = args
;
14333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14334 if (!SWIG_IsOK(res1
)) {
14335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLStart" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14337 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14340 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14344 resultobj
= SWIG_From_long(static_cast< long >(result
));
14351 SWIGINTERN PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14352 PyObject
*resultobj
= 0;
14353 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
14357 PyObject
*swig_obj
[1] ;
14359 if (!args
) SWIG_fail
;
14360 swig_obj
[0] = args
;
14361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextUrlEvent
, 0 | 0 );
14362 if (!SWIG_IsOK(res1
)) {
14363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextUrlEvent_GetURLEnd" "', expected argument " "1"" of type '" "wxTextUrlEvent const *""'");
14365 arg1
= reinterpret_cast< wxTextUrlEvent
* >(argp1
);
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 resultobj
= SWIG_From_long(static_cast< long >(result
));
14379 SWIGINTERN PyObject
*TextUrlEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14382 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextUrlEvent
, SWIG_NewClientData(obj
));
14383 return SWIG_Py_Void();
14386 SWIGINTERN PyObject
*TextUrlEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14387 return SWIG_Python_InitShadowInstance(args
);
14390 SWIGINTERN
int ScrollBarNameStr_set(PyObject
*) {
14391 SWIG_Error(SWIG_AttributeError
,"Variable ScrollBarNameStr is read-only.");
14396 SWIGINTERN PyObject
*ScrollBarNameStr_get(void) {
14397 PyObject
*pyobj
= 0;
14401 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14403 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
14410 SWIGINTERN PyObject
*_wrap_new_ScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14411 PyObject
*resultobj
= 0;
14412 wxWindow
*arg1
= (wxWindow
*) 0 ;
14413 int arg2
= (int) -1 ;
14414 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14415 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14416 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14417 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14418 long arg5
= (long) wxSB_HORIZONTAL
;
14419 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
14420 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
14421 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
14422 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14423 wxScrollBar
*result
= 0 ;
14434 bool temp7
= false ;
14435 PyObject
* obj0
= 0 ;
14436 PyObject
* obj1
= 0 ;
14437 PyObject
* obj2
= 0 ;
14438 PyObject
* obj3
= 0 ;
14439 PyObject
* obj4
= 0 ;
14440 PyObject
* obj5
= 0 ;
14441 PyObject
* obj6
= 0 ;
14442 char * kwnames
[] = {
14443 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14448 if (!SWIG_IsOK(res1
)) {
14449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrollBar" "', expected argument " "1"" of type '" "wxWindow *""'");
14451 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14454 if (!SWIG_IsOK(ecode2
)) {
14455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollBar" "', expected argument " "2"" of type '" "int""'");
14457 arg2
= static_cast< int >(val2
);
14462 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14468 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14472 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14473 if (!SWIG_IsOK(ecode5
)) {
14474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrollBar" "', expected argument " "5"" of type '" "long""'");
14476 arg5
= static_cast< long >(val5
);
14479 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
14480 if (!SWIG_IsOK(res6
)) {
14481 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14484 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ScrollBar" "', expected argument " "6"" of type '" "wxValidator const &""'");
14486 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
14490 arg7
= wxString_in_helper(obj6
);
14491 if (arg7
== NULL
) SWIG_fail
;
14496 if (!wxPyCheckForApp()) SWIG_fail
;
14497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14498 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_NEW
| 0 );
14517 SWIGINTERN PyObject
*_wrap_new_PreScrollBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14518 PyObject
*resultobj
= 0;
14519 wxScrollBar
*result
= 0 ;
14521 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrollBar",0,0,0)) SWIG_fail
;
14523 if (!wxPyCheckForApp()) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= (wxScrollBar
*)new wxScrollBar();
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollBar
, SWIG_POINTER_OWN
| 0 );
14536 SWIGINTERN PyObject
*_wrap_ScrollBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14537 PyObject
*resultobj
= 0;
14538 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14539 wxWindow
*arg2
= (wxWindow
*) 0 ;
14540 int arg3
= (int) -1 ;
14541 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14542 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14543 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14544 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14545 long arg6
= (long) wxSB_HORIZONTAL
;
14546 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14547 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14548 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
14549 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14563 bool temp8
= false ;
14564 PyObject
* obj0
= 0 ;
14565 PyObject
* obj1
= 0 ;
14566 PyObject
* obj2
= 0 ;
14567 PyObject
* obj3
= 0 ;
14568 PyObject
* obj4
= 0 ;
14569 PyObject
* obj5
= 0 ;
14570 PyObject
* obj6
= 0 ;
14571 PyObject
* obj7
= 0 ;
14572 char * kwnames
[] = {
14573 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
14577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14578 if (!SWIG_IsOK(res1
)) {
14579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_Create" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14581 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14583 if (!SWIG_IsOK(res2
)) {
14584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrollBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14586 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14588 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14589 if (!SWIG_IsOK(ecode3
)) {
14590 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrollBar_Create" "', expected argument " "3"" of type '" "int""'");
14592 arg3
= static_cast< int >(val3
);
14597 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14603 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14607 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14608 if (!SWIG_IsOK(ecode6
)) {
14609 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrollBar_Create" "', expected argument " "6"" of type '" "long""'");
14611 arg6
= static_cast< long >(val6
);
14614 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
14615 if (!SWIG_IsOK(res7
)) {
14616 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrollBar_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
14621 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
14625 arg8
= wxString_in_helper(obj7
);
14626 if (arg8
== NULL
) SWIG_fail
;
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14653 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14654 PyObject
*resultobj
= 0;
14655 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14659 PyObject
*swig_obj
[1] ;
14661 if (!args
) SWIG_fail
;
14662 swig_obj
[0] = args
;
14663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14664 if (!SWIG_IsOK(res1
)) {
14665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14667 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14670 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14674 resultobj
= SWIG_From_int(static_cast< int >(result
));
14681 SWIGINTERN PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14682 PyObject
*resultobj
= 0;
14683 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14687 PyObject
*swig_obj
[1] ;
14689 if (!args
) SWIG_fail
;
14690 swig_obj
[0] = args
;
14691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14692 if (!SWIG_IsOK(res1
)) {
14693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetThumbSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14695 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
14699 wxPyEndAllowThreads(__tstate
);
14700 if (PyErr_Occurred()) SWIG_fail
;
14702 resultobj
= SWIG_From_int(static_cast< int >(result
));
14709 SWIGINTERN PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14710 PyObject
*resultobj
= 0;
14711 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14715 PyObject
*swig_obj
[1] ;
14717 if (!args
) SWIG_fail
;
14718 swig_obj
[0] = args
;
14719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14720 if (!SWIG_IsOK(res1
)) {
14721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetPageSize" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14723 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14726 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
14727 wxPyEndAllowThreads(__tstate
);
14728 if (PyErr_Occurred()) SWIG_fail
;
14730 resultobj
= SWIG_From_int(static_cast< int >(result
));
14737 SWIGINTERN PyObject
*_wrap_ScrollBar_GetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14738 PyObject
*resultobj
= 0;
14739 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14743 PyObject
*swig_obj
[1] ;
14745 if (!args
) SWIG_fail
;
14746 swig_obj
[0] = args
;
14747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14748 if (!SWIG_IsOK(res1
)) {
14749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_GetRange" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14751 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14754 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
14755 wxPyEndAllowThreads(__tstate
);
14756 if (PyErr_Occurred()) SWIG_fail
;
14758 resultobj
= SWIG_From_int(static_cast< int >(result
));
14765 SWIGINTERN PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14766 PyObject
*resultobj
= 0;
14767 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14771 PyObject
*swig_obj
[1] ;
14773 if (!args
) SWIG_fail
;
14774 swig_obj
[0] = args
;
14775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14776 if (!SWIG_IsOK(res1
)) {
14777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_IsVertical" "', expected argument " "1"" of type '" "wxScrollBar const *""'");
14779 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14795 SWIGINTERN PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14796 PyObject
*resultobj
= 0;
14797 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 char * kwnames
[] = {
14806 (char *) "self",(char *) "viewStart", NULL
14809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollBar
, 0 | 0 );
14811 if (!SWIG_IsOK(res1
)) {
14812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "1"" of type '" "wxScrollBar *""'");
14814 arg1
= reinterpret_cast< wxScrollBar
* >(argp1
);
14815 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14816 if (!SWIG_IsOK(ecode2
)) {
14817 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollBar_SetThumbPosition" "', expected argument " "2"" of type '" "int""'");
14819 arg2
= static_cast< int >(val2
);
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 (arg1
)->SetThumbPosition(arg2
);
14823 wxPyEndAllowThreads(__tstate
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14826 resultobj
= SWIG_Py_Void();
14833 SWIGINTERN PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
= 0;
14835 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
14836 SwigValueWrapper
<wxVisualAttributes
> result
;
14839 PyObject
* obj0
= 0 ;
14840 char * kwnames
[] = {
14841 (char *) "variant", NULL
14844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
14846 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
14847 if (!SWIG_IsOK(ecode1
)) {
14848 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrollBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
14850 arg1
= static_cast< wxWindowVariant
>(val1
);
14853 if (!wxPyCheckForApp()) SWIG_fail
;
14854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 result
= wxScrollBar::GetClassDefaultAttributes(arg1
);
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14859 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
14866 SWIGINTERN PyObject
*ScrollBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14868 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14869 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollBar
, SWIG_NewClientData(obj
));
14870 return SWIG_Py_Void();
14873 SWIGINTERN PyObject
*ScrollBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14874 return SWIG_Python_InitShadowInstance(args
);
14877 SWIGINTERN
int SPIN_BUTTON_NAME_set(PyObject
*) {
14878 SWIG_Error(SWIG_AttributeError
,"Variable SPIN_BUTTON_NAME is read-only.");
14883 SWIGINTERN PyObject
*SPIN_BUTTON_NAME_get(void) {
14884 PyObject
*pyobj
= 0;
14888 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14890 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
14897 SWIGINTERN
int SpinCtrlNameStr_set(PyObject
*) {
14898 SWIG_Error(SWIG_AttributeError
,"Variable SpinCtrlNameStr is read-only.");
14903 SWIGINTERN PyObject
*SpinCtrlNameStr_get(void) {
14904 PyObject
*pyobj
= 0;
14908 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14910 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
14917 SWIGINTERN PyObject
*_wrap_new_SpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
= 0;
14919 wxWindow
*arg1
= (wxWindow
*) 0 ;
14920 int arg2
= (int) -1 ;
14921 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14922 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14923 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14924 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14925 long arg5
= (long) wxSP_HORIZONTAL
;
14926 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
14927 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14928 wxSpinButton
*result
= 0 ;
14937 bool temp6
= false ;
14938 PyObject
* obj0
= 0 ;
14939 PyObject
* obj1
= 0 ;
14940 PyObject
* obj2
= 0 ;
14941 PyObject
* obj3
= 0 ;
14942 PyObject
* obj4
= 0 ;
14943 PyObject
* obj5
= 0 ;
14944 char * kwnames
[] = {
14945 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14950 if (!SWIG_IsOK(res1
)) {
14951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinButton" "', expected argument " "1"" of type '" "wxWindow *""'");
14953 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14956 if (!SWIG_IsOK(ecode2
)) {
14957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinButton" "', expected argument " "2"" of type '" "int""'");
14959 arg2
= static_cast< int >(val2
);
14964 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14970 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14974 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14975 if (!SWIG_IsOK(ecode5
)) {
14976 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SpinButton" "', expected argument " "5"" of type '" "long""'");
14978 arg5
= static_cast< long >(val5
);
14982 arg6
= wxString_in_helper(obj5
);
14983 if (arg6
== NULL
) SWIG_fail
;
14988 if (!wxPyCheckForApp()) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14991 wxPyEndAllowThreads(__tstate
);
14992 if (PyErr_Occurred()) SWIG_fail
;
14994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_NEW
| 0 );
15009 SWIGINTERN PyObject
*_wrap_new_PreSpinButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15010 PyObject
*resultobj
= 0;
15011 wxSpinButton
*result
= 0 ;
15013 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinButton",0,0,0)) SWIG_fail
;
15015 if (!wxPyCheckForApp()) SWIG_fail
;
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 result
= (wxSpinButton
*)new wxSpinButton();
15018 wxPyEndAllowThreads(__tstate
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15021 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinButton
, SWIG_POINTER_OWN
| 0 );
15028 SWIGINTERN PyObject
*_wrap_SpinButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
= 0;
15030 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15031 wxWindow
*arg2
= (wxWindow
*) 0 ;
15032 int arg3
= (int) -1 ;
15033 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15034 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15035 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15036 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15037 long arg6
= (long) wxSP_HORIZONTAL
;
15038 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
15039 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15051 bool temp7
= false ;
15052 PyObject
* obj0
= 0 ;
15053 PyObject
* obj1
= 0 ;
15054 PyObject
* obj2
= 0 ;
15055 PyObject
* obj3
= 0 ;
15056 PyObject
* obj4
= 0 ;
15057 PyObject
* obj5
= 0 ;
15058 PyObject
* obj6
= 0 ;
15059 char * kwnames
[] = {
15060 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15065 if (!SWIG_IsOK(res1
)) {
15066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_Create" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15068 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15069 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15070 if (!SWIG_IsOK(res2
)) {
15071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15073 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15075 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15076 if (!SWIG_IsOK(ecode3
)) {
15077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_Create" "', expected argument " "3"" of type '" "int""'");
15079 arg3
= static_cast< int >(val3
);
15084 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15090 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15094 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15095 if (!SWIG_IsOK(ecode6
)) {
15096 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SpinButton_Create" "', expected argument " "6"" of type '" "long""'");
15098 arg6
= static_cast< long >(val6
);
15102 arg7
= wxString_in_helper(obj6
);
15103 if (arg7
== NULL
) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15130 SWIGINTERN PyObject
*_wrap_SpinButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15131 PyObject
*resultobj
= 0;
15132 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15136 PyObject
*swig_obj
[1] ;
15138 if (!args
) SWIG_fail
;
15139 swig_obj
[0] = args
;
15140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15141 if (!SWIG_IsOK(res1
)) {
15142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetValue" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15144 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15147 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= SWIG_From_int(static_cast< int >(result
));
15158 SWIGINTERN PyObject
*_wrap_SpinButton_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15159 PyObject
*resultobj
= 0;
15160 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15164 PyObject
*swig_obj
[1] ;
15166 if (!args
) SWIG_fail
;
15167 swig_obj
[0] = args
;
15168 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15169 if (!SWIG_IsOK(res1
)) {
15170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMin" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15172 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15175 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_From_int(static_cast< int >(result
));
15186 SWIGINTERN PyObject
*_wrap_SpinButton_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15187 PyObject
*resultobj
= 0;
15188 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15192 PyObject
*swig_obj
[1] ;
15194 if (!args
) SWIG_fail
;
15195 swig_obj
[0] = args
;
15196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15197 if (!SWIG_IsOK(res1
)) {
15198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_GetMax" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15200 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15207 resultobj
= SWIG_From_int(static_cast< int >(result
));
15214 SWIGINTERN PyObject
*_wrap_SpinButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
= 0;
15216 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15222 PyObject
* obj0
= 0 ;
15223 PyObject
* obj1
= 0 ;
15224 char * kwnames
[] = {
15225 (char *) "self",(char *) "val", NULL
15228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15230 if (!SWIG_IsOK(res1
)) {
15231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetValue" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15233 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15235 if (!SWIG_IsOK(ecode2
)) {
15236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetValue" "', expected argument " "2"" of type '" "int""'");
15238 arg2
= static_cast< int >(val2
);
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 (arg1
)->SetValue(arg2
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= SWIG_Py_Void();
15252 SWIGINTERN PyObject
*_wrap_SpinButton_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
= 0;
15254 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15260 PyObject
* obj0
= 0 ;
15261 PyObject
* obj1
= 0 ;
15262 char * kwnames
[] = {
15263 (char *) "self",(char *) "minVal", NULL
15266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15268 if (!SWIG_IsOK(res1
)) {
15269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMin" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15271 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15273 if (!SWIG_IsOK(ecode2
)) {
15274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMin" "', expected argument " "2"" of type '" "int""'");
15276 arg2
= static_cast< int >(val2
);
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 (arg1
)->SetMin(arg2
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= SWIG_Py_Void();
15290 SWIGINTERN PyObject
*_wrap_SpinButton_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
= 0;
15292 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15298 PyObject
* obj0
= 0 ;
15299 PyObject
* obj1
= 0 ;
15300 char * kwnames
[] = {
15301 (char *) "self",(char *) "maxVal", NULL
15304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15306 if (!SWIG_IsOK(res1
)) {
15307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetMax" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15309 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15311 if (!SWIG_IsOK(ecode2
)) {
15312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetMax" "', expected argument " "2"" of type '" "int""'");
15314 arg2
= static_cast< int >(val2
);
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 (arg1
)->SetMax(arg2
);
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= SWIG_Py_Void();
15328 SWIGINTERN PyObject
*_wrap_SpinButton_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
= 0;
15330 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 PyObject
* obj1
= 0 ;
15341 PyObject
* obj2
= 0 ;
15342 char * kwnames
[] = {
15343 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15348 if (!SWIG_IsOK(res1
)) {
15349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_SetRange" "', expected argument " "1"" of type '" "wxSpinButton *""'");
15351 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15352 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15353 if (!SWIG_IsOK(ecode2
)) {
15354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinButton_SetRange" "', expected argument " "2"" of type '" "int""'");
15356 arg2
= static_cast< int >(val2
);
15357 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15358 if (!SWIG_IsOK(ecode3
)) {
15359 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinButton_SetRange" "', expected argument " "3"" of type '" "int""'");
15361 arg3
= static_cast< int >(val3
);
15363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15364 (arg1
)->SetRange(arg2
,arg3
);
15365 wxPyEndAllowThreads(__tstate
);
15366 if (PyErr_Occurred()) SWIG_fail
;
15368 resultobj
= SWIG_Py_Void();
15375 SWIGINTERN PyObject
*_wrap_SpinButton_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15376 PyObject
*resultobj
= 0;
15377 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
15381 PyObject
*swig_obj
[1] ;
15383 if (!args
) SWIG_fail
;
15384 swig_obj
[0] = args
;
15385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinButton
, 0 | 0 );
15386 if (!SWIG_IsOK(res1
)) {
15387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinButton_IsVertical" "', expected argument " "1"" of type '" "wxSpinButton const *""'");
15389 arg1
= reinterpret_cast< wxSpinButton
* >(argp1
);
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15405 SWIGINTERN PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
= 0;
15407 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
15408 SwigValueWrapper
<wxVisualAttributes
> result
;
15411 PyObject
* obj0
= 0 ;
15412 char * kwnames
[] = {
15413 (char *) "variant", NULL
15416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
15418 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15419 if (!SWIG_IsOK(ecode1
)) {
15420 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
15422 arg1
= static_cast< wxWindowVariant
>(val1
);
15425 if (!wxPyCheckForApp()) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 result
= wxSpinButton::GetClassDefaultAttributes(arg1
);
15428 wxPyEndAllowThreads(__tstate
);
15429 if (PyErr_Occurred()) SWIG_fail
;
15431 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
15438 SWIGINTERN PyObject
*SpinButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15441 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinButton
, SWIG_NewClientData(obj
));
15442 return SWIG_Py_Void();
15445 SWIGINTERN PyObject
*SpinButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15446 return SWIG_Python_InitShadowInstance(args
);
15449 SWIGINTERN PyObject
*_wrap_new_SpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
= 0;
15451 wxWindow
*arg1
= (wxWindow
*) 0 ;
15452 int arg2
= (int) -1 ;
15453 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15454 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15455 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15456 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15457 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15458 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15459 long arg6
= (long) wxSP_ARROW_KEYS
;
15460 int arg7
= (int) 0 ;
15461 int arg8
= (int) 100 ;
15462 int arg9
= (int) 0 ;
15463 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
15464 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
15465 wxSpinCtrl
*result
= 0 ;
15470 bool temp3
= false ;
15481 bool temp10
= false ;
15482 PyObject
* obj0
= 0 ;
15483 PyObject
* obj1
= 0 ;
15484 PyObject
* obj2
= 0 ;
15485 PyObject
* obj3
= 0 ;
15486 PyObject
* obj4
= 0 ;
15487 PyObject
* obj5
= 0 ;
15488 PyObject
* obj6
= 0 ;
15489 PyObject
* obj7
= 0 ;
15490 PyObject
* obj8
= 0 ;
15491 PyObject
* obj9
= 0 ;
15492 char * kwnames
[] = {
15493 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
15497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15498 if (!SWIG_IsOK(res1
)) {
15499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SpinCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
15501 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15504 if (!SWIG_IsOK(ecode2
)) {
15505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinCtrl" "', expected argument " "2"" of type '" "int""'");
15507 arg2
= static_cast< int >(val2
);
15511 arg3
= wxString_in_helper(obj2
);
15512 if (arg3
== NULL
) SWIG_fail
;
15519 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15525 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15529 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15530 if (!SWIG_IsOK(ecode6
)) {
15531 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SpinCtrl" "', expected argument " "6"" of type '" "long""'");
15533 arg6
= static_cast< long >(val6
);
15536 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
15537 if (!SWIG_IsOK(ecode7
)) {
15538 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_SpinCtrl" "', expected argument " "7"" of type '" "int""'");
15540 arg7
= static_cast< int >(val7
);
15543 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15544 if (!SWIG_IsOK(ecode8
)) {
15545 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SpinCtrl" "', expected argument " "8"" of type '" "int""'");
15547 arg8
= static_cast< int >(val8
);
15550 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15551 if (!SWIG_IsOK(ecode9
)) {
15552 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "new_SpinCtrl" "', expected argument " "9"" of type '" "int""'");
15554 arg9
= static_cast< int >(val9
);
15558 arg10
= wxString_in_helper(obj9
);
15559 if (arg10
== NULL
) SWIG_fail
;
15564 if (!wxPyCheckForApp()) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_NEW
| 0 );
15593 SWIGINTERN PyObject
*_wrap_new_PreSpinCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15594 PyObject
*resultobj
= 0;
15595 wxSpinCtrl
*result
= 0 ;
15597 if (!SWIG_Python_UnpackTuple(args
,"new_PreSpinCtrl",0,0,0)) SWIG_fail
;
15599 if (!wxPyCheckForApp()) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 result
= (wxSpinCtrl
*)new wxSpinCtrl();
15602 wxPyEndAllowThreads(__tstate
);
15603 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinCtrl
, SWIG_POINTER_OWN
| 0 );
15612 SWIGINTERN PyObject
*_wrap_SpinCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
= 0;
15614 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15615 wxWindow
*arg2
= (wxWindow
*) 0 ;
15616 int arg3
= (int) -1 ;
15617 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15618 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15619 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15620 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15621 wxSize
const &arg6_defvalue
= wxDefaultSize
;
15622 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
15623 long arg7
= (long) wxSP_ARROW_KEYS
;
15624 int arg8
= (int) 0 ;
15625 int arg9
= (int) 100 ;
15626 int arg10
= (int) 0 ;
15627 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
15628 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
15636 bool temp4
= false ;
15647 bool temp11
= false ;
15648 PyObject
* obj0
= 0 ;
15649 PyObject
* obj1
= 0 ;
15650 PyObject
* obj2
= 0 ;
15651 PyObject
* obj3
= 0 ;
15652 PyObject
* obj4
= 0 ;
15653 PyObject
* obj5
= 0 ;
15654 PyObject
* obj6
= 0 ;
15655 PyObject
* obj7
= 0 ;
15656 PyObject
* obj8
= 0 ;
15657 PyObject
* obj9
= 0 ;
15658 PyObject
* obj10
= 0 ;
15659 char * kwnames
[] = {
15660 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
15663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
15664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15665 if (!SWIG_IsOK(res1
)) {
15666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_Create" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15668 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15670 if (!SWIG_IsOK(res2
)) {
15671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SpinCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15673 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15676 if (!SWIG_IsOK(ecode3
)) {
15677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_Create" "', expected argument " "3"" of type '" "int""'");
15679 arg3
= static_cast< int >(val3
);
15683 arg4
= wxString_in_helper(obj3
);
15684 if (arg4
== NULL
) SWIG_fail
;
15691 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15697 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
15701 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
15702 if (!SWIG_IsOK(ecode7
)) {
15703 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SpinCtrl_Create" "', expected argument " "7"" of type '" "long""'");
15705 arg7
= static_cast< long >(val7
);
15708 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
15709 if (!SWIG_IsOK(ecode8
)) {
15710 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "SpinCtrl_Create" "', expected argument " "8"" of type '" "int""'");
15712 arg8
= static_cast< int >(val8
);
15715 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
15716 if (!SWIG_IsOK(ecode9
)) {
15717 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "SpinCtrl_Create" "', expected argument " "9"" of type '" "int""'");
15719 arg9
= static_cast< int >(val9
);
15722 ecode10
= SWIG_AsVal_int(obj9
, &val10
);
15723 if (!SWIG_IsOK(ecode10
)) {
15724 SWIG_exception_fail(SWIG_ArgError(ecode10
), "in method '" "SpinCtrl_Create" "', expected argument " "10"" of type '" "int""'");
15726 arg10
= static_cast< int >(val10
);
15730 arg11
= wxString_in_helper(obj10
);
15731 if (arg11
== NULL
) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
15738 wxPyEndAllowThreads(__tstate
);
15739 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15766 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15767 PyObject
*resultobj
= 0;
15768 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15772 PyObject
*swig_obj
[1] ;
15774 if (!args
) SWIG_fail
;
15775 swig_obj
[0] = args
;
15776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15777 if (!SWIG_IsOK(res1
)) {
15778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetValue" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15780 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15783 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
15784 wxPyEndAllowThreads(__tstate
);
15785 if (PyErr_Occurred()) SWIG_fail
;
15787 resultobj
= SWIG_From_int(static_cast< int >(result
));
15794 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15795 PyObject
*resultobj
= 0;
15796 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15802 PyObject
* obj0
= 0 ;
15803 PyObject
* obj1
= 0 ;
15804 char * kwnames
[] = {
15805 (char *) "self",(char *) "value", NULL
15808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15810 if (!SWIG_IsOK(res1
)) {
15811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValue" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15813 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15815 if (!SWIG_IsOK(ecode2
)) {
15816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetValue" "', expected argument " "2"" of type '" "int""'");
15818 arg2
= static_cast< int >(val2
);
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 (arg1
)->SetValue(arg2
);
15822 wxPyEndAllowThreads(__tstate
);
15823 if (PyErr_Occurred()) SWIG_fail
;
15825 resultobj
= SWIG_Py_Void();
15832 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15833 PyObject
*resultobj
= 0;
15834 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15835 wxString
*arg2
= 0 ;
15838 bool temp2
= false ;
15839 PyObject
* obj0
= 0 ;
15840 PyObject
* obj1
= 0 ;
15841 char * kwnames
[] = {
15842 (char *) "self",(char *) "text", NULL
15845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15847 if (!SWIG_IsOK(res1
)) {
15848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetValueString" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15850 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15852 arg2
= wxString_in_helper(obj1
);
15853 if (arg2
== NULL
) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 (arg1
)->SetValue((wxString
const &)*arg2
);
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= SWIG_Py_Void();
15877 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
= 0;
15879 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15888 PyObject
* obj0
= 0 ;
15889 PyObject
* obj1
= 0 ;
15890 PyObject
* obj2
= 0 ;
15891 char * kwnames
[] = {
15892 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
15895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15897 if (!SWIG_IsOK(res1
)) {
15898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetRange" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
15900 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15902 if (!SWIG_IsOK(ecode2
)) {
15903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetRange" "', expected argument " "2"" of type '" "int""'");
15905 arg2
= static_cast< int >(val2
);
15906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15907 if (!SWIG_IsOK(ecode3
)) {
15908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetRange" "', expected argument " "3"" of type '" "int""'");
15910 arg3
= static_cast< int >(val3
);
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 (arg1
)->SetRange(arg2
,arg3
);
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 resultobj
= SWIG_Py_Void();
15924 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15925 PyObject
*resultobj
= 0;
15926 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15930 PyObject
*swig_obj
[1] ;
15932 if (!args
) SWIG_fail
;
15933 swig_obj
[0] = args
;
15934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15935 if (!SWIG_IsOK(res1
)) {
15936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMin" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15938 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15945 resultobj
= SWIG_From_int(static_cast< int >(result
));
15952 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15953 PyObject
*resultobj
= 0;
15954 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15958 PyObject
*swig_obj
[1] ;
15960 if (!args
) SWIG_fail
;
15961 swig_obj
[0] = args
;
15962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
15963 if (!SWIG_IsOK(res1
)) {
15964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_GetMax" "', expected argument " "1"" of type '" "wxSpinCtrl const *""'");
15966 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 resultobj
= SWIG_From_int(static_cast< int >(result
));
15980 SWIGINTERN PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15981 PyObject
*resultobj
= 0;
15982 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
15991 PyObject
* obj0
= 0 ;
15992 PyObject
* obj1
= 0 ;
15993 PyObject
* obj2
= 0 ;
15994 char * kwnames
[] = {
15995 (char *) "self",(char *) "from",(char *) "to", NULL
15998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinCtrl
, 0 | 0 );
16000 if (!SWIG_IsOK(res1
)) {
16001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "1"" of type '" "wxSpinCtrl *""'");
16003 arg1
= reinterpret_cast< wxSpinCtrl
* >(argp1
);
16004 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
16005 if (!SWIG_IsOK(ecode2
)) {
16006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "2"" of type '" "long""'");
16008 arg2
= static_cast< long >(val2
);
16009 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
16010 if (!SWIG_IsOK(ecode3
)) {
16011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SpinCtrl_SetSelection" "', expected argument " "3"" of type '" "long""'");
16013 arg3
= static_cast< long >(val3
);
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 (arg1
)->SetSelection(arg2
,arg3
);
16017 wxPyEndAllowThreads(__tstate
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16020 resultobj
= SWIG_Py_Void();
16027 SWIGINTERN PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16028 PyObject
*resultobj
= 0;
16029 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
16030 SwigValueWrapper
<wxVisualAttributes
> result
;
16033 PyObject
* obj0
= 0 ;
16034 char * kwnames
[] = {
16035 (char *) "variant", NULL
16038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
16040 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16041 if (!SWIG_IsOK(ecode1
)) {
16042 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SpinCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
16044 arg1
= static_cast< wxWindowVariant
>(val1
);
16047 if (!wxPyCheckForApp()) SWIG_fail
;
16048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16049 result
= wxSpinCtrl::GetClassDefaultAttributes(arg1
);
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16053 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
16060 SWIGINTERN PyObject
*SpinCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16063 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinCtrl
, SWIG_NewClientData(obj
));
16064 return SWIG_Py_Void();
16067 SWIGINTERN PyObject
*SpinCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16068 return SWIG_Python_InitShadowInstance(args
);
16071 SWIGINTERN PyObject
*_wrap_new_SpinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
= 0;
16073 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16074 int arg2
= (int) 0 ;
16075 wxSpinEvent
*result
= 0 ;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 char * kwnames
[] = {
16083 (char *) "commandType",(char *) "winid", NULL
16086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16088 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16089 if (!SWIG_IsOK(ecode1
)) {
16090 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SpinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16092 arg1
= static_cast< wxEventType
>(val1
);
16095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16096 if (!SWIG_IsOK(ecode2
)) {
16097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SpinEvent" "', expected argument " "2"" of type '" "int""'");
16099 arg2
= static_cast< int >(val2
);
16102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16103 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSpinEvent
, SWIG_POINTER_NEW
| 0 );
16114 SWIGINTERN PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16115 PyObject
*resultobj
= 0;
16116 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16120 PyObject
*swig_obj
[1] ;
16122 if (!args
) SWIG_fail
;
16123 swig_obj
[0] = args
;
16124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16125 if (!SWIG_IsOK(res1
)) {
16126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_GetPosition" "', expected argument " "1"" of type '" "wxSpinEvent const *""'");
16128 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16131 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
16132 wxPyEndAllowThreads(__tstate
);
16133 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= SWIG_From_int(static_cast< int >(result
));
16142 SWIGINTERN PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
= 0;
16144 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
16150 PyObject
* obj0
= 0 ;
16151 PyObject
* obj1
= 0 ;
16152 char * kwnames
[] = {
16153 (char *) "self",(char *) "pos", NULL
16156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSpinEvent
, 0 | 0 );
16158 if (!SWIG_IsOK(res1
)) {
16159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SpinEvent_SetPosition" "', expected argument " "1"" of type '" "wxSpinEvent *""'");
16161 arg1
= reinterpret_cast< wxSpinEvent
* >(argp1
);
16162 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16163 if (!SWIG_IsOK(ecode2
)) {
16164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SpinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
16166 arg2
= static_cast< int >(val2
);
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 (arg1
)->SetPosition(arg2
);
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 resultobj
= SWIG_Py_Void();
16180 SWIGINTERN PyObject
*SpinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16183 SWIG_TypeNewClientData(SWIGTYPE_p_wxSpinEvent
, SWIG_NewClientData(obj
));
16184 return SWIG_Py_Void();
16187 SWIGINTERN PyObject
*SpinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16188 return SWIG_Python_InitShadowInstance(args
);
16191 SWIGINTERN
int RadioBoxNameStr_set(PyObject
*) {
16192 SWIG_Error(SWIG_AttributeError
,"Variable RadioBoxNameStr is read-only.");
16197 SWIGINTERN PyObject
*RadioBoxNameStr_get(void) {
16198 PyObject
*pyobj
= 0;
16202 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16204 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
16211 SWIGINTERN
int RadioButtonNameStr_set(PyObject
*) {
16212 SWIG_Error(SWIG_AttributeError
,"Variable RadioButtonNameStr is read-only.");
16217 SWIGINTERN PyObject
*RadioButtonNameStr_get(void) {
16218 PyObject
*pyobj
= 0;
16222 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16224 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
16231 SWIGINTERN PyObject
*_wrap_new_RadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
= 0;
16233 wxWindow
*arg1
= (wxWindow
*) 0 ;
16234 int arg2
= (int) -1 ;
16235 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16236 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16237 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16238 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16239 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16240 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16241 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
16242 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
16243 int arg7
= (int) 0 ;
16244 long arg8
= (long) wxRA_HORIZONTAL
;
16245 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
16246 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
16247 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
16248 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
16249 wxRadioBox
*result
= 0 ;
16254 bool temp3
= false ;
16257 bool temp6
= false ;
16264 bool temp10
= false ;
16265 PyObject
* obj0
= 0 ;
16266 PyObject
* obj1
= 0 ;
16267 PyObject
* obj2
= 0 ;
16268 PyObject
* obj3
= 0 ;
16269 PyObject
* obj4
= 0 ;
16270 PyObject
* obj5
= 0 ;
16271 PyObject
* obj6
= 0 ;
16272 PyObject
* obj7
= 0 ;
16273 PyObject
* obj8
= 0 ;
16274 PyObject
* obj9
= 0 ;
16275 char * kwnames
[] = {
16276 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
16280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16281 if (!SWIG_IsOK(res1
)) {
16282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioBox" "', expected argument " "1"" of type '" "wxWindow *""'");
16284 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16287 if (!SWIG_IsOK(ecode2
)) {
16288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioBox" "', expected argument " "2"" of type '" "int""'");
16290 arg2
= static_cast< int >(val2
);
16294 arg3
= wxString_in_helper(obj2
);
16295 if (arg3
== NULL
) SWIG_fail
;
16302 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16308 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16313 if (! PySequence_Check(obj5
)) {
16314 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16317 arg6
= new wxArrayString
;
16319 int i
, len
=PySequence_Length(obj5
);
16320 for (i
=0; i
<len
; i
++) {
16321 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16322 wxString
* s
= wxString_in_helper(item
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16331 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
16332 if (!SWIG_IsOK(ecode7
)) {
16333 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_RadioBox" "', expected argument " "7"" of type '" "int""'");
16335 arg7
= static_cast< int >(val7
);
16338 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
16339 if (!SWIG_IsOK(ecode8
)) {
16340 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_RadioBox" "', expected argument " "8"" of type '" "long""'");
16342 arg8
= static_cast< long >(val8
);
16345 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
16346 if (!SWIG_IsOK(res9
)) {
16347 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16350 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioBox" "', expected argument " "9"" of type '" "wxValidator const &""'");
16352 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
16356 arg10
= wxString_in_helper(obj9
);
16357 if (arg10
== NULL
) SWIG_fail
;
16362 if (!wxPyCheckForApp()) SWIG_fail
;
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 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
);
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_NEW
| 0 );
16374 if (temp6
) delete arg6
;
16387 if (temp6
) delete arg6
;
16397 SWIGINTERN PyObject
*_wrap_new_PreRadioBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16398 PyObject
*resultobj
= 0;
16399 wxRadioBox
*result
= 0 ;
16401 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioBox",0,0,0)) SWIG_fail
;
16403 if (!wxPyCheckForApp()) SWIG_fail
;
16404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16405 result
= (wxRadioBox
*)new wxRadioBox();
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioBox
, SWIG_POINTER_OWN
| 0 );
16416 SWIGINTERN PyObject
*_wrap_RadioBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16417 PyObject
*resultobj
= 0;
16418 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16419 wxWindow
*arg2
= (wxWindow
*) 0 ;
16420 int arg3
= (int) -1 ;
16421 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16422 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16423 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16424 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16425 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16426 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16427 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
16428 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
16429 int arg8
= (int) 0 ;
16430 long arg9
= (long) wxRA_HORIZONTAL
;
16431 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
16432 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
16433 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
16434 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
16442 bool temp4
= false ;
16445 bool temp7
= false ;
16452 bool temp11
= false ;
16453 PyObject
* obj0
= 0 ;
16454 PyObject
* obj1
= 0 ;
16455 PyObject
* obj2
= 0 ;
16456 PyObject
* obj3
= 0 ;
16457 PyObject
* obj4
= 0 ;
16458 PyObject
* obj5
= 0 ;
16459 PyObject
* obj6
= 0 ;
16460 PyObject
* obj7
= 0 ;
16461 PyObject
* obj8
= 0 ;
16462 PyObject
* obj9
= 0 ;
16463 PyObject
* obj10
= 0 ;
16464 char * kwnames
[] = {
16465 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
16468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
16469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16470 if (!SWIG_IsOK(res1
)) {
16471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_Create" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16473 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16475 if (!SWIG_IsOK(res2
)) {
16476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
16478 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
16480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16481 if (!SWIG_IsOK(ecode3
)) {
16482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_Create" "', expected argument " "3"" of type '" "int""'");
16484 arg3
= static_cast< int >(val3
);
16488 arg4
= wxString_in_helper(obj3
);
16489 if (arg4
== NULL
) SWIG_fail
;
16496 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16502 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16507 if (! PySequence_Check(obj6
)) {
16508 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
16511 arg7
= new wxArrayString
;
16513 int i
, len
=PySequence_Length(obj6
);
16514 for (i
=0; i
<len
; i
++) {
16515 PyObject
* item
= PySequence_GetItem(obj6
, i
);
16516 wxString
* s
= wxString_in_helper(item
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16525 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
16526 if (!SWIG_IsOK(ecode8
)) {
16527 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "RadioBox_Create" "', expected argument " "8"" of type '" "int""'");
16529 arg8
= static_cast< int >(val8
);
16532 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
16533 if (!SWIG_IsOK(ecode9
)) {
16534 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "RadioBox_Create" "', expected argument " "9"" of type '" "long""'");
16536 arg9
= static_cast< long >(val9
);
16539 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
16540 if (!SWIG_IsOK(res10
)) {
16541 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioBox_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
16546 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
16550 arg11
= wxString_in_helper(obj10
);
16551 if (arg11
== NULL
) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 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
);
16558 wxPyEndAllowThreads(__tstate
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16569 if (temp7
) delete arg7
;
16582 if (temp7
) delete arg7
;
16592 SWIGINTERN PyObject
*_wrap_RadioBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
= 0;
16594 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16600 PyObject
* obj0
= 0 ;
16601 PyObject
* obj1
= 0 ;
16602 char * kwnames
[] = {
16603 (char *) "self",(char *) "n", NULL
16606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16608 if (!SWIG_IsOK(res1
)) {
16609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16611 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16613 if (!SWIG_IsOK(ecode2
)) {
16614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
16616 arg2
= static_cast< int >(val2
);
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 (arg1
)->SetSelection(arg2
);
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 resultobj
= SWIG_Py_Void();
16630 SWIGINTERN PyObject
*_wrap_RadioBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16631 PyObject
*resultobj
= 0;
16632 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16636 PyObject
*swig_obj
[1] ;
16638 if (!args
) SWIG_fail
;
16639 swig_obj
[0] = args
;
16640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16641 if (!SWIG_IsOK(res1
)) {
16642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16644 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= SWIG_From_int(static_cast< int >(result
));
16658 SWIGINTERN PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16659 PyObject
*resultobj
= 0;
16660 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16664 PyObject
*swig_obj
[1] ;
16666 if (!args
) SWIG_fail
;
16667 swig_obj
[0] = args
;
16668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16669 if (!SWIG_IsOK(res1
)) {
16670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16672 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
16676 wxPyEndAllowThreads(__tstate
);
16677 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16692 SWIGINTERN PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
= 0;
16694 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16695 wxString
*arg2
= 0 ;
16699 bool temp2
= false ;
16700 PyObject
* obj0
= 0 ;
16701 PyObject
* obj1
= 0 ;
16702 char * kwnames
[] = {
16703 (char *) "self",(char *) "s", NULL
16706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16708 if (!SWIG_IsOK(res1
)) {
16709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetStringSelection" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16711 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16713 arg2
= wxString_in_helper(obj1
);
16714 if (arg2
== NULL
) SWIG_fail
;
16718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16719 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16740 SWIGINTERN PyObject
*_wrap_RadioBox_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16741 PyObject
*resultobj
= 0;
16742 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16746 PyObject
*swig_obj
[1] ;
16748 if (!args
) SWIG_fail
;
16749 swig_obj
[0] = args
;
16750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16751 if (!SWIG_IsOK(res1
)) {
16752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16754 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= (size_t)((wxRadioBox
const *)arg1
)->GetCount();
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16761 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
16768 SWIGINTERN PyObject
*_wrap_RadioBox_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16769 PyObject
*resultobj
= 0;
16770 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16771 wxString
*arg2
= 0 ;
16775 bool temp2
= false ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 char * kwnames
[] = {
16779 (char *) "self",(char *) "s", NULL
16782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16784 if (!SWIG_IsOK(res1
)) {
16785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_FindString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16787 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16789 arg2
= wxString_in_helper(obj1
);
16790 if (arg2
== NULL
) SWIG_fail
;
16794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16795 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
16796 wxPyEndAllowThreads(__tstate
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16799 resultobj
= SWIG_From_int(static_cast< int >(result
));
16814 SWIGINTERN PyObject
*_wrap_RadioBox_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
= 0;
16816 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16823 PyObject
* obj0
= 0 ;
16824 PyObject
* obj1
= 0 ;
16825 char * kwnames
[] = {
16826 (char *) "self",(char *) "n", NULL
16829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16831 if (!SWIG_IsOK(res1
)) {
16832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetString" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
16834 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16836 if (!SWIG_IsOK(ecode2
)) {
16837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetString" "', expected argument " "2"" of type '" "int""'");
16839 arg2
= static_cast< int >(val2
);
16841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16842 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16859 SWIGINTERN PyObject
*_wrap_RadioBox_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
= 0;
16861 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16863 wxString
*arg3
= 0 ;
16868 bool temp3
= false ;
16869 PyObject
* obj0
= 0 ;
16870 PyObject
* obj1
= 0 ;
16871 PyObject
* obj2
= 0 ;
16872 char * kwnames
[] = {
16873 (char *) "self",(char *) "n",(char *) "label", NULL
16876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16878 if (!SWIG_IsOK(res1
)) {
16879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetString" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16881 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16883 if (!SWIG_IsOK(ecode2
)) {
16884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetString" "', expected argument " "2"" of type '" "int""'");
16886 arg2
= static_cast< int >(val2
);
16888 arg3
= wxString_in_helper(obj2
);
16889 if (arg3
== NULL
) SWIG_fail
;
16893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16894 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16898 resultobj
= SWIG_Py_Void();
16913 SWIGINTERN PyObject
*_wrap_RadioBox_EnableItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
= 0;
16915 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16916 unsigned int arg2
;
16917 bool arg3
= (bool) true ;
16920 unsigned int val2
;
16924 PyObject
* obj0
= 0 ;
16925 PyObject
* obj1
= 0 ;
16926 PyObject
* obj2
= 0 ;
16927 char * kwnames
[] = {
16928 (char *) "self",(char *) "n",(char *) "enable", NULL
16931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16933 if (!SWIG_IsOK(res1
)) {
16934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_EnableItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16936 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16937 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16938 if (!SWIG_IsOK(ecode2
)) {
16939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_EnableItem" "', expected argument " "2"" of type '" "unsigned int""'");
16941 arg2
= static_cast< unsigned int >(val2
);
16943 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16944 if (!SWIG_IsOK(ecode3
)) {
16945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_EnableItem" "', expected argument " "3"" of type '" "bool""'");
16947 arg3
= static_cast< bool >(val3
);
16950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16951 (arg1
)->Enable(arg2
,arg3
);
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16955 resultobj
= SWIG_Py_Void();
16962 SWIGINTERN PyObject
*_wrap_RadioBox_ShowItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
= 0;
16964 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
16965 unsigned int arg2
;
16966 bool arg3
= (bool) true ;
16969 unsigned int val2
;
16973 PyObject
* obj0
= 0 ;
16974 PyObject
* obj1
= 0 ;
16975 PyObject
* obj2
= 0 ;
16976 char * kwnames
[] = {
16977 (char *) "self",(char *) "n",(char *) "show", NULL
16980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
16982 if (!SWIG_IsOK(res1
)) {
16983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_ShowItem" "', expected argument " "1"" of type '" "wxRadioBox *""'");
16985 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
16986 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
16987 if (!SWIG_IsOK(ecode2
)) {
16988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_ShowItem" "', expected argument " "2"" of type '" "unsigned int""'");
16990 arg2
= static_cast< unsigned int >(val2
);
16992 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
16993 if (!SWIG_IsOK(ecode3
)) {
16994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_ShowItem" "', expected argument " "3"" of type '" "bool""'");
16996 arg3
= static_cast< bool >(val3
);
16999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 (arg1
)->Show(arg2
,arg3
);
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17004 resultobj
= SWIG_Py_Void();
17011 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
= 0;
17013 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17014 unsigned int arg2
;
17018 unsigned int val2
;
17020 PyObject
* obj0
= 0 ;
17021 PyObject
* obj1
= 0 ;
17022 char * kwnames
[] = {
17023 (char *) "self",(char *) "n", NULL
17026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17028 if (!SWIG_IsOK(res1
)) {
17029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17031 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17032 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17033 if (!SWIG_IsOK(ecode2
)) {
17034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemEnabled" "', expected argument " "2"" of type '" "unsigned int""'");
17036 arg2
= static_cast< unsigned int >(val2
);
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemEnabled(arg2
);
17040 wxPyEndAllowThreads(__tstate
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17052 SWIGINTERN PyObject
*_wrap_RadioBox_IsItemShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17053 PyObject
*resultobj
= 0;
17054 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17055 unsigned int arg2
;
17059 unsigned int val2
;
17061 PyObject
* obj0
= 0 ;
17062 PyObject
* obj1
= 0 ;
17063 char * kwnames
[] = {
17064 (char *) "self",(char *) "n", NULL
17067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_IsItemShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17069 if (!SWIG_IsOK(res1
)) {
17070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_IsItemShown" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17072 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17073 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17074 if (!SWIG_IsOK(ecode2
)) {
17075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_IsItemShown" "', expected argument " "2"" of type '" "unsigned int""'");
17077 arg2
= static_cast< unsigned int >(val2
);
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 result
= (bool)((wxRadioBox
const *)arg1
)->IsItemShown(arg2
);
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17093 SWIGINTERN PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17094 PyObject
*resultobj
= 0;
17095 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17096 unsigned int result
;
17099 PyObject
*swig_obj
[1] ;
17101 if (!args
) SWIG_fail
;
17102 swig_obj
[0] = args
;
17103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17104 if (!SWIG_IsOK(res1
)) {
17105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetColumnCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17107 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetColumnCount();
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17121 SWIGINTERN PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17122 PyObject
*resultobj
= 0;
17123 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17124 unsigned int result
;
17127 PyObject
*swig_obj
[1] ;
17129 if (!args
) SWIG_fail
;
17130 swig_obj
[0] = args
;
17131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17132 if (!SWIG_IsOK(res1
)) {
17133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetRowCount" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17135 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= (unsigned int)((wxRadioBox
const *)arg1
)->GetRowCount();
17139 wxPyEndAllowThreads(__tstate
);
17140 if (PyErr_Occurred()) SWIG_fail
;
17142 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
17149 SWIGINTERN PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
= 0;
17151 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17164 PyObject
* obj0
= 0 ;
17165 PyObject
* obj1
= 0 ;
17166 PyObject
* obj2
= 0 ;
17167 PyObject
* obj3
= 0 ;
17168 char * kwnames
[] = {
17169 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
17172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17174 if (!SWIG_IsOK(res1
)) {
17175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetNextItem" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17177 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17178 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17179 if (!SWIG_IsOK(ecode2
)) {
17180 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetNextItem" "', expected argument " "2"" of type '" "int""'");
17182 arg2
= static_cast< int >(val2
);
17183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17184 if (!SWIG_IsOK(ecode3
)) {
17185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioBox_GetNextItem" "', expected argument " "3"" of type '" "wxDirection""'");
17187 arg3
= static_cast< wxDirection
>(val3
);
17188 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17189 if (!SWIG_IsOK(ecode4
)) {
17190 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "RadioBox_GetNextItem" "', expected argument " "4"" of type '" "long""'");
17192 arg4
= static_cast< long >(val4
);
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= SWIG_From_int(static_cast< int >(result
));
17206 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
= 0;
17208 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17209 unsigned int arg2
;
17210 wxString
*arg3
= 0 ;
17213 unsigned int val2
;
17215 bool temp3
= false ;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 PyObject
* obj2
= 0 ;
17219 char * kwnames
[] = {
17220 (char *) "self",(char *) "item",(char *) "text", NULL
17223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemToolTip",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17225 if (!SWIG_IsOK(res1
)) {
17226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17228 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17229 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17230 if (!SWIG_IsOK(ecode2
)) {
17231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17233 arg2
= static_cast< unsigned int >(val2
);
17235 arg3
= wxString_in_helper(obj2
);
17236 if (arg3
== NULL
) SWIG_fail
;
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 (arg1
)->SetItemToolTip(arg2
,(wxString
const &)*arg3
);
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17245 resultobj
= SWIG_Py_Void();
17260 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
= 0;
17262 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17263 unsigned int arg2
;
17264 wxToolTip
*result
= 0 ;
17267 unsigned int val2
;
17269 PyObject
* obj0
= 0 ;
17270 PyObject
* obj1
= 0 ;
17271 char * kwnames
[] = {
17272 (char *) "self",(char *) "item", NULL
17275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17277 if (!SWIG_IsOK(res1
)) {
17278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17280 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17281 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17282 if (!SWIG_IsOK(ecode2
)) {
17283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemToolTip" "', expected argument " "2"" of type '" "unsigned int""'");
17285 arg2
= static_cast< unsigned int >(val2
);
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (wxToolTip
*)((wxRadioBox
const *)arg1
)->GetItemToolTip(arg2
);
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= wxPyMake_wxObject(result
, (bool)0);
17301 SWIGINTERN PyObject
*_wrap_RadioBox_SetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17302 PyObject
*resultobj
= 0;
17303 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17304 unsigned int arg2
;
17305 wxString
*arg3
= 0 ;
17308 unsigned int val2
;
17310 bool temp3
= false ;
17311 PyObject
* obj0
= 0 ;
17312 PyObject
* obj1
= 0 ;
17313 PyObject
* obj2
= 0 ;
17314 char * kwnames
[] = {
17315 (char *) "self",(char *) "n",(char *) "helpText", NULL
17318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetItemHelpText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17320 if (!SWIG_IsOK(res1
)) {
17321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox *""'");
17323 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17324 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17325 if (!SWIG_IsOK(ecode2
)) {
17326 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_SetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17328 arg2
= static_cast< unsigned int >(val2
);
17330 arg3
= wxString_in_helper(obj2
);
17331 if (arg3
== NULL
) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 (arg1
)->SetItemHelpText(arg2
,(wxString
const &)*arg3
);
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= SWIG_Py_Void();
17355 SWIGINTERN PyObject
*_wrap_RadioBox_GetItemHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17356 PyObject
*resultobj
= 0;
17357 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
17358 unsigned int arg2
;
17362 unsigned int val2
;
17364 PyObject
* obj0
= 0 ;
17365 PyObject
* obj1
= 0 ;
17366 char * kwnames
[] = {
17367 (char *) "self",(char *) "n", NULL
17370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetItemHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioBox
, 0 | 0 );
17372 if (!SWIG_IsOK(res1
)) {
17373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "1"" of type '" "wxRadioBox const *""'");
17375 arg1
= reinterpret_cast< wxRadioBox
* >(argp1
);
17376 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
17377 if (!SWIG_IsOK(ecode2
)) {
17378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioBox_GetItemHelpText" "', expected argument " "2"" of type '" "unsigned int""'");
17380 arg2
= static_cast< unsigned int >(val2
);
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 result
= ((wxRadioBox
const *)arg1
)->GetItemHelpText(arg2
);
17384 wxPyEndAllowThreads(__tstate
);
17385 if (PyErr_Occurred()) SWIG_fail
;
17389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17400 SWIGINTERN PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
= 0;
17402 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17403 SwigValueWrapper
<wxVisualAttributes
> result
;
17406 PyObject
* obj0
= 0 ;
17407 char * kwnames
[] = {
17408 (char *) "variant", NULL
17411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17413 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17414 if (!SWIG_IsOK(ecode1
)) {
17415 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioBox_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17417 arg1
= static_cast< wxWindowVariant
>(val1
);
17420 if (!wxPyCheckForApp()) SWIG_fail
;
17421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17422 result
= wxRadioBox::GetClassDefaultAttributes(arg1
);
17423 wxPyEndAllowThreads(__tstate
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17433 SWIGINTERN PyObject
*RadioBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17435 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17436 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioBox
, SWIG_NewClientData(obj
));
17437 return SWIG_Py_Void();
17440 SWIGINTERN PyObject
*RadioBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17441 return SWIG_Python_InitShadowInstance(args
);
17444 SWIGINTERN PyObject
*_wrap_new_RadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
= 0;
17446 wxWindow
*arg1
= (wxWindow
*) 0 ;
17447 int arg2
= (int) -1 ;
17448 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17449 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17450 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17451 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17452 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17453 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17454 long arg6
= (long) 0 ;
17455 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
17456 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
17457 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
17458 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17459 wxRadioButton
*result
= 0 ;
17464 bool temp3
= false ;
17471 bool temp8
= false ;
17472 PyObject
* obj0
= 0 ;
17473 PyObject
* obj1
= 0 ;
17474 PyObject
* obj2
= 0 ;
17475 PyObject
* obj3
= 0 ;
17476 PyObject
* obj4
= 0 ;
17477 PyObject
* obj5
= 0 ;
17478 PyObject
* obj6
= 0 ;
17479 PyObject
* obj7
= 0 ;
17480 char * kwnames
[] = {
17481 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
17485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17486 if (!SWIG_IsOK(res1
)) {
17487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_RadioButton" "', expected argument " "1"" of type '" "wxWindow *""'");
17489 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17492 if (!SWIG_IsOK(ecode2
)) {
17493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RadioButton" "', expected argument " "2"" of type '" "int""'");
17495 arg2
= static_cast< int >(val2
);
17499 arg3
= wxString_in_helper(obj2
);
17500 if (arg3
== NULL
) SWIG_fail
;
17507 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17513 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17517 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17518 if (!SWIG_IsOK(ecode6
)) {
17519 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_RadioButton" "', expected argument " "6"" of type '" "long""'");
17521 arg6
= static_cast< long >(val6
);
17524 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
17525 if (!SWIG_IsOK(res7
)) {
17526 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17529 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_RadioButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
17531 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
17535 arg8
= wxString_in_helper(obj7
);
17536 if (arg8
== NULL
) SWIG_fail
;
17541 if (!wxPyCheckForApp()) SWIG_fail
;
17542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
17544 wxPyEndAllowThreads(__tstate
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_NEW
| 0 );
17570 SWIGINTERN PyObject
*_wrap_new_PreRadioButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17571 PyObject
*resultobj
= 0;
17572 wxRadioButton
*result
= 0 ;
17574 if (!SWIG_Python_UnpackTuple(args
,"new_PreRadioButton",0,0,0)) SWIG_fail
;
17576 if (!wxPyCheckForApp()) SWIG_fail
;
17577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17578 result
= (wxRadioButton
*)new wxRadioButton();
17579 wxPyEndAllowThreads(__tstate
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRadioButton
, SWIG_POINTER_OWN
| 0 );
17589 SWIGINTERN PyObject
*_wrap_RadioButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
= 0;
17591 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17592 wxWindow
*arg2
= (wxWindow
*) 0 ;
17593 int arg3
= (int) -1 ;
17594 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17595 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17596 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17597 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17598 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17599 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17600 long arg7
= (long) 0 ;
17601 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
17602 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
17603 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
17604 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17612 bool temp4
= false ;
17619 bool temp9
= false ;
17620 PyObject
* obj0
= 0 ;
17621 PyObject
* obj1
= 0 ;
17622 PyObject
* obj2
= 0 ;
17623 PyObject
* obj3
= 0 ;
17624 PyObject
* obj4
= 0 ;
17625 PyObject
* obj5
= 0 ;
17626 PyObject
* obj6
= 0 ;
17627 PyObject
* obj7
= 0 ;
17628 PyObject
* obj8
= 0 ;
17629 char * kwnames
[] = {
17630 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
17634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17635 if (!SWIG_IsOK(res1
)) {
17636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_Create" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17638 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17639 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17640 if (!SWIG_IsOK(res2
)) {
17641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "RadioButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
17643 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
17645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17646 if (!SWIG_IsOK(ecode3
)) {
17647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RadioButton_Create" "', expected argument " "3"" of type '" "int""'");
17649 arg3
= static_cast< int >(val3
);
17653 arg4
= wxString_in_helper(obj3
);
17654 if (arg4
== NULL
) SWIG_fail
;
17661 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17667 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17671 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
17672 if (!SWIG_IsOK(ecode7
)) {
17673 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "RadioButton_Create" "', expected argument " "7"" of type '" "long""'");
17675 arg7
= static_cast< long >(val7
);
17678 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
17679 if (!SWIG_IsOK(res8
)) {
17680 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17683 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "RadioButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
17685 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
17689 arg9
= wxString_in_helper(obj8
);
17690 if (arg9
== NULL
) SWIG_fail
;
17695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17696 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17725 SWIGINTERN PyObject
*_wrap_RadioButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17726 PyObject
*resultobj
= 0;
17727 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17731 PyObject
*swig_obj
[1] ;
17733 if (!args
) SWIG_fail
;
17734 swig_obj
[0] = args
;
17735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17736 if (!SWIG_IsOK(res1
)) {
17737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_GetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17739 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= (bool)(arg1
)->GetValue();
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17755 SWIGINTERN PyObject
*_wrap_RadioButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17756 PyObject
*resultobj
= 0;
17757 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
17763 PyObject
* obj0
= 0 ;
17764 PyObject
* obj1
= 0 ;
17765 char * kwnames
[] = {
17766 (char *) "self",(char *) "value", NULL
17769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRadioButton
, 0 | 0 );
17771 if (!SWIG_IsOK(res1
)) {
17772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RadioButton_SetValue" "', expected argument " "1"" of type '" "wxRadioButton *""'");
17774 arg1
= reinterpret_cast< wxRadioButton
* >(argp1
);
17775 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17776 if (!SWIG_IsOK(ecode2
)) {
17777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RadioButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
17779 arg2
= static_cast< bool >(val2
);
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 (arg1
)->SetValue(arg2
);
17783 wxPyEndAllowThreads(__tstate
);
17784 if (PyErr_Occurred()) SWIG_fail
;
17786 resultobj
= SWIG_Py_Void();
17793 SWIGINTERN PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17794 PyObject
*resultobj
= 0;
17795 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
17796 SwigValueWrapper
<wxVisualAttributes
> result
;
17799 PyObject
* obj0
= 0 ;
17800 char * kwnames
[] = {
17801 (char *) "variant", NULL
17804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
17806 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
17807 if (!SWIG_IsOK(ecode1
)) {
17808 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "RadioButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
17810 arg1
= static_cast< wxWindowVariant
>(val1
);
17813 if (!wxPyCheckForApp()) SWIG_fail
;
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 result
= wxRadioButton::GetClassDefaultAttributes(arg1
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
17826 SWIGINTERN PyObject
*RadioButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17829 SWIG_TypeNewClientData(SWIGTYPE_p_wxRadioButton
, SWIG_NewClientData(obj
));
17830 return SWIG_Py_Void();
17833 SWIGINTERN PyObject
*RadioButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17834 return SWIG_Python_InitShadowInstance(args
);
17837 SWIGINTERN
int SliderNameStr_set(PyObject
*) {
17838 SWIG_Error(SWIG_AttributeError
,"Variable SliderNameStr is read-only.");
17843 SWIGINTERN PyObject
*SliderNameStr_get(void) {
17844 PyObject
*pyobj
= 0;
17848 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17850 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
17857 SWIGINTERN PyObject
*_wrap_new_Slider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17858 PyObject
*resultobj
= 0;
17859 wxWindow
*arg1
= (wxWindow
*) 0 ;
17860 int arg2
= (int) -1 ;
17861 int arg3
= (int) 0 ;
17862 int arg4
= (int) 0 ;
17863 int arg5
= (int) 100 ;
17864 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17865 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17866 wxSize
const &arg7_defvalue
= wxDefaultSize
;
17867 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
17868 long arg8
= (long) wxSL_HORIZONTAL
;
17869 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
17870 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
17871 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
17872 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
17873 wxSlider
*result
= 0 ;
17890 bool temp10
= false ;
17891 PyObject
* obj0
= 0 ;
17892 PyObject
* obj1
= 0 ;
17893 PyObject
* obj2
= 0 ;
17894 PyObject
* obj3
= 0 ;
17895 PyObject
* obj4
= 0 ;
17896 PyObject
* obj5
= 0 ;
17897 PyObject
* obj6
= 0 ;
17898 PyObject
* obj7
= 0 ;
17899 PyObject
* obj8
= 0 ;
17900 PyObject
* obj9
= 0 ;
17901 char * kwnames
[] = {
17902 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
17906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17907 if (!SWIG_IsOK(res1
)) {
17908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Slider" "', expected argument " "1"" of type '" "wxWindow *""'");
17910 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17913 if (!SWIG_IsOK(ecode2
)) {
17914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Slider" "', expected argument " "2"" of type '" "int""'");
17916 arg2
= static_cast< int >(val2
);
17919 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17920 if (!SWIG_IsOK(ecode3
)) {
17921 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Slider" "', expected argument " "3"" of type '" "int""'");
17923 arg3
= static_cast< int >(val3
);
17926 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17927 if (!SWIG_IsOK(ecode4
)) {
17928 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Slider" "', expected argument " "4"" of type '" "int""'");
17930 arg4
= static_cast< int >(val4
);
17933 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
17934 if (!SWIG_IsOK(ecode5
)) {
17935 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Slider" "', expected argument " "5"" of type '" "int""'");
17937 arg5
= static_cast< int >(val5
);
17942 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17948 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
17952 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
17953 if (!SWIG_IsOK(ecode8
)) {
17954 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_Slider" "', expected argument " "8"" of type '" "long""'");
17956 arg8
= static_cast< long >(val8
);
17959 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
17960 if (!SWIG_IsOK(res9
)) {
17961 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17964 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Slider" "', expected argument " "9"" of type '" "wxValidator const &""'");
17966 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
17970 arg10
= wxString_in_helper(obj9
);
17971 if (arg10
== NULL
) SWIG_fail
;
17976 if (!wxPyCheckForApp()) SWIG_fail
;
17977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17978 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_NEW
| 0 );
17997 SWIGINTERN PyObject
*_wrap_new_PreSlider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17998 PyObject
*resultobj
= 0;
17999 wxSlider
*result
= 0 ;
18001 if (!SWIG_Python_UnpackTuple(args
,"new_PreSlider",0,0,0)) SWIG_fail
;
18003 if (!wxPyCheckForApp()) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 result
= (wxSlider
*)new wxSlider();
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSlider
, SWIG_POINTER_OWN
| 0 );
18016 SWIGINTERN PyObject
*_wrap_Slider_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
= 0;
18018 wxSlider
*arg1
= (wxSlider
*) 0 ;
18019 wxWindow
*arg2
= (wxWindow
*) 0 ;
18020 int arg3
= (int) -1 ;
18021 int arg4
= (int) 0 ;
18022 int arg5
= (int) 0 ;
18023 int arg6
= (int) 100 ;
18024 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18025 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18026 wxSize
const &arg8_defvalue
= wxDefaultSize
;
18027 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
18028 long arg9
= (long) wxSL_HORIZONTAL
;
18029 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
18030 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
18031 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
18032 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
18052 bool temp11
= false ;
18053 PyObject
* obj0
= 0 ;
18054 PyObject
* obj1
= 0 ;
18055 PyObject
* obj2
= 0 ;
18056 PyObject
* obj3
= 0 ;
18057 PyObject
* obj4
= 0 ;
18058 PyObject
* obj5
= 0 ;
18059 PyObject
* obj6
= 0 ;
18060 PyObject
* obj7
= 0 ;
18061 PyObject
* obj8
= 0 ;
18062 PyObject
* obj9
= 0 ;
18063 PyObject
* obj10
= 0 ;
18064 char * kwnames
[] = {
18065 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
18069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18070 if (!SWIG_IsOK(res1
)) {
18071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_Create" "', expected argument " "1"" of type '" "wxSlider *""'");
18073 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18074 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18075 if (!SWIG_IsOK(res2
)) {
18076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Slider_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
18078 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
18080 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18081 if (!SWIG_IsOK(ecode3
)) {
18082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_Create" "', expected argument " "3"" of type '" "int""'");
18084 arg3
= static_cast< int >(val3
);
18087 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18088 if (!SWIG_IsOK(ecode4
)) {
18089 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Slider_Create" "', expected argument " "4"" of type '" "int""'");
18091 arg4
= static_cast< int >(val4
);
18094 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18095 if (!SWIG_IsOK(ecode5
)) {
18096 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Slider_Create" "', expected argument " "5"" of type '" "int""'");
18098 arg5
= static_cast< int >(val5
);
18101 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
18102 if (!SWIG_IsOK(ecode6
)) {
18103 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Slider_Create" "', expected argument " "6"" of type '" "int""'");
18105 arg6
= static_cast< int >(val6
);
18110 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
18116 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
18120 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
18121 if (!SWIG_IsOK(ecode9
)) {
18122 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "Slider_Create" "', expected argument " "9"" of type '" "long""'");
18124 arg9
= static_cast< long >(val9
);
18127 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
18128 if (!SWIG_IsOK(res10
)) {
18129 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Slider_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
18134 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
18138 arg11
= wxString_in_helper(obj10
);
18139 if (arg11
== NULL
) SWIG_fail
;
18144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18145 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18166 SWIGINTERN PyObject
*_wrap_Slider_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18167 PyObject
*resultobj
= 0;
18168 wxSlider
*arg1
= (wxSlider
*) 0 ;
18172 PyObject
*swig_obj
[1] ;
18174 if (!args
) SWIG_fail
;
18175 swig_obj
[0] = args
;
18176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18177 if (!SWIG_IsOK(res1
)) {
18178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetValue" "', expected argument " "1"" of type '" "wxSlider const *""'");
18180 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 result
= (int)((wxSlider
const *)arg1
)->GetValue();
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 resultobj
= SWIG_From_int(static_cast< int >(result
));
18194 SWIGINTERN PyObject
*_wrap_Slider_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18195 PyObject
*resultobj
= 0;
18196 wxSlider
*arg1
= (wxSlider
*) 0 ;
18202 PyObject
* obj0
= 0 ;
18203 PyObject
* obj1
= 0 ;
18204 char * kwnames
[] = {
18205 (char *) "self",(char *) "value", NULL
18208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18210 if (!SWIG_IsOK(res1
)) {
18211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetValue" "', expected argument " "1"" of type '" "wxSlider *""'");
18213 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18214 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18215 if (!SWIG_IsOK(ecode2
)) {
18216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetValue" "', expected argument " "2"" of type '" "int""'");
18218 arg2
= static_cast< int >(val2
);
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 (arg1
)->SetValue(arg2
);
18222 wxPyEndAllowThreads(__tstate
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 resultobj
= SWIG_Py_Void();
18232 SWIGINTERN PyObject
*_wrap_Slider_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18233 PyObject
*resultobj
= 0;
18234 wxSlider
*arg1
= (wxSlider
*) 0 ;
18243 PyObject
* obj0
= 0 ;
18244 PyObject
* obj1
= 0 ;
18245 PyObject
* obj2
= 0 ;
18246 char * kwnames
[] = {
18247 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
18250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18252 if (!SWIG_IsOK(res1
)) {
18253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetRange" "', expected argument " "1"" of type '" "wxSlider *""'");
18255 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18257 if (!SWIG_IsOK(ecode2
)) {
18258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetRange" "', expected argument " "2"" of type '" "int""'");
18260 arg2
= static_cast< int >(val2
);
18261 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18262 if (!SWIG_IsOK(ecode3
)) {
18263 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetRange" "', expected argument " "3"" of type '" "int""'");
18265 arg3
= static_cast< int >(val3
);
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 (arg1
)->SetRange(arg2
,arg3
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= SWIG_Py_Void();
18279 SWIGINTERN PyObject
*_wrap_Slider_GetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18280 PyObject
*resultobj
= 0;
18281 wxSlider
*arg1
= (wxSlider
*) 0 ;
18285 PyObject
*swig_obj
[1] ;
18287 if (!args
) SWIG_fail
;
18288 swig_obj
[0] = args
;
18289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18290 if (!SWIG_IsOK(res1
)) {
18291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMin" "', expected argument " "1"" of type '" "wxSlider const *""'");
18293 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (int)((wxSlider
const *)arg1
)->GetMin();
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18300 resultobj
= SWIG_From_int(static_cast< int >(result
));
18307 SWIGINTERN PyObject
*_wrap_Slider_GetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18308 PyObject
*resultobj
= 0;
18309 wxSlider
*arg1
= (wxSlider
*) 0 ;
18313 PyObject
*swig_obj
[1] ;
18315 if (!args
) SWIG_fail
;
18316 swig_obj
[0] = args
;
18317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18318 if (!SWIG_IsOK(res1
)) {
18319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetMax" "', expected argument " "1"" of type '" "wxSlider const *""'");
18321 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 result
= (int)((wxSlider
const *)arg1
)->GetMax();
18325 wxPyEndAllowThreads(__tstate
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 resultobj
= SWIG_From_int(static_cast< int >(result
));
18335 SWIGINTERN PyObject
*_wrap_Slider_SetMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18336 PyObject
*resultobj
= 0;
18337 wxSlider
*arg1
= (wxSlider
*) 0 ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 char * kwnames
[] = {
18346 (char *) "self",(char *) "minValue", NULL
18349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18351 if (!SWIG_IsOK(res1
)) {
18352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMin" "', expected argument " "1"" of type '" "wxSlider *""'");
18354 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18356 if (!SWIG_IsOK(ecode2
)) {
18357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMin" "', expected argument " "2"" of type '" "int""'");
18359 arg2
= static_cast< int >(val2
);
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18362 (arg1
)->SetMin(arg2
);
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 resultobj
= SWIG_Py_Void();
18373 SWIGINTERN PyObject
*_wrap_Slider_SetMax(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
= 0;
18375 wxSlider
*arg1
= (wxSlider
*) 0 ;
18381 PyObject
* obj0
= 0 ;
18382 PyObject
* obj1
= 0 ;
18383 char * kwnames
[] = {
18384 (char *) "self",(char *) "maxValue", NULL
18387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18389 if (!SWIG_IsOK(res1
)) {
18390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetMax" "', expected argument " "1"" of type '" "wxSlider *""'");
18392 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18394 if (!SWIG_IsOK(ecode2
)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetMax" "', expected argument " "2"" of type '" "int""'");
18397 arg2
= static_cast< int >(val2
);
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 (arg1
)->SetMax(arg2
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= SWIG_Py_Void();
18411 SWIGINTERN PyObject
*_wrap_Slider_SetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18412 PyObject
*resultobj
= 0;
18413 wxSlider
*arg1
= (wxSlider
*) 0 ;
18419 PyObject
* obj0
= 0 ;
18420 PyObject
* obj1
= 0 ;
18421 char * kwnames
[] = {
18422 (char *) "self",(char *) "lineSize", NULL
18425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18427 if (!SWIG_IsOK(res1
)) {
18428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetLineSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18430 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18432 if (!SWIG_IsOK(ecode2
)) {
18433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetLineSize" "', expected argument " "2"" of type '" "int""'");
18435 arg2
= static_cast< int >(val2
);
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 (arg1
)->SetLineSize(arg2
);
18439 wxPyEndAllowThreads(__tstate
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 resultobj
= SWIG_Py_Void();
18449 SWIGINTERN PyObject
*_wrap_Slider_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18450 PyObject
*resultobj
= 0;
18451 wxSlider
*arg1
= (wxSlider
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 char * kwnames
[] = {
18460 (char *) "self",(char *) "pageSize", NULL
18463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18465 if (!SWIG_IsOK(res1
)) {
18466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetPageSize" "', expected argument " "1"" of type '" "wxSlider *""'");
18468 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18470 if (!SWIG_IsOK(ecode2
)) {
18471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetPageSize" "', expected argument " "2"" of type '" "int""'");
18473 arg2
= static_cast< int >(val2
);
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 (arg1
)->SetPageSize(arg2
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= SWIG_Py_Void();
18487 SWIGINTERN PyObject
*_wrap_Slider_GetLineSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18488 PyObject
*resultobj
= 0;
18489 wxSlider
*arg1
= (wxSlider
*) 0 ;
18493 PyObject
*swig_obj
[1] ;
18495 if (!args
) SWIG_fail
;
18496 swig_obj
[0] = args
;
18497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18498 if (!SWIG_IsOK(res1
)) {
18499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetLineSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18501 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= SWIG_From_int(static_cast< int >(result
));
18515 SWIGINTERN PyObject
*_wrap_Slider_GetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18516 PyObject
*resultobj
= 0;
18517 wxSlider
*arg1
= (wxSlider
*) 0 ;
18521 PyObject
*swig_obj
[1] ;
18523 if (!args
) SWIG_fail
;
18524 swig_obj
[0] = args
;
18525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18526 if (!SWIG_IsOK(res1
)) {
18527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetPageSize" "', expected argument " "1"" of type '" "wxSlider const *""'");
18529 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= SWIG_From_int(static_cast< int >(result
));
18543 SWIGINTERN PyObject
*_wrap_Slider_SetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
= 0;
18545 wxSlider
*arg1
= (wxSlider
*) 0 ;
18551 PyObject
* obj0
= 0 ;
18552 PyObject
* obj1
= 0 ;
18553 char * kwnames
[] = {
18554 (char *) "self",(char *) "lenPixels", NULL
18557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18559 if (!SWIG_IsOK(res1
)) {
18560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetThumbLength" "', expected argument " "1"" of type '" "wxSlider *""'");
18562 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18563 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18564 if (!SWIG_IsOK(ecode2
)) {
18565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetThumbLength" "', expected argument " "2"" of type '" "int""'");
18567 arg2
= static_cast< int >(val2
);
18569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18570 (arg1
)->SetThumbLength(arg2
);
18571 wxPyEndAllowThreads(__tstate
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= SWIG_Py_Void();
18581 SWIGINTERN PyObject
*_wrap_Slider_GetThumbLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18582 PyObject
*resultobj
= 0;
18583 wxSlider
*arg1
= (wxSlider
*) 0 ;
18587 PyObject
*swig_obj
[1] ;
18589 if (!args
) SWIG_fail
;
18590 swig_obj
[0] = args
;
18591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18592 if (!SWIG_IsOK(res1
)) {
18593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetThumbLength" "', expected argument " "1"" of type '" "wxSlider const *""'");
18595 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18598 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= SWIG_From_int(static_cast< int >(result
));
18609 SWIGINTERN PyObject
*_wrap_Slider_SetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
= 0;
18611 wxSlider
*arg1
= (wxSlider
*) 0 ;
18613 int arg3
= (int) 1 ;
18620 PyObject
* obj0
= 0 ;
18621 PyObject
* obj1
= 0 ;
18622 PyObject
* obj2
= 0 ;
18623 char * kwnames
[] = {
18624 (char *) "self",(char *) "n",(char *) "pos", NULL
18627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18629 if (!SWIG_IsOK(res1
)) {
18630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTickFreq" "', expected argument " "1"" of type '" "wxSlider *""'");
18632 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18634 if (!SWIG_IsOK(ecode2
)) {
18635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTickFreq" "', expected argument " "2"" of type '" "int""'");
18637 arg2
= static_cast< int >(val2
);
18639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18640 if (!SWIG_IsOK(ecode3
)) {
18641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetTickFreq" "', expected argument " "3"" of type '" "int""'");
18643 arg3
= static_cast< int >(val3
);
18646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18647 (arg1
)->SetTickFreq(arg2
,arg3
);
18648 wxPyEndAllowThreads(__tstate
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= SWIG_Py_Void();
18658 SWIGINTERN PyObject
*_wrap_Slider_GetTickFreq(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18659 PyObject
*resultobj
= 0;
18660 wxSlider
*arg1
= (wxSlider
*) 0 ;
18664 PyObject
*swig_obj
[1] ;
18666 if (!args
) SWIG_fail
;
18667 swig_obj
[0] = args
;
18668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18669 if (!SWIG_IsOK(res1
)) {
18670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetTickFreq" "', expected argument " "1"" of type '" "wxSlider const *""'");
18672 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18675 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
18676 wxPyEndAllowThreads(__tstate
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18679 resultobj
= SWIG_From_int(static_cast< int >(result
));
18686 SWIGINTERN PyObject
*_wrap_Slider_ClearTicks(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18687 PyObject
*resultobj
= 0;
18688 wxSlider
*arg1
= (wxSlider
*) 0 ;
18691 PyObject
*swig_obj
[1] ;
18693 if (!args
) SWIG_fail
;
18694 swig_obj
[0] = args
;
18695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18696 if (!SWIG_IsOK(res1
)) {
18697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearTicks" "', expected argument " "1"" of type '" "wxSlider *""'");
18699 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 (arg1
)->ClearTicks();
18703 wxPyEndAllowThreads(__tstate
);
18704 if (PyErr_Occurred()) SWIG_fail
;
18706 resultobj
= SWIG_Py_Void();
18713 SWIGINTERN PyObject
*_wrap_Slider_SetTick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
= 0;
18715 wxSlider
*arg1
= (wxSlider
*) 0 ;
18721 PyObject
* obj0
= 0 ;
18722 PyObject
* obj1
= 0 ;
18723 char * kwnames
[] = {
18724 (char *) "self",(char *) "tickPos", NULL
18727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18729 if (!SWIG_IsOK(res1
)) {
18730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetTick" "', expected argument " "1"" of type '" "wxSlider *""'");
18732 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18734 if (!SWIG_IsOK(ecode2
)) {
18735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetTick" "', expected argument " "2"" of type '" "int""'");
18737 arg2
= static_cast< int >(val2
);
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 (arg1
)->SetTick(arg2
);
18741 wxPyEndAllowThreads(__tstate
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18744 resultobj
= SWIG_Py_Void();
18751 SWIGINTERN PyObject
*_wrap_Slider_ClearSel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18752 PyObject
*resultobj
= 0;
18753 wxSlider
*arg1
= (wxSlider
*) 0 ;
18756 PyObject
*swig_obj
[1] ;
18758 if (!args
) SWIG_fail
;
18759 swig_obj
[0] = args
;
18760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18761 if (!SWIG_IsOK(res1
)) {
18762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_ClearSel" "', expected argument " "1"" of type '" "wxSlider *""'");
18764 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 (arg1
)->ClearSel();
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18771 resultobj
= SWIG_Py_Void();
18778 SWIGINTERN PyObject
*_wrap_Slider_GetSelEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18779 PyObject
*resultobj
= 0;
18780 wxSlider
*arg1
= (wxSlider
*) 0 ;
18784 PyObject
*swig_obj
[1] ;
18786 if (!args
) SWIG_fail
;
18787 swig_obj
[0] = args
;
18788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18789 if (!SWIG_IsOK(res1
)) {
18790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelEnd" "', expected argument " "1"" of type '" "wxSlider const *""'");
18792 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18795 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
18796 wxPyEndAllowThreads(__tstate
);
18797 if (PyErr_Occurred()) SWIG_fail
;
18799 resultobj
= SWIG_From_int(static_cast< int >(result
));
18806 SWIGINTERN PyObject
*_wrap_Slider_GetSelStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18807 PyObject
*resultobj
= 0;
18808 wxSlider
*arg1
= (wxSlider
*) 0 ;
18812 PyObject
*swig_obj
[1] ;
18814 if (!args
) SWIG_fail
;
18815 swig_obj
[0] = args
;
18816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18817 if (!SWIG_IsOK(res1
)) {
18818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_GetSelStart" "', expected argument " "1"" of type '" "wxSlider const *""'");
18820 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 resultobj
= SWIG_From_int(static_cast< int >(result
));
18834 SWIGINTERN PyObject
*_wrap_Slider_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
= 0;
18836 wxSlider
*arg1
= (wxSlider
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 PyObject
* obj2
= 0 ;
18848 char * kwnames
[] = {
18849 (char *) "self",(char *) "min",(char *) "max", NULL
18852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSlider
, 0 | 0 );
18854 if (!SWIG_IsOK(res1
)) {
18855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Slider_SetSelection" "', expected argument " "1"" of type '" "wxSlider *""'");
18857 arg1
= reinterpret_cast< wxSlider
* >(argp1
);
18858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18859 if (!SWIG_IsOK(ecode2
)) {
18860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Slider_SetSelection" "', expected argument " "2"" of type '" "int""'");
18862 arg2
= static_cast< int >(val2
);
18863 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18864 if (!SWIG_IsOK(ecode3
)) {
18865 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Slider_SetSelection" "', expected argument " "3"" of type '" "int""'");
18867 arg3
= static_cast< int >(val3
);
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 (arg1
)->SetSelection(arg2
,arg3
);
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= SWIG_Py_Void();
18881 SWIGINTERN PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18882 PyObject
*resultobj
= 0;
18883 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
18884 SwigValueWrapper
<wxVisualAttributes
> result
;
18887 PyObject
* obj0
= 0 ;
18888 char * kwnames
[] = {
18889 (char *) "variant", NULL
18892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
18894 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18895 if (!SWIG_IsOK(ecode1
)) {
18896 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Slider_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
18898 arg1
= static_cast< wxWindowVariant
>(val1
);
18901 if (!wxPyCheckForApp()) SWIG_fail
;
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= wxSlider::GetClassDefaultAttributes(arg1
);
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18907 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
18914 SWIGINTERN PyObject
*Slider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18917 SWIG_TypeNewClientData(SWIGTYPE_p_wxSlider
, SWIG_NewClientData(obj
));
18918 return SWIG_Py_Void();
18921 SWIGINTERN PyObject
*Slider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18922 return SWIG_Python_InitShadowInstance(args
);
18925 SWIGINTERN
int ToggleButtonNameStr_set(PyObject
*) {
18926 SWIG_Error(SWIG_AttributeError
,"Variable ToggleButtonNameStr is read-only.");
18931 SWIGINTERN PyObject
*ToggleButtonNameStr_get(void) {
18932 PyObject
*pyobj
= 0;
18936 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18938 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
18945 SWIGINTERN PyObject
*_wrap_new_ToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
= 0;
18947 wxWindow
*arg1
= (wxWindow
*) 0 ;
18948 int arg2
= (int) -1 ;
18949 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18950 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18951 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18952 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18953 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18954 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18955 long arg6
= (long) 0 ;
18956 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
18957 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
18958 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
18959 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
18960 wxToggleButton
*result
= 0 ;
18965 bool temp3
= false ;
18972 bool temp8
= false ;
18973 PyObject
* obj0
= 0 ;
18974 PyObject
* obj1
= 0 ;
18975 PyObject
* obj2
= 0 ;
18976 PyObject
* obj3
= 0 ;
18977 PyObject
* obj4
= 0 ;
18978 PyObject
* obj5
= 0 ;
18979 PyObject
* obj6
= 0 ;
18980 PyObject
* obj7
= 0 ;
18981 char * kwnames
[] = {
18982 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18987 if (!SWIG_IsOK(res1
)) {
18988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToggleButton" "', expected argument " "1"" of type '" "wxWindow *""'");
18990 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18993 if (!SWIG_IsOK(ecode2
)) {
18994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToggleButton" "', expected argument " "2"" of type '" "int""'");
18996 arg2
= static_cast< int >(val2
);
19000 arg3
= wxString_in_helper(obj2
);
19001 if (arg3
== NULL
) SWIG_fail
;
19008 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19014 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19018 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
19019 if (!SWIG_IsOK(ecode6
)) {
19020 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ToggleButton" "', expected argument " "6"" of type '" "long""'");
19022 arg6
= static_cast< long >(val6
);
19025 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
19026 if (!SWIG_IsOK(res7
)) {
19027 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
19030 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ToggleButton" "', expected argument " "7"" of type '" "wxValidator const &""'");
19032 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
19036 arg8
= wxString_in_helper(obj7
);
19037 if (arg8
== NULL
) SWIG_fail
;
19042 if (!wxPyCheckForApp()) SWIG_fail
;
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
19045 wxPyEndAllowThreads(__tstate
);
19046 if (PyErr_Occurred()) SWIG_fail
;
19048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_NEW
| 0 );
19071 SWIGINTERN PyObject
*_wrap_new_PreToggleButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19072 PyObject
*resultobj
= 0;
19073 wxToggleButton
*result
= 0 ;
19075 if (!SWIG_Python_UnpackTuple(args
,"new_PreToggleButton",0,0,0)) SWIG_fail
;
19077 if (!wxPyCheckForApp()) SWIG_fail
;
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 result
= (wxToggleButton
*)new wxToggleButton();
19080 wxPyEndAllowThreads(__tstate
);
19081 if (PyErr_Occurred()) SWIG_fail
;
19083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToggleButton
, SWIG_POINTER_OWN
| 0 );
19090 SWIGINTERN PyObject
*_wrap_ToggleButton_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19091 PyObject
*resultobj
= 0;
19092 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19093 wxWindow
*arg2
= (wxWindow
*) 0 ;
19094 int arg3
= (int) -1 ;
19095 wxString
const &arg4_defvalue
= wxPyEmptyString
;
19096 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
19097 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19098 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19099 wxSize
const &arg6_defvalue
= wxDefaultSize
;
19100 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
19101 long arg7
= (long) 0 ;
19102 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
19103 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
19104 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
19105 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
19113 bool temp4
= false ;
19120 bool temp9
= false ;
19121 PyObject
* obj0
= 0 ;
19122 PyObject
* obj1
= 0 ;
19123 PyObject
* obj2
= 0 ;
19124 PyObject
* obj3
= 0 ;
19125 PyObject
* obj4
= 0 ;
19126 PyObject
* obj5
= 0 ;
19127 PyObject
* obj6
= 0 ;
19128 PyObject
* obj7
= 0 ;
19129 PyObject
* obj8
= 0 ;
19130 char * kwnames
[] = {
19131 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
19135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19136 if (!SWIG_IsOK(res1
)) {
19137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_Create" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19139 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19141 if (!SWIG_IsOK(res2
)) {
19142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToggleButton_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19144 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19147 if (!SWIG_IsOK(ecode3
)) {
19148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToggleButton_Create" "', expected argument " "3"" of type '" "int""'");
19150 arg3
= static_cast< int >(val3
);
19154 arg4
= wxString_in_helper(obj3
);
19155 if (arg4
== NULL
) SWIG_fail
;
19162 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19168 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
19172 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
19173 if (!SWIG_IsOK(ecode7
)) {
19174 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToggleButton_Create" "', expected argument " "7"" of type '" "long""'");
19176 arg7
= static_cast< long >(val7
);
19179 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
19180 if (!SWIG_IsOK(res8
)) {
19181 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToggleButton_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
19186 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
19190 arg9
= wxString_in_helper(obj8
);
19191 if (arg9
== NULL
) SWIG_fail
;
19196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19197 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19226 SWIGINTERN PyObject
*_wrap_ToggleButton_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19227 PyObject
*resultobj
= 0;
19228 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19234 PyObject
* obj0
= 0 ;
19235 PyObject
* obj1
= 0 ;
19236 char * kwnames
[] = {
19237 (char *) "self",(char *) "value", NULL
19240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19242 if (!SWIG_IsOK(res1
)) {
19243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_SetValue" "', expected argument " "1"" of type '" "wxToggleButton *""'");
19245 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19246 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19247 if (!SWIG_IsOK(ecode2
)) {
19248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToggleButton_SetValue" "', expected argument " "2"" of type '" "bool""'");
19250 arg2
= static_cast< bool >(val2
);
19252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19253 (arg1
)->SetValue(arg2
);
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19257 resultobj
= SWIG_Py_Void();
19264 SWIGINTERN PyObject
*_wrap_ToggleButton_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19265 PyObject
*resultobj
= 0;
19266 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
19270 PyObject
*swig_obj
[1] ;
19272 if (!args
) SWIG_fail
;
19273 swig_obj
[0] = args
;
19274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToggleButton
, 0 | 0 );
19275 if (!SWIG_IsOK(res1
)) {
19276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToggleButton_GetValue" "', expected argument " "1"" of type '" "wxToggleButton const *""'");
19278 arg1
= reinterpret_cast< wxToggleButton
* >(argp1
);
19280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19281 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19294 SWIGINTERN PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19295 PyObject
*resultobj
= 0;
19296 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
19297 SwigValueWrapper
<wxVisualAttributes
> result
;
19300 PyObject
* obj0
= 0 ;
19301 char * kwnames
[] = {
19302 (char *) "variant", NULL
19305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
19307 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19308 if (!SWIG_IsOK(ecode1
)) {
19309 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToggleButton_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
19311 arg1
= static_cast< wxWindowVariant
>(val1
);
19314 if (!wxPyCheckForApp()) SWIG_fail
;
19315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19316 result
= wxToggleButton::GetClassDefaultAttributes(arg1
);
19317 wxPyEndAllowThreads(__tstate
);
19318 if (PyErr_Occurred()) SWIG_fail
;
19320 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
19327 SWIGINTERN PyObject
*ToggleButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19329 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19330 SWIG_TypeNewClientData(SWIGTYPE_p_wxToggleButton
, SWIG_NewClientData(obj
));
19331 return SWIG_Py_Void();
19334 SWIGINTERN PyObject
*ToggleButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19335 return SWIG_Python_InitShadowInstance(args
);
19338 SWIGINTERN
int NotebookNameStr_set(PyObject
*) {
19339 SWIG_Error(SWIG_AttributeError
,"Variable NotebookNameStr is read-only.");
19344 SWIGINTERN PyObject
*NotebookNameStr_get(void) {
19345 PyObject
*pyobj
= 0;
19349 pyobj
= PyUnicode_FromWideChar((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19351 pyobj
= PyString_FromStringAndSize((&wxPyNotebookNameStr
)->c_str(), (&wxPyNotebookNameStr
)->Len());
19358 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19359 PyObject
*resultobj
= 0;
19360 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19364 PyObject
*swig_obj
[1] ;
19366 if (!args
) SWIG_fail
;
19367 swig_obj
[0] = args
;
19368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19369 if (!SWIG_IsOK(res1
)) {
19370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageCount" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19372 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19375 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
19386 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
= 0;
19388 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19390 wxWindow
*result
= 0 ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 char * kwnames
[] = {
19398 (char *) "self",(char *) "n", NULL
19401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19403 if (!SWIG_IsOK(res1
)) {
19404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19406 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19407 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19408 if (!SWIG_IsOK(ecode2
)) {
19409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPage" "', expected argument " "2"" of type '" "size_t""'");
19411 arg2
= static_cast< size_t >(val2
);
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19419 resultobj
= wxPyMake_wxObject(result
, 0);
19427 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19428 PyObject
*resultobj
= 0;
19429 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19430 wxWindow
*result
= 0 ;
19433 PyObject
*swig_obj
[1] ;
19435 if (!args
) SWIG_fail
;
19436 swig_obj
[0] = args
;
19437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19438 if (!SWIG_IsOK(res1
)) {
19439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19441 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19449 resultobj
= wxPyMake_wxObject(result
, 0);
19457 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19458 PyObject
*resultobj
= 0;
19459 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19463 PyObject
*swig_obj
[1] ;
19465 if (!args
) SWIG_fail
;
19466 swig_obj
[0] = args
;
19467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19468 if (!SWIG_IsOK(res1
)) {
19469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19471 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19478 resultobj
= SWIG_From_int(static_cast< int >(result
));
19485 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
= 0;
19487 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19489 wxString
*arg3
= 0 ;
19495 bool temp3
= false ;
19496 PyObject
* obj0
= 0 ;
19497 PyObject
* obj1
= 0 ;
19498 PyObject
* obj2
= 0 ;
19499 char * kwnames
[] = {
19500 (char *) "self",(char *) "n",(char *) "strText", NULL
19503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19505 if (!SWIG_IsOK(res1
)) {
19506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19508 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19509 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19510 if (!SWIG_IsOK(ecode2
)) {
19511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageText" "', expected argument " "2"" of type '" "size_t""'");
19513 arg2
= static_cast< size_t >(val2
);
19515 arg3
= wxString_in_helper(obj2
);
19516 if (arg3
== NULL
) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19542 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
= 0;
19544 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19551 PyObject
* obj0
= 0 ;
19552 PyObject
* obj1
= 0 ;
19553 char * kwnames
[] = {
19554 (char *) "self",(char *) "n", NULL
19557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19559 if (!SWIG_IsOK(res1
)) {
19560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19562 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19563 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19564 if (!SWIG_IsOK(ecode2
)) {
19565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageText" "', expected argument " "2"" of type '" "size_t""'");
19567 arg2
= static_cast< size_t >(val2
);
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
19571 wxPyEndAllowThreads(__tstate
);
19572 if (PyErr_Occurred()) SWIG_fail
;
19576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19587 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
= 0;
19589 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19590 wxImageList
*arg2
= (wxImageList
*) 0 ;
19595 PyObject
* obj0
= 0 ;
19596 PyObject
* obj1
= 0 ;
19597 char * kwnames
[] = {
19598 (char *) "self",(char *) "imageList", NULL
19601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19603 if (!SWIG_IsOK(res1
)) {
19604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19606 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19607 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
19608 if (!SWIG_IsOK(res2
)) {
19609 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19611 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 (arg1
)->SetImageList(arg2
);
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= SWIG_Py_Void();
19625 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
= 0;
19627 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19628 wxImageList
*arg2
= (wxImageList
*) 0 ;
19632 PyObject
* obj0
= 0 ;
19633 PyObject
* obj1
= 0 ;
19634 char * kwnames
[] = {
19635 (char *) "self",(char *) "imageList", NULL
19638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19640 if (!SWIG_IsOK(res1
)) {
19641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19643 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19644 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
19645 if (!SWIG_IsOK(res2
)) {
19646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
19649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19650 (arg1
)->AssignImageList(arg2
);
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 resultobj
= SWIG_Py_Void();
19661 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19662 PyObject
*resultobj
= 0;
19663 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19664 wxImageList
*result
= 0 ;
19667 PyObject
*swig_obj
[1] ;
19669 if (!args
) SWIG_fail
;
19670 swig_obj
[0] = args
;
19671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19672 if (!SWIG_IsOK(res1
)) {
19673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetImageList" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19675 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19683 resultobj
= wxPyMake_wxObject(result
, (bool)0);
19691 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19692 PyObject
*resultobj
= 0;
19693 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19700 PyObject
* obj0
= 0 ;
19701 PyObject
* obj1
= 0 ;
19702 char * kwnames
[] = {
19703 (char *) "self",(char *) "n", NULL
19706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19708 if (!SWIG_IsOK(res1
)) {
19709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19711 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19712 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19713 if (!SWIG_IsOK(ecode2
)) {
19714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_GetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19716 arg2
= static_cast< size_t >(val2
);
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19719 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= SWIG_From_int(static_cast< int >(result
));
19730 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
= 0;
19732 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19742 PyObject
* obj0
= 0 ;
19743 PyObject
* obj1
= 0 ;
19744 PyObject
* obj2
= 0 ;
19745 char * kwnames
[] = {
19746 (char *) "self",(char *) "n",(char *) "imageId", NULL
19749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19751 if (!SWIG_IsOK(res1
)) {
19752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19754 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19755 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
19756 if (!SWIG_IsOK(ecode2
)) {
19757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "2"" of type '" "size_t""'");
19759 arg2
= static_cast< size_t >(val2
);
19760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19761 if (!SWIG_IsOK(ecode3
)) {
19762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "BookCtrlBase_SetPageImage" "', expected argument " "3"" of type '" "int""'");
19764 arg3
= static_cast< int >(val3
);
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
19768 wxPyEndAllowThreads(__tstate
);
19769 if (PyErr_Occurred()) SWIG_fail
;
19772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19780 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19781 PyObject
*resultobj
= 0;
19782 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19787 PyObject
* obj0
= 0 ;
19788 PyObject
* obj1
= 0 ;
19789 char * kwnames
[] = {
19790 (char *) "self",(char *) "size", NULL
19793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19795 if (!SWIG_IsOK(res1
)) {
19796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetPageSize" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19798 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19801 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19805 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19809 resultobj
= SWIG_Py_Void();
19816 SWIGINTERN PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19817 PyObject
*resultobj
= 0;
19818 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19824 PyObject
* obj0
= 0 ;
19825 PyObject
* obj1
= 0 ;
19826 char * kwnames
[] = {
19827 (char *) "self",(char *) "sizePage", NULL
19830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19832 if (!SWIG_IsOK(res1
)) {
19833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_CalcSizeFromPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19835 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19838 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
19843 wxPyEndAllowThreads(__tstate
);
19844 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
19853 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19854 PyObject
*resultobj
= 0;
19855 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19856 unsigned int result
;
19859 PyObject
*swig_obj
[1] ;
19861 if (!args
) SWIG_fail
;
19862 swig_obj
[0] = args
;
19863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19864 if (!SWIG_IsOK(res1
)) {
19865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19867 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= (unsigned int)((wxBookCtrlBase
const *)arg1
)->GetInternalBorder();
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
19881 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetInternalBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19882 PyObject
*resultobj
= 0;
19883 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19884 unsigned int arg2
;
19887 unsigned int val2
;
19889 PyObject
* obj0
= 0 ;
19890 PyObject
* obj1
= 0 ;
19891 char * kwnames
[] = {
19892 (char *) "self",(char *) "internalBorder", NULL
19895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetInternalBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19897 if (!SWIG_IsOK(res1
)) {
19898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19900 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19901 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
19902 if (!SWIG_IsOK(ecode2
)) {
19903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetInternalBorder" "', expected argument " "2"" of type '" "unsigned int""'");
19905 arg2
= static_cast< unsigned int >(val2
);
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 (arg1
)->SetInternalBorder(arg2
);
19909 wxPyEndAllowThreads(__tstate
);
19910 if (PyErr_Occurred()) SWIG_fail
;
19912 resultobj
= SWIG_Py_Void();
19919 SWIGINTERN PyObject
*_wrap_BookCtrlBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19920 PyObject
*resultobj
= 0;
19921 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19925 PyObject
*swig_obj
[1] ;
19927 if (!args
) SWIG_fail
;
19928 swig_obj
[0] = args
;
19929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19930 if (!SWIG_IsOK(res1
)) {
19931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_IsVertical" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
19933 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 result
= (bool)((wxBookCtrlBase
const *)arg1
)->IsVertical();
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19949 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19950 PyObject
*resultobj
= 0;
19951 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19957 PyObject
* obj0
= 0 ;
19958 PyObject
* obj1
= 0 ;
19959 char * kwnames
[] = {
19960 (char *) "self",(char *) "margin", NULL
19963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetControlMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19965 if (!SWIG_IsOK(res1
)) {
19966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
19968 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
19969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19970 if (!SWIG_IsOK(ecode2
)) {
19971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetControlMargin" "', expected argument " "2"" of type '" "int""'");
19973 arg2
= static_cast< int >(val2
);
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 (arg1
)->SetControlMargin(arg2
);
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= SWIG_Py_Void();
19987 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19988 PyObject
*resultobj
= 0;
19989 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
19993 PyObject
*swig_obj
[1] ;
19995 if (!args
) SWIG_fail
;
19996 swig_obj
[0] = args
;
19997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
19998 if (!SWIG_IsOK(res1
)) {
19999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlMargin" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20001 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetControlMargin();
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 resultobj
= SWIG_From_int(static_cast< int >(result
));
20015 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
= 0;
20017 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20023 PyObject
* obj0
= 0 ;
20024 PyObject
* obj1
= 0 ;
20025 char * kwnames
[] = {
20026 (char *) "self",(char *) "fit", NULL
20029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetFitToCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20031 if (!SWIG_IsOK(res1
)) {
20032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20034 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20035 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20036 if (!SWIG_IsOK(ecode2
)) {
20037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetFitToCurrentPage" "', expected argument " "2"" of type '" "bool""'");
20039 arg2
= static_cast< bool >(val2
);
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 (arg1
)->SetFitToCurrentPage(arg2
);
20043 wxPyEndAllowThreads(__tstate
);
20044 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= SWIG_Py_Void();
20053 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetFitToCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20054 PyObject
*resultobj
= 0;
20055 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20059 PyObject
*swig_obj
[1] ;
20061 if (!args
) SWIG_fail
;
20062 swig_obj
[0] = args
;
20063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20064 if (!SWIG_IsOK(res1
)) {
20065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetFitToCurrentPage" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20067 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 result
= (bool)((wxBookCtrlBase
const *)arg1
)->GetFitToCurrentPage();
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20083 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetControlSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20084 PyObject
*resultobj
= 0;
20085 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20086 wxSizer
*result
= 0 ;
20089 PyObject
*swig_obj
[1] ;
20091 if (!args
) SWIG_fail
;
20092 swig_obj
[0] = args
;
20093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20094 if (!SWIG_IsOK(res1
)) {
20095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_GetControlSizer" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20097 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (wxSizer
*)((wxBookCtrlBase
const *)arg1
)->GetControlSizer();
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20113 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20114 PyObject
*resultobj
= 0;
20115 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20122 PyObject
* obj0
= 0 ;
20123 PyObject
* obj1
= 0 ;
20124 char * kwnames
[] = {
20125 (char *) "self",(char *) "n", NULL
20128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20130 if (!SWIG_IsOK(res1
)) {
20131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20133 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20134 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20135 if (!SWIG_IsOK(ecode2
)) {
20136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_DeletePage" "', expected argument " "2"" of type '" "size_t""'");
20138 arg2
= static_cast< size_t >(val2
);
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 result
= (bool)(arg1
)->DeletePage(arg2
);
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20154 SWIGINTERN PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20155 PyObject
*resultobj
= 0;
20156 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20163 PyObject
* obj0
= 0 ;
20164 PyObject
* obj1
= 0 ;
20165 char * kwnames
[] = {
20166 (char *) "self",(char *) "n", NULL
20169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20171 if (!SWIG_IsOK(res1
)) {
20172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20174 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20175 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20176 if (!SWIG_IsOK(ecode2
)) {
20177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_RemovePage" "', expected argument " "2"" of type '" "size_t""'");
20179 arg2
= static_cast< size_t >(val2
);
20181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20182 result
= (bool)(arg1
)->RemovePage(arg2
);
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20195 SWIGINTERN PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20196 PyObject
*resultobj
= 0;
20197 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20201 PyObject
*swig_obj
[1] ;
20203 if (!args
) SWIG_fail
;
20204 swig_obj
[0] = args
;
20205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20206 if (!SWIG_IsOK(res1
)) {
20207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_DeleteAllPages" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20209 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 result
= (bool)(arg1
)->DeleteAllPages();
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20225 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
= 0;
20227 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20228 wxWindow
*arg2
= (wxWindow
*) 0 ;
20229 wxString
*arg3
= 0 ;
20230 bool arg4
= (bool) false ;
20231 int arg5
= (int) -1 ;
20237 bool temp3
= false ;
20242 PyObject
* obj0
= 0 ;
20243 PyObject
* obj1
= 0 ;
20244 PyObject
* obj2
= 0 ;
20245 PyObject
* obj3
= 0 ;
20246 PyObject
* obj4
= 0 ;
20247 char * kwnames
[] = {
20248 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20253 if (!SWIG_IsOK(res1
)) {
20254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20256 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20257 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20258 if (!SWIG_IsOK(res2
)) {
20259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "2"" of type '" "wxWindow *""'");
20261 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20263 arg3
= wxString_in_helper(obj2
);
20264 if (arg3
== NULL
) SWIG_fail
;
20268 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
20269 if (!SWIG_IsOK(ecode4
)) {
20270 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "4"" of type '" "bool""'");
20272 arg4
= static_cast< bool >(val4
);
20275 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20276 if (!SWIG_IsOK(ecode5
)) {
20277 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_AddPage" "', expected argument " "5"" of type '" "int""'");
20279 arg5
= static_cast< int >(val5
);
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
20284 wxPyEndAllowThreads(__tstate
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20304 SWIGINTERN PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
= 0;
20306 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20308 wxWindow
*arg3
= (wxWindow
*) 0 ;
20309 wxString
*arg4
= 0 ;
20310 bool arg5
= (bool) false ;
20311 int arg6
= (int) -1 ;
20319 bool temp4
= false ;
20324 PyObject
* obj0
= 0 ;
20325 PyObject
* obj1
= 0 ;
20326 PyObject
* obj2
= 0 ;
20327 PyObject
* obj3
= 0 ;
20328 PyObject
* obj4
= 0 ;
20329 PyObject
* obj5
= 0 ;
20330 char * kwnames
[] = {
20331 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
20334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20339 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20340 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20341 if (!SWIG_IsOK(ecode2
)) {
20342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "2"" of type '" "size_t""'");
20344 arg2
= static_cast< size_t >(val2
);
20345 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20346 if (!SWIG_IsOK(res3
)) {
20347 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "3"" of type '" "wxWindow *""'");
20349 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
20351 arg4
= wxString_in_helper(obj3
);
20352 if (arg4
== NULL
) SWIG_fail
;
20356 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
20357 if (!SWIG_IsOK(ecode5
)) {
20358 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "5"" of type '" "bool""'");
20360 arg5
= static_cast< bool >(val5
);
20363 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
20364 if (!SWIG_IsOK(ecode6
)) {
20365 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "BookCtrlBase_InsertPage" "', expected argument " "6"" of type '" "int""'");
20367 arg6
= static_cast< int >(val6
);
20370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20371 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
20372 wxPyEndAllowThreads(__tstate
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20392 SWIGINTERN PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20393 PyObject
*resultobj
= 0;
20394 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20403 char * kwnames
[] = {
20404 (char *) "self",(char *) "n", NULL
20407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20409 if (!SWIG_IsOK(res1
)) {
20410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20412 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20413 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20414 if (!SWIG_IsOK(ecode2
)) {
20415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_SetSelection" "', expected argument " "2"" of type '" "size_t""'");
20417 arg2
= static_cast< size_t >(val2
);
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= (int)(arg1
)->SetSelection(arg2
);
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 resultobj
= SWIG_From_int(static_cast< int >(result
));
20431 SWIGINTERN PyObject
*_wrap_BookCtrlBase_ChangeSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
= 0;
20433 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20440 PyObject
* obj0
= 0 ;
20441 PyObject
* obj1
= 0 ;
20442 char * kwnames
[] = {
20443 (char *) "self",(char *) "n", NULL
20446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_ChangeSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20448 if (!SWIG_IsOK(res1
)) {
20449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20451 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20452 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
20453 if (!SWIG_IsOK(ecode2
)) {
20454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_ChangeSelection" "', expected argument " "2"" of type '" "size_t""'");
20456 arg2
= static_cast< size_t >(val2
);
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 result
= (int)(arg1
)->ChangeSelection(arg2
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20463 resultobj
= SWIG_From_int(static_cast< int >(result
));
20470 SWIGINTERN PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
= 0;
20472 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20473 bool arg2
= (bool) true ;
20478 PyObject
* obj0
= 0 ;
20479 PyObject
* obj1
= 0 ;
20480 char * kwnames
[] = {
20481 (char *) "self",(char *) "forward", NULL
20484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20486 if (!SWIG_IsOK(res1
)) {
20487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "1"" of type '" "wxBookCtrlBase *""'");
20489 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20491 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
20492 if (!SWIG_IsOK(ecode2
)) {
20493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBase_AdvanceSelection" "', expected argument " "2"" of type '" "bool""'");
20495 arg2
= static_cast< bool >(val2
);
20498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20499 (arg1
)->AdvanceSelection(arg2
);
20500 wxPyEndAllowThreads(__tstate
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= SWIG_Py_Void();
20510 SWIGINTERN PyObject
*_wrap_BookCtrlBase_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20511 PyObject
*resultobj
= 0;
20512 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
20513 wxPoint
*arg2
= 0 ;
20514 long *arg3
= (long *) 0 ;
20520 int res3
= SWIG_TMPOBJ
;
20521 PyObject
* obj0
= 0 ;
20522 PyObject
* obj1
= 0 ;
20523 char * kwnames
[] = {
20524 (char *) "self",(char *) "pt", NULL
20528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBase
, 0 | 0 );
20530 if (!SWIG_IsOK(res1
)) {
20531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBase_HitTest" "', expected argument " "1"" of type '" "wxBookCtrlBase const *""'");
20533 arg1
= reinterpret_cast< wxBookCtrlBase
* >(argp1
);
20536 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 result
= (int)((wxBookCtrlBase
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 resultobj
= SWIG_From_int(static_cast< int >(result
));
20545 if (SWIG_IsTmpObj(res3
)) {
20546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20548 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20557 SWIGINTERN PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
= 0;
20559 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
20560 SwigValueWrapper
<wxVisualAttributes
> result
;
20563 PyObject
* obj0
= 0 ;
20564 char * kwnames
[] = {
20565 (char *) "variant", NULL
20568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
20570 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20571 if (!SWIG_IsOK(ecode1
)) {
20572 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "BookCtrlBase_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
20574 arg1
= static_cast< wxWindowVariant
>(val1
);
20577 if (!wxPyCheckForApp()) SWIG_fail
;
20578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20579 result
= wxBookCtrlBase::GetClassDefaultAttributes(arg1
);
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
20590 SWIGINTERN PyObject
*BookCtrlBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20592 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20593 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBase
, SWIG_NewClientData(obj
));
20594 return SWIG_Py_Void();
20597 SWIGINTERN PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20598 PyObject
*resultobj
= 0;
20599 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20600 int arg2
= (int) 0 ;
20601 int arg3
= (int) -1 ;
20602 int arg4
= (int) -1 ;
20603 wxBookCtrlBaseEvent
*result
= 0 ;
20612 PyObject
* obj0
= 0 ;
20613 PyObject
* obj1
= 0 ;
20614 PyObject
* obj2
= 0 ;
20615 PyObject
* obj3
= 0 ;
20616 char * kwnames
[] = {
20617 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
20620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20622 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20623 if (!SWIG_IsOK(ecode1
)) {
20624 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
20626 arg1
= static_cast< wxEventType
>(val1
);
20629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20630 if (!SWIG_IsOK(ecode2
)) {
20631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "2"" of type '" "int""'");
20633 arg2
= static_cast< int >(val2
);
20636 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20637 if (!SWIG_IsOK(ecode3
)) {
20638 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "3"" of type '" "int""'");
20640 arg3
= static_cast< int >(val3
);
20643 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20644 if (!SWIG_IsOK(ecode4
)) {
20645 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_BookCtrlBaseEvent" "', expected argument " "4"" of type '" "int""'");
20647 arg4
= static_cast< int >(val4
);
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_POINTER_NEW
| 0 );
20662 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20663 PyObject
*resultobj
= 0;
20664 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20668 PyObject
*swig_obj
[1] ;
20670 if (!args
) SWIG_fail
;
20671 swig_obj
[0] = args
;
20672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20673 if (!SWIG_IsOK(res1
)) {
20674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20676 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20679 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 resultobj
= SWIG_From_int(static_cast< int >(result
));
20690 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
= 0;
20692 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 PyObject
* obj1
= 0 ;
20700 char * kwnames
[] = {
20701 (char *) "self",(char *) "nSel", NULL
20704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20706 if (!SWIG_IsOK(res1
)) {
20707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20709 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20710 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20711 if (!SWIG_IsOK(ecode2
)) {
20712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetSelection" "', expected argument " "2"" of type '" "int""'");
20714 arg2
= static_cast< int >(val2
);
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 (arg1
)->SetSelection(arg2
);
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_Py_Void();
20728 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20729 PyObject
*resultobj
= 0;
20730 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20734 PyObject
*swig_obj
[1] ;
20736 if (!args
) SWIG_fail
;
20737 swig_obj
[0] = args
;
20738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20739 if (!SWIG_IsOK(res1
)) {
20740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_GetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent const *""'");
20742 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20745 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
20746 wxPyEndAllowThreads(__tstate
);
20747 if (PyErr_Occurred()) SWIG_fail
;
20749 resultobj
= SWIG_From_int(static_cast< int >(result
));
20756 SWIGINTERN PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20757 PyObject
*resultobj
= 0;
20758 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj1
= 0 ;
20766 char * kwnames
[] = {
20767 (char *) "self",(char *) "nOldSel", NULL
20770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBookCtrlBaseEvent
, 0 | 0 );
20772 if (!SWIG_IsOK(res1
)) {
20773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "1"" of type '" "wxBookCtrlBaseEvent *""'");
20775 arg1
= reinterpret_cast< wxBookCtrlBaseEvent
* >(argp1
);
20776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20777 if (!SWIG_IsOK(ecode2
)) {
20778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BookCtrlBaseEvent_SetOldSelection" "', expected argument " "2"" of type '" "int""'");
20780 arg2
= static_cast< int >(val2
);
20782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20783 (arg1
)->SetOldSelection(arg2
);
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= SWIG_Py_Void();
20794 SWIGINTERN PyObject
*BookCtrlBaseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20796 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20797 SWIG_TypeNewClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, SWIG_NewClientData(obj
));
20798 return SWIG_Py_Void();
20801 SWIGINTERN PyObject
*BookCtrlBaseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20802 return SWIG_Python_InitShadowInstance(args
);
20805 SWIGINTERN PyObject
*_wrap_new_Notebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
= 0;
20807 wxWindow
*arg1
= (wxWindow
*) 0 ;
20808 int arg2
= (int) -1 ;
20809 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20810 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20811 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20812 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20813 long arg5
= (long) 0 ;
20814 wxString
const &arg6_defvalue
= wxPyNotebookNameStr
;
20815 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20816 wxNotebook
*result
= 0 ;
20825 bool temp6
= false ;
20826 PyObject
* obj0
= 0 ;
20827 PyObject
* obj1
= 0 ;
20828 PyObject
* obj2
= 0 ;
20829 PyObject
* obj3
= 0 ;
20830 PyObject
* obj4
= 0 ;
20831 PyObject
* obj5
= 0 ;
20832 char * kwnames
[] = {
20833 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20838 if (!SWIG_IsOK(res1
)) {
20839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Notebook" "', expected argument " "1"" of type '" "wxWindow *""'");
20841 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20844 if (!SWIG_IsOK(ecode2
)) {
20845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Notebook" "', expected argument " "2"" of type '" "int""'");
20847 arg2
= static_cast< int >(val2
);
20852 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20858 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20862 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20863 if (!SWIG_IsOK(ecode5
)) {
20864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Notebook" "', expected argument " "5"" of type '" "long""'");
20866 arg5
= static_cast< long >(val5
);
20870 arg6
= wxString_in_helper(obj5
);
20871 if (arg6
== NULL
) SWIG_fail
;
20876 if (!wxPyCheckForApp()) SWIG_fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20879 wxPyEndAllowThreads(__tstate
);
20880 if (PyErr_Occurred()) SWIG_fail
;
20882 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_NEW
| 0 );
20897 SWIGINTERN PyObject
*_wrap_new_PreNotebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20898 PyObject
*resultobj
= 0;
20899 wxNotebook
*result
= 0 ;
20901 if (!SWIG_Python_UnpackTuple(args
,"new_PreNotebook",0,0,0)) SWIG_fail
;
20903 if (!wxPyCheckForApp()) SWIG_fail
;
20904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20905 result
= (wxNotebook
*)new wxNotebook();
20906 wxPyEndAllowThreads(__tstate
);
20907 if (PyErr_Occurred()) SWIG_fail
;
20909 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebook
, SWIG_POINTER_OWN
| 0 );
20916 SWIGINTERN PyObject
*_wrap_Notebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
= 0;
20918 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
20919 wxWindow
*arg2
= (wxWindow
*) 0 ;
20920 int arg3
= (int) -1 ;
20921 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20922 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20923 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20924 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20925 long arg6
= (long) 0 ;
20926 wxString
const &arg7_defvalue
= wxPyNotebookNameStr
;
20927 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20939 bool temp7
= false ;
20940 PyObject
* obj0
= 0 ;
20941 PyObject
* obj1
= 0 ;
20942 PyObject
* obj2
= 0 ;
20943 PyObject
* obj3
= 0 ;
20944 PyObject
* obj4
= 0 ;
20945 PyObject
* obj5
= 0 ;
20946 PyObject
* obj6
= 0 ;
20947 char * kwnames
[] = {
20948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
20953 if (!SWIG_IsOK(res1
)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_Create" "', expected argument " "1"" of type '" "wxNotebook *""'");
20956 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
20957 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20958 if (!SWIG_IsOK(res2
)) {
20959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Notebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20961 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20963 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20964 if (!SWIG_IsOK(ecode3
)) {
20965 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_Create" "', expected argument " "3"" of type '" "int""'");
20967 arg3
= static_cast< int >(val3
);
20972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20982 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20983 if (!SWIG_IsOK(ecode6
)) {
20984 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Notebook_Create" "', expected argument " "6"" of type '" "long""'");
20986 arg6
= static_cast< long >(val6
);
20990 arg7
= wxString_in_helper(obj6
);
20991 if (arg7
== NULL
) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21018 SWIGINTERN PyObject
*_wrap_Notebook_GetRowCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21019 PyObject
*resultobj
= 0;
21020 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21024 PyObject
*swig_obj
[1] ;
21026 if (!args
) SWIG_fail
;
21027 swig_obj
[0] = args
;
21028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21029 if (!SWIG_IsOK(res1
)) {
21030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetRowCount" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21032 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
21036 wxPyEndAllowThreads(__tstate
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21039 resultobj
= SWIG_From_int(static_cast< int >(result
));
21046 SWIGINTERN PyObject
*_wrap_Notebook_SetPadding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
= 0;
21048 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21053 PyObject
* obj0
= 0 ;
21054 PyObject
* obj1
= 0 ;
21055 char * kwnames
[] = {
21056 (char *) "self",(char *) "padding", NULL
21059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21061 if (!SWIG_IsOK(res1
)) {
21062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetPadding" "', expected argument " "1"" of type '" "wxNotebook *""'");
21064 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21067 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 (arg1
)->SetPadding((wxSize
const &)*arg2
);
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= SWIG_Py_Void();
21082 SWIGINTERN PyObject
*_wrap_Notebook_SetTabSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
= 0;
21084 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21089 PyObject
* obj0
= 0 ;
21090 PyObject
* obj1
= 0 ;
21091 char * kwnames
[] = {
21092 (char *) "self",(char *) "sz", NULL
21095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21097 if (!SWIG_IsOK(res1
)) {
21098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SetTabSize" "', expected argument " "1"" of type '" "wxNotebook *""'");
21100 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21103 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= SWIG_Py_Void();
21118 SWIGINTERN PyObject
*_wrap_Notebook_GetThemeBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21119 PyObject
*resultobj
= 0;
21120 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21124 PyObject
*swig_obj
[1] ;
21126 if (!args
) SWIG_fail
;
21127 swig_obj
[0] = args
;
21128 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21129 if (!SWIG_IsOK(res1
)) {
21130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_GetThemeBackgroundColour" "', expected argument " "1"" of type '" "wxNotebook const *""'");
21132 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= ((wxNotebook
const *)arg1
)->GetThemeBackgroundColour();
21136 wxPyEndAllowThreads(__tstate
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21139 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
21146 SWIGINTERN PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21147 PyObject
*resultobj
= 0;
21148 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
21149 SwigValueWrapper
<wxVisualAttributes
> result
;
21152 PyObject
* obj0
= 0 ;
21153 char * kwnames
[] = {
21154 (char *) "variant", NULL
21157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
21159 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21160 if (!SWIG_IsOK(ecode1
)) {
21161 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Notebook_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
21163 arg1
= static_cast< wxWindowVariant
>(val1
);
21166 if (!wxPyCheckForApp()) SWIG_fail
;
21167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21168 result
= wxNotebook::GetClassDefaultAttributes(arg1
);
21169 wxPyEndAllowThreads(__tstate
);
21170 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21179 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21180 PyObject
*resultobj
= 0;
21181 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21188 PyObject
* obj0
= 0 ;
21189 PyObject
* obj1
= 0 ;
21190 char * kwnames
[] = {
21191 (char *) "self",(char *) "nPage", NULL
21194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SendPageChangingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21196 if (!SWIG_IsOK(res1
)) {
21197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21199 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21200 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21201 if (!SWIG_IsOK(ecode2
)) {
21202 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangingEvent" "', expected argument " "2"" of type '" "int""'");
21204 arg2
= static_cast< int >(val2
);
21206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21207 result
= (bool)(arg1
)->SendPageChangingEvent(arg2
);
21208 wxPyEndAllowThreads(__tstate
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21220 SWIGINTERN PyObject
*_wrap_Notebook_SendPageChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21221 PyObject
*resultobj
= 0;
21222 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
21224 int arg3
= (int) -1 ;
21231 PyObject
* obj0
= 0 ;
21232 PyObject
* obj1
= 0 ;
21233 PyObject
* obj2
= 0 ;
21234 char * kwnames
[] = {
21235 (char *) "self",(char *) "nPageOld",(char *) "nPageNew", NULL
21238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Notebook_SendPageChangedEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNotebook
, 0 | 0 );
21240 if (!SWIG_IsOK(res1
)) {
21241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "1"" of type '" "wxNotebook *""'");
21243 arg1
= reinterpret_cast< wxNotebook
* >(argp1
);
21244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21245 if (!SWIG_IsOK(ecode2
)) {
21246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "2"" of type '" "int""'");
21248 arg2
= static_cast< int >(val2
);
21250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21251 if (!SWIG_IsOK(ecode3
)) {
21252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Notebook_SendPageChangedEvent" "', expected argument " "3"" of type '" "int""'");
21254 arg3
= static_cast< int >(val3
);
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 (arg1
)->SendPageChangedEvent(arg2
,arg3
);
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= SWIG_Py_Void();
21269 SWIGINTERN PyObject
*Notebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21272 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebook
, SWIG_NewClientData(obj
));
21273 return SWIG_Py_Void();
21276 SWIGINTERN PyObject
*Notebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21277 return SWIG_Python_InitShadowInstance(args
);
21280 SWIGINTERN PyObject
*_wrap_new_NotebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
= 0;
21282 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21283 int arg2
= (int) 0 ;
21284 int arg3
= (int) -1 ;
21285 int arg4
= (int) -1 ;
21286 wxNotebookEvent
*result
= 0 ;
21295 PyObject
* obj0
= 0 ;
21296 PyObject
* obj1
= 0 ;
21297 PyObject
* obj2
= 0 ;
21298 PyObject
* obj3
= 0 ;
21299 char * kwnames
[] = {
21300 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21305 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21306 if (!SWIG_IsOK(ecode1
)) {
21307 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21309 arg1
= static_cast< wxEventType
>(val1
);
21312 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21313 if (!SWIG_IsOK(ecode2
)) {
21314 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotebookEvent" "', expected argument " "2"" of type '" "int""'");
21316 arg2
= static_cast< int >(val2
);
21319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21320 if (!SWIG_IsOK(ecode3
)) {
21321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_NotebookEvent" "', expected argument " "3"" of type '" "int""'");
21323 arg3
= static_cast< int >(val3
);
21326 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21327 if (!SWIG_IsOK(ecode4
)) {
21328 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_NotebookEvent" "', expected argument " "4"" of type '" "int""'");
21330 arg4
= static_cast< int >(val4
);
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21338 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotebookEvent
, SWIG_POINTER_NEW
| 0 );
21345 SWIGINTERN PyObject
*NotebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21347 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21348 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotebookEvent
, SWIG_NewClientData(obj
));
21349 return SWIG_Py_Void();
21352 SWIGINTERN PyObject
*NotebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21353 return SWIG_Python_InitShadowInstance(args
);
21356 SWIGINTERN PyObject
*_wrap_new_Listbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21357 PyObject
*resultobj
= 0;
21358 wxWindow
*arg1
= (wxWindow
*) 0 ;
21359 int arg2
= (int) -1 ;
21360 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21361 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21362 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21363 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21364 long arg5
= (long) 0 ;
21365 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21366 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21367 wxListbook
*result
= 0 ;
21376 bool temp6
= false ;
21377 PyObject
* obj0
= 0 ;
21378 PyObject
* obj1
= 0 ;
21379 PyObject
* obj2
= 0 ;
21380 PyObject
* obj3
= 0 ;
21381 PyObject
* obj4
= 0 ;
21382 PyObject
* obj5
= 0 ;
21383 char * kwnames
[] = {
21384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21389 if (!SWIG_IsOK(res1
)) {
21390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Listbook" "', expected argument " "1"" of type '" "wxWindow *""'");
21392 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21395 if (!SWIG_IsOK(ecode2
)) {
21396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Listbook" "', expected argument " "2"" of type '" "int""'");
21398 arg2
= static_cast< int >(val2
);
21403 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21409 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21413 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21414 if (!SWIG_IsOK(ecode5
)) {
21415 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Listbook" "', expected argument " "5"" of type '" "long""'");
21417 arg5
= static_cast< long >(val5
);
21421 arg6
= wxString_in_helper(obj5
);
21422 if (arg6
== NULL
) SWIG_fail
;
21427 if (!wxPyCheckForApp()) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_NEW
| 0 );
21448 SWIGINTERN PyObject
*_wrap_new_PreListbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21449 PyObject
*resultobj
= 0;
21450 wxListbook
*result
= 0 ;
21452 if (!SWIG_Python_UnpackTuple(args
,"new_PreListbook",0,0,0)) SWIG_fail
;
21454 if (!wxPyCheckForApp()) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (wxListbook
*)new wxListbook();
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21460 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbook
, SWIG_POINTER_OWN
| 0 );
21467 SWIGINTERN PyObject
*_wrap_Listbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21468 PyObject
*resultobj
= 0;
21469 wxListbook
*arg1
= (wxListbook
*) 0 ;
21470 wxWindow
*arg2
= (wxWindow
*) 0 ;
21471 int arg3
= (int) -1 ;
21472 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21473 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21474 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21475 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21476 long arg6
= (long) 0 ;
21477 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21478 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21490 bool temp7
= false ;
21491 PyObject
* obj0
= 0 ;
21492 PyObject
* obj1
= 0 ;
21493 PyObject
* obj2
= 0 ;
21494 PyObject
* obj3
= 0 ;
21495 PyObject
* obj4
= 0 ;
21496 PyObject
* obj5
= 0 ;
21497 PyObject
* obj6
= 0 ;
21498 char * kwnames
[] = {
21499 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21504 if (!SWIG_IsOK(res1
)) {
21505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_Create" "', expected argument " "1"" of type '" "wxListbook *""'");
21507 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21508 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21509 if (!SWIG_IsOK(res2
)) {
21510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Listbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21512 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21515 if (!SWIG_IsOK(ecode3
)) {
21516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Listbook_Create" "', expected argument " "3"" of type '" "int""'");
21518 arg3
= static_cast< int >(val3
);
21523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21533 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21534 if (!SWIG_IsOK(ecode6
)) {
21535 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Listbook_Create" "', expected argument " "6"" of type '" "long""'");
21537 arg6
= static_cast< long >(val6
);
21541 arg7
= wxString_in_helper(obj6
);
21542 if (arg7
== NULL
) SWIG_fail
;
21547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21549 wxPyEndAllowThreads(__tstate
);
21550 if (PyErr_Occurred()) SWIG_fail
;
21553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21569 SWIGINTERN PyObject
*_wrap_Listbook_GetListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21570 PyObject
*resultobj
= 0;
21571 wxListbook
*arg1
= (wxListbook
*) 0 ;
21572 wxListView
*result
= 0 ;
21575 PyObject
*swig_obj
[1] ;
21577 if (!args
) SWIG_fail
;
21578 swig_obj
[0] = args
;
21579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListbook
, 0 | 0 );
21580 if (!SWIG_IsOK(res1
)) {
21581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Listbook_GetListView" "', expected argument " "1"" of type '" "wxListbook *""'");
21583 arg1
= reinterpret_cast< wxListbook
* >(argp1
);
21585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21586 result
= (wxListView
*)(arg1
)->GetListView();
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, 0 | 0 );
21597 SWIGINTERN PyObject
*Listbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21599 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21600 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbook
, SWIG_NewClientData(obj
));
21601 return SWIG_Py_Void();
21604 SWIGINTERN PyObject
*Listbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21605 return SWIG_Python_InitShadowInstance(args
);
21608 SWIGINTERN PyObject
*_wrap_new_ListbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21609 PyObject
*resultobj
= 0;
21610 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21611 int arg2
= (int) 0 ;
21612 int arg3
= (int) -1 ;
21613 int arg4
= (int) -1 ;
21614 wxListbookEvent
*result
= 0 ;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 PyObject
* obj2
= 0 ;
21626 PyObject
* obj3
= 0 ;
21627 char * kwnames
[] = {
21628 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21633 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21634 if (!SWIG_IsOK(ecode1
)) {
21635 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21637 arg1
= static_cast< wxEventType
>(val1
);
21640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21641 if (!SWIG_IsOK(ecode2
)) {
21642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListbookEvent" "', expected argument " "2"" of type '" "int""'");
21644 arg2
= static_cast< int >(val2
);
21647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21648 if (!SWIG_IsOK(ecode3
)) {
21649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ListbookEvent" "', expected argument " "3"" of type '" "int""'");
21651 arg3
= static_cast< int >(val3
);
21654 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21655 if (!SWIG_IsOK(ecode4
)) {
21656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ListbookEvent" "', expected argument " "4"" of type '" "int""'");
21658 arg4
= static_cast< int >(val4
);
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
21663 wxPyEndAllowThreads(__tstate
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListbookEvent
, SWIG_POINTER_NEW
| 0 );
21673 SWIGINTERN PyObject
*ListbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21676 SWIG_TypeNewClientData(SWIGTYPE_p_wxListbookEvent
, SWIG_NewClientData(obj
));
21677 return SWIG_Py_Void();
21680 SWIGINTERN PyObject
*ListbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21681 return SWIG_Python_InitShadowInstance(args
);
21684 SWIGINTERN PyObject
*_wrap_new_Choicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
= 0;
21686 wxWindow
*arg1
= (wxWindow
*) 0 ;
21688 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21689 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21690 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21691 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21692 long arg5
= (long) 0 ;
21693 wxString
const &arg6_defvalue
= wxPyEmptyString
;
21694 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21695 wxChoicebook
*result
= 0 ;
21704 bool temp6
= false ;
21705 PyObject
* obj0
= 0 ;
21706 PyObject
* obj1
= 0 ;
21707 PyObject
* obj2
= 0 ;
21708 PyObject
* obj3
= 0 ;
21709 PyObject
* obj4
= 0 ;
21710 PyObject
* obj5
= 0 ;
21711 char * kwnames
[] = {
21712 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21717 if (!SWIG_IsOK(res1
)) {
21718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Choicebook" "', expected argument " "1"" of type '" "wxWindow *""'");
21720 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21722 if (!SWIG_IsOK(ecode2
)) {
21723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Choicebook" "', expected argument " "2"" of type '" "int""'");
21725 arg2
= static_cast< int >(val2
);
21729 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21735 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21739 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21740 if (!SWIG_IsOK(ecode5
)) {
21741 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Choicebook" "', expected argument " "5"" of type '" "long""'");
21743 arg5
= static_cast< long >(val5
);
21747 arg6
= wxString_in_helper(obj5
);
21748 if (arg6
== NULL
) SWIG_fail
;
21753 if (!wxPyCheckForApp()) SWIG_fail
;
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_NEW
| 0 );
21774 SWIGINTERN PyObject
*_wrap_new_PreChoicebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21775 PyObject
*resultobj
= 0;
21776 wxChoicebook
*result
= 0 ;
21778 if (!SWIG_Python_UnpackTuple(args
,"new_PreChoicebook",0,0,0)) SWIG_fail
;
21780 if (!wxPyCheckForApp()) SWIG_fail
;
21781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21782 result
= (wxChoicebook
*)new wxChoicebook();
21783 wxPyEndAllowThreads(__tstate
);
21784 if (PyErr_Occurred()) SWIG_fail
;
21786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebook
, SWIG_POINTER_OWN
| 0 );
21793 SWIGINTERN PyObject
*_wrap_Choicebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21794 PyObject
*resultobj
= 0;
21795 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21796 wxWindow
*arg2
= (wxWindow
*) 0 ;
21798 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21799 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21800 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21801 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21802 long arg6
= (long) 0 ;
21803 wxString
const &arg7_defvalue
= wxPyEmptyString
;
21804 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21816 bool temp7
= false ;
21817 PyObject
* obj0
= 0 ;
21818 PyObject
* obj1
= 0 ;
21819 PyObject
* obj2
= 0 ;
21820 PyObject
* obj3
= 0 ;
21821 PyObject
* obj4
= 0 ;
21822 PyObject
* obj5
= 0 ;
21823 PyObject
* obj6
= 0 ;
21824 char * kwnames
[] = {
21825 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21830 if (!SWIG_IsOK(res1
)) {
21831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_Create" "', expected argument " "1"" of type '" "wxChoicebook *""'");
21833 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21835 if (!SWIG_IsOK(res2
)) {
21836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Choicebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
21838 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
21839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21840 if (!SWIG_IsOK(ecode3
)) {
21841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Choicebook_Create" "', expected argument " "3"" of type '" "int""'");
21843 arg3
= static_cast< int >(val3
);
21847 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21853 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21857 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21858 if (!SWIG_IsOK(ecode6
)) {
21859 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Choicebook_Create" "', expected argument " "6"" of type '" "long""'");
21861 arg6
= static_cast< long >(val6
);
21865 arg7
= wxString_in_helper(obj6
);
21866 if (arg7
== NULL
) SWIG_fail
;
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21893 SWIGINTERN PyObject
*_wrap_Choicebook_GetChoiceCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21894 PyObject
*resultobj
= 0;
21895 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
21896 wxChoice
*result
= 0 ;
21899 PyObject
*swig_obj
[1] ;
21901 if (!args
) SWIG_fail
;
21902 swig_obj
[0] = args
;
21903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChoicebook
, 0 | 0 );
21904 if (!SWIG_IsOK(res1
)) {
21905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Choicebook_GetChoiceCtrl" "', expected argument " "1"" of type '" "wxChoicebook const *""'");
21907 arg1
= reinterpret_cast< wxChoicebook
* >(argp1
);
21909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21910 result
= (wxChoice
*)((wxChoicebook
const *)arg1
)->GetChoiceCtrl();
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoice
, 0 | 0 );
21921 SWIGINTERN PyObject
*Choicebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21924 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebook
, SWIG_NewClientData(obj
));
21925 return SWIG_Py_Void();
21928 SWIGINTERN PyObject
*Choicebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21929 return SWIG_Python_InitShadowInstance(args
);
21932 SWIGINTERN PyObject
*_wrap_new_ChoicebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21933 PyObject
*resultobj
= 0;
21934 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21935 int arg2
= (int) 0 ;
21936 int arg3
= (int) -1 ;
21937 int arg4
= (int) -1 ;
21938 wxChoicebookEvent
*result
= 0 ;
21947 PyObject
* obj0
= 0 ;
21948 PyObject
* obj1
= 0 ;
21949 PyObject
* obj2
= 0 ;
21950 PyObject
* obj3
= 0 ;
21951 char * kwnames
[] = {
21952 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
21955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
21957 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21958 if (!SWIG_IsOK(ecode1
)) {
21959 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ChoicebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21961 arg1
= static_cast< wxEventType
>(val1
);
21964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21965 if (!SWIG_IsOK(ecode2
)) {
21966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ChoicebookEvent" "', expected argument " "2"" of type '" "int""'");
21968 arg2
= static_cast< int >(val2
);
21971 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21972 if (!SWIG_IsOK(ecode3
)) {
21973 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ChoicebookEvent" "', expected argument " "3"" of type '" "int""'");
21975 arg3
= static_cast< int >(val3
);
21978 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21979 if (!SWIG_IsOK(ecode4
)) {
21980 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ChoicebookEvent" "', expected argument " "4"" of type '" "int""'");
21982 arg4
= static_cast< int >(val4
);
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChoicebookEvent
, SWIG_POINTER_NEW
| 0 );
21997 SWIGINTERN PyObject
*ChoicebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21999 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22000 SWIG_TypeNewClientData(SWIGTYPE_p_wxChoicebookEvent
, SWIG_NewClientData(obj
));
22001 return SWIG_Py_Void();
22004 SWIGINTERN PyObject
*ChoicebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22005 return SWIG_Python_InitShadowInstance(args
);
22008 SWIGINTERN PyObject
*_wrap_new_Treebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22009 PyObject
*resultobj
= 0;
22010 wxWindow
*arg1
= (wxWindow
*) 0 ;
22012 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22013 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22014 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22015 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22016 long arg5
= (long) wxBK_DEFAULT
;
22017 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22018 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22019 wxTreebook
*result
= 0 ;
22028 bool temp6
= false ;
22029 PyObject
* obj0
= 0 ;
22030 PyObject
* obj1
= 0 ;
22031 PyObject
* obj2
= 0 ;
22032 PyObject
* obj3
= 0 ;
22033 PyObject
* obj4
= 0 ;
22034 PyObject
* obj5
= 0 ;
22035 char * kwnames
[] = {
22036 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Treebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22041 if (!SWIG_IsOK(res1
)) {
22042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Treebook" "', expected argument " "1"" of type '" "wxWindow *""'");
22044 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22046 if (!SWIG_IsOK(ecode2
)) {
22047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Treebook" "', expected argument " "2"" of type '" "int""'");
22049 arg2
= static_cast< int >(val2
);
22053 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22059 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22063 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22064 if (!SWIG_IsOK(ecode5
)) {
22065 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Treebook" "', expected argument " "5"" of type '" "long""'");
22067 arg5
= static_cast< long >(val5
);
22071 arg6
= wxString_in_helper(obj5
);
22072 if (arg6
== NULL
) SWIG_fail
;
22077 if (!wxPyCheckForApp()) SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22079 result
= (wxTreebook
*)new wxTreebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22083 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_NEW
| 0 );
22098 SWIGINTERN PyObject
*_wrap_new_PreTreebook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22099 PyObject
*resultobj
= 0;
22100 wxTreebook
*result
= 0 ;
22102 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreebook",0,0,0)) SWIG_fail
;
22104 if (!wxPyCheckForApp()) SWIG_fail
;
22105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22106 result
= (wxTreebook
*)new wxTreebook();
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebook
, SWIG_POINTER_OWN
| 0 );
22117 SWIGINTERN PyObject
*_wrap_Treebook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22118 PyObject
*resultobj
= 0;
22119 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22120 wxWindow
*arg2
= (wxWindow
*) 0 ;
22122 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22123 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22124 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22125 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22126 long arg6
= (long) wxBK_DEFAULT
;
22127 wxString
const &arg7_defvalue
= wxPyEmptyString
;
22128 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22140 bool temp7
= false ;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 PyObject
* obj2
= 0 ;
22144 PyObject
* obj3
= 0 ;
22145 PyObject
* obj4
= 0 ;
22146 PyObject
* obj5
= 0 ;
22147 PyObject
* obj6
= 0 ;
22148 char * kwnames
[] = {
22149 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Treebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22154 if (!SWIG_IsOK(res1
)) {
22155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_Create" "', expected argument " "1"" of type '" "wxTreebook *""'");
22157 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22158 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22159 if (!SWIG_IsOK(res2
)) {
22160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22162 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22163 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22164 if (!SWIG_IsOK(ecode3
)) {
22165 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_Create" "', expected argument " "3"" of type '" "int""'");
22167 arg3
= static_cast< int >(val3
);
22171 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22177 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22181 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22182 if (!SWIG_IsOK(ecode6
)) {
22183 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_Create" "', expected argument " "6"" of type '" "long""'");
22185 arg6
= static_cast< long >(val6
);
22189 arg7
= wxString_in_helper(obj6
);
22190 if (arg7
== NULL
) SWIG_fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22217 SWIGINTERN PyObject
*_wrap_Treebook_InsertSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22218 PyObject
*resultobj
= 0;
22219 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22221 wxWindow
*arg3
= (wxWindow
*) 0 ;
22222 wxString
*arg4
= 0 ;
22223 bool arg5
= (bool) false ;
22224 int arg6
= (int) wxNOT_FOUND
;
22232 bool temp4
= false ;
22237 PyObject
* obj0
= 0 ;
22238 PyObject
* obj1
= 0 ;
22239 PyObject
* obj2
= 0 ;
22240 PyObject
* obj3
= 0 ;
22241 PyObject
* obj4
= 0 ;
22242 PyObject
* obj5
= 0 ;
22243 char * kwnames
[] = {
22244 (char *) "self",(char *) "pos",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Treebook_InsertSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22249 if (!SWIG_IsOK(res1
)) {
22250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_InsertSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22252 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22253 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22254 if (!SWIG_IsOK(ecode2
)) {
22255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_InsertSubPage" "', expected argument " "2"" of type '" "size_t""'");
22257 arg2
= static_cast< size_t >(val2
);
22258 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22259 if (!SWIG_IsOK(res3
)) {
22260 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Treebook_InsertSubPage" "', expected argument " "3"" of type '" "wxWindow *""'");
22262 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
22264 arg4
= wxString_in_helper(obj3
);
22265 if (arg4
== NULL
) SWIG_fail
;
22269 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
22270 if (!SWIG_IsOK(ecode5
)) {
22271 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_InsertSubPage" "', expected argument " "5"" of type '" "bool""'");
22273 arg5
= static_cast< bool >(val5
);
22276 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22277 if (!SWIG_IsOK(ecode6
)) {
22278 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Treebook_InsertSubPage" "', expected argument " "6"" of type '" "int""'");
22280 arg6
= static_cast< int >(val6
);
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= (bool)(arg1
)->InsertSubPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22305 SWIGINTERN PyObject
*_wrap_Treebook_AddSubPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22306 PyObject
*resultobj
= 0;
22307 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22308 wxWindow
*arg2
= (wxWindow
*) 0 ;
22309 wxString
*arg3
= 0 ;
22310 bool arg4
= (bool) false ;
22311 int arg5
= (int) wxNOT_FOUND
;
22317 bool temp3
= false ;
22322 PyObject
* obj0
= 0 ;
22323 PyObject
* obj1
= 0 ;
22324 PyObject
* obj2
= 0 ;
22325 PyObject
* obj3
= 0 ;
22326 PyObject
* obj4
= 0 ;
22327 char * kwnames
[] = {
22328 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
22331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Treebook_AddSubPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22333 if (!SWIG_IsOK(res1
)) {
22334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_AddSubPage" "', expected argument " "1"" of type '" "wxTreebook *""'");
22336 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22337 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22338 if (!SWIG_IsOK(res2
)) {
22339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Treebook_AddSubPage" "', expected argument " "2"" of type '" "wxWindow *""'");
22341 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22343 arg3
= wxString_in_helper(obj2
);
22344 if (arg3
== NULL
) SWIG_fail
;
22348 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
22349 if (!SWIG_IsOK(ecode4
)) {
22350 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Treebook_AddSubPage" "', expected argument " "4"" of type '" "bool""'");
22352 arg4
= static_cast< bool >(val4
);
22355 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22356 if (!SWIG_IsOK(ecode5
)) {
22357 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Treebook_AddSubPage" "', expected argument " "5"" of type '" "int""'");
22359 arg5
= static_cast< int >(val5
);
22362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22363 result
= (bool)(arg1
)->AddSubPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
22364 wxPyEndAllowThreads(__tstate
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22384 SWIGINTERN PyObject
*_wrap_Treebook_IsNodeExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22385 PyObject
*resultobj
= 0;
22386 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char * kwnames
[] = {
22396 (char *) "self",(char *) "pos", NULL
22399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_IsNodeExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22401 if (!SWIG_IsOK(res1
)) {
22402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22404 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22405 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22406 if (!SWIG_IsOK(ecode2
)) {
22407 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_IsNodeExpanded" "', expected argument " "2"" of type '" "size_t""'");
22409 arg2
= static_cast< size_t >(val2
);
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (bool)((wxTreebook
const *)arg1
)->IsNodeExpanded(arg2
);
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22425 SWIGINTERN PyObject
*_wrap_Treebook_ExpandNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22426 PyObject
*resultobj
= 0;
22427 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22429 bool arg3
= (bool) true ;
22437 PyObject
* obj0
= 0 ;
22438 PyObject
* obj1
= 0 ;
22439 PyObject
* obj2
= 0 ;
22440 char * kwnames
[] = {
22441 (char *) "self",(char *) "pos",(char *) "expand", NULL
22444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Treebook_ExpandNode",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22446 if (!SWIG_IsOK(res1
)) {
22447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_ExpandNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22449 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22450 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22451 if (!SWIG_IsOK(ecode2
)) {
22452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_ExpandNode" "', expected argument " "2"" of type '" "size_t""'");
22454 arg2
= static_cast< size_t >(val2
);
22456 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
22457 if (!SWIG_IsOK(ecode3
)) {
22458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Treebook_ExpandNode" "', expected argument " "3"" of type '" "bool""'");
22460 arg3
= static_cast< bool >(val3
);
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 result
= (bool)(arg1
)->ExpandNode(arg2
,arg3
);
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22477 SWIGINTERN PyObject
*_wrap_Treebook_CollapseNode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
= 0;
22479 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22486 PyObject
* obj0
= 0 ;
22487 PyObject
* obj1
= 0 ;
22488 char * kwnames
[] = {
22489 (char *) "self",(char *) "pos", NULL
22492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_CollapseNode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22494 if (!SWIG_IsOK(res1
)) {
22495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_CollapseNode" "', expected argument " "1"" of type '" "wxTreebook *""'");
22497 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22498 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22499 if (!SWIG_IsOK(ecode2
)) {
22500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_CollapseNode" "', expected argument " "2"" of type '" "size_t""'");
22502 arg2
= static_cast< size_t >(val2
);
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= (bool)(arg1
)->CollapseNode(arg2
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22518 SWIGINTERN PyObject
*_wrap_Treebook_GetPageParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
= 0;
22520 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22527 PyObject
* obj0
= 0 ;
22528 PyObject
* obj1
= 0 ;
22529 char * kwnames
[] = {
22530 (char *) "self",(char *) "pos", NULL
22533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Treebook_GetPageParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22535 if (!SWIG_IsOK(res1
)) {
22536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetPageParent" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22538 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22539 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
22540 if (!SWIG_IsOK(ecode2
)) {
22541 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Treebook_GetPageParent" "', expected argument " "2"" of type '" "size_t""'");
22543 arg2
= static_cast< size_t >(val2
);
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= (int)((wxTreebook
const *)arg1
)->GetPageParent(arg2
);
22547 wxPyEndAllowThreads(__tstate
);
22548 if (PyErr_Occurred()) SWIG_fail
;
22550 resultobj
= SWIG_From_int(static_cast< int >(result
));
22557 SWIGINTERN PyObject
*_wrap_Treebook_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22558 PyObject
*resultobj
= 0;
22559 wxTreebook
*arg1
= (wxTreebook
*) 0 ;
22560 wxPyTreeCtrl
*result
= 0 ;
22563 PyObject
*swig_obj
[1] ;
22565 if (!args
) SWIG_fail
;
22566 swig_obj
[0] = args
;
22567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreebook
, 0 | 0 );
22568 if (!SWIG_IsOK(res1
)) {
22569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Treebook_GetTreeCtrl" "', expected argument " "1"" of type '" "wxTreebook const *""'");
22571 arg1
= reinterpret_cast< wxTreebook
* >(argp1
);
22573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22574 result
= (wxPyTreeCtrl
*)((wxTreebook
const *)arg1
)->GetTreeCtrl();
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22579 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22587 SWIGINTERN PyObject
*Treebook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22590 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebook
, SWIG_NewClientData(obj
));
22591 return SWIG_Py_Void();
22594 SWIGINTERN PyObject
*Treebook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22595 return SWIG_Python_InitShadowInstance(args
);
22598 SWIGINTERN PyObject
*_wrap_new_TreebookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
= 0;
22600 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22601 int arg2
= (int) 0 ;
22602 int arg3
= (int) wxNOT_FOUND
;
22603 int arg4
= (int) wxNOT_FOUND
;
22604 wxTreebookEvent
*result
= 0 ;
22613 PyObject
* obj0
= 0 ;
22614 PyObject
* obj1
= 0 ;
22615 PyObject
* obj2
= 0 ;
22616 PyObject
* obj3
= 0 ;
22617 char * kwnames
[] = {
22618 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TreebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22623 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22624 if (!SWIG_IsOK(ecode1
)) {
22625 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreebookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22627 arg1
= static_cast< wxEventType
>(val1
);
22630 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22631 if (!SWIG_IsOK(ecode2
)) {
22632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreebookEvent" "', expected argument " "2"" of type '" "int""'");
22634 arg2
= static_cast< int >(val2
);
22637 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22638 if (!SWIG_IsOK(ecode3
)) {
22639 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TreebookEvent" "', expected argument " "3"" of type '" "int""'");
22641 arg3
= static_cast< int >(val3
);
22644 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22645 if (!SWIG_IsOK(ecode4
)) {
22646 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_TreebookEvent" "', expected argument " "4"" of type '" "int""'");
22648 arg4
= static_cast< int >(val4
);
22651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22652 result
= (wxTreebookEvent
*)new wxTreebookEvent(arg1
,arg2
,arg3
,arg4
);
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreebookEvent
, SWIG_POINTER_NEW
| 0 );
22663 SWIGINTERN PyObject
*TreebookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22665 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22666 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreebookEvent
, SWIG_NewClientData(obj
));
22667 return SWIG_Py_Void();
22670 SWIGINTERN PyObject
*TreebookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22671 return SWIG_Python_InitShadowInstance(args
);
22674 SWIGINTERN PyObject
*_wrap_new_Toolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22675 PyObject
*resultobj
= 0;
22676 wxWindow
*arg1
= (wxWindow
*) 0 ;
22678 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22679 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22680 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22681 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22682 long arg5
= (long) wxBK_DEFAULT
;
22683 wxString
const &arg6_defvalue
= wxPyEmptyString
;
22684 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22685 wxToolbook
*result
= 0 ;
22694 bool temp6
= false ;
22695 PyObject
* obj0
= 0 ;
22696 PyObject
* obj1
= 0 ;
22697 PyObject
* obj2
= 0 ;
22698 PyObject
* obj3
= 0 ;
22699 PyObject
* obj4
= 0 ;
22700 PyObject
* obj5
= 0 ;
22701 char * kwnames
[] = {
22702 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Toolbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22707 if (!SWIG_IsOK(res1
)) {
22708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Toolbook" "', expected argument " "1"" of type '" "wxWindow *""'");
22710 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22712 if (!SWIG_IsOK(ecode2
)) {
22713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Toolbook" "', expected argument " "2"" of type '" "int""'");
22715 arg2
= static_cast< int >(val2
);
22719 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22725 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22729 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22730 if (!SWIG_IsOK(ecode5
)) {
22731 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Toolbook" "', expected argument " "5"" of type '" "long""'");
22733 arg5
= static_cast< long >(val5
);
22737 arg6
= wxString_in_helper(obj5
);
22738 if (arg6
== NULL
) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 result
= (wxToolbook
*)new wxToolbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_NEW
| 0 );
22763 SWIGINTERN PyObject
*_wrap_new_PreToolbook(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22764 PyObject
*resultobj
= 0;
22765 wxToolbook
*result
= 0 ;
22767 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolbook",0,0,0)) SWIG_fail
;
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 result
= (wxToolbook
*)new wxToolbook();
22771 wxPyEndAllowThreads(__tstate
);
22772 if (PyErr_Occurred()) SWIG_fail
;
22774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbook
, SWIG_POINTER_OWN
| 0 );
22781 SWIGINTERN PyObject
*_wrap_Toolbook_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
= 0;
22783 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22784 wxWindow
*arg2
= (wxWindow
*) 0 ;
22786 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
22787 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
22788 wxSize
const &arg5_defvalue
= wxDefaultSize
;
22789 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
22790 long arg6
= (long) 0 ;
22791 wxString
const &arg7_defvalue
= wxEmptyString
;
22792 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
22804 bool temp7
= false ;
22805 PyObject
* obj0
= 0 ;
22806 PyObject
* obj1
= 0 ;
22807 PyObject
* obj2
= 0 ;
22808 PyObject
* obj3
= 0 ;
22809 PyObject
* obj4
= 0 ;
22810 PyObject
* obj5
= 0 ;
22811 PyObject
* obj6
= 0 ;
22812 char * kwnames
[] = {
22813 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Toolbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
22817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22818 if (!SWIG_IsOK(res1
)) {
22819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Create" "', expected argument " "1"" of type '" "wxToolbook *""'");
22821 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22822 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22823 if (!SWIG_IsOK(res2
)) {
22824 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Toolbook_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
22826 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
22827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22828 if (!SWIG_IsOK(ecode3
)) {
22829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Toolbook_Create" "', expected argument " "3"" of type '" "int""'");
22831 arg3
= static_cast< int >(val3
);
22835 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
22841 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
22845 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
22846 if (!SWIG_IsOK(ecode6
)) {
22847 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Toolbook_Create" "', expected argument " "6"" of type '" "long""'");
22849 arg6
= static_cast< long >(val6
);
22853 arg7
= wxString_in_helper(obj6
);
22854 if (arg7
== NULL
) SWIG_fail
;
22859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22860 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22881 SWIGINTERN PyObject
*_wrap_Toolbook_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22882 PyObject
*resultobj
= 0;
22883 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22884 wxToolBarBase
*result
= 0 ;
22887 PyObject
*swig_obj
[1] ;
22889 if (!args
) SWIG_fail
;
22890 swig_obj
[0] = args
;
22891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22892 if (!SWIG_IsOK(res1
)) {
22893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_GetToolBar" "', expected argument " "1"" of type '" "wxToolbook const *""'");
22895 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22898 result
= (wxToolBarBase
*)((wxToolbook
const *)arg1
)->GetToolBar();
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22903 resultobj
= wxPyMake_wxObject(result
, (bool)0);
22911 SWIGINTERN PyObject
*_wrap_Toolbook_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22912 PyObject
*resultobj
= 0;
22913 wxToolbook
*arg1
= (wxToolbook
*) 0 ;
22916 PyObject
*swig_obj
[1] ;
22918 if (!args
) SWIG_fail
;
22919 swig_obj
[0] = args
;
22920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolbook
, 0 | 0 );
22921 if (!SWIG_IsOK(res1
)) {
22922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Toolbook_Realize" "', expected argument " "1"" of type '" "wxToolbook *""'");
22924 arg1
= reinterpret_cast< wxToolbook
* >(argp1
);
22926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= SWIG_Py_Void();
22938 SWIGINTERN PyObject
*Toolbook_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22940 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22941 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbook
, SWIG_NewClientData(obj
));
22942 return SWIG_Py_Void();
22945 SWIGINTERN PyObject
*Toolbook_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22946 return SWIG_Python_InitShadowInstance(args
);
22949 SWIGINTERN PyObject
*_wrap_new_ToolbookEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
= 0;
22951 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
22952 int arg2
= (int) 0 ;
22953 int arg3
= (int) wxNOT_FOUND
;
22954 int arg4
= (int) wxNOT_FOUND
;
22955 wxToolbookEvent
*result
= 0 ;
22964 PyObject
* obj0
= 0 ;
22965 PyObject
* obj1
= 0 ;
22966 PyObject
* obj2
= 0 ;
22967 PyObject
* obj3
= 0 ;
22968 char * kwnames
[] = {
22969 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
22972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ToolbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
22974 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
22975 if (!SWIG_IsOK(ecode1
)) {
22976 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ToolbookEvent" "', expected argument " "1"" of type '" "wxEventType""'");
22978 arg1
= static_cast< wxEventType
>(val1
);
22981 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22982 if (!SWIG_IsOK(ecode2
)) {
22983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolbookEvent" "', expected argument " "2"" of type '" "int""'");
22985 arg2
= static_cast< int >(val2
);
22988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22989 if (!SWIG_IsOK(ecode3
)) {
22990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ToolbookEvent" "', expected argument " "3"" of type '" "int""'");
22992 arg3
= static_cast< int >(val3
);
22995 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22996 if (!SWIG_IsOK(ecode4
)) {
22997 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ToolbookEvent" "', expected argument " "4"" of type '" "int""'");
22999 arg4
= static_cast< int >(val4
);
23002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23003 result
= (wxToolbookEvent
*)new wxToolbookEvent(arg1
,arg2
,arg3
,arg4
);
23004 wxPyEndAllowThreads(__tstate
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolbookEvent
, SWIG_POINTER_NEW
| 0 );
23014 SWIGINTERN PyObject
*ToolbookEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23017 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolbookEvent
, SWIG_NewClientData(obj
));
23018 return SWIG_Py_Void();
23021 SWIGINTERN PyObject
*ToolbookEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23022 return SWIG_Python_InitShadowInstance(args
);
23025 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23026 PyObject
*resultobj
= 0;
23027 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23031 PyObject
*swig_obj
[1] ;
23033 if (!args
) SWIG_fail
;
23034 swig_obj
[0] = args
;
23035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23036 if (!SWIG_IsOK(res1
)) {
23037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetId" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23039 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (int)(arg1
)->GetId();
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= SWIG_From_int(static_cast< int >(result
));
23053 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23054 PyObject
*resultobj
= 0;
23055 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23056 wxControl
*result
= 0 ;
23059 PyObject
*swig_obj
[1] ;
23061 if (!args
) SWIG_fail
;
23062 swig_obj
[0] = args
;
23063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23064 if (!SWIG_IsOK(res1
)) {
23065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23067 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23070 result
= (wxControl
*)(arg1
)->GetControl();
23071 wxPyEndAllowThreads(__tstate
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23075 resultobj
= wxPyMake_wxObject(result
, 0);
23083 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23084 PyObject
*resultobj
= 0;
23085 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23086 wxToolBarBase
*result
= 0 ;
23089 PyObject
*swig_obj
[1] ;
23091 if (!args
) SWIG_fail
;
23092 swig_obj
[0] = args
;
23093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23094 if (!SWIG_IsOK(res1
)) {
23095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetToolBar" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23097 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
23101 wxPyEndAllowThreads(__tstate
);
23102 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23113 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23114 PyObject
*resultobj
= 0;
23115 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23119 PyObject
*swig_obj
[1] ;
23121 if (!args
) SWIG_fail
;
23122 swig_obj
[0] = args
;
23123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23124 if (!SWIG_IsOK(res1
)) {
23125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsButton" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23127 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23130 result
= (int)(arg1
)->IsButton();
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23134 resultobj
= SWIG_From_int(static_cast< int >(result
));
23141 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23142 PyObject
*resultobj
= 0;
23143 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23147 PyObject
*swig_obj
[1] ;
23149 if (!args
) SWIG_fail
;
23150 swig_obj
[0] = args
;
23151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23152 if (!SWIG_IsOK(res1
)) {
23153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsControl" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23155 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 result
= (int)(arg1
)->IsControl();
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23162 resultobj
= SWIG_From_int(static_cast< int >(result
));
23169 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23170 PyObject
*resultobj
= 0;
23171 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23175 PyObject
*swig_obj
[1] ;
23177 if (!args
) SWIG_fail
;
23178 swig_obj
[0] = args
;
23179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23180 if (!SWIG_IsOK(res1
)) {
23181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsSeparator" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23183 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 result
= (int)(arg1
)->IsSeparator();
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= SWIG_From_int(static_cast< int >(result
));
23197 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23198 PyObject
*resultobj
= 0;
23199 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23203 PyObject
*swig_obj
[1] ;
23205 if (!args
) SWIG_fail
;
23206 swig_obj
[0] = args
;
23207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23208 if (!SWIG_IsOK(res1
)) {
23209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetStyle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23211 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= (int)(arg1
)->GetStyle();
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= SWIG_From_int(static_cast< int >(result
));
23225 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23226 PyObject
*resultobj
= 0;
23227 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23231 PyObject
*swig_obj
[1] ;
23233 if (!args
) SWIG_fail
;
23234 swig_obj
[0] = args
;
23235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23236 if (!SWIG_IsOK(res1
)) {
23237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetKind" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23239 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23242 result
= (wxItemKind
)(arg1
)->GetKind();
23243 wxPyEndAllowThreads(__tstate
);
23244 if (PyErr_Occurred()) SWIG_fail
;
23246 resultobj
= SWIG_From_int(static_cast< int >(result
));
23253 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23254 PyObject
*resultobj
= 0;
23255 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23259 PyObject
*swig_obj
[1] ;
23261 if (!args
) SWIG_fail
;
23262 swig_obj
[0] = args
;
23263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23264 if (!SWIG_IsOK(res1
)) {
23265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsEnabled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23267 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23270 result
= (bool)(arg1
)->IsEnabled();
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23283 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23284 PyObject
*resultobj
= 0;
23285 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23289 PyObject
*swig_obj
[1] ;
23291 if (!args
) SWIG_fail
;
23292 swig_obj
[0] = args
;
23293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23294 if (!SWIG_IsOK(res1
)) {
23295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_IsToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23297 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 result
= (bool)(arg1
)->IsToggled();
23301 wxPyEndAllowThreads(__tstate
);
23302 if (PyErr_Occurred()) SWIG_fail
;
23305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23313 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23314 PyObject
*resultobj
= 0;
23315 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23319 PyObject
*swig_obj
[1] ;
23321 if (!args
) SWIG_fail
;
23322 swig_obj
[0] = args
;
23323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23324 if (!SWIG_IsOK(res1
)) {
23325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_CanBeToggled" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23327 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 result
= (bool)(arg1
)->CanBeToggled();
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23343 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23344 PyObject
*resultobj
= 0;
23345 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23346 wxBitmap
*result
= 0 ;
23349 PyObject
*swig_obj
[1] ;
23351 if (!args
) SWIG_fail
;
23352 swig_obj
[0] = args
;
23353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23354 if (!SWIG_IsOK(res1
)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23357 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
23362 result
= (wxBitmap
*) &_result_ref
;
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23368 wxBitmap
* resultptr
= new wxBitmap(*result
);
23369 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23377 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23378 PyObject
*resultobj
= 0;
23379 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23380 wxBitmap
*result
= 0 ;
23383 PyObject
*swig_obj
[1] ;
23385 if (!args
) SWIG_fail
;
23386 swig_obj
[0] = args
;
23387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23388 if (!SWIG_IsOK(res1
)) {
23389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23391 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23395 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
23396 result
= (wxBitmap
*) &_result_ref
;
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23402 wxBitmap
* resultptr
= new wxBitmap(*result
);
23403 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
23411 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23412 PyObject
*resultobj
= 0;
23413 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23417 PyObject
*swig_obj
[1] ;
23419 if (!args
) SWIG_fail
;
23420 swig_obj
[0] = args
;
23421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23422 if (!SWIG_IsOK(res1
)) {
23423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23425 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (arg1
)->GetBitmap();
23429 wxPyEndAllowThreads(__tstate
);
23430 if (PyErr_Occurred()) SWIG_fail
;
23432 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
23439 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23440 PyObject
*resultobj
= 0;
23441 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23445 PyObject
*swig_obj
[1] ;
23447 if (!args
) SWIG_fail
;
23448 swig_obj
[0] = args
;
23449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23450 if (!SWIG_IsOK(res1
)) {
23451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23453 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= (arg1
)->GetLabel();
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23473 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23474 PyObject
*resultobj
= 0;
23475 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23479 PyObject
*swig_obj
[1] ;
23481 if (!args
) SWIG_fail
;
23482 swig_obj
[0] = args
;
23483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23484 if (!SWIG_IsOK(res1
)) {
23485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23487 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23490 result
= (arg1
)->GetShortHelp();
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23496 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23498 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23507 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23508 PyObject
*resultobj
= 0;
23509 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23513 PyObject
*swig_obj
[1] ;
23515 if (!args
) SWIG_fail
;
23516 swig_obj
[0] = args
;
23517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23518 if (!SWIG_IsOK(res1
)) {
23519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23521 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 result
= (arg1
)->GetLongHelp();
23525 wxPyEndAllowThreads(__tstate
);
23526 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23541 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23542 PyObject
*resultobj
= 0;
23543 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23550 PyObject
* obj0
= 0 ;
23551 PyObject
* obj1
= 0 ;
23552 char * kwnames
[] = {
23553 (char *) "self",(char *) "enable", NULL
23556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23558 if (!SWIG_IsOK(res1
)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23561 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23562 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23563 if (!SWIG_IsOK(ecode2
)) {
23564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_Enable" "', expected argument " "2"" of type '" "bool""'");
23566 arg2
= static_cast< bool >(val2
);
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= (bool)(arg1
)->Enable(arg2
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23582 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23583 PyObject
*resultobj
= 0;
23584 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23587 PyObject
*swig_obj
[1] ;
23589 if (!args
) SWIG_fail
;
23590 swig_obj
[0] = args
;
23591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23592 if (!SWIG_IsOK(res1
)) {
23593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Toggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23595 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 resultobj
= SWIG_Py_Void();
23609 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
= 0;
23611 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23618 PyObject
* obj0
= 0 ;
23619 PyObject
* obj1
= 0 ;
23620 char * kwnames
[] = {
23621 (char *) "self",(char *) "toggle", NULL
23624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23626 if (!SWIG_IsOK(res1
)) {
23627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23629 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23630 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23631 if (!SWIG_IsOK(ecode2
)) {
23632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarToolBase_SetToggle" "', expected argument " "2"" of type '" "bool""'");
23634 arg2
= static_cast< bool >(val2
);
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (bool)(arg1
)->SetToggle(arg2
);
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23650 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23651 PyObject
*resultobj
= 0;
23652 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23653 wxString
*arg2
= 0 ;
23657 bool temp2
= false ;
23658 PyObject
* obj0
= 0 ;
23659 PyObject
* obj1
= 0 ;
23660 char * kwnames
[] = {
23661 (char *) "self",(char *) "help", NULL
23664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23666 if (!SWIG_IsOK(res1
)) {
23667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetShortHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23669 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23671 arg2
= wxString_in_helper(obj1
);
23672 if (arg2
== NULL
) SWIG_fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23698 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23699 PyObject
*resultobj
= 0;
23700 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23701 wxString
*arg2
= 0 ;
23705 bool temp2
= false ;
23706 PyObject
* obj0
= 0 ;
23707 PyObject
* obj1
= 0 ;
23708 char * kwnames
[] = {
23709 (char *) "self",(char *) "help", NULL
23712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23714 if (!SWIG_IsOK(res1
)) {
23715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLongHelp" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23717 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23719 arg2
= wxString_in_helper(obj1
);
23720 if (arg2
== NULL
) SWIG_fail
;
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
23726 wxPyEndAllowThreads(__tstate
);
23727 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23746 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23747 PyObject
*resultobj
= 0;
23748 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23749 wxBitmap
*arg2
= 0 ;
23754 PyObject
* obj0
= 0 ;
23755 PyObject
* obj1
= 0 ;
23756 char * kwnames
[] = {
23757 (char *) "self",(char *) "bmp", NULL
23760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23761 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23762 if (!SWIG_IsOK(res1
)) {
23763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23765 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23766 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23767 if (!SWIG_IsOK(res2
)) {
23768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23771 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetNormalBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23773 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23776 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 resultobj
= SWIG_Py_Void();
23787 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23788 PyObject
*resultobj
= 0;
23789 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23790 wxBitmap
*arg2
= 0 ;
23795 PyObject
* obj0
= 0 ;
23796 PyObject
* obj1
= 0 ;
23797 char * kwnames
[] = {
23798 (char *) "self",(char *) "bmp", NULL
23801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23803 if (!SWIG_IsOK(res1
)) {
23804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23806 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23807 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
23808 if (!SWIG_IsOK(res2
)) {
23809 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarToolBase_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
23814 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23821 resultobj
= SWIG_Py_Void();
23828 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
= 0;
23830 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23831 wxString
*arg2
= 0 ;
23834 bool temp2
= false ;
23835 PyObject
* obj0
= 0 ;
23836 PyObject
* obj1
= 0 ;
23837 char * kwnames
[] = {
23838 (char *) "self",(char *) "label", NULL
23841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23843 if (!SWIG_IsOK(res1
)) {
23844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetLabel" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23846 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23848 arg2
= wxString_in_helper(obj1
);
23849 if (arg2
== NULL
) SWIG_fail
;
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 (arg1
)->SetLabel((wxString
const &)*arg2
);
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 resultobj
= SWIG_Py_Void();
23873 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23874 PyObject
*resultobj
= 0;
23875 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23878 PyObject
*swig_obj
[1] ;
23880 if (!args
) SWIG_fail
;
23881 swig_obj
[0] = args
;
23882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23883 if (!SWIG_IsOK(res1
)) {
23884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Detach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23886 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 wxPyEndAllowThreads(__tstate
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23893 resultobj
= SWIG_Py_Void();
23900 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
= 0;
23902 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23903 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
23908 PyObject
* obj0
= 0 ;
23909 PyObject
* obj1
= 0 ;
23910 char * kwnames
[] = {
23911 (char *) "self",(char *) "tbar", NULL
23914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23916 if (!SWIG_IsOK(res1
)) {
23917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23919 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23920 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
23921 if (!SWIG_IsOK(res2
)) {
23922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarToolBase_Attach" "', expected argument " "2"" of type '" "wxToolBarBase *""'");
23924 arg2
= reinterpret_cast< wxToolBarBase
* >(argp2
);
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 (arg1
)->Attach(arg2
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 resultobj
= SWIG_Py_Void();
23938 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23939 PyObject
*resultobj
= 0;
23940 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23941 PyObject
*result
= 0 ;
23944 PyObject
*swig_obj
[1] ;
23946 if (!args
) SWIG_fail
;
23947 swig_obj
[0] = args
;
23948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23949 if (!SWIG_IsOK(res1
)) {
23950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_GetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23952 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23955 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23959 resultobj
= result
;
23966 SWIGINTERN PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
= 0;
23968 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
23969 PyObject
*arg2
= (PyObject
*) 0 ;
23972 PyObject
* obj0
= 0 ;
23973 PyObject
* obj1
= 0 ;
23974 char * kwnames
[] = {
23975 (char *) "self",(char *) "clientData", NULL
23978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
23980 if (!SWIG_IsOK(res1
)) {
23981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarToolBase_SetClientData" "', expected argument " "1"" of type '" "wxToolBarToolBase *""'");
23983 arg1
= reinterpret_cast< wxToolBarToolBase
* >(argp1
);
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 wxToolBarToolBase_SetClientData(arg1
,arg2
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= SWIG_Py_Void();
23998 SWIGINTERN PyObject
*ToolBarToolBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24000 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24001 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarToolBase
, SWIG_NewClientData(obj
));
24002 return SWIG_Py_Void();
24005 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
= 0;
24007 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24009 wxString
*arg3
= 0 ;
24010 wxBitmap
*arg4
= 0 ;
24011 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
24012 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
24013 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
24014 wxString
const &arg7_defvalue
= wxPyEmptyString
;
24015 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24016 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24017 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24018 PyObject
*arg9
= (PyObject
*) NULL
;
24019 wxToolBarToolBase
*result
= 0 ;
24024 bool temp3
= false ;
24031 bool temp7
= false ;
24032 bool temp8
= false ;
24033 PyObject
* obj0
= 0 ;
24034 PyObject
* obj1
= 0 ;
24035 PyObject
* obj2
= 0 ;
24036 PyObject
* obj3
= 0 ;
24037 PyObject
* obj4
= 0 ;
24038 PyObject
* obj5
= 0 ;
24039 PyObject
* obj6
= 0 ;
24040 PyObject
* obj7
= 0 ;
24041 PyObject
* obj8
= 0 ;
24042 char * kwnames
[] = {
24043 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
24047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24048 if (!SWIG_IsOK(res1
)) {
24049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24051 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24052 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24053 if (!SWIG_IsOK(ecode2
)) {
24054 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "2"" of type '" "int""'");
24056 arg2
= static_cast< int >(val2
);
24058 arg3
= wxString_in_helper(obj2
);
24059 if (arg3
== NULL
) SWIG_fail
;
24062 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24063 if (!SWIG_IsOK(res4
)) {
24064 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "4"" of type '" "wxBitmap const &""'");
24069 arg4
= reinterpret_cast< wxBitmap
* >(argp4
);
24071 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24072 if (!SWIG_IsOK(res5
)) {
24073 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24076 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoAddTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24078 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24081 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
24082 if (!SWIG_IsOK(ecode6
)) {
24083 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBarBase_DoAddTool" "', expected argument " "6"" of type '" "wxItemKind""'");
24085 arg6
= static_cast< wxItemKind
>(val6
);
24089 arg7
= wxString_in_helper(obj6
);
24090 if (arg7
== NULL
) SWIG_fail
;
24096 arg8
= wxString_in_helper(obj7
);
24097 if (arg8
== NULL
) SWIG_fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
24107 wxPyEndAllowThreads(__tstate
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24111 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24143 SWIGINTERN PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
= 0;
24145 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24148 wxString
*arg4
= 0 ;
24149 wxBitmap
*arg5
= 0 ;
24150 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
24151 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
24152 wxItemKind arg7
= (wxItemKind
) wxITEM_NORMAL
;
24153 wxString
const &arg8_defvalue
= wxPyEmptyString
;
24154 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24155 wxString
const &arg9_defvalue
= wxPyEmptyString
;
24156 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
24157 PyObject
*arg10
= (PyObject
*) NULL
;
24158 wxToolBarToolBase
*result
= 0 ;
24165 bool temp4
= false ;
24172 bool temp8
= false ;
24173 bool temp9
= false ;
24174 PyObject
* obj0
= 0 ;
24175 PyObject
* obj1
= 0 ;
24176 PyObject
* obj2
= 0 ;
24177 PyObject
* obj3
= 0 ;
24178 PyObject
* obj4
= 0 ;
24179 PyObject
* obj5
= 0 ;
24180 PyObject
* obj6
= 0 ;
24181 PyObject
* obj7
= 0 ;
24182 PyObject
* obj8
= 0 ;
24183 PyObject
* obj9
= 0 ;
24184 char * kwnames
[] = {
24185 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
24188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
24189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24190 if (!SWIG_IsOK(res1
)) {
24191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24193 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24194 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24195 if (!SWIG_IsOK(ecode2
)) {
24196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "2"" of type '" "size_t""'");
24198 arg2
= static_cast< size_t >(val2
);
24199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
24200 if (!SWIG_IsOK(ecode3
)) {
24201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "3"" of type '" "int""'");
24203 arg3
= static_cast< int >(val3
);
24205 arg4
= wxString_in_helper(obj3
);
24206 if (arg4
== NULL
) SWIG_fail
;
24209 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24210 if (!SWIG_IsOK(res5
)) {
24211 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24214 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "5"" of type '" "wxBitmap const &""'");
24216 arg5
= reinterpret_cast< wxBitmap
* >(argp5
);
24218 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxBitmap
, 0 | 0);
24219 if (!SWIG_IsOK(res6
)) {
24220 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24223 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "6"" of type '" "wxBitmap const &""'");
24225 arg6
= reinterpret_cast< wxBitmap
* >(argp6
);
24228 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
24229 if (!SWIG_IsOK(ecode7
)) {
24230 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ToolBarBase_DoInsertTool" "', expected argument " "7"" of type '" "wxItemKind""'");
24232 arg7
= static_cast< wxItemKind
>(val7
);
24236 arg8
= wxString_in_helper(obj7
);
24237 if (arg8
== NULL
) SWIG_fail
;
24243 arg9
= wxString_in_helper(obj8
);
24244 if (arg9
== NULL
) SWIG_fail
;
24252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24253 result
= (wxToolBarToolBase
*)wxToolBarBase_DoInsertTool(arg1
,arg2
,arg3
,(wxString
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxBitmap
const &)*arg6
,arg7
,(wxString
const &)*arg8
,(wxString
const &)*arg9
,arg10
);
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24258 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24290 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
= 0;
24292 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24293 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
24294 wxToolBarToolBase
*result
= 0 ;
24299 PyObject
* obj0
= 0 ;
24300 PyObject
* obj1
= 0 ;
24301 char * kwnames
[] = {
24302 (char *) "self",(char *) "tool", NULL
24305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24307 if (!SWIG_IsOK(res1
)) {
24308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24310 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24311 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24312 if (!SWIG_IsOK(res2
)) {
24313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddToolItem" "', expected argument " "2"" of type '" "wxToolBarToolBase *""'");
24315 arg2
= reinterpret_cast< wxToolBarToolBase
* >(argp2
);
24317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24318 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
24319 wxPyEndAllowThreads(__tstate
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24331 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
= 0;
24333 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24335 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
24336 wxToolBarToolBase
*result
= 0 ;
24343 PyObject
* obj0
= 0 ;
24344 PyObject
* obj1
= 0 ;
24345 PyObject
* obj2
= 0 ;
24346 char * kwnames
[] = {
24347 (char *) "self",(char *) "pos",(char *) "tool", NULL
24350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24352 if (!SWIG_IsOK(res1
)) {
24353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24355 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24356 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24357 if (!SWIG_IsOK(ecode2
)) {
24358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "2"" of type '" "size_t""'");
24360 arg2
= static_cast< size_t >(val2
);
24361 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxToolBarToolBase
, 0 | 0 );
24362 if (!SWIG_IsOK(res3
)) {
24363 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertToolItem" "', expected argument " "3"" of type '" "wxToolBarToolBase *""'");
24365 arg3
= reinterpret_cast< wxToolBarToolBase
* >(argp3
);
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24381 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
= 0;
24383 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24384 wxControl
*arg2
= (wxControl
*) 0 ;
24385 wxString
const &arg3_defvalue
= wxEmptyString
;
24386 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
24387 wxToolBarToolBase
*result
= 0 ;
24392 bool temp3
= false ;
24393 PyObject
* obj0
= 0 ;
24394 PyObject
* obj1
= 0 ;
24395 PyObject
* obj2
= 0 ;
24396 char * kwnames
[] = {
24397 (char *) "self",(char *) "control",(char *) "label", NULL
24400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24402 if (!SWIG_IsOK(res1
)) {
24403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24405 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24406 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxControl
, 0 | 0 );
24407 if (!SWIG_IsOK(res2
)) {
24408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBarBase_AddControl" "', expected argument " "2"" of type '" "wxControl *""'");
24410 arg2
= reinterpret_cast< wxControl
* >(argp2
);
24413 arg3
= wxString_in_helper(obj2
);
24414 if (arg3
== NULL
) SWIG_fail
;
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
,(wxString
const &)*arg3
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24441 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24442 PyObject
*resultobj
= 0;
24443 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24445 wxControl
*arg3
= (wxControl
*) 0 ;
24446 wxString
const &arg4_defvalue
= wxEmptyString
;
24447 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24448 wxToolBarToolBase
*result
= 0 ;
24455 bool temp4
= false ;
24456 PyObject
* obj0
= 0 ;
24457 PyObject
* obj1
= 0 ;
24458 PyObject
* obj2
= 0 ;
24459 PyObject
* obj3
= 0 ;
24460 char * kwnames
[] = {
24461 (char *) "self",(char *) "pos",(char *) "control",(char *) "label", NULL
24464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
24465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24466 if (!SWIG_IsOK(res1
)) {
24467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24469 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24470 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24471 if (!SWIG_IsOK(ecode2
)) {
24472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "2"" of type '" "size_t""'");
24474 arg2
= static_cast< size_t >(val2
);
24475 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxControl
, 0 | 0 );
24476 if (!SWIG_IsOK(res3
)) {
24477 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBarBase_InsertControl" "', expected argument " "3"" of type '" "wxControl *""'");
24479 arg3
= reinterpret_cast< wxControl
* >(argp3
);
24482 arg4
= wxString_in_helper(obj3
);
24483 if (arg4
== NULL
) SWIG_fail
;
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
,(wxString
const &)*arg4
);
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24510 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
= 0;
24512 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24514 wxControl
*result
= 0 ;
24519 PyObject
* obj0
= 0 ;
24520 PyObject
* obj1
= 0 ;
24521 char * kwnames
[] = {
24522 (char *) "self",(char *) "id", NULL
24525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24527 if (!SWIG_IsOK(res1
)) {
24528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindControl" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24530 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24532 if (!SWIG_IsOK(ecode2
)) {
24533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindControl" "', expected argument " "2"" of type '" "int""'");
24535 arg2
= static_cast< int >(val2
);
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24538 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24543 resultobj
= wxPyMake_wxObject(result
, 0);
24551 SWIGINTERN PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24552 PyObject
*resultobj
= 0;
24553 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24554 wxToolBarToolBase
*result
= 0 ;
24557 PyObject
*swig_obj
[1] ;
24559 if (!args
) SWIG_fail
;
24560 swig_obj
[0] = args
;
24561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24562 if (!SWIG_IsOK(res1
)) {
24563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_AddSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24565 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24568 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
24569 wxPyEndAllowThreads(__tstate
);
24570 if (PyErr_Occurred()) SWIG_fail
;
24573 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24581 SWIGINTERN PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
= 0;
24583 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24585 wxToolBarToolBase
*result
= 0 ;
24590 PyObject
* obj0
= 0 ;
24591 PyObject
* obj1
= 0 ;
24592 char * kwnames
[] = {
24593 (char *) "self",(char *) "pos", NULL
24596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24598 if (!SWIG_IsOK(res1
)) {
24599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24601 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24602 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24603 if (!SWIG_IsOK(ecode2
)) {
24604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
24606 arg2
= static_cast< size_t >(val2
);
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24614 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24622 SWIGINTERN PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
= 0;
24624 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24626 wxToolBarToolBase
*result
= 0 ;
24631 PyObject
* obj0
= 0 ;
24632 PyObject
* obj1
= 0 ;
24633 char * kwnames
[] = {
24634 (char *) "self",(char *) "id", NULL
24637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24639 if (!SWIG_IsOK(res1
)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24642 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24644 if (!SWIG_IsOK(ecode2
)) {
24645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_RemoveTool" "', expected argument " "2"" of type '" "int""'");
24647 arg2
= static_cast< int >(val2
);
24649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24650 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24655 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24663 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24664 PyObject
*resultobj
= 0;
24665 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24672 PyObject
* obj0
= 0 ;
24673 PyObject
* obj1
= 0 ;
24674 char * kwnames
[] = {
24675 (char *) "self",(char *) "pos", NULL
24678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24680 if (!SWIG_IsOK(res1
)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24683 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24684 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
24685 if (!SWIG_IsOK(ecode2
)) {
24686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteToolByPos" "', expected argument " "2"" of type '" "size_t""'");
24688 arg2
= static_cast< size_t >(val2
);
24690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24691 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24704 SWIGINTERN PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
= 0;
24706 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 char * kwnames
[] = {
24716 (char *) "self",(char *) "id", NULL
24719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24721 if (!SWIG_IsOK(res1
)) {
24722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24724 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24726 if (!SWIG_IsOK(ecode2
)) {
24727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_DeleteTool" "', expected argument " "2"" of type '" "int""'");
24729 arg2
= static_cast< int >(val2
);
24731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24732 result
= (bool)(arg1
)->DeleteTool(arg2
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24745 SWIGINTERN PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24746 PyObject
*resultobj
= 0;
24747 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24750 PyObject
*swig_obj
[1] ;
24752 if (!args
) SWIG_fail
;
24753 swig_obj
[0] = args
;
24754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24755 if (!SWIG_IsOK(res1
)) {
24756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ClearTools" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24758 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 (arg1
)->ClearTools();
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24765 resultobj
= SWIG_Py_Void();
24772 SWIGINTERN PyObject
*_wrap_ToolBarBase_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24773 PyObject
*resultobj
= 0;
24774 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24778 PyObject
*swig_obj
[1] ;
24780 if (!args
) SWIG_fail
;
24781 swig_obj
[0] = args
;
24782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24783 if (!SWIG_IsOK(res1
)) {
24784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_Realize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24786 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (bool)(arg1
)->Realize();
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24802 SWIGINTERN PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
= 0;
24804 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24813 PyObject
* obj0
= 0 ;
24814 PyObject
* obj1
= 0 ;
24815 PyObject
* obj2
= 0 ;
24816 char * kwnames
[] = {
24817 (char *) "self",(char *) "id",(char *) "enable", NULL
24820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24822 if (!SWIG_IsOK(res1
)) {
24823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24825 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24826 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24827 if (!SWIG_IsOK(ecode2
)) {
24828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "2"" of type '" "int""'");
24830 arg2
= static_cast< int >(val2
);
24831 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24832 if (!SWIG_IsOK(ecode3
)) {
24833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_EnableTool" "', expected argument " "3"" of type '" "bool""'");
24835 arg3
= static_cast< bool >(val3
);
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 (arg1
)->EnableTool(arg2
,arg3
);
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24842 resultobj
= SWIG_Py_Void();
24849 SWIGINTERN PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
= 0;
24851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24860 PyObject
* obj0
= 0 ;
24861 PyObject
* obj1
= 0 ;
24862 PyObject
* obj2
= 0 ;
24863 char * kwnames
[] = {
24864 (char *) "self",(char *) "id",(char *) "toggle", NULL
24867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24869 if (!SWIG_IsOK(res1
)) {
24870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24872 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24873 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24874 if (!SWIG_IsOK(ecode2
)) {
24875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "2"" of type '" "int""'");
24877 arg2
= static_cast< int >(val2
);
24878 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24879 if (!SWIG_IsOK(ecode3
)) {
24880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_ToggleTool" "', expected argument " "3"" of type '" "bool""'");
24882 arg3
= static_cast< bool >(val3
);
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 (arg1
)->ToggleTool(arg2
,arg3
);
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24889 resultobj
= SWIG_Py_Void();
24896 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
= 0;
24898 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24907 PyObject
* obj0
= 0 ;
24908 PyObject
* obj1
= 0 ;
24909 PyObject
* obj2
= 0 ;
24910 char * kwnames
[] = {
24911 (char *) "self",(char *) "id",(char *) "toggle", NULL
24914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24916 if (!SWIG_IsOK(res1
)) {
24917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24919 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24920 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24921 if (!SWIG_IsOK(ecode2
)) {
24922 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "2"" of type '" "int""'");
24924 arg2
= static_cast< int >(val2
);
24925 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
24926 if (!SWIG_IsOK(ecode3
)) {
24927 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetToggle" "', expected argument " "3"" of type '" "bool""'");
24929 arg3
= static_cast< bool >(val3
);
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 (arg1
)->SetToggle(arg2
,arg3
);
24933 wxPyEndAllowThreads(__tstate
);
24934 if (PyErr_Occurred()) SWIG_fail
;
24936 resultobj
= SWIG_Py_Void();
24943 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24944 PyObject
*resultobj
= 0;
24945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24947 PyObject
*result
= 0 ;
24952 PyObject
* obj0
= 0 ;
24953 PyObject
* obj1
= 0 ;
24954 char * kwnames
[] = {
24955 (char *) "self",(char *) "id", NULL
24958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
24960 if (!SWIG_IsOK(res1
)) {
24961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
24963 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
24964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24965 if (!SWIG_IsOK(ecode2
)) {
24966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolClientData" "', expected argument " "2"" of type '" "int""'");
24968 arg2
= static_cast< int >(val2
);
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= result
;
24982 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
= 0;
24984 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
24986 PyObject
*arg3
= (PyObject
*) 0 ;
24991 PyObject
* obj0
= 0 ;
24992 PyObject
* obj1
= 0 ;
24993 PyObject
* obj2
= 0 ;
24994 char * kwnames
[] = {
24995 (char *) "self",(char *) "id",(char *) "clientData", NULL
24998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25000 if (!SWIG_IsOK(res1
)) {
25001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25003 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25004 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25005 if (!SWIG_IsOK(ecode2
)) {
25006 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolClientData" "', expected argument " "2"" of type '" "int""'");
25008 arg2
= static_cast< int >(val2
);
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= SWIG_Py_Void();
25023 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
= 0;
25025 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 char * kwnames
[] = {
25035 (char *) "self",(char *) "id", NULL
25038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25040 if (!SWIG_IsOK(res1
)) {
25041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25043 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25045 if (!SWIG_IsOK(ecode2
)) {
25046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolPos" "', expected argument " "2"" of type '" "int""'");
25048 arg2
= static_cast< int >(val2
);
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= SWIG_From_int(static_cast< int >(result
));
25062 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25063 PyObject
*resultobj
= 0;
25064 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25071 PyObject
* obj0
= 0 ;
25072 PyObject
* obj1
= 0 ;
25073 char * kwnames
[] = {
25074 (char *) "self",(char *) "id", NULL
25077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25079 if (!SWIG_IsOK(res1
)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25082 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25084 if (!SWIG_IsOK(ecode2
)) {
25085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolState" "', expected argument " "2"" of type '" "int""'");
25087 arg2
= static_cast< int >(val2
);
25089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25090 result
= (bool)(arg1
)->GetToolState(arg2
);
25091 wxPyEndAllowThreads(__tstate
);
25092 if (PyErr_Occurred()) SWIG_fail
;
25095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25103 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25104 PyObject
*resultobj
= 0;
25105 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25112 PyObject
* obj0
= 0 ;
25113 PyObject
* obj1
= 0 ;
25114 char * kwnames
[] = {
25115 (char *) "self",(char *) "id", NULL
25118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25120 if (!SWIG_IsOK(res1
)) {
25121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25123 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25125 if (!SWIG_IsOK(ecode2
)) {
25126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolEnabled" "', expected argument " "2"" of type '" "int""'");
25128 arg2
= static_cast< int >(val2
);
25130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25131 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25144 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25145 PyObject
*resultobj
= 0;
25146 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25148 wxString
*arg3
= 0 ;
25153 bool temp3
= false ;
25154 PyObject
* obj0
= 0 ;
25155 PyObject
* obj1
= 0 ;
25156 PyObject
* obj2
= 0 ;
25157 char * kwnames
[] = {
25158 (char *) "self",(char *) "id",(char *) "helpString", NULL
25161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25163 if (!SWIG_IsOK(res1
)) {
25164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25166 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25168 if (!SWIG_IsOK(ecode2
)) {
25169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25171 arg2
= static_cast< int >(val2
);
25173 arg3
= wxString_in_helper(obj2
);
25174 if (arg3
== NULL
) SWIG_fail
;
25178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25179 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25183 resultobj
= SWIG_Py_Void();
25198 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25199 PyObject
*resultobj
= 0;
25200 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25207 PyObject
* obj0
= 0 ;
25208 PyObject
* obj1
= 0 ;
25209 char * kwnames
[] = {
25210 (char *) "self",(char *) "id", NULL
25213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25215 if (!SWIG_IsOK(res1
)) {
25216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25218 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25220 if (!SWIG_IsOK(ecode2
)) {
25221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolShortHelp" "', expected argument " "2"" of type '" "int""'");
25223 arg2
= static_cast< int >(val2
);
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 result
= (arg1
)->GetToolShortHelp(arg2
);
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25243 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25244 PyObject
*resultobj
= 0;
25245 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25247 wxString
*arg3
= 0 ;
25252 bool temp3
= false ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 PyObject
* obj2
= 0 ;
25256 char * kwnames
[] = {
25257 (char *) "self",(char *) "id",(char *) "helpString", NULL
25260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25262 if (!SWIG_IsOK(res1
)) {
25263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25265 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25267 if (!SWIG_IsOK(ecode2
)) {
25268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25270 arg2
= static_cast< int >(val2
);
25272 arg3
= wxString_in_helper(obj2
);
25273 if (arg3
== NULL
) SWIG_fail
;
25277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25278 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25282 resultobj
= SWIG_Py_Void();
25297 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
= 0;
25299 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25306 PyObject
* obj0
= 0 ;
25307 PyObject
* obj1
= 0 ;
25308 char * kwnames
[] = {
25309 (char *) "self",(char *) "id", NULL
25312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25314 if (!SWIG_IsOK(res1
)) {
25315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25317 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25319 if (!SWIG_IsOK(ecode2
)) {
25320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_GetToolLongHelp" "', expected argument " "2"" of type '" "int""'");
25322 arg2
= static_cast< int >(val2
);
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 result
= (arg1
)->GetToolLongHelp(arg2
);
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25342 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
= 0;
25344 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25353 PyObject
* obj0
= 0 ;
25354 PyObject
* obj1
= 0 ;
25355 PyObject
* obj2
= 0 ;
25356 char * kwnames
[] = {
25357 (char *) "self",(char *) "x",(char *) "y", NULL
25360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25362 if (!SWIG_IsOK(res1
)) {
25363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25365 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25367 if (!SWIG_IsOK(ecode2
)) {
25368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
25370 arg2
= static_cast< int >(val2
);
25371 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25372 if (!SWIG_IsOK(ecode3
)) {
25373 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
25375 arg3
= static_cast< int >(val3
);
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 (arg1
)->SetMargins(arg2
,arg3
);
25379 wxPyEndAllowThreads(__tstate
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 resultobj
= SWIG_Py_Void();
25389 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25390 PyObject
*resultobj
= 0;
25391 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25396 PyObject
* obj0
= 0 ;
25397 PyObject
* obj1
= 0 ;
25398 char * kwnames
[] = {
25399 (char *) "self",(char *) "size", NULL
25402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25404 if (!SWIG_IsOK(res1
)) {
25405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25407 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25410 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25414 (arg1
)->SetMargins((wxSize
const &)*arg2
);
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25418 resultobj
= SWIG_Py_Void();
25425 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25426 PyObject
*resultobj
= 0;
25427 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25433 PyObject
* obj0
= 0 ;
25434 PyObject
* obj1
= 0 ;
25435 char * kwnames
[] = {
25436 (char *) "self",(char *) "packing", NULL
25439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25441 if (!SWIG_IsOK(res1
)) {
25442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25444 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25446 if (!SWIG_IsOK(ecode2
)) {
25447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolPacking" "', expected argument " "2"" of type '" "int""'");
25449 arg2
= static_cast< int >(val2
);
25451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25452 (arg1
)->SetToolPacking(arg2
);
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= SWIG_Py_Void();
25463 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
= 0;
25465 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25471 PyObject
* obj0
= 0 ;
25472 PyObject
* obj1
= 0 ;
25473 char * kwnames
[] = {
25474 (char *) "self",(char *) "separation", NULL
25477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25479 if (!SWIG_IsOK(res1
)) {
25480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25482 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25483 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25484 if (!SWIG_IsOK(ecode2
)) {
25485 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetToolSeparation" "', expected argument " "2"" of type '" "int""'");
25487 arg2
= static_cast< int >(val2
);
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 (arg1
)->SetToolSeparation(arg2
);
25491 wxPyEndAllowThreads(__tstate
);
25492 if (PyErr_Occurred()) SWIG_fail
;
25494 resultobj
= SWIG_Py_Void();
25501 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25502 PyObject
*resultobj
= 0;
25503 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25507 PyObject
*swig_obj
[1] ;
25509 if (!args
) SWIG_fail
;
25510 swig_obj
[0] = args
;
25511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25512 if (!SWIG_IsOK(res1
)) {
25513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25515 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 result
= (arg1
)->GetToolMargins();
25519 wxPyEndAllowThreads(__tstate
);
25520 if (PyErr_Occurred()) SWIG_fail
;
25522 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25529 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25530 PyObject
*resultobj
= 0;
25531 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25535 PyObject
*swig_obj
[1] ;
25537 if (!args
) SWIG_fail
;
25538 swig_obj
[0] = args
;
25539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25540 if (!SWIG_IsOK(res1
)) {
25541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMargins" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25543 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25546 result
= (arg1
)->GetMargins();
25547 wxPyEndAllowThreads(__tstate
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25550 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25557 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25558 PyObject
*resultobj
= 0;
25559 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25563 PyObject
*swig_obj
[1] ;
25565 if (!args
) SWIG_fail
;
25566 swig_obj
[0] = args
;
25567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25568 if (!SWIG_IsOK(res1
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolPacking" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25571 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 result
= (int)(arg1
)->GetToolPacking();
25575 wxPyEndAllowThreads(__tstate
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25578 resultobj
= SWIG_From_int(static_cast< int >(result
));
25585 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25586 PyObject
*resultobj
= 0;
25587 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25591 PyObject
*swig_obj
[1] ;
25593 if (!args
) SWIG_fail
;
25594 swig_obj
[0] = args
;
25595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25596 if (!SWIG_IsOK(res1
)) {
25597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSeparation" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25599 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 result
= (int)(arg1
)->GetToolSeparation();
25603 wxPyEndAllowThreads(__tstate
);
25604 if (PyErr_Occurred()) SWIG_fail
;
25606 resultobj
= SWIG_From_int(static_cast< int >(result
));
25613 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25614 PyObject
*resultobj
= 0;
25615 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25621 PyObject
* obj0
= 0 ;
25622 PyObject
* obj1
= 0 ;
25623 char * kwnames
[] = {
25624 (char *) "self",(char *) "nRows", NULL
25627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25629 if (!SWIG_IsOK(res1
)) {
25630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25632 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25634 if (!SWIG_IsOK(ecode2
)) {
25635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetRows" "', expected argument " "2"" of type '" "int""'");
25637 arg2
= static_cast< int >(val2
);
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 (arg1
)->SetRows(arg2
);
25641 wxPyEndAllowThreads(__tstate
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= SWIG_Py_Void();
25651 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25652 PyObject
*resultobj
= 0;
25653 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25662 PyObject
* obj0
= 0 ;
25663 PyObject
* obj1
= 0 ;
25664 PyObject
* obj2
= 0 ;
25665 char * kwnames
[] = {
25666 (char *) "self",(char *) "rows",(char *) "cols", NULL
25669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25671 if (!SWIG_IsOK(res1
)) {
25672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25674 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25676 if (!SWIG_IsOK(ecode2
)) {
25677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "2"" of type '" "int""'");
25679 arg2
= static_cast< int >(val2
);
25680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25681 if (!SWIG_IsOK(ecode3
)) {
25682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_SetMaxRowsCols" "', expected argument " "3"" of type '" "int""'");
25684 arg3
= static_cast< int >(val3
);
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 resultobj
= SWIG_Py_Void();
25698 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25699 PyObject
*resultobj
= 0;
25700 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25704 PyObject
*swig_obj
[1] ;
25706 if (!args
) SWIG_fail
;
25707 swig_obj
[0] = args
;
25708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25709 if (!SWIG_IsOK(res1
)) {
25710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxRows" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25712 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25715 result
= (int)(arg1
)->GetMaxRows();
25716 wxPyEndAllowThreads(__tstate
);
25717 if (PyErr_Occurred()) SWIG_fail
;
25719 resultobj
= SWIG_From_int(static_cast< int >(result
));
25726 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25727 PyObject
*resultobj
= 0;
25728 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25732 PyObject
*swig_obj
[1] ;
25734 if (!args
) SWIG_fail
;
25735 swig_obj
[0] = args
;
25736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25737 if (!SWIG_IsOK(res1
)) {
25738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetMaxCols" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25740 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25743 result
= (int)(arg1
)->GetMaxCols();
25744 wxPyEndAllowThreads(__tstate
);
25745 if (PyErr_Occurred()) SWIG_fail
;
25747 resultobj
= SWIG_From_int(static_cast< int >(result
));
25754 SWIGINTERN PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25755 PyObject
*resultobj
= 0;
25756 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25761 PyObject
* obj0
= 0 ;
25762 PyObject
* obj1
= 0 ;
25763 char * kwnames
[] = {
25764 (char *) "self",(char *) "size", NULL
25767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25769 if (!SWIG_IsOK(res1
)) {
25770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_SetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25772 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25775 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25783 resultobj
= SWIG_Py_Void();
25790 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25791 PyObject
*resultobj
= 0;
25792 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25796 PyObject
*swig_obj
[1] ;
25798 if (!args
) SWIG_fail
;
25799 swig_obj
[0] = args
;
25800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25801 if (!SWIG_IsOK(res1
)) {
25802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolBitmapSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25804 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25807 result
= (arg1
)->GetToolBitmapSize();
25808 wxPyEndAllowThreads(__tstate
);
25809 if (PyErr_Occurred()) SWIG_fail
;
25811 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25818 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25819 PyObject
*resultobj
= 0;
25820 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25824 PyObject
*swig_obj
[1] ;
25826 if (!args
) SWIG_fail
;
25827 swig_obj
[0] = args
;
25828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25829 if (!SWIG_IsOK(res1
)) {
25830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolSize" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25832 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= (arg1
)->GetToolSize();
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25839 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25846 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
= 0;
25848 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25851 wxToolBarToolBase
*result
= 0 ;
25858 PyObject
* obj0
= 0 ;
25859 PyObject
* obj1
= 0 ;
25860 PyObject
* obj2
= 0 ;
25861 char * kwnames
[] = {
25862 (char *) "self",(char *) "x",(char *) "y", NULL
25865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
25866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25867 if (!SWIG_IsOK(res1
)) {
25868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25870 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25872 if (!SWIG_IsOK(ecode2
)) {
25873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "2"" of type '" "int""'");
25875 arg2
= static_cast< int >(val2
);
25876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
25877 if (!SWIG_IsOK(ecode3
)) {
25878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBarBase_FindToolForPosition" "', expected argument " "3"" of type '" "int""'");
25880 arg3
= static_cast< int >(val3
);
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25888 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25896 SWIGINTERN PyObject
*_wrap_ToolBarBase_FindById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
= 0;
25898 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25900 wxToolBarToolBase
*result
= 0 ;
25905 PyObject
* obj0
= 0 ;
25906 PyObject
* obj1
= 0 ;
25907 char * kwnames
[] = {
25908 (char *) "self",(char *) "toolid", NULL
25911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25913 if (!SWIG_IsOK(res1
)) {
25914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_FindById" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25916 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25918 if (!SWIG_IsOK(ecode2
)) {
25919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBarBase_FindById" "', expected argument " "2"" of type '" "int""'");
25921 arg2
= static_cast< int >(val2
);
25923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25924 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25929 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25937 SWIGINTERN PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25938 PyObject
*resultobj
= 0;
25939 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25943 PyObject
*swig_obj
[1] ;
25945 if (!args
) SWIG_fail
;
25946 swig_obj
[0] = args
;
25947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25948 if (!SWIG_IsOK(res1
)) {
25949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_IsVertical" "', expected argument " "1"" of type '" "wxToolBarBase *""'");
25951 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 result
= (bool)(arg1
)->IsVertical();
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25967 SWIGINTERN PyObject
*_wrap_ToolBarBase_GetToolsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25968 PyObject
*resultobj
= 0;
25969 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
25973 PyObject
*swig_obj
[1] ;
25975 if (!args
) SWIG_fail
;
25976 swig_obj
[0] = args
;
25977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxToolBarBase
, 0 | 0 );
25978 if (!SWIG_IsOK(res1
)) {
25979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBarBase_GetToolsCount" "', expected argument " "1"" of type '" "wxToolBarBase const *""'");
25981 arg1
= reinterpret_cast< wxToolBarBase
* >(argp1
);
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 result
= (size_t)((wxToolBarBase
const *)arg1
)->GetToolsCount();
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
25995 SWIGINTERN PyObject
*ToolBarBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25998 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBarBase
, SWIG_NewClientData(obj
));
25999 return SWIG_Py_Void();
26002 SWIGINTERN PyObject
*_wrap_new_ToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
= 0;
26004 wxWindow
*arg1
= (wxWindow
*) 0 ;
26005 int arg2
= (int) -1 ;
26006 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26007 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26008 wxSize
const &arg4_defvalue
= wxDefaultSize
;
26009 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
26010 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
26011 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
26012 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
26013 wxToolBar
*result
= 0 ;
26022 bool temp6
= false ;
26023 PyObject
* obj0
= 0 ;
26024 PyObject
* obj1
= 0 ;
26025 PyObject
* obj2
= 0 ;
26026 PyObject
* obj3
= 0 ;
26027 PyObject
* obj4
= 0 ;
26028 PyObject
* obj5
= 0 ;
26029 char * kwnames
[] = {
26030 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
26034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26035 if (!SWIG_IsOK(res1
)) {
26036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ToolBar" "', expected argument " "1"" of type '" "wxWindow *""'");
26038 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26041 if (!SWIG_IsOK(ecode2
)) {
26042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ToolBar" "', expected argument " "2"" of type '" "int""'");
26044 arg2
= static_cast< int >(val2
);
26049 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26055 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
26059 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
26060 if (!SWIG_IsOK(ecode5
)) {
26061 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ToolBar" "', expected argument " "5"" of type '" "long""'");
26063 arg5
= static_cast< long >(val5
);
26067 arg6
= wxString_in_helper(obj5
);
26068 if (arg6
== NULL
) SWIG_fail
;
26073 if (!wxPyCheckForApp()) SWIG_fail
;
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_NEW
| 0 );
26094 SWIGINTERN PyObject
*_wrap_new_PreToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26095 PyObject
*resultobj
= 0;
26096 wxToolBar
*result
= 0 ;
26098 if (!SWIG_Python_UnpackTuple(args
,"new_PreToolBar",0,0,0)) SWIG_fail
;
26100 if (!wxPyCheckForApp()) SWIG_fail
;
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 result
= (wxToolBar
*)new wxToolBar();
26103 wxPyEndAllowThreads(__tstate
);
26104 if (PyErr_Occurred()) SWIG_fail
;
26106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxToolBar
, SWIG_POINTER_OWN
| 0 );
26113 SWIGINTERN PyObject
*_wrap_ToolBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26114 PyObject
*resultobj
= 0;
26115 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26116 wxWindow
*arg2
= (wxWindow
*) 0 ;
26117 int arg3
= (int) -1 ;
26118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
26119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
26120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
26121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
26122 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
26123 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
26124 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
26136 bool temp7
= false ;
26137 PyObject
* obj0
= 0 ;
26138 PyObject
* obj1
= 0 ;
26139 PyObject
* obj2
= 0 ;
26140 PyObject
* obj3
= 0 ;
26141 PyObject
* obj4
= 0 ;
26142 PyObject
* obj5
= 0 ;
26143 PyObject
* obj6
= 0 ;
26144 char * kwnames
[] = {
26145 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
26148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
26149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26150 if (!SWIG_IsOK(res1
)) {
26151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_Create" "', expected argument " "1"" of type '" "wxToolBar *""'");
26153 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26154 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26155 if (!SWIG_IsOK(res2
)) {
26156 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ToolBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
26158 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26160 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26161 if (!SWIG_IsOK(ecode3
)) {
26162 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ToolBar_Create" "', expected argument " "3"" of type '" "int""'");
26164 arg3
= static_cast< int >(val3
);
26169 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
26175 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
26179 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
26180 if (!SWIG_IsOK(ecode6
)) {
26181 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ToolBar_Create" "', expected argument " "6"" of type '" "long""'");
26183 arg6
= static_cast< long >(val6
);
26187 arg7
= wxString_in_helper(obj6
);
26188 if (arg7
== NULL
) SWIG_fail
;
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26215 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolNormalBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26216 PyObject
*resultobj
= 0;
26217 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26219 wxBitmap
*arg3
= 0 ;
26226 PyObject
* obj0
= 0 ;
26227 PyObject
* obj1
= 0 ;
26228 PyObject
* obj2
= 0 ;
26229 char * kwnames
[] = {
26230 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolNormalBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26235 if (!SWIG_IsOK(res1
)) {
26236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26238 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26240 if (!SWIG_IsOK(ecode2
)) {
26241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "2"" of type '" "int""'");
26243 arg2
= static_cast< int >(val2
);
26244 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26245 if (!SWIG_IsOK(res3
)) {
26246 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolNormalBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26251 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 (arg1
)->SetToolNormalBitmap(arg2
,(wxBitmap
const &)*arg3
);
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 resultobj
= SWIG_Py_Void();
26265 SWIGINTERN PyObject
*_wrap_ToolBar_SetToolDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
= 0;
26267 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
26269 wxBitmap
*arg3
= 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 PyObject
* obj2
= 0 ;
26279 char * kwnames
[] = {
26280 (char *) "self",(char *) "id",(char *) "bitmap", NULL
26283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_SetToolDisabledBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
26285 if (!SWIG_IsOK(res1
)) {
26286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "1"" of type '" "wxToolBar *""'");
26288 arg1
= reinterpret_cast< wxToolBar
* >(argp1
);
26289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26290 if (!SWIG_IsOK(ecode2
)) {
26291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "2"" of type '" "int""'");
26293 arg2
= static_cast< int >(val2
);
26294 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
26295 if (!SWIG_IsOK(res3
)) {
26296 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26299 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ToolBar_SetToolDisabledBitmap" "', expected argument " "3"" of type '" "wxBitmap const &""'");
26301 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
26303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26304 (arg1
)->SetToolDisabledBitmap(arg2
,(wxBitmap
const &)*arg3
);
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= SWIG_Py_Void();
26315 SWIGINTERN PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
= 0;
26317 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
26318 SwigValueWrapper
<wxVisualAttributes
> result
;
26321 PyObject
* obj0
= 0 ;
26322 char * kwnames
[] = {
26323 (char *) "variant", NULL
26326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
26328 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26329 if (!SWIG_IsOK(ecode1
)) {
26330 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ToolBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
26332 arg1
= static_cast< wxWindowVariant
>(val1
);
26335 if (!wxPyCheckForApp()) SWIG_fail
;
26336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26337 result
= wxToolBar::GetClassDefaultAttributes(arg1
);
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
26348 SWIGINTERN PyObject
*ToolBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26350 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26351 SWIG_TypeNewClientData(SWIGTYPE_p_wxToolBar
, SWIG_NewClientData(obj
));
26352 return SWIG_Py_Void();
26355 SWIGINTERN PyObject
*ToolBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26356 return SWIG_Python_InitShadowInstance(args
);
26359 SWIGINTERN
int ListCtrlNameStr_set(PyObject
*) {
26360 SWIG_Error(SWIG_AttributeError
,"Variable ListCtrlNameStr is read-only.");
26365 SWIGINTERN PyObject
*ListCtrlNameStr_get(void) {
26366 PyObject
*pyobj
= 0;
26370 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26372 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
26379 SWIGINTERN PyObject
*_wrap_new_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26380 PyObject
*resultobj
= 0;
26381 wxColour
const &arg1_defvalue
= wxNullColour
;
26382 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
26383 wxColour
const &arg2_defvalue
= wxNullColour
;
26384 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
26385 wxFont
const &arg3_defvalue
= wxNullFont
;
26386 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
26387 wxListItemAttr
*result
= 0 ;
26392 PyObject
* obj0
= 0 ;
26393 PyObject
* obj1
= 0 ;
26394 PyObject
* obj2
= 0 ;
26395 char * kwnames
[] = {
26396 (char *) "colText",(char *) "colBack",(char *) "font", NULL
26399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26403 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
26409 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26413 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
26414 if (!SWIG_IsOK(res3
)) {
26415 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListItemAttr" "', expected argument " "3"" of type '" "wxFont const &""'");
26420 arg3
= reinterpret_cast< wxFont
* >(argp3
);
26423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26424 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_NEW
| 0 );
26435 SWIGINTERN PyObject
*_wrap_delete_ListItemAttr(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26436 PyObject
*resultobj
= 0;
26437 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26440 PyObject
*swig_obj
[1] ;
26442 if (!args
) SWIG_fail
;
26443 swig_obj
[0] = args
;
26444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, SWIG_POINTER_DISOWN
| 0 );
26445 if (!SWIG_IsOK(res1
)) {
26446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItemAttr" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26448 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26456 resultobj
= SWIG_Py_Void();
26463 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
= 0;
26465 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26466 wxColour
*arg2
= 0 ;
26470 PyObject
* obj0
= 0 ;
26471 PyObject
* obj1
= 0 ;
26472 char * kwnames
[] = {
26473 (char *) "self",(char *) "colText", NULL
26476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26478 if (!SWIG_IsOK(res1
)) {
26479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26481 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26488 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26492 resultobj
= SWIG_Py_Void();
26499 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26500 PyObject
*resultobj
= 0;
26501 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26502 wxColour
*arg2
= 0 ;
26506 PyObject
* obj0
= 0 ;
26507 PyObject
* obj1
= 0 ;
26508 char * kwnames
[] = {
26509 (char *) "self",(char *) "colBack", NULL
26512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26514 if (!SWIG_IsOK(res1
)) {
26515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26517 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26520 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26524 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26525 wxPyEndAllowThreads(__tstate
);
26526 if (PyErr_Occurred()) SWIG_fail
;
26528 resultobj
= SWIG_Py_Void();
26535 SWIGINTERN PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26536 PyObject
*resultobj
= 0;
26537 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26543 PyObject
* obj0
= 0 ;
26544 PyObject
* obj1
= 0 ;
26545 char * kwnames
[] = {
26546 (char *) "self",(char *) "font", NULL
26549 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26550 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26551 if (!SWIG_IsOK(res1
)) {
26552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_SetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26554 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26555 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
26556 if (!SWIG_IsOK(res2
)) {
26557 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26560 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
26562 arg2
= reinterpret_cast< wxFont
* >(argp2
);
26564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 (arg1
)->SetFont((wxFont
const &)*arg2
);
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 resultobj
= SWIG_Py_Void();
26576 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26577 PyObject
*resultobj
= 0;
26578 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26582 PyObject
*swig_obj
[1] ;
26584 if (!args
) SWIG_fail
;
26585 swig_obj
[0] = args
;
26586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26587 if (!SWIG_IsOK(res1
)) {
26588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26590 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26593 result
= (bool)(arg1
)->HasTextColour();
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26606 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26607 PyObject
*resultobj
= 0;
26608 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26612 PyObject
*swig_obj
[1] ;
26614 if (!args
) SWIG_fail
;
26615 swig_obj
[0] = args
;
26616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26617 if (!SWIG_IsOK(res1
)) {
26618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26620 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26623 result
= (bool)(arg1
)->HasBackgroundColour();
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26636 SWIGINTERN PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26637 PyObject
*resultobj
= 0;
26638 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26642 PyObject
*swig_obj
[1] ;
26644 if (!args
) SWIG_fail
;
26645 swig_obj
[0] = args
;
26646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26647 if (!SWIG_IsOK(res1
)) {
26648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_HasFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26650 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 result
= (bool)(arg1
)->HasFont();
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26666 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26667 PyObject
*resultobj
= 0;
26668 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26672 PyObject
*swig_obj
[1] ;
26674 if (!args
) SWIG_fail
;
26675 swig_obj
[0] = args
;
26676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26677 if (!SWIG_IsOK(res1
)) {
26678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetTextColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26680 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26683 result
= (arg1
)->GetTextColour();
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26687 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26694 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26695 PyObject
*resultobj
= 0;
26696 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26700 PyObject
*swig_obj
[1] ;
26702 if (!args
) SWIG_fail
;
26703 swig_obj
[0] = args
;
26704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26705 if (!SWIG_IsOK(res1
)) {
26706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26708 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 result
= (arg1
)->GetBackgroundColour();
26712 wxPyEndAllowThreads(__tstate
);
26713 if (PyErr_Occurred()) SWIG_fail
;
26715 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
26722 SWIGINTERN PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26723 PyObject
*resultobj
= 0;
26724 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26728 PyObject
*swig_obj
[1] ;
26730 if (!args
) SWIG_fail
;
26731 swig_obj
[0] = args
;
26732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26733 if (!SWIG_IsOK(res1
)) {
26734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_GetFont" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26736 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 result
= (arg1
)->GetFont();
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
26750 SWIGINTERN PyObject
*_wrap_ListItemAttr_AssignFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26751 PyObject
*resultobj
= 0;
26752 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26753 wxListItemAttr
*arg2
= 0 ;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 char * kwnames
[] = {
26761 (char *) "self",(char *) "source", NULL
26764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_AssignFrom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26766 if (!SWIG_IsOK(res1
)) {
26767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26769 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26770 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItemAttr
, 0 | 0);
26771 if (!SWIG_IsOK(res2
)) {
26772 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26775 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItemAttr_AssignFrom" "', expected argument " "2"" of type '" "wxListItemAttr const &""'");
26777 arg2
= reinterpret_cast< wxListItemAttr
* >(argp2
);
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 (arg1
)->AssignFrom((wxListItemAttr
const &)*arg2
);
26781 wxPyEndAllowThreads(__tstate
);
26782 if (PyErr_Occurred()) SWIG_fail
;
26784 resultobj
= SWIG_Py_Void();
26791 SWIGINTERN PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26792 PyObject
*resultobj
= 0;
26793 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
26796 PyObject
*swig_obj
[1] ;
26798 if (!args
) SWIG_fail
;
26799 swig_obj
[0] = args
;
26800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
26801 if (!SWIG_IsOK(res1
)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItemAttr_Destroy" "', expected argument " "1"" of type '" "wxListItemAttr *""'");
26804 arg1
= reinterpret_cast< wxListItemAttr
* >(argp1
);
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 wxListItemAttr_Destroy(arg1
);
26808 wxPyEndAllowThreads(__tstate
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26811 resultobj
= SWIG_Py_Void();
26818 SWIGINTERN PyObject
*ListItemAttr_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26821 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItemAttr
, SWIG_NewClientData(obj
));
26822 return SWIG_Py_Void();
26825 SWIGINTERN PyObject
*ListItemAttr_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26826 return SWIG_Python_InitShadowInstance(args
);
26829 SWIGINTERN PyObject
*_wrap_new_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26830 PyObject
*resultobj
= 0;
26831 wxListItem
*result
= 0 ;
26833 if (!SWIG_Python_UnpackTuple(args
,"new_ListItem",0,0,0)) SWIG_fail
;
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 result
= (wxListItem
*)new wxListItem();
26837 wxPyEndAllowThreads(__tstate
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26840 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, SWIG_POINTER_NEW
| 0 );
26847 SWIGINTERN PyObject
*_wrap_delete_ListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26848 PyObject
*resultobj
= 0;
26849 wxListItem
*arg1
= (wxListItem
*) 0 ;
26852 PyObject
*swig_obj
[1] ;
26854 if (!args
) SWIG_fail
;
26855 swig_obj
[0] = args
;
26856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, SWIG_POINTER_DISOWN
| 0 );
26857 if (!SWIG_IsOK(res1
)) {
26858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ListItem" "', expected argument " "1"" of type '" "wxListItem *""'");
26860 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26865 wxPyEndAllowThreads(__tstate
);
26866 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= SWIG_Py_Void();
26875 SWIGINTERN PyObject
*_wrap_ListItem_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26876 PyObject
*resultobj
= 0;
26877 wxListItem
*arg1
= (wxListItem
*) 0 ;
26880 PyObject
*swig_obj
[1] ;
26882 if (!args
) SWIG_fail
;
26883 swig_obj
[0] = args
;
26884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26885 if (!SWIG_IsOK(res1
)) {
26886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_Clear" "', expected argument " "1"" of type '" "wxListItem *""'");
26888 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26892 wxPyEndAllowThreads(__tstate
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= SWIG_Py_Void();
26902 SWIGINTERN PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26903 PyObject
*resultobj
= 0;
26904 wxListItem
*arg1
= (wxListItem
*) 0 ;
26907 PyObject
*swig_obj
[1] ;
26909 if (!args
) SWIG_fail
;
26910 swig_obj
[0] = args
;
26911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26912 if (!SWIG_IsOK(res1
)) {
26913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_ClearAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
26915 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26918 (arg1
)->ClearAttributes();
26919 wxPyEndAllowThreads(__tstate
);
26920 if (PyErr_Occurred()) SWIG_fail
;
26922 resultobj
= SWIG_Py_Void();
26929 SWIGINTERN PyObject
*_wrap_ListItem_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26930 PyObject
*resultobj
= 0;
26931 wxListItem
*arg1
= (wxListItem
*) 0 ;
26937 PyObject
* obj0
= 0 ;
26938 PyObject
* obj1
= 0 ;
26939 char * kwnames
[] = {
26940 (char *) "self",(char *) "mask", NULL
26943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26945 if (!SWIG_IsOK(res1
)) {
26946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
26948 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26949 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26950 if (!SWIG_IsOK(ecode2
)) {
26951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetMask" "', expected argument " "2"" of type '" "long""'");
26953 arg2
= static_cast< long >(val2
);
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 (arg1
)->SetMask(arg2
);
26957 wxPyEndAllowThreads(__tstate
);
26958 if (PyErr_Occurred()) SWIG_fail
;
26960 resultobj
= SWIG_Py_Void();
26967 SWIGINTERN PyObject
*_wrap_ListItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26968 PyObject
*resultobj
= 0;
26969 wxListItem
*arg1
= (wxListItem
*) 0 ;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 char * kwnames
[] = {
26978 (char *) "self",(char *) "id", NULL
26981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
26983 if (!SWIG_IsOK(res1
)) {
26984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetId" "', expected argument " "1"" of type '" "wxListItem *""'");
26986 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
26987 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
26988 if (!SWIG_IsOK(ecode2
)) {
26989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetId" "', expected argument " "2"" of type '" "long""'");
26991 arg2
= static_cast< long >(val2
);
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26994 (arg1
)->SetId(arg2
);
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 resultobj
= SWIG_Py_Void();
27005 SWIGINTERN PyObject
*_wrap_ListItem_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
= 0;
27007 wxListItem
*arg1
= (wxListItem
*) 0 ;
27013 PyObject
* obj0
= 0 ;
27014 PyObject
* obj1
= 0 ;
27015 char * kwnames
[] = {
27016 (char *) "self",(char *) "col", NULL
27019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27021 if (!SWIG_IsOK(res1
)) {
27022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27024 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27026 if (!SWIG_IsOK(ecode2
)) {
27027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetColumn" "', expected argument " "2"" of type '" "int""'");
27029 arg2
= static_cast< int >(val2
);
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 (arg1
)->SetColumn(arg2
);
27033 wxPyEndAllowThreads(__tstate
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27036 resultobj
= SWIG_Py_Void();
27043 SWIGINTERN PyObject
*_wrap_ListItem_SetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
= 0;
27045 wxListItem
*arg1
= (wxListItem
*) 0 ;
27051 PyObject
* obj0
= 0 ;
27052 PyObject
* obj1
= 0 ;
27053 char * kwnames
[] = {
27054 (char *) "self",(char *) "state", NULL
27057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27059 if (!SWIG_IsOK(res1
)) {
27060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27062 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27063 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27064 if (!SWIG_IsOK(ecode2
)) {
27065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetState" "', expected argument " "2"" of type '" "long""'");
27067 arg2
= static_cast< long >(val2
);
27069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27070 (arg1
)->SetState(arg2
);
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27074 resultobj
= SWIG_Py_Void();
27081 SWIGINTERN PyObject
*_wrap_ListItem_SetStateMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27082 PyObject
*resultobj
= 0;
27083 wxListItem
*arg1
= (wxListItem
*) 0 ;
27089 PyObject
* obj0
= 0 ;
27090 PyObject
* obj1
= 0 ;
27091 char * kwnames
[] = {
27092 (char *) "self",(char *) "stateMask", NULL
27095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27097 if (!SWIG_IsOK(res1
)) {
27098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetStateMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27100 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27101 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27102 if (!SWIG_IsOK(ecode2
)) {
27103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetStateMask" "', expected argument " "2"" of type '" "long""'");
27105 arg2
= static_cast< long >(val2
);
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 (arg1
)->SetStateMask(arg2
);
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= SWIG_Py_Void();
27119 SWIGINTERN PyObject
*_wrap_ListItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27120 PyObject
*resultobj
= 0;
27121 wxListItem
*arg1
= (wxListItem
*) 0 ;
27122 wxString
*arg2
= 0 ;
27125 bool temp2
= false ;
27126 PyObject
* obj0
= 0 ;
27127 PyObject
* obj1
= 0 ;
27128 char * kwnames
[] = {
27129 (char *) "self",(char *) "text", NULL
27132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27134 if (!SWIG_IsOK(res1
)) {
27135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27137 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27139 arg2
= wxString_in_helper(obj1
);
27140 if (arg2
== NULL
) SWIG_fail
;
27144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27145 (arg1
)->SetText((wxString
const &)*arg2
);
27146 wxPyEndAllowThreads(__tstate
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= SWIG_Py_Void();
27164 SWIGINTERN PyObject
*_wrap_ListItem_SetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27165 PyObject
*resultobj
= 0;
27166 wxListItem
*arg1
= (wxListItem
*) 0 ;
27172 PyObject
* obj0
= 0 ;
27173 PyObject
* obj1
= 0 ;
27174 char * kwnames
[] = {
27175 (char *) "self",(char *) "image", NULL
27178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27180 if (!SWIG_IsOK(res1
)) {
27181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27183 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27185 if (!SWIG_IsOK(ecode2
)) {
27186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetImage" "', expected argument " "2"" of type '" "int""'");
27188 arg2
= static_cast< int >(val2
);
27190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27191 (arg1
)->SetImage(arg2
);
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27195 resultobj
= SWIG_Py_Void();
27202 SWIGINTERN PyObject
*_wrap_ListItem_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
= 0;
27204 wxListItem
*arg1
= (wxListItem
*) 0 ;
27210 PyObject
* obj0
= 0 ;
27211 PyObject
* obj1
= 0 ;
27212 char * kwnames
[] = {
27213 (char *) "self",(char *) "data", NULL
27216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27218 if (!SWIG_IsOK(res1
)) {
27219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27221 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27222 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
27223 if (!SWIG_IsOK(ecode2
)) {
27224 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetData" "', expected argument " "2"" of type '" "long""'");
27226 arg2
= static_cast< long >(val2
);
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 (arg1
)->SetData(arg2
);
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 resultobj
= SWIG_Py_Void();
27240 SWIGINTERN PyObject
*_wrap_ListItem_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27241 PyObject
*resultobj
= 0;
27242 wxListItem
*arg1
= (wxListItem
*) 0 ;
27248 PyObject
* obj0
= 0 ;
27249 PyObject
* obj1
= 0 ;
27250 char * kwnames
[] = {
27251 (char *) "self",(char *) "width", NULL
27254 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27255 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27256 if (!SWIG_IsOK(res1
)) {
27257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27259 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27261 if (!SWIG_IsOK(ecode2
)) {
27262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetWidth" "', expected argument " "2"" of type '" "int""'");
27264 arg2
= static_cast< int >(val2
);
27266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27267 (arg1
)->SetWidth(arg2
);
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= SWIG_Py_Void();
27278 SWIGINTERN PyObject
*_wrap_ListItem_SetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27279 PyObject
*resultobj
= 0;
27280 wxListItem
*arg1
= (wxListItem
*) 0 ;
27281 wxListColumnFormat arg2
;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 char * kwnames
[] = {
27289 (char *) "self",(char *) "align", NULL
27292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27294 if (!SWIG_IsOK(res1
)) {
27295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27297 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27299 if (!SWIG_IsOK(ecode2
)) {
27300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_SetAlign" "', expected argument " "2"" of type '" "wxListColumnFormat""'");
27302 arg2
= static_cast< wxListColumnFormat
>(val2
);
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 (arg1
)->SetAlign(arg2
);
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 resultobj
= SWIG_Py_Void();
27316 SWIGINTERN PyObject
*_wrap_ListItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
= 0;
27318 wxListItem
*arg1
= (wxListItem
*) 0 ;
27319 wxColour
*arg2
= 0 ;
27323 PyObject
* obj0
= 0 ;
27324 PyObject
* obj1
= 0 ;
27325 char * kwnames
[] = {
27326 (char *) "self",(char *) "colText", NULL
27329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27331 if (!SWIG_IsOK(res1
)) {
27332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetTextColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27334 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27337 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27345 resultobj
= SWIG_Py_Void();
27352 SWIGINTERN PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27353 PyObject
*resultobj
= 0;
27354 wxListItem
*arg1
= (wxListItem
*) 0 ;
27355 wxColour
*arg2
= 0 ;
27359 PyObject
* obj0
= 0 ;
27360 PyObject
* obj1
= 0 ;
27361 char * kwnames
[] = {
27362 (char *) "self",(char *) "colBack", NULL
27365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27367 if (!SWIG_IsOK(res1
)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem *""'");
27370 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27373 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
27376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27377 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
27378 wxPyEndAllowThreads(__tstate
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27381 resultobj
= SWIG_Py_Void();
27388 SWIGINTERN PyObject
*_wrap_ListItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27389 PyObject
*resultobj
= 0;
27390 wxListItem
*arg1
= (wxListItem
*) 0 ;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 char * kwnames
[] = {
27399 (char *) "self",(char *) "font", NULL
27402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27404 if (!SWIG_IsOK(res1
)) {
27405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_SetFont" "', expected argument " "1"" of type '" "wxListItem *""'");
27407 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27408 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
27409 if (!SWIG_IsOK(res2
)) {
27410 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27413 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
27415 arg2
= reinterpret_cast< wxFont
* >(argp2
);
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 (arg1
)->SetFont((wxFont
const &)*arg2
);
27419 wxPyEndAllowThreads(__tstate
);
27420 if (PyErr_Occurred()) SWIG_fail
;
27422 resultobj
= SWIG_Py_Void();
27429 SWIGINTERN PyObject
*_wrap_ListItem_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27430 PyObject
*resultobj
= 0;
27431 wxListItem
*arg1
= (wxListItem
*) 0 ;
27435 PyObject
*swig_obj
[1] ;
27437 if (!args
) SWIG_fail
;
27438 swig_obj
[0] = args
;
27439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27440 if (!SWIG_IsOK(res1
)) {
27441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetMask" "', expected argument " "1"" of type '" "wxListItem *""'");
27443 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 result
= (long)(arg1
)->GetMask();
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27450 resultobj
= SWIG_From_long(static_cast< long >(result
));
27457 SWIGINTERN PyObject
*_wrap_ListItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27458 PyObject
*resultobj
= 0;
27459 wxListItem
*arg1
= (wxListItem
*) 0 ;
27463 PyObject
*swig_obj
[1] ;
27465 if (!args
) SWIG_fail
;
27466 swig_obj
[0] = args
;
27467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27468 if (!SWIG_IsOK(res1
)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetId" "', expected argument " "1"" of type '" "wxListItem *""'");
27471 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27474 result
= (long)(arg1
)->GetId();
27475 wxPyEndAllowThreads(__tstate
);
27476 if (PyErr_Occurred()) SWIG_fail
;
27478 resultobj
= SWIG_From_long(static_cast< long >(result
));
27485 SWIGINTERN PyObject
*_wrap_ListItem_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27486 PyObject
*resultobj
= 0;
27487 wxListItem
*arg1
= (wxListItem
*) 0 ;
27491 PyObject
*swig_obj
[1] ;
27493 if (!args
) SWIG_fail
;
27494 swig_obj
[0] = args
;
27495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27496 if (!SWIG_IsOK(res1
)) {
27497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetColumn" "', expected argument " "1"" of type '" "wxListItem *""'");
27499 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 result
= (int)(arg1
)->GetColumn();
27503 wxPyEndAllowThreads(__tstate
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= SWIG_From_int(static_cast< int >(result
));
27513 SWIGINTERN PyObject
*_wrap_ListItem_GetState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27514 PyObject
*resultobj
= 0;
27515 wxListItem
*arg1
= (wxListItem
*) 0 ;
27519 PyObject
*swig_obj
[1] ;
27521 if (!args
) SWIG_fail
;
27522 swig_obj
[0] = args
;
27523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27524 if (!SWIG_IsOK(res1
)) {
27525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetState" "', expected argument " "1"" of type '" "wxListItem *""'");
27527 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27530 result
= (long)(arg1
)->GetState();
27531 wxPyEndAllowThreads(__tstate
);
27532 if (PyErr_Occurred()) SWIG_fail
;
27534 resultobj
= SWIG_From_long(static_cast< long >(result
));
27541 SWIGINTERN PyObject
*_wrap_ListItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27542 PyObject
*resultobj
= 0;
27543 wxListItem
*arg1
= (wxListItem
*) 0 ;
27544 wxString
*result
= 0 ;
27547 PyObject
*swig_obj
[1] ;
27549 if (!args
) SWIG_fail
;
27550 swig_obj
[0] = args
;
27551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27552 if (!SWIG_IsOK(res1
)) {
27553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetText" "', expected argument " "1"" of type '" "wxListItem *""'");
27555 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27559 wxString
const &_result_ref
= (arg1
)->GetText();
27560 result
= (wxString
*) &_result_ref
;
27562 wxPyEndAllowThreads(__tstate
);
27563 if (PyErr_Occurred()) SWIG_fail
;
27567 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27569 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27578 SWIGINTERN PyObject
*_wrap_ListItem_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27579 PyObject
*resultobj
= 0;
27580 wxListItem
*arg1
= (wxListItem
*) 0 ;
27584 PyObject
*swig_obj
[1] ;
27586 if (!args
) SWIG_fail
;
27587 swig_obj
[0] = args
;
27588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27589 if (!SWIG_IsOK(res1
)) {
27590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetImage" "', expected argument " "1"" of type '" "wxListItem *""'");
27592 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27595 result
= (int)(arg1
)->GetImage();
27596 wxPyEndAllowThreads(__tstate
);
27597 if (PyErr_Occurred()) SWIG_fail
;
27599 resultobj
= SWIG_From_int(static_cast< int >(result
));
27606 SWIGINTERN PyObject
*_wrap_ListItem_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27607 PyObject
*resultobj
= 0;
27608 wxListItem
*arg1
= (wxListItem
*) 0 ;
27612 PyObject
*swig_obj
[1] ;
27614 if (!args
) SWIG_fail
;
27615 swig_obj
[0] = args
;
27616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27617 if (!SWIG_IsOK(res1
)) {
27618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetData" "', expected argument " "1"" of type '" "wxListItem *""'");
27620 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 result
= (long)(arg1
)->GetData();
27624 wxPyEndAllowThreads(__tstate
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27627 resultobj
= SWIG_From_long(static_cast< long >(result
));
27634 SWIGINTERN PyObject
*_wrap_ListItem_GetWidth(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_GetWidth" "', expected argument " "1"" of type '" "wxListItem *""'");
27648 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 result
= (int)(arg1
)->GetWidth();
27652 wxPyEndAllowThreads(__tstate
);
27653 if (PyErr_Occurred()) SWIG_fail
;
27655 resultobj
= SWIG_From_int(static_cast< int >(result
));
27662 SWIGINTERN PyObject
*_wrap_ListItem_GetAlign(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27663 PyObject
*resultobj
= 0;
27664 wxListItem
*arg1
= (wxListItem
*) 0 ;
27665 wxListColumnFormat result
;
27668 PyObject
*swig_obj
[1] ;
27670 if (!args
) SWIG_fail
;
27671 swig_obj
[0] = args
;
27672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27673 if (!SWIG_IsOK(res1
)) {
27674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAlign" "', expected argument " "1"" of type '" "wxListItem *""'");
27676 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 result
= (wxListColumnFormat
)(arg1
)->GetAlign();
27680 wxPyEndAllowThreads(__tstate
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27683 resultobj
= SWIG_From_int(static_cast< int >(result
));
27690 SWIGINTERN PyObject
*_wrap_ListItem_GetAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27691 PyObject
*resultobj
= 0;
27692 wxListItem
*arg1
= (wxListItem
*) 0 ;
27693 wxListItemAttr
*result
= 0 ;
27696 PyObject
*swig_obj
[1] ;
27698 if (!args
) SWIG_fail
;
27699 swig_obj
[0] = args
;
27700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27701 if (!SWIG_IsOK(res1
)) {
27702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27704 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27707 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
27708 wxPyEndAllowThreads(__tstate
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItemAttr
, 0 | 0 );
27718 SWIGINTERN PyObject
*_wrap_ListItem_HasAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27719 PyObject
*resultobj
= 0;
27720 wxListItem
*arg1
= (wxListItem
*) 0 ;
27724 PyObject
*swig_obj
[1] ;
27726 if (!args
) SWIG_fail
;
27727 swig_obj
[0] = args
;
27728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27729 if (!SWIG_IsOK(res1
)) {
27730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_HasAttributes" "', expected argument " "1"" of type '" "wxListItem *""'");
27732 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 result
= (bool)(arg1
)->HasAttributes();
27736 wxPyEndAllowThreads(__tstate
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27748 SWIGINTERN PyObject
*_wrap_ListItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27749 PyObject
*resultobj
= 0;
27750 wxListItem
*arg1
= (wxListItem
*) 0 ;
27754 PyObject
*swig_obj
[1] ;
27756 if (!args
) SWIG_fail
;
27757 swig_obj
[0] = args
;
27758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27759 if (!SWIG_IsOK(res1
)) {
27760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetTextColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27762 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27765 result
= ((wxListItem
const *)arg1
)->GetTextColour();
27766 wxPyEndAllowThreads(__tstate
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27769 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27776 SWIGINTERN PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27777 PyObject
*resultobj
= 0;
27778 wxListItem
*arg1
= (wxListItem
*) 0 ;
27782 PyObject
*swig_obj
[1] ;
27784 if (!args
) SWIG_fail
;
27785 swig_obj
[0] = args
;
27786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27787 if (!SWIG_IsOK(res1
)) {
27788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxListItem const *""'");
27790 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
27804 SWIGINTERN PyObject
*_wrap_ListItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27805 PyObject
*resultobj
= 0;
27806 wxListItem
*arg1
= (wxListItem
*) 0 ;
27810 PyObject
*swig_obj
[1] ;
27812 if (!args
) SWIG_fail
;
27813 swig_obj
[0] = args
;
27814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27815 if (!SWIG_IsOK(res1
)) {
27816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_GetFont" "', expected argument " "1"" of type '" "wxListItem const *""'");
27818 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 result
= ((wxListItem
const *)arg1
)->GetFont();
27822 wxPyEndAllowThreads(__tstate
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27825 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
27832 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27833 PyObject
*resultobj
= 0;
27834 wxListItem
*arg1
= (wxListItem
*) 0 ;
27840 PyObject
*swig_obj
[2] ;
27842 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_mask_set",2,2,swig_obj
)) SWIG_fail
;
27843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27844 if (!SWIG_IsOK(res1
)) {
27845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27847 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27848 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27849 if (!SWIG_IsOK(ecode2
)) {
27850 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_mask_set" "', expected argument " "2"" of type '" "long""'");
27852 arg2
= static_cast< long >(val2
);
27853 if (arg1
) (arg1
)->m_mask
= arg2
;
27855 resultobj
= SWIG_Py_Void();
27862 SWIGINTERN PyObject
*_wrap_ListItem_m_mask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27863 PyObject
*resultobj
= 0;
27864 wxListItem
*arg1
= (wxListItem
*) 0 ;
27868 PyObject
*swig_obj
[1] ;
27870 if (!args
) SWIG_fail
;
27871 swig_obj
[0] = args
;
27872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27873 if (!SWIG_IsOK(res1
)) {
27874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_mask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27876 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27877 result
= (long) ((arg1
)->m_mask
);
27878 resultobj
= SWIG_From_long(static_cast< long >(result
));
27885 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27886 PyObject
*resultobj
= 0;
27887 wxListItem
*arg1
= (wxListItem
*) 0 ;
27893 PyObject
*swig_obj
[2] ;
27895 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_itemId_set",2,2,swig_obj
)) SWIG_fail
;
27896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27897 if (!SWIG_IsOK(res1
)) {
27898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27900 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27901 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
27902 if (!SWIG_IsOK(ecode2
)) {
27903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_itemId_set" "', expected argument " "2"" of type '" "long""'");
27905 arg2
= static_cast< long >(val2
);
27906 if (arg1
) (arg1
)->m_itemId
= arg2
;
27908 resultobj
= SWIG_Py_Void();
27915 SWIGINTERN PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27916 PyObject
*resultobj
= 0;
27917 wxListItem
*arg1
= (wxListItem
*) 0 ;
27921 PyObject
*swig_obj
[1] ;
27923 if (!args
) SWIG_fail
;
27924 swig_obj
[0] = args
;
27925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27926 if (!SWIG_IsOK(res1
)) {
27927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_itemId_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27929 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27930 result
= (long) ((arg1
)->m_itemId
);
27931 resultobj
= SWIG_From_long(static_cast< long >(result
));
27938 SWIGINTERN PyObject
*_wrap_ListItem_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27939 PyObject
*resultobj
= 0;
27940 wxListItem
*arg1
= (wxListItem
*) 0 ;
27946 PyObject
*swig_obj
[2] ;
27948 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_col_set",2,2,swig_obj
)) SWIG_fail
;
27949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27950 if (!SWIG_IsOK(res1
)) {
27951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_set" "', expected argument " "1"" of type '" "wxListItem *""'");
27953 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27954 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
27955 if (!SWIG_IsOK(ecode2
)) {
27956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_col_set" "', expected argument " "2"" of type '" "int""'");
27958 arg2
= static_cast< int >(val2
);
27959 if (arg1
) (arg1
)->m_col
= arg2
;
27961 resultobj
= SWIG_Py_Void();
27968 SWIGINTERN PyObject
*_wrap_ListItem_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27969 PyObject
*resultobj
= 0;
27970 wxListItem
*arg1
= (wxListItem
*) 0 ;
27974 PyObject
*swig_obj
[1] ;
27976 if (!args
) SWIG_fail
;
27977 swig_obj
[0] = args
;
27978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
27979 if (!SWIG_IsOK(res1
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_col_get" "', expected argument " "1"" of type '" "wxListItem *""'");
27982 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
27983 result
= (int) ((arg1
)->m_col
);
27984 resultobj
= SWIG_From_int(static_cast< int >(result
));
27991 SWIGINTERN PyObject
*_wrap_ListItem_m_state_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27992 PyObject
*resultobj
= 0;
27993 wxListItem
*arg1
= (wxListItem
*) 0 ;
27999 PyObject
*swig_obj
[2] ;
28001 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_state_set",2,2,swig_obj
)) SWIG_fail
;
28002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28003 if (!SWIG_IsOK(res1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28006 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28007 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28008 if (!SWIG_IsOK(ecode2
)) {
28009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_state_set" "', expected argument " "2"" of type '" "long""'");
28011 arg2
= static_cast< long >(val2
);
28012 if (arg1
) (arg1
)->m_state
= arg2
;
28014 resultobj
= SWIG_Py_Void();
28021 SWIGINTERN PyObject
*_wrap_ListItem_m_state_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28022 PyObject
*resultobj
= 0;
28023 wxListItem
*arg1
= (wxListItem
*) 0 ;
28027 PyObject
*swig_obj
[1] ;
28029 if (!args
) SWIG_fail
;
28030 swig_obj
[0] = args
;
28031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28032 if (!SWIG_IsOK(res1
)) {
28033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_state_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28035 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28036 result
= (long) ((arg1
)->m_state
);
28037 resultobj
= SWIG_From_long(static_cast< long >(result
));
28044 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28045 PyObject
*resultobj
= 0;
28046 wxListItem
*arg1
= (wxListItem
*) 0 ;
28052 PyObject
*swig_obj
[2] ;
28054 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_stateMask_set",2,2,swig_obj
)) SWIG_fail
;
28055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28056 if (!SWIG_IsOK(res1
)) {
28057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28059 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28060 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28061 if (!SWIG_IsOK(ecode2
)) {
28062 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_stateMask_set" "', expected argument " "2"" of type '" "long""'");
28064 arg2
= static_cast< long >(val2
);
28065 if (arg1
) (arg1
)->m_stateMask
= arg2
;
28067 resultobj
= SWIG_Py_Void();
28074 SWIGINTERN PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28075 PyObject
*resultobj
= 0;
28076 wxListItem
*arg1
= (wxListItem
*) 0 ;
28080 PyObject
*swig_obj
[1] ;
28082 if (!args
) SWIG_fail
;
28083 swig_obj
[0] = args
;
28084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_stateMask_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28088 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28089 result
= (long) ((arg1
)->m_stateMask
);
28090 resultobj
= SWIG_From_long(static_cast< long >(result
));
28097 SWIGINTERN PyObject
*_wrap_ListItem_m_text_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28098 PyObject
*resultobj
= 0;
28099 wxListItem
*arg1
= (wxListItem
*) 0 ;
28100 wxString
*arg2
= (wxString
*) 0 ;
28103 bool temp2
= false ;
28104 PyObject
*swig_obj
[2] ;
28106 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_text_set",2,2,swig_obj
)) SWIG_fail
;
28107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28108 if (!SWIG_IsOK(res1
)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28111 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28113 arg2
= wxString_in_helper(swig_obj
[1]);
28114 if (arg2
== NULL
) SWIG_fail
;
28117 if (arg1
) (arg1
)->m_text
= *arg2
;
28119 resultobj
= SWIG_Py_Void();
28134 SWIGINTERN PyObject
*_wrap_ListItem_m_text_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28135 PyObject
*resultobj
= 0;
28136 wxListItem
*arg1
= (wxListItem
*) 0 ;
28137 wxString
*result
= 0 ;
28140 PyObject
*swig_obj
[1] ;
28142 if (!args
) SWIG_fail
;
28143 swig_obj
[0] = args
;
28144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28145 if (!SWIG_IsOK(res1
)) {
28146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_text_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28148 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28149 result
= (wxString
*)& ((arg1
)->m_text
);
28152 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28154 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28163 SWIGINTERN PyObject
*_wrap_ListItem_m_image_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28164 PyObject
*resultobj
= 0;
28165 wxListItem
*arg1
= (wxListItem
*) 0 ;
28171 PyObject
*swig_obj
[2] ;
28173 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_image_set",2,2,swig_obj
)) SWIG_fail
;
28174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28175 if (!SWIG_IsOK(res1
)) {
28176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28178 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28179 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28180 if (!SWIG_IsOK(ecode2
)) {
28181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_image_set" "', expected argument " "2"" of type '" "int""'");
28183 arg2
= static_cast< int >(val2
);
28184 if (arg1
) (arg1
)->m_image
= arg2
;
28186 resultobj
= SWIG_Py_Void();
28193 SWIGINTERN PyObject
*_wrap_ListItem_m_image_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28194 PyObject
*resultobj
= 0;
28195 wxListItem
*arg1
= (wxListItem
*) 0 ;
28199 PyObject
*swig_obj
[1] ;
28201 if (!args
) SWIG_fail
;
28202 swig_obj
[0] = args
;
28203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28204 if (!SWIG_IsOK(res1
)) {
28205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_image_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28207 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28208 result
= (int) ((arg1
)->m_image
);
28209 resultobj
= SWIG_From_int(static_cast< int >(result
));
28216 SWIGINTERN PyObject
*_wrap_ListItem_m_data_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28217 PyObject
*resultobj
= 0;
28218 wxListItem
*arg1
= (wxListItem
*) 0 ;
28224 PyObject
*swig_obj
[2] ;
28226 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_data_set",2,2,swig_obj
)) SWIG_fail
;
28227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28228 if (!SWIG_IsOK(res1
)) {
28229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28231 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28232 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28233 if (!SWIG_IsOK(ecode2
)) {
28234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_data_set" "', expected argument " "2"" of type '" "long""'");
28236 arg2
= static_cast< long >(val2
);
28237 if (arg1
) (arg1
)->m_data
= arg2
;
28239 resultobj
= SWIG_Py_Void();
28246 SWIGINTERN PyObject
*_wrap_ListItem_m_data_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28247 PyObject
*resultobj
= 0;
28248 wxListItem
*arg1
= (wxListItem
*) 0 ;
28252 PyObject
*swig_obj
[1] ;
28254 if (!args
) SWIG_fail
;
28255 swig_obj
[0] = args
;
28256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28257 if (!SWIG_IsOK(res1
)) {
28258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_data_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28260 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28261 result
= (long) ((arg1
)->m_data
);
28262 resultobj
= SWIG_From_long(static_cast< long >(result
));
28269 SWIGINTERN PyObject
*_wrap_ListItem_m_format_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28270 PyObject
*resultobj
= 0;
28271 wxListItem
*arg1
= (wxListItem
*) 0 ;
28277 PyObject
*swig_obj
[2] ;
28279 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_format_set",2,2,swig_obj
)) SWIG_fail
;
28280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28281 if (!SWIG_IsOK(res1
)) {
28282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28284 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28285 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28286 if (!SWIG_IsOK(ecode2
)) {
28287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_format_set" "', expected argument " "2"" of type '" "int""'");
28289 arg2
= static_cast< int >(val2
);
28290 if (arg1
) (arg1
)->m_format
= arg2
;
28292 resultobj
= SWIG_Py_Void();
28299 SWIGINTERN PyObject
*_wrap_ListItem_m_format_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28300 PyObject
*resultobj
= 0;
28301 wxListItem
*arg1
= (wxListItem
*) 0 ;
28305 PyObject
*swig_obj
[1] ;
28307 if (!args
) SWIG_fail
;
28308 swig_obj
[0] = args
;
28309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28310 if (!SWIG_IsOK(res1
)) {
28311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_format_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28313 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28314 result
= (int) ((arg1
)->m_format
);
28315 resultobj
= SWIG_From_int(static_cast< int >(result
));
28322 SWIGINTERN PyObject
*_wrap_ListItem_m_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28323 PyObject
*resultobj
= 0;
28324 wxListItem
*arg1
= (wxListItem
*) 0 ;
28330 PyObject
*swig_obj
[2] ;
28332 if (!SWIG_Python_UnpackTuple(args
,"ListItem_m_width_set",2,2,swig_obj
)) SWIG_fail
;
28333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28334 if (!SWIG_IsOK(res1
)) {
28335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_set" "', expected argument " "1"" of type '" "wxListItem *""'");
28337 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28338 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28339 if (!SWIG_IsOK(ecode2
)) {
28340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListItem_m_width_set" "', expected argument " "2"" of type '" "int""'");
28342 arg2
= static_cast< int >(val2
);
28343 if (arg1
) (arg1
)->m_width
= arg2
;
28345 resultobj
= SWIG_Py_Void();
28352 SWIGINTERN PyObject
*_wrap_ListItem_m_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28353 PyObject
*resultobj
= 0;
28354 wxListItem
*arg1
= (wxListItem
*) 0 ;
28358 PyObject
*swig_obj
[1] ;
28360 if (!args
) SWIG_fail
;
28361 swig_obj
[0] = args
;
28362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListItem
, 0 | 0 );
28363 if (!SWIG_IsOK(res1
)) {
28364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListItem_m_width_get" "', expected argument " "1"" of type '" "wxListItem *""'");
28366 arg1
= reinterpret_cast< wxListItem
* >(argp1
);
28367 result
= (int) ((arg1
)->m_width
);
28368 resultobj
= SWIG_From_int(static_cast< int >(result
));
28375 SWIGINTERN PyObject
*ListItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28378 SWIG_TypeNewClientData(SWIGTYPE_p_wxListItem
, SWIG_NewClientData(obj
));
28379 return SWIG_Py_Void();
28382 SWIGINTERN PyObject
*ListItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28383 return SWIG_Python_InitShadowInstance(args
);
28386 SWIGINTERN PyObject
*_wrap_new_ListEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28387 PyObject
*resultobj
= 0;
28388 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
28389 int arg2
= (int) 0 ;
28390 wxListEvent
*result
= 0 ;
28395 PyObject
* obj0
= 0 ;
28396 PyObject
* obj1
= 0 ;
28397 char * kwnames
[] = {
28398 (char *) "commandType",(char *) "id", NULL
28401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28403 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28404 if (!SWIG_IsOK(ecode1
)) {
28405 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ListEvent" "', expected argument " "1"" of type '" "wxEventType""'");
28407 arg1
= static_cast< wxEventType
>(val1
);
28410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28411 if (!SWIG_IsOK(ecode2
)) {
28412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListEvent" "', expected argument " "2"" of type '" "int""'");
28414 arg2
= static_cast< int >(val2
);
28417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28418 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
28419 wxPyEndAllowThreads(__tstate
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListEvent
, SWIG_POINTER_NEW
| 0 );
28429 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28430 PyObject
*resultobj
= 0;
28431 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28437 PyObject
*swig_obj
[2] ;
28439 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_code_set",2,2,swig_obj
)) SWIG_fail
;
28440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28441 if (!SWIG_IsOK(res1
)) {
28442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28444 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28445 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28446 if (!SWIG_IsOK(ecode2
)) {
28447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_code_set" "', expected argument " "2"" of type '" "int""'");
28449 arg2
= static_cast< int >(val2
);
28450 if (arg1
) (arg1
)->m_code
= arg2
;
28452 resultobj
= SWIG_Py_Void();
28459 SWIGINTERN PyObject
*_wrap_ListEvent_m_code_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28460 PyObject
*resultobj
= 0;
28461 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28465 PyObject
*swig_obj
[1] ;
28467 if (!args
) SWIG_fail
;
28468 swig_obj
[0] = args
;
28469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28470 if (!SWIG_IsOK(res1
)) {
28471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_code_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28473 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28474 result
= (int) ((arg1
)->m_code
);
28475 resultobj
= SWIG_From_int(static_cast< int >(result
));
28482 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28483 PyObject
*resultobj
= 0;
28484 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28490 PyObject
*swig_obj
[2] ;
28492 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_oldItemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28494 if (!SWIG_IsOK(res1
)) {
28495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28497 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28498 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28499 if (!SWIG_IsOK(ecode2
)) {
28500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_oldItemIndex_set" "', expected argument " "2"" of type '" "long""'");
28502 arg2
= static_cast< long >(val2
);
28503 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
28505 resultobj
= SWIG_Py_Void();
28512 SWIGINTERN PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28513 PyObject
*resultobj
= 0;
28514 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28518 PyObject
*swig_obj
[1] ;
28520 if (!args
) SWIG_fail
;
28521 swig_obj
[0] = args
;
28522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28523 if (!SWIG_IsOK(res1
)) {
28524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_oldItemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28526 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28527 result
= (long) ((arg1
)->m_oldItemIndex
);
28528 resultobj
= SWIG_From_long(static_cast< long >(result
));
28535 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28536 PyObject
*resultobj
= 0;
28537 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28543 PyObject
*swig_obj
[2] ;
28545 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_itemIndex_set",2,2,swig_obj
)) SWIG_fail
;
28546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28547 if (!SWIG_IsOK(res1
)) {
28548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28550 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28551 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
28552 if (!SWIG_IsOK(ecode2
)) {
28553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_itemIndex_set" "', expected argument " "2"" of type '" "long""'");
28555 arg2
= static_cast< long >(val2
);
28556 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
28558 resultobj
= SWIG_Py_Void();
28565 SWIGINTERN PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28566 PyObject
*resultobj
= 0;
28567 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28571 PyObject
*swig_obj
[1] ;
28573 if (!args
) SWIG_fail
;
28574 swig_obj
[0] = args
;
28575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28576 if (!SWIG_IsOK(res1
)) {
28577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_itemIndex_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28579 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28580 result
= (long) ((arg1
)->m_itemIndex
);
28581 resultobj
= SWIG_From_long(static_cast< long >(result
));
28588 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28589 PyObject
*resultobj
= 0;
28590 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28596 PyObject
*swig_obj
[2] ;
28598 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_col_set",2,2,swig_obj
)) SWIG_fail
;
28599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28600 if (!SWIG_IsOK(res1
)) {
28601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28603 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28604 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
28605 if (!SWIG_IsOK(ecode2
)) {
28606 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_m_col_set" "', expected argument " "2"" of type '" "int""'");
28608 arg2
= static_cast< int >(val2
);
28609 if (arg1
) (arg1
)->m_col
= arg2
;
28611 resultobj
= SWIG_Py_Void();
28618 SWIGINTERN PyObject
*_wrap_ListEvent_m_col_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28619 PyObject
*resultobj
= 0;
28620 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28624 PyObject
*swig_obj
[1] ;
28626 if (!args
) SWIG_fail
;
28627 swig_obj
[0] = args
;
28628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28629 if (!SWIG_IsOK(res1
)) {
28630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_col_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28632 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28633 result
= (int) ((arg1
)->m_col
);
28634 resultobj
= SWIG_From_int(static_cast< int >(result
));
28641 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28642 PyObject
*resultobj
= 0;
28643 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28644 wxPoint
*arg2
= (wxPoint
*) 0 ;
28649 PyObject
*swig_obj
[2] ;
28651 if (!SWIG_Python_UnpackTuple(args
,"ListEvent_m_pointDrag_set",2,2,swig_obj
)) SWIG_fail
;
28652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28653 if (!SWIG_IsOK(res1
)) {
28654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "1"" of type '" "wxListEvent *""'");
28656 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28657 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPoint
, 0 | 0 );
28658 if (!SWIG_IsOK(res2
)) {
28659 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListEvent_m_pointDrag_set" "', expected argument " "2"" of type '" "wxPoint *""'");
28661 arg2
= reinterpret_cast< wxPoint
* >(argp2
);
28662 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
28664 resultobj
= SWIG_Py_Void();
28671 SWIGINTERN PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28672 PyObject
*resultobj
= 0;
28673 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28674 wxPoint
*result
= 0 ;
28677 PyObject
*swig_obj
[1] ;
28679 if (!args
) SWIG_fail
;
28680 swig_obj
[0] = args
;
28681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28682 if (!SWIG_IsOK(res1
)) {
28683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_pointDrag_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28685 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28686 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
28687 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
28694 SWIGINTERN PyObject
*_wrap_ListEvent_m_item_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28695 PyObject
*resultobj
= 0;
28696 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28697 wxListItem
*result
= 0 ;
28700 PyObject
*swig_obj
[1] ;
28702 if (!args
) SWIG_fail
;
28703 swig_obj
[0] = args
;
28704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28705 if (!SWIG_IsOK(res1
)) {
28706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_m_item_get" "', expected argument " "1"" of type '" "wxListEvent *""'");
28708 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28709 result
= (wxListItem
*)& ((arg1
)->m_item
);
28711 resultobj
= wxPyMake_wxObject(result
, 0);
28719 SWIGINTERN PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28720 PyObject
*resultobj
= 0;
28721 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28725 PyObject
*swig_obj
[1] ;
28727 if (!args
) SWIG_fail
;
28728 swig_obj
[0] = args
;
28729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28730 if (!SWIG_IsOK(res1
)) {
28731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxListEvent *""'");
28733 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28736 result
= (int)(arg1
)->GetKeyCode();
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 resultobj
= SWIG_From_int(static_cast< int >(result
));
28747 SWIGINTERN PyObject
*_wrap_ListEvent_GetIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28748 PyObject
*resultobj
= 0;
28749 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28753 PyObject
*swig_obj
[1] ;
28755 if (!args
) SWIG_fail
;
28756 swig_obj
[0] = args
;
28757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28758 if (!SWIG_IsOK(res1
)) {
28759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetIndex" "', expected argument " "1"" of type '" "wxListEvent *""'");
28761 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28764 result
= (long)(arg1
)->GetIndex();
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 resultobj
= SWIG_From_long(static_cast< long >(result
));
28775 SWIGINTERN PyObject
*_wrap_ListEvent_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28776 PyObject
*resultobj
= 0;
28777 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28781 PyObject
*swig_obj
[1] ;
28783 if (!args
) SWIG_fail
;
28784 swig_obj
[0] = args
;
28785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28786 if (!SWIG_IsOK(res1
)) {
28787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetColumn" "', expected argument " "1"" of type '" "wxListEvent *""'");
28789 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28792 result
= (int)(arg1
)->GetColumn();
28793 wxPyEndAllowThreads(__tstate
);
28794 if (PyErr_Occurred()) SWIG_fail
;
28796 resultobj
= SWIG_From_int(static_cast< int >(result
));
28803 SWIGINTERN PyObject
*_wrap_ListEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28804 PyObject
*resultobj
= 0;
28805 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28809 PyObject
*swig_obj
[1] ;
28811 if (!args
) SWIG_fail
;
28812 swig_obj
[0] = args
;
28813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28814 if (!SWIG_IsOK(res1
)) {
28815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetPoint" "', expected argument " "1"" of type '" "wxListEvent *""'");
28817 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28820 result
= (arg1
)->GetPoint();
28821 wxPyEndAllowThreads(__tstate
);
28822 if (PyErr_Occurred()) SWIG_fail
;
28824 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
28831 SWIGINTERN PyObject
*_wrap_ListEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28832 PyObject
*resultobj
= 0;
28833 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28834 wxString
*result
= 0 ;
28837 PyObject
*swig_obj
[1] ;
28839 if (!args
) SWIG_fail
;
28840 swig_obj
[0] = args
;
28841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28842 if (!SWIG_IsOK(res1
)) {
28843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetLabel" "', expected argument " "1"" of type '" "wxListEvent *""'");
28845 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 wxString
const &_result_ref
= (arg1
)->GetLabel();
28850 result
= (wxString
*) &_result_ref
;
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28857 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28859 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28868 SWIGINTERN PyObject
*_wrap_ListEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28869 PyObject
*resultobj
= 0;
28870 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28871 wxString
*result
= 0 ;
28874 PyObject
*swig_obj
[1] ;
28876 if (!args
) SWIG_fail
;
28877 swig_obj
[0] = args
;
28878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28879 if (!SWIG_IsOK(res1
)) {
28880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetText" "', expected argument " "1"" of type '" "wxListEvent *""'");
28882 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28886 wxString
const &_result_ref
= (arg1
)->GetText();
28887 result
= (wxString
*) &_result_ref
;
28889 wxPyEndAllowThreads(__tstate
);
28890 if (PyErr_Occurred()) SWIG_fail
;
28894 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28896 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28905 SWIGINTERN PyObject
*_wrap_ListEvent_GetImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28906 PyObject
*resultobj
= 0;
28907 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28911 PyObject
*swig_obj
[1] ;
28913 if (!args
) SWIG_fail
;
28914 swig_obj
[0] = args
;
28915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28916 if (!SWIG_IsOK(res1
)) {
28917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetImage" "', expected argument " "1"" of type '" "wxListEvent *""'");
28919 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28922 result
= (int)(arg1
)->GetImage();
28923 wxPyEndAllowThreads(__tstate
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28926 resultobj
= SWIG_From_int(static_cast< int >(result
));
28933 SWIGINTERN PyObject
*_wrap_ListEvent_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28934 PyObject
*resultobj
= 0;
28935 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28939 PyObject
*swig_obj
[1] ;
28941 if (!args
) SWIG_fail
;
28942 swig_obj
[0] = args
;
28943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28944 if (!SWIG_IsOK(res1
)) {
28945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetData" "', expected argument " "1"" of type '" "wxListEvent *""'");
28947 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 result
= (long)(arg1
)->GetData();
28951 wxPyEndAllowThreads(__tstate
);
28952 if (PyErr_Occurred()) SWIG_fail
;
28954 resultobj
= SWIG_From_long(static_cast< long >(result
));
28961 SWIGINTERN PyObject
*_wrap_ListEvent_GetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28962 PyObject
*resultobj
= 0;
28963 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28967 PyObject
*swig_obj
[1] ;
28969 if (!args
) SWIG_fail
;
28970 swig_obj
[0] = args
;
28971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
28972 if (!SWIG_IsOK(res1
)) {
28973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetMask" "', expected argument " "1"" of type '" "wxListEvent *""'");
28975 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
28977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28978 result
= (long)(arg1
)->GetMask();
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= SWIG_From_long(static_cast< long >(result
));
28989 SWIGINTERN PyObject
*_wrap_ListEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28990 PyObject
*resultobj
= 0;
28991 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
28992 wxListItem
*result
= 0 ;
28995 PyObject
*swig_obj
[1] ;
28997 if (!args
) SWIG_fail
;
28998 swig_obj
[0] = args
;
28999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29000 if (!SWIG_IsOK(res1
)) {
29001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetItem" "', expected argument " "1"" of type '" "wxListEvent *""'");
29003 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29007 wxListItem
const &_result_ref
= (arg1
)->GetItem();
29008 result
= (wxListItem
*) &_result_ref
;
29010 wxPyEndAllowThreads(__tstate
);
29011 if (PyErr_Occurred()) SWIG_fail
;
29013 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListItem
, 0 | 0 );
29020 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29021 PyObject
*resultobj
= 0;
29022 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29026 PyObject
*swig_obj
[1] ;
29028 if (!args
) SWIG_fail
;
29029 swig_obj
[0] = args
;
29030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29031 if (!SWIG_IsOK(res1
)) {
29032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheFrom" "', expected argument " "1"" of type '" "wxListEvent *""'");
29034 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29037 result
= (long)(arg1
)->GetCacheFrom();
29038 wxPyEndAllowThreads(__tstate
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29041 resultobj
= SWIG_From_long(static_cast< long >(result
));
29048 SWIGINTERN PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29049 PyObject
*resultobj
= 0;
29050 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29054 PyObject
*swig_obj
[1] ;
29056 if (!args
) SWIG_fail
;
29057 swig_obj
[0] = args
;
29058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29059 if (!SWIG_IsOK(res1
)) {
29060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_GetCacheTo" "', expected argument " "1"" of type '" "wxListEvent *""'");
29062 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29065 result
= (long)(arg1
)->GetCacheTo();
29066 wxPyEndAllowThreads(__tstate
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29069 resultobj
= SWIG_From_long(static_cast< long >(result
));
29076 SWIGINTERN PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29077 PyObject
*resultobj
= 0;
29078 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29082 PyObject
*swig_obj
[1] ;
29084 if (!args
) SWIG_fail
;
29085 swig_obj
[0] = args
;
29086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29087 if (!SWIG_IsOK(res1
)) {
29088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxListEvent const *""'");
29090 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29106 SWIGINTERN PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
= 0;
29108 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
29114 PyObject
* obj0
= 0 ;
29115 PyObject
* obj1
= 0 ;
29116 char * kwnames
[] = {
29117 (char *) "self",(char *) "editCancelled", NULL
29120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListEvent
, 0 | 0 );
29122 if (!SWIG_IsOK(res1
)) {
29123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxListEvent *""'");
29125 arg1
= reinterpret_cast< wxListEvent
* >(argp1
);
29126 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29127 if (!SWIG_IsOK(ecode2
)) {
29128 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
29130 arg2
= static_cast< bool >(val2
);
29132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29133 (arg1
)->SetEditCanceled(arg2
);
29134 wxPyEndAllowThreads(__tstate
);
29135 if (PyErr_Occurred()) SWIG_fail
;
29137 resultobj
= SWIG_Py_Void();
29144 SWIGINTERN PyObject
*ListEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29146 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29147 SWIG_TypeNewClientData(SWIGTYPE_p_wxListEvent
, SWIG_NewClientData(obj
));
29148 return SWIG_Py_Void();
29151 SWIGINTERN PyObject
*ListEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29152 return SWIG_Python_InitShadowInstance(args
);
29155 SWIGINTERN PyObject
*_wrap_new_ListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29156 PyObject
*resultobj
= 0;
29157 wxWindow
*arg1
= (wxWindow
*) 0 ;
29158 int arg2
= (int) -1 ;
29159 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29160 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29161 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29162 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29163 long arg5
= (long) wxLC_ICON
;
29164 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29165 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29166 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
29167 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29168 wxPyListCtrl
*result
= 0 ;
29179 bool temp7
= false ;
29180 PyObject
* obj0
= 0 ;
29181 PyObject
* obj1
= 0 ;
29182 PyObject
* obj2
= 0 ;
29183 PyObject
* obj3
= 0 ;
29184 PyObject
* obj4
= 0 ;
29185 PyObject
* obj5
= 0 ;
29186 PyObject
* obj6
= 0 ;
29187 char * kwnames
[] = {
29188 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29193 if (!SWIG_IsOK(res1
)) {
29194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
29196 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29199 if (!SWIG_IsOK(ecode2
)) {
29200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListCtrl" "', expected argument " "2"" of type '" "int""'");
29202 arg2
= static_cast< int >(val2
);
29207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29213 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29217 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29218 if (!SWIG_IsOK(ecode5
)) {
29219 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListCtrl" "', expected argument " "5"" of type '" "long""'");
29221 arg5
= static_cast< long >(val5
);
29224 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
29225 if (!SWIG_IsOK(res6
)) {
29226 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
29231 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
29235 arg7
= wxString_in_helper(obj6
);
29236 if (arg7
== NULL
) SWIG_fail
;
29241 if (!wxPyCheckForApp()) SWIG_fail
;
29242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29243 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29244 wxPyEndAllowThreads(__tstate
);
29245 if (PyErr_Occurred()) SWIG_fail
;
29247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_NEW
| 0 );
29262 SWIGINTERN PyObject
*_wrap_new_PreListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29263 PyObject
*resultobj
= 0;
29264 wxPyListCtrl
*result
= 0 ;
29266 if (!SWIG_Python_UnpackTuple(args
,"new_PreListCtrl",0,0,0)) SWIG_fail
;
29268 if (!wxPyCheckForApp()) SWIG_fail
;
29269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29270 result
= (wxPyListCtrl
*)new wxPyListCtrl();
29271 wxPyEndAllowThreads(__tstate
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyListCtrl
, SWIG_POINTER_OWN
| 0 );
29281 SWIGINTERN PyObject
*_wrap_ListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29282 PyObject
*resultobj
= 0;
29283 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29284 wxWindow
*arg2
= (wxWindow
*) 0 ;
29285 int arg3
= (int) -1 ;
29286 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29287 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29288 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29289 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29290 long arg6
= (long) wxLC_ICON
;
29291 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29292 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29293 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
29294 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29308 bool temp8
= false ;
29309 PyObject
* obj0
= 0 ;
29310 PyObject
* obj1
= 0 ;
29311 PyObject
* obj2
= 0 ;
29312 PyObject
* obj3
= 0 ;
29313 PyObject
* obj4
= 0 ;
29314 PyObject
* obj5
= 0 ;
29315 PyObject
* obj6
= 0 ;
29316 PyObject
* obj7
= 0 ;
29317 char * kwnames
[] = {
29318 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
29322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29323 if (!SWIG_IsOK(res1
)) {
29324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Create" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29326 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29327 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29328 if (!SWIG_IsOK(res2
)) {
29329 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29331 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29333 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29334 if (!SWIG_IsOK(ecode3
)) {
29335 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
29337 arg3
= static_cast< int >(val3
);
29342 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29348 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29352 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29353 if (!SWIG_IsOK(ecode6
)) {
29354 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
29356 arg6
= static_cast< long >(val6
);
29359 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
29360 if (!SWIG_IsOK(res7
)) {
29361 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
29366 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
29370 arg8
= wxString_in_helper(obj7
);
29371 if (arg8
== NULL
) SWIG_fail
;
29376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29377 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29398 SWIGINTERN PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29399 PyObject
*resultobj
= 0;
29400 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29401 PyObject
*arg2
= (PyObject
*) 0 ;
29402 PyObject
*arg3
= (PyObject
*) 0 ;
29405 PyObject
* obj0
= 0 ;
29406 PyObject
* obj1
= 0 ;
29407 PyObject
* obj2
= 0 ;
29408 char * kwnames
[] = {
29409 (char *) "self",(char *) "self",(char *) "_class", NULL
29412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29414 if (!SWIG_IsOK(res1
)) {
29415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29417 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29422 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29423 wxPyEndAllowThreads(__tstate
);
29424 if (PyErr_Occurred()) SWIG_fail
;
29426 resultobj
= SWIG_Py_Void();
29433 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29434 PyObject
*resultobj
= 0;
29435 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29437 wxListItem
*result
= 0 ;
29442 PyObject
* obj0
= 0 ;
29443 PyObject
* obj1
= 0 ;
29444 char * kwnames
[] = {
29445 (char *) "self",(char *) "col", NULL
29448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29450 if (!SWIG_IsOK(res1
)) {
29451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29453 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29455 if (!SWIG_IsOK(ecode2
)) {
29456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
29458 arg2
= static_cast< int >(val2
);
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
29462 wxPyEndAllowThreads(__tstate
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= wxPyMake_wxObject(result
, 0);
29474 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29475 PyObject
*resultobj
= 0;
29476 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29478 wxListItem
*arg3
= 0 ;
29486 PyObject
* obj0
= 0 ;
29487 PyObject
* obj1
= 0 ;
29488 PyObject
* obj2
= 0 ;
29489 char * kwnames
[] = {
29490 (char *) "self",(char *) "col",(char *) "item", NULL
29493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29495 if (!SWIG_IsOK(res1
)) {
29496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29498 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29500 if (!SWIG_IsOK(ecode2
)) {
29501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
29503 arg2
= static_cast< int >(val2
);
29504 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
29505 if (!SWIG_IsOK(res3
)) {
29506 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29509 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxListItem &""'");
29511 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
29513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29514 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
29515 wxPyEndAllowThreads(__tstate
);
29516 if (PyErr_Occurred()) SWIG_fail
;
29519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29527 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
= 0;
29529 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29536 PyObject
* obj0
= 0 ;
29537 PyObject
* obj1
= 0 ;
29538 char * kwnames
[] = {
29539 (char *) "self",(char *) "col", NULL
29542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29544 if (!SWIG_IsOK(res1
)) {
29545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29547 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29549 if (!SWIG_IsOK(ecode2
)) {
29550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29552 arg2
= static_cast< int >(val2
);
29554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29555 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
29556 wxPyEndAllowThreads(__tstate
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29559 resultobj
= SWIG_From_int(static_cast< int >(result
));
29566 SWIGINTERN PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29567 PyObject
*resultobj
= 0;
29568 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29578 PyObject
* obj0
= 0 ;
29579 PyObject
* obj1
= 0 ;
29580 PyObject
* obj2
= 0 ;
29581 char * kwnames
[] = {
29582 (char *) "self",(char *) "col",(char *) "width", NULL
29585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29587 if (!SWIG_IsOK(res1
)) {
29588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29590 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29591 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29592 if (!SWIG_IsOK(ecode2
)) {
29593 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
29595 arg2
= static_cast< int >(val2
);
29596 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29597 if (!SWIG_IsOK(ecode3
)) {
29598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
29600 arg3
= static_cast< int >(val3
);
29602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29603 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
29604 wxPyEndAllowThreads(__tstate
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29616 SWIGINTERN PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29617 PyObject
*resultobj
= 0;
29618 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29622 PyObject
*swig_obj
[1] ;
29624 if (!args
) SWIG_fail
;
29625 swig_obj
[0] = args
;
29626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29627 if (!SWIG_IsOK(res1
)) {
29628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetCountPerPage" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29630 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
29634 wxPyEndAllowThreads(__tstate
);
29635 if (PyErr_Occurred()) SWIG_fail
;
29637 resultobj
= SWIG_From_int(static_cast< int >(result
));
29644 SWIGINTERN PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29645 PyObject
*resultobj
= 0;
29646 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29650 PyObject
*swig_obj
[1] ;
29652 if (!args
) SWIG_fail
;
29653 swig_obj
[0] = args
;
29654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29655 if (!SWIG_IsOK(res1
)) {
29656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetViewRect" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29658 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29661 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
29662 wxPyEndAllowThreads(__tstate
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29665 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
29672 SWIGINTERN PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29673 PyObject
*resultobj
= 0;
29674 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29675 wxTextCtrl
*result
= 0 ;
29678 PyObject
*swig_obj
[1] ;
29680 if (!args
) SWIG_fail
;
29681 swig_obj
[0] = args
;
29682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29683 if (!SWIG_IsOK(res1
)) {
29684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29686 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29689 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
29690 wxPyEndAllowThreads(__tstate
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29694 resultobj
= wxPyMake_wxObject(result
, 0);
29702 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29703 PyObject
*resultobj
= 0;
29704 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29706 int arg3
= (int) 0 ;
29707 wxListItem
*result
= 0 ;
29714 PyObject
* obj0
= 0 ;
29715 PyObject
* obj1
= 0 ;
29716 PyObject
* obj2
= 0 ;
29717 char * kwnames
[] = {
29718 (char *) "self",(char *) "itemId",(char *) "col", NULL
29721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29723 if (!SWIG_IsOK(res1
)) {
29724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29726 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29727 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29728 if (!SWIG_IsOK(ecode2
)) {
29729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItem" "', expected argument " "2"" of type '" "long""'");
29731 arg2
= static_cast< long >(val2
);
29733 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29734 if (!SWIG_IsOK(ecode3
)) {
29735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItem" "', expected argument " "3"" of type '" "int""'");
29737 arg3
= static_cast< int >(val3
);
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29746 resultobj
= wxPyMake_wxObject(result
, 0);
29754 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
= 0;
29756 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29757 wxListItem
*arg2
= 0 ;
29763 PyObject
* obj0
= 0 ;
29764 PyObject
* obj1
= 0 ;
29765 char * kwnames
[] = {
29766 (char *) "self",(char *) "info", NULL
29769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29771 if (!SWIG_IsOK(res1
)) {
29772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29774 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
29776 if (!SWIG_IsOK(res2
)) {
29777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItem" "', expected argument " "2"" of type '" "wxListItem &""'");
29782 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 result
= (bool)(arg1
)->SetItem(*arg2
);
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29798 SWIGINTERN PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29799 PyObject
*resultobj
= 0;
29800 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29803 wxString
*arg4
= 0 ;
29804 int arg5
= (int) -1 ;
29812 bool temp4
= false ;
29815 PyObject
* obj0
= 0 ;
29816 PyObject
* obj1
= 0 ;
29817 PyObject
* obj2
= 0 ;
29818 PyObject
* obj3
= 0 ;
29819 PyObject
* obj4
= 0 ;
29820 char * kwnames
[] = {
29821 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
29824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
29825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29826 if (!SWIG_IsOK(res1
)) {
29827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29829 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29830 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29831 if (!SWIG_IsOK(ecode2
)) {
29832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "2"" of type '" "long""'");
29834 arg2
= static_cast< long >(val2
);
29835 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29836 if (!SWIG_IsOK(ecode3
)) {
29837 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "3"" of type '" "int""'");
29839 arg3
= static_cast< int >(val3
);
29841 arg4
= wxString_in_helper(obj3
);
29842 if (arg4
== NULL
) SWIG_fail
;
29846 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
29847 if (!SWIG_IsOK(ecode5
)) {
29848 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_SetStringItem" "', expected argument " "5"" of type '" "int""'");
29850 arg5
= static_cast< int >(val5
);
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
29855 wxPyEndAllowThreads(__tstate
);
29856 if (PyErr_Occurred()) SWIG_fail
;
29858 resultobj
= SWIG_From_long(static_cast< long >(result
));
29873 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29874 PyObject
*resultobj
= 0;
29875 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29885 PyObject
* obj0
= 0 ;
29886 PyObject
* obj1
= 0 ;
29887 PyObject
* obj2
= 0 ;
29888 char * kwnames
[] = {
29889 (char *) "self",(char *) "item",(char *) "stateMask", NULL
29892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29894 if (!SWIG_IsOK(res1
)) {
29895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
29897 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29898 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29899 if (!SWIG_IsOK(ecode2
)) {
29900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemState" "', expected argument " "2"" of type '" "long""'");
29902 arg2
= static_cast< long >(val2
);
29903 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29904 if (!SWIG_IsOK(ecode3
)) {
29905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemState" "', expected argument " "3"" of type '" "long""'");
29907 arg3
= static_cast< long >(val3
);
29909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29910 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
29911 wxPyEndAllowThreads(__tstate
);
29912 if (PyErr_Occurred()) SWIG_fail
;
29914 resultobj
= SWIG_From_int(static_cast< int >(result
));
29921 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29922 PyObject
*resultobj
= 0;
29923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29936 PyObject
* obj0
= 0 ;
29937 PyObject
* obj1
= 0 ;
29938 PyObject
* obj2
= 0 ;
29939 PyObject
* obj3
= 0 ;
29940 char * kwnames
[] = {
29941 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
29944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
29946 if (!SWIG_IsOK(res1
)) {
29947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemState" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
29949 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
29950 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29951 if (!SWIG_IsOK(ecode2
)) {
29952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemState" "', expected argument " "2"" of type '" "long""'");
29954 arg2
= static_cast< long >(val2
);
29955 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
29956 if (!SWIG_IsOK(ecode3
)) {
29957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemState" "', expected argument " "3"" of type '" "long""'");
29959 arg3
= static_cast< long >(val3
);
29960 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
29961 if (!SWIG_IsOK(ecode4
)) {
29962 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemState" "', expected argument " "4"" of type '" "long""'");
29964 arg4
= static_cast< long >(val4
);
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29980 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29981 PyObject
*resultobj
= 0;
29982 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
29985 int arg4
= (int) -1 ;
29995 PyObject
* obj0
= 0 ;
29996 PyObject
* obj1
= 0 ;
29997 PyObject
* obj2
= 0 ;
29998 PyObject
* obj3
= 0 ;
29999 char * kwnames
[] = {
30000 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
30003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30005 if (!SWIG_IsOK(res1
)) {
30006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30008 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30009 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30010 if (!SWIG_IsOK(ecode2
)) {
30011 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "2"" of type '" "long""'");
30013 arg2
= static_cast< long >(val2
);
30014 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30015 if (!SWIG_IsOK(ecode3
)) {
30016 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
30018 arg3
= static_cast< int >(val3
);
30020 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30021 if (!SWIG_IsOK(ecode4
)) {
30022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
30024 arg4
= static_cast< int >(val4
);
30027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30028 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
30029 wxPyEndAllowThreads(__tstate
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30041 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30042 PyObject
*resultobj
= 0;
30043 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30056 PyObject
* obj0
= 0 ;
30057 PyObject
* obj1
= 0 ;
30058 PyObject
* obj2
= 0 ;
30059 PyObject
* obj3
= 0 ;
30060 char * kwnames
[] = {
30061 (char *) "self",(char *) "item",(char *) "column",(char *) "image", NULL
30064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemColumnImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30066 if (!SWIG_IsOK(res1
)) {
30067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30069 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30070 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30071 if (!SWIG_IsOK(ecode2
)) {
30072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "2"" of type '" "long""'");
30074 arg2
= static_cast< long >(val2
);
30075 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30076 if (!SWIG_IsOK(ecode3
)) {
30077 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "3"" of type '" "long""'");
30079 arg3
= static_cast< long >(val3
);
30080 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30081 if (!SWIG_IsOK(ecode4
)) {
30082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_SetItemColumnImage" "', expected argument " "4"" of type '" "int""'");
30084 arg4
= static_cast< int >(val4
);
30086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30087 result
= (bool)(arg1
)->SetItemColumnImage(arg2
,arg3
,arg4
);
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30100 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30101 PyObject
*resultobj
= 0;
30102 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30109 PyObject
* obj0
= 0 ;
30110 PyObject
* obj1
= 0 ;
30111 char * kwnames
[] = {
30112 (char *) "self",(char *) "item", NULL
30115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30117 if (!SWIG_IsOK(res1
)) {
30118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30120 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30121 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30122 if (!SWIG_IsOK(ecode2
)) {
30123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemText" "', expected argument " "2"" of type '" "long""'");
30125 arg2
= static_cast< long >(val2
);
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30145 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30146 PyObject
*resultobj
= 0;
30147 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30149 wxString
*arg3
= 0 ;
30154 bool temp3
= false ;
30155 PyObject
* obj0
= 0 ;
30156 PyObject
* obj1
= 0 ;
30157 PyObject
* obj2
= 0 ;
30158 char * kwnames
[] = {
30159 (char *) "self",(char *) "item",(char *) "str", NULL
30162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30164 if (!SWIG_IsOK(res1
)) {
30165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30167 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30168 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30169 if (!SWIG_IsOK(ecode2
)) {
30170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemText" "', expected argument " "2"" of type '" "long""'");
30172 arg2
= static_cast< long >(val2
);
30174 arg3
= wxString_in_helper(obj2
);
30175 if (arg3
== NULL
) SWIG_fail
;
30179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30180 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 resultobj
= SWIG_Py_Void();
30199 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30200 PyObject
*resultobj
= 0;
30201 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30208 PyObject
* obj0
= 0 ;
30209 PyObject
* obj1
= 0 ;
30210 char * kwnames
[] = {
30211 (char *) "self",(char *) "item", NULL
30214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30216 if (!SWIG_IsOK(res1
)) {
30217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30219 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30220 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30221 if (!SWIG_IsOK(ecode2
)) {
30222 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemData" "', expected argument " "2"" of type '" "long""'");
30224 arg2
= static_cast< long >(val2
);
30226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30227 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
30228 wxPyEndAllowThreads(__tstate
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30231 resultobj
= SWIG_From_long(static_cast< long >(result
));
30238 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30239 PyObject
*resultobj
= 0;
30240 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30250 PyObject
* obj0
= 0 ;
30251 PyObject
* obj1
= 0 ;
30252 PyObject
* obj2
= 0 ;
30253 char * kwnames
[] = {
30254 (char *) "self",(char *) "item",(char *) "data", NULL
30257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30259 if (!SWIG_IsOK(res1
)) {
30260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30262 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30263 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30264 if (!SWIG_IsOK(ecode2
)) {
30265 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemData" "', expected argument " "2"" of type '" "long""'");
30267 arg2
= static_cast< long >(val2
);
30268 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
30269 if (!SWIG_IsOK(ecode3
)) {
30270 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemData" "', expected argument " "3"" of type '" "long""'");
30272 arg3
= static_cast< long >(val3
);
30274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30275 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
30276 wxPyEndAllowThreads(__tstate
);
30277 if (PyErr_Occurred()) SWIG_fail
;
30280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30288 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
= 0;
30290 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30297 PyObject
* obj0
= 0 ;
30298 PyObject
* obj1
= 0 ;
30299 char * kwnames
[] = {
30300 (char *) "self",(char *) "item", NULL
30303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30305 if (!SWIG_IsOK(res1
)) {
30306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30308 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30309 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30310 if (!SWIG_IsOK(ecode2
)) {
30311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemPosition" "', expected argument " "2"" of type '" "long""'");
30313 arg2
= static_cast< long >(val2
);
30315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30316 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
30317 wxPyEndAllowThreads(__tstate
);
30318 if (PyErr_Occurred()) SWIG_fail
;
30320 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30327 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30328 PyObject
*resultobj
= 0;
30329 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30331 int arg3
= (int) wxLIST_RECT_BOUNDS
;
30339 PyObject
* obj0
= 0 ;
30340 PyObject
* obj1
= 0 ;
30341 PyObject
* obj2
= 0 ;
30342 char * kwnames
[] = {
30343 (char *) "self",(char *) "item",(char *) "code", NULL
30346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30348 if (!SWIG_IsOK(res1
)) {
30349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30351 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30352 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30353 if (!SWIG_IsOK(ecode2
)) {
30354 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "2"" of type '" "long""'");
30356 arg2
= static_cast< long >(val2
);
30358 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30359 if (!SWIG_IsOK(ecode3
)) {
30360 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetItemRect" "', expected argument " "3"" of type '" "int""'");
30362 arg3
= static_cast< int >(val3
);
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
30367 wxPyEndAllowThreads(__tstate
);
30368 if (PyErr_Occurred()) SWIG_fail
;
30370 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30377 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30378 PyObject
*resultobj
= 0;
30379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30381 wxPoint
*arg3
= 0 ;
30388 PyObject
* obj0
= 0 ;
30389 PyObject
* obj1
= 0 ;
30390 PyObject
* obj2
= 0 ;
30391 char * kwnames
[] = {
30392 (char *) "self",(char *) "item",(char *) "pos", NULL
30395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30397 if (!SWIG_IsOK(res1
)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30400 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30401 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30402 if (!SWIG_IsOK(ecode2
)) {
30403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemPosition" "', expected argument " "2"" of type '" "long""'");
30405 arg2
= static_cast< long >(val2
);
30408 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30412 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
30413 wxPyEndAllowThreads(__tstate
);
30414 if (PyErr_Occurred()) SWIG_fail
;
30417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30425 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30426 PyObject
*resultobj
= 0;
30427 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30431 PyObject
*swig_obj
[1] ;
30433 if (!args
) SWIG_fail
;
30434 swig_obj
[0] = args
;
30435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30436 if (!SWIG_IsOK(res1
)) {
30437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30439 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30442 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
30443 wxPyEndAllowThreads(__tstate
);
30444 if (PyErr_Occurred()) SWIG_fail
;
30446 resultobj
= SWIG_From_int(static_cast< int >(result
));
30453 SWIGINTERN PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30454 PyObject
*resultobj
= 0;
30455 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30459 PyObject
*swig_obj
[1] ;
30461 if (!args
) SWIG_fail
;
30462 swig_obj
[0] = args
;
30463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30464 if (!SWIG_IsOK(res1
)) {
30465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30467 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30470 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
30471 wxPyEndAllowThreads(__tstate
);
30472 if (PyErr_Occurred()) SWIG_fail
;
30474 resultobj
= SWIG_From_int(static_cast< int >(result
));
30481 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30482 PyObject
*resultobj
= 0;
30483 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30487 PyObject
*swig_obj
[1] ;
30489 if (!args
) SWIG_fail
;
30490 swig_obj
[0] = args
;
30491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30492 if (!SWIG_IsOK(res1
)) {
30493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30495 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30498 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
30499 wxPyEndAllowThreads(__tstate
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30502 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30509 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30510 PyObject
*resultobj
= 0;
30511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30513 bool arg3
= (bool) false ;
30520 PyObject
* obj0
= 0 ;
30521 PyObject
* obj1
= 0 ;
30522 PyObject
* obj2
= 0 ;
30523 char * kwnames
[] = {
30524 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
30527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30529 if (!SWIG_IsOK(res1
)) {
30530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30532 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30534 if (!SWIG_IsOK(ecode2
)) {
30535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "2"" of type '" "int""'");
30537 arg2
= static_cast< int >(val2
);
30539 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30540 if (!SWIG_IsOK(ecode3
)) {
30541 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetItemSpacing" "', expected argument " "3"" of type '" "bool""'");
30543 arg3
= static_cast< bool >(val3
);
30546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30547 (arg1
)->SetItemSpacing(arg2
,arg3
);
30548 wxPyEndAllowThreads(__tstate
);
30549 if (PyErr_Occurred()) SWIG_fail
;
30551 resultobj
= SWIG_Py_Void();
30558 SWIGINTERN PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30559 PyObject
*resultobj
= 0;
30560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30564 PyObject
*swig_obj
[1] ;
30566 if (!args
) SWIG_fail
;
30567 swig_obj
[0] = args
;
30568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30569 if (!SWIG_IsOK(res1
)) {
30570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetSelectedItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30572 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30575 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 resultobj
= SWIG_From_int(static_cast< int >(result
));
30586 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30587 PyObject
*resultobj
= 0;
30588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30592 PyObject
*swig_obj
[1] ;
30594 if (!args
) SWIG_fail
;
30595 swig_obj
[0] = args
;
30596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30597 if (!SWIG_IsOK(res1
)) {
30598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30600 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30603 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
30604 wxPyEndAllowThreads(__tstate
);
30605 if (PyErr_Occurred()) SWIG_fail
;
30607 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
30614 SWIGINTERN PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30615 PyObject
*resultobj
= 0;
30616 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30617 wxColour
*arg2
= 0 ;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 char * kwnames
[] = {
30624 (char *) "self",(char *) "col", NULL
30627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30629 if (!SWIG_IsOK(res1
)) {
30630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30632 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30635 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30639 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
30640 wxPyEndAllowThreads(__tstate
);
30641 if (PyErr_Occurred()) SWIG_fail
;
30643 resultobj
= SWIG_Py_Void();
30650 SWIGINTERN PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30651 PyObject
*resultobj
= 0;
30652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30656 PyObject
*swig_obj
[1] ;
30658 if (!args
) SWIG_fail
;
30659 swig_obj
[0] = args
;
30660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30661 if (!SWIG_IsOK(res1
)) {
30662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetTopItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30664 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30667 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
30668 wxPyEndAllowThreads(__tstate
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30671 resultobj
= SWIG_From_long(static_cast< long >(result
));
30678 SWIGINTERN PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30679 PyObject
*resultobj
= 0;
30680 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30682 bool arg3
= (bool) true ;
30689 PyObject
* obj0
= 0 ;
30690 PyObject
* obj1
= 0 ;
30691 PyObject
* obj2
= 0 ;
30692 char * kwnames
[] = {
30693 (char *) "self",(char *) "style",(char *) "add", NULL
30696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30698 if (!SWIG_IsOK(res1
)) {
30699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30701 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30702 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30703 if (!SWIG_IsOK(ecode2
)) {
30704 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "2"" of type '" "long""'");
30706 arg2
= static_cast< long >(val2
);
30708 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
30709 if (!SWIG_IsOK(ecode3
)) {
30710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetSingleStyle" "', expected argument " "3"" of type '" "bool""'");
30712 arg3
= static_cast< bool >(val3
);
30715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30716 (arg1
)->SetSingleStyle(arg2
,arg3
);
30717 wxPyEndAllowThreads(__tstate
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= SWIG_Py_Void();
30727 SWIGINTERN PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30728 PyObject
*resultobj
= 0;
30729 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30731 int arg3
= (int) wxLIST_NEXT_ALL
;
30732 int arg4
= (int) wxLIST_STATE_DONTCARE
;
30742 PyObject
* obj0
= 0 ;
30743 PyObject
* obj1
= 0 ;
30744 PyObject
* obj2
= 0 ;
30745 PyObject
* obj3
= 0 ;
30746 char * kwnames
[] = {
30747 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
30750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30752 if (!SWIG_IsOK(res1
)) {
30753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30755 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30756 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30757 if (!SWIG_IsOK(ecode2
)) {
30758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "2"" of type '" "long""'");
30760 arg2
= static_cast< long >(val2
);
30762 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30763 if (!SWIG_IsOK(ecode3
)) {
30764 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "3"" of type '" "int""'");
30766 arg3
= static_cast< int >(val3
);
30769 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30770 if (!SWIG_IsOK(ecode4
)) {
30771 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_GetNextItem" "', expected argument " "4"" of type '" "int""'");
30773 arg4
= static_cast< int >(val4
);
30776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30777 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
30778 wxPyEndAllowThreads(__tstate
);
30779 if (PyErr_Occurred()) SWIG_fail
;
30781 resultobj
= SWIG_From_long(static_cast< long >(result
));
30788 SWIGINTERN PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
= 0;
30790 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30792 wxImageList
*result
= 0 ;
30797 PyObject
* obj0
= 0 ;
30798 PyObject
* obj1
= 0 ;
30799 char * kwnames
[] = {
30800 (char *) "self",(char *) "which", NULL
30803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30805 if (!SWIG_IsOK(res1
)) {
30806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30808 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30810 if (!SWIG_IsOK(ecode2
)) {
30811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetImageList" "', expected argument " "2"" of type '" "int""'");
30813 arg2
= static_cast< int >(val2
);
30815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30816 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
30817 wxPyEndAllowThreads(__tstate
);
30818 if (PyErr_Occurred()) SWIG_fail
;
30821 resultobj
= wxPyMake_wxObject(result
, (bool)0);
30829 SWIGINTERN PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
= 0;
30831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30832 wxImageList
*arg2
= (wxImageList
*) 0 ;
30840 PyObject
* obj0
= 0 ;
30841 PyObject
* obj1
= 0 ;
30842 PyObject
* obj2
= 0 ;
30843 char * kwnames
[] = {
30844 (char *) "self",(char *) "imageList",(char *) "which", NULL
30847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30849 if (!SWIG_IsOK(res1
)) {
30850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30852 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
30854 if (!SWIG_IsOK(res2
)) {
30855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30857 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
30858 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30859 if (!SWIG_IsOK(ecode3
)) {
30860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_SetImageList" "', expected argument " "3"" of type '" "int""'");
30862 arg3
= static_cast< int >(val3
);
30864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30865 (arg1
)->SetImageList(arg2
,arg3
);
30866 wxPyEndAllowThreads(__tstate
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= SWIG_Py_Void();
30876 SWIGINTERN PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
= 0;
30878 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30879 wxImageList
*arg2
= (wxImageList
*) 0 ;
30886 PyObject
* obj0
= 0 ;
30887 PyObject
* obj1
= 0 ;
30888 PyObject
* obj2
= 0 ;
30889 char * kwnames
[] = {
30890 (char *) "self",(char *) "imageList",(char *) "which", NULL
30893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30895 if (!SWIG_IsOK(res1
)) {
30896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
30898 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30899 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
30900 if (!SWIG_IsOK(res2
)) {
30901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
30903 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30904 if (!SWIG_IsOK(ecode3
)) {
30905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_AssignImageList" "', expected argument " "3"" of type '" "int""'");
30907 arg3
= static_cast< int >(val3
);
30909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30910 (arg1
)->AssignImageList(arg2
,arg3
);
30911 wxPyEndAllowThreads(__tstate
);
30912 if (PyErr_Occurred()) SWIG_fail
;
30914 resultobj
= SWIG_Py_Void();
30921 SWIGINTERN PyObject
*_wrap_ListCtrl_InReportView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30922 PyObject
*resultobj
= 0;
30923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30927 PyObject
*swig_obj
[1] ;
30929 if (!args
) SWIG_fail
;
30930 swig_obj
[0] = args
;
30931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30932 if (!SWIG_IsOK(res1
)) {
30933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InReportView" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30935 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
30939 wxPyEndAllowThreads(__tstate
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30951 SWIGINTERN PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30952 PyObject
*resultobj
= 0;
30953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30957 PyObject
*swig_obj
[1] ;
30959 if (!args
) SWIG_fail
;
30960 swig_obj
[0] = args
;
30961 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30962 if (!SWIG_IsOK(res1
)) {
30963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_IsVirtual" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
30965 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
30967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30968 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
30969 wxPyEndAllowThreads(__tstate
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30981 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30982 PyObject
*resultobj
= 0;
30983 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
30989 PyObject
* obj0
= 0 ;
30990 PyObject
* obj1
= 0 ;
30991 char * kwnames
[] = {
30992 (char *) "self",(char *) "item", NULL
30995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
30997 if (!SWIG_IsOK(res1
)) {
30998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31000 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31001 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31002 if (!SWIG_IsOK(ecode2
)) {
31003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItem" "', expected argument " "2"" of type '" "long""'");
31005 arg2
= static_cast< long >(val2
);
31007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31008 (arg1
)->RefreshItem(arg2
);
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31012 resultobj
= SWIG_Py_Void();
31019 SWIGINTERN PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31020 PyObject
*resultobj
= 0;
31021 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31030 PyObject
* obj0
= 0 ;
31031 PyObject
* obj1
= 0 ;
31032 PyObject
* obj2
= 0 ;
31033 char * kwnames
[] = {
31034 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
31037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31039 if (!SWIG_IsOK(res1
)) {
31040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31042 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31043 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31044 if (!SWIG_IsOK(ecode2
)) {
31045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "2"" of type '" "long""'");
31047 arg2
= static_cast< long >(val2
);
31048 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31049 if (!SWIG_IsOK(ecode3
)) {
31050 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_RefreshItems" "', expected argument " "3"" of type '" "long""'");
31052 arg3
= static_cast< long >(val3
);
31054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31055 (arg1
)->RefreshItems(arg2
,arg3
);
31056 wxPyEndAllowThreads(__tstate
);
31057 if (PyErr_Occurred()) SWIG_fail
;
31059 resultobj
= SWIG_Py_Void();
31066 SWIGINTERN PyObject
*_wrap_ListCtrl_Arrange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31067 PyObject
*resultobj
= 0;
31068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31069 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
31075 PyObject
* obj0
= 0 ;
31076 PyObject
* obj1
= 0 ;
31077 char * kwnames
[] = {
31078 (char *) "self",(char *) "flag", NULL
31081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31083 if (!SWIG_IsOK(res1
)) {
31084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_Arrange" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31086 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31089 if (!SWIG_IsOK(ecode2
)) {
31090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_Arrange" "', expected argument " "2"" of type '" "int""'");
31092 arg2
= static_cast< int >(val2
);
31095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31096 result
= (bool)(arg1
)->Arrange(arg2
);
31097 wxPyEndAllowThreads(__tstate
);
31098 if (PyErr_Occurred()) SWIG_fail
;
31101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31109 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31110 PyObject
*resultobj
= 0;
31111 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31118 PyObject
* obj0
= 0 ;
31119 PyObject
* obj1
= 0 ;
31120 char * kwnames
[] = {
31121 (char *) "self",(char *) "item", NULL
31124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31126 if (!SWIG_IsOK(res1
)) {
31127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31129 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31130 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31131 if (!SWIG_IsOK(ecode2
)) {
31132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteItem" "', expected argument " "2"" of type '" "long""'");
31134 arg2
= static_cast< long >(val2
);
31136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31137 result
= (bool)(arg1
)->DeleteItem(arg2
);
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31150 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31151 PyObject
*resultobj
= 0;
31152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31156 PyObject
*swig_obj
[1] ;
31158 if (!args
) SWIG_fail
;
31159 swig_obj
[0] = args
;
31160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31161 if (!SWIG_IsOK(res1
)) {
31162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31164 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31167 result
= (bool)(arg1
)->DeleteAllItems();
31168 wxPyEndAllowThreads(__tstate
);
31169 if (PyErr_Occurred()) SWIG_fail
;
31172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31180 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31181 PyObject
*resultobj
= 0;
31182 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31189 PyObject
* obj0
= 0 ;
31190 PyObject
* obj1
= 0 ;
31191 char * kwnames
[] = {
31192 (char *) "self",(char *) "col", NULL
31195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31197 if (!SWIG_IsOK(res1
)) {
31198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31200 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31202 if (!SWIG_IsOK(ecode2
)) {
31203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_DeleteColumn" "', expected argument " "2"" of type '" "int""'");
31205 arg2
= static_cast< int >(val2
);
31207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31208 result
= (bool)(arg1
)->DeleteColumn(arg2
);
31209 wxPyEndAllowThreads(__tstate
);
31210 if (PyErr_Occurred()) SWIG_fail
;
31213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31221 SWIGINTERN PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31222 PyObject
*resultobj
= 0;
31223 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31227 PyObject
*swig_obj
[1] ;
31229 if (!args
) SWIG_fail
;
31230 swig_obj
[0] = args
;
31231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31232 if (!SWIG_IsOK(res1
)) {
31233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_DeleteAllColumns" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31235 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31238 result
= (bool)(arg1
)->DeleteAllColumns();
31239 wxPyEndAllowThreads(__tstate
);
31240 if (PyErr_Occurred()) SWIG_fail
;
31243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31251 SWIGINTERN PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31252 PyObject
*resultobj
= 0;
31253 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31256 PyObject
*swig_obj
[1] ;
31258 if (!args
) SWIG_fail
;
31259 swig_obj
[0] = args
;
31260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31261 if (!SWIG_IsOK(res1
)) {
31262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ClearAll" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31264 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31267 (arg1
)->ClearAll();
31268 wxPyEndAllowThreads(__tstate
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31271 resultobj
= SWIG_Py_Void();
31278 SWIGINTERN PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31279 PyObject
*resultobj
= 0;
31280 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31286 PyObject
* obj0
= 0 ;
31287 PyObject
* obj1
= 0 ;
31288 char * kwnames
[] = {
31289 (char *) "self",(char *) "item", NULL
31292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31294 if (!SWIG_IsOK(res1
)) {
31295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31297 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31298 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31299 if (!SWIG_IsOK(ecode2
)) {
31300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EditLabel" "', expected argument " "2"" of type '" "long""'");
31302 arg2
= static_cast< long >(val2
);
31304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31305 (arg1
)->EditLabel(arg2
);
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31309 resultobj
= SWIG_Py_Void();
31316 SWIGINTERN PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31317 PyObject
*resultobj
= 0;
31318 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31325 PyObject
* obj0
= 0 ;
31326 PyObject
* obj1
= 0 ;
31327 char * kwnames
[] = {
31328 (char *) "self",(char *) "item", NULL
31331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31333 if (!SWIG_IsOK(res1
)) {
31334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31336 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31337 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31338 if (!SWIG_IsOK(ecode2
)) {
31339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "long""'");
31341 arg2
= static_cast< long >(val2
);
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31344 result
= (bool)(arg1
)->EnsureVisible(arg2
);
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31357 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31358 PyObject
*resultobj
= 0;
31359 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31361 wxString
*arg3
= 0 ;
31362 bool arg4
= (bool) false ;
31368 bool temp3
= false ;
31371 PyObject
* obj0
= 0 ;
31372 PyObject
* obj1
= 0 ;
31373 PyObject
* obj2
= 0 ;
31374 PyObject
* obj3
= 0 ;
31375 char * kwnames
[] = {
31376 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
31379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31381 if (!SWIG_IsOK(res1
)) {
31382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31384 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31385 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31386 if (!SWIG_IsOK(ecode2
)) {
31387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItem" "', expected argument " "2"" of type '" "long""'");
31389 arg2
= static_cast< long >(val2
);
31391 arg3
= wxString_in_helper(obj2
);
31392 if (arg3
== NULL
) SWIG_fail
;
31396 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
31397 if (!SWIG_IsOK(ecode4
)) {
31398 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItem" "', expected argument " "4"" of type '" "bool""'");
31400 arg4
= static_cast< bool >(val4
);
31403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31404 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
31405 wxPyEndAllowThreads(__tstate
);
31406 if (PyErr_Occurred()) SWIG_fail
;
31408 resultobj
= SWIG_From_long(static_cast< long >(result
));
31423 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31424 PyObject
*resultobj
= 0;
31425 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31435 PyObject
* obj0
= 0 ;
31436 PyObject
* obj1
= 0 ;
31437 PyObject
* obj2
= 0 ;
31438 char * kwnames
[] = {
31439 (char *) "self",(char *) "start",(char *) "data", NULL
31442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31444 if (!SWIG_IsOK(res1
)) {
31445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemData" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31447 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31448 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31449 if (!SWIG_IsOK(ecode2
)) {
31450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemData" "', expected argument " "2"" of type '" "long""'");
31452 arg2
= static_cast< long >(val2
);
31453 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
31454 if (!SWIG_IsOK(ecode3
)) {
31455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_FindItemData" "', expected argument " "3"" of type '" "long""'");
31457 arg3
= static_cast< long >(val3
);
31459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31460 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
31461 wxPyEndAllowThreads(__tstate
);
31462 if (PyErr_Occurred()) SWIG_fail
;
31464 resultobj
= SWIG_From_long(static_cast< long >(result
));
31471 SWIGINTERN PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31472 PyObject
*resultobj
= 0;
31473 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31475 wxPoint
*arg3
= 0 ;
31485 PyObject
* obj0
= 0 ;
31486 PyObject
* obj1
= 0 ;
31487 PyObject
* obj2
= 0 ;
31488 PyObject
* obj3
= 0 ;
31489 char * kwnames
[] = {
31490 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
31493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31495 if (!SWIG_IsOK(res1
)) {
31496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31498 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31499 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31500 if (!SWIG_IsOK(ecode2
)) {
31501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "2"" of type '" "long""'");
31503 arg2
= static_cast< long >(val2
);
31506 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31508 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31509 if (!SWIG_IsOK(ecode4
)) {
31510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_FindItemAtPos" "', expected argument " "4"" of type '" "int""'");
31512 arg4
= static_cast< int >(val4
);
31514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31515 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
31516 wxPyEndAllowThreads(__tstate
);
31517 if (PyErr_Occurred()) SWIG_fail
;
31519 resultobj
= SWIG_From_long(static_cast< long >(result
));
31526 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31527 PyObject
*resultobj
= 0;
31528 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31529 wxPoint
*arg2
= 0 ;
31536 int res3
= SWIG_TMPOBJ
;
31537 PyObject
* obj0
= 0 ;
31538 PyObject
* obj1
= 0 ;
31539 char * kwnames
[] = {
31540 (char *) "self",(char *) "point", NULL
31544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31546 if (!SWIG_IsOK(res1
)) {
31547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31549 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31552 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
31557 wxPyEndAllowThreads(__tstate
);
31558 if (PyErr_Occurred()) SWIG_fail
;
31560 resultobj
= SWIG_From_long(static_cast< long >(result
));
31561 if (SWIG_IsTmpObj(res3
)) {
31562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31564 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31573 SWIGINTERN PyObject
*_wrap_ListCtrl_HitTestSubItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31574 PyObject
*resultobj
= 0;
31575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31576 wxPoint
*arg2
= 0 ;
31578 long *arg4
= (long *) 0 ;
31584 int res3
= SWIG_TMPOBJ
;
31586 int res4
= SWIG_TMPOBJ
;
31587 PyObject
* obj0
= 0 ;
31588 PyObject
* obj1
= 0 ;
31589 char * kwnames
[] = {
31590 (char *) "self",(char *) "point", NULL
31595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTestSubItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31597 if (!SWIG_IsOK(res1
)) {
31598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_HitTestSubItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31600 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31603 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31607 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
,arg4
);
31608 wxPyEndAllowThreads(__tstate
);
31609 if (PyErr_Occurred()) SWIG_fail
;
31611 resultobj
= SWIG_From_long(static_cast< long >(result
));
31612 if (SWIG_IsTmpObj(res3
)) {
31613 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31615 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31616 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31618 if (SWIG_IsTmpObj(res4
)) {
31619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg4
)));
31621 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, new_flags
));
31630 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31631 PyObject
*resultobj
= 0;
31632 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31633 wxListItem
*arg2
= 0 ;
31639 PyObject
* obj0
= 0 ;
31640 PyObject
* obj1
= 0 ;
31641 char * kwnames
[] = {
31642 (char *) "self",(char *) "info", NULL
31645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31647 if (!SWIG_IsOK(res1
)) {
31648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31650 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31651 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxListItem
, 0 );
31652 if (!SWIG_IsOK(res2
)) {
31653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31656 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxListItem &""'");
31658 arg2
= reinterpret_cast< wxListItem
* >(argp2
);
31660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31661 result
= (long)(arg1
)->InsertItem(*arg2
);
31662 wxPyEndAllowThreads(__tstate
);
31663 if (PyErr_Occurred()) SWIG_fail
;
31665 resultobj
= SWIG_From_long(static_cast< long >(result
));
31672 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31673 PyObject
*resultobj
= 0;
31674 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31676 wxString
*arg3
= 0 ;
31677 int arg4
= (int) -1 ;
31683 bool temp3
= false ;
31686 PyObject
* obj0
= 0 ;
31687 PyObject
* obj1
= 0 ;
31688 PyObject
* obj2
= 0 ;
31689 PyObject
* obj3
= 0 ;
31690 char * kwnames
[] = {
31691 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31696 if (!SWIG_IsOK(res1
)) {
31697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31699 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31700 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31701 if (!SWIG_IsOK(ecode2
)) {
31702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "2"" of type '" "long""'");
31704 arg2
= static_cast< long >(val2
);
31706 arg3
= wxString_in_helper(obj2
);
31707 if (arg3
== NULL
) SWIG_fail
;
31711 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31712 if (!SWIG_IsOK(ecode4
)) {
31713 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertStringItem" "', expected argument " "4"" of type '" "int""'");
31715 arg4
= static_cast< int >(val4
);
31718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31719 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31720 wxPyEndAllowThreads(__tstate
);
31721 if (PyErr_Occurred()) SWIG_fail
;
31723 resultobj
= SWIG_From_long(static_cast< long >(result
));
31738 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31739 PyObject
*resultobj
= 0;
31740 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31750 PyObject
* obj0
= 0 ;
31751 PyObject
* obj1
= 0 ;
31752 PyObject
* obj2
= 0 ;
31753 char * kwnames
[] = {
31754 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
31757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31759 if (!SWIG_IsOK(res1
)) {
31760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31762 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31763 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31764 if (!SWIG_IsOK(ecode2
)) {
31765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "2"" of type '" "long""'");
31767 arg2
= static_cast< long >(val2
);
31768 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31769 if (!SWIG_IsOK(ecode3
)) {
31770 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_InsertImageItem" "', expected argument " "3"" of type '" "int""'");
31772 arg3
= static_cast< int >(val3
);
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31775 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
31776 wxPyEndAllowThreads(__tstate
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31779 resultobj
= SWIG_From_long(static_cast< long >(result
));
31786 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31787 PyObject
*resultobj
= 0;
31788 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31790 wxString
*arg3
= 0 ;
31797 bool temp3
= false ;
31800 PyObject
* obj0
= 0 ;
31801 PyObject
* obj1
= 0 ;
31802 PyObject
* obj2
= 0 ;
31803 PyObject
* obj3
= 0 ;
31804 char * kwnames
[] = {
31805 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
31808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31810 if (!SWIG_IsOK(res1
)) {
31811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31813 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31814 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31815 if (!SWIG_IsOK(ecode2
)) {
31816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "2"" of type '" "long""'");
31818 arg2
= static_cast< long >(val2
);
31820 arg3
= wxString_in_helper(obj2
);
31821 if (arg3
== NULL
) SWIG_fail
;
31824 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31825 if (!SWIG_IsOK(ecode4
)) {
31826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertImageStringItem" "', expected argument " "4"" of type '" "int""'");
31828 arg4
= static_cast< int >(val4
);
31830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31831 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
31832 wxPyEndAllowThreads(__tstate
);
31833 if (PyErr_Occurred()) SWIG_fail
;
31835 resultobj
= SWIG_From_long(static_cast< long >(result
));
31850 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumnItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31851 PyObject
*resultobj
= 0;
31852 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31854 wxListItem
*arg3
= 0 ;
31862 PyObject
* obj0
= 0 ;
31863 PyObject
* obj1
= 0 ;
31864 PyObject
* obj2
= 0 ;
31865 char * kwnames
[] = {
31866 (char *) "self",(char *) "col",(char *) "info", NULL
31869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31871 if (!SWIG_IsOK(res1
)) {
31872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31874 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31875 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31876 if (!SWIG_IsOK(ecode2
)) {
31877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "2"" of type '" "long""'");
31879 arg2
= static_cast< long >(val2
);
31880 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxListItem
, 0 );
31881 if (!SWIG_IsOK(res3
)) {
31882 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_InsertColumnItem" "', expected argument " "3"" of type '" "wxListItem &""'");
31887 arg3
= reinterpret_cast< wxListItem
* >(argp3
);
31889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31890 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
31891 wxPyEndAllowThreads(__tstate
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31894 resultobj
= SWIG_From_long(static_cast< long >(result
));
31901 SWIGINTERN PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31902 PyObject
*resultobj
= 0;
31903 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31905 wxString
*arg3
= 0 ;
31906 int arg4
= (int) wxLIST_FORMAT_LEFT
;
31907 int arg5
= (int) -1 ;
31913 bool temp3
= false ;
31918 PyObject
* obj0
= 0 ;
31919 PyObject
* obj1
= 0 ;
31920 PyObject
* obj2
= 0 ;
31921 PyObject
* obj3
= 0 ;
31922 PyObject
* obj4
= 0 ;
31923 char * kwnames
[] = {
31924 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
31927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31929 if (!SWIG_IsOK(res1
)) {
31930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31932 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31933 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31934 if (!SWIG_IsOK(ecode2
)) {
31935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "2"" of type '" "long""'");
31937 arg2
= static_cast< long >(val2
);
31939 arg3
= wxString_in_helper(obj2
);
31940 if (arg3
== NULL
) SWIG_fail
;
31944 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31945 if (!SWIG_IsOK(ecode4
)) {
31946 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
31948 arg4
= static_cast< int >(val4
);
31951 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31952 if (!SWIG_IsOK(ecode5
)) {
31953 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
31955 arg5
= static_cast< int >(val5
);
31958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31959 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31963 resultobj
= SWIG_From_long(static_cast< long >(result
));
31978 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31979 PyObject
*resultobj
= 0;
31980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
31986 PyObject
* obj0
= 0 ;
31987 PyObject
* obj1
= 0 ;
31988 char * kwnames
[] = {
31989 (char *) "self",(char *) "count", NULL
31992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
31994 if (!SWIG_IsOK(res1
)) {
31995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
31997 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
31998 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31999 if (!SWIG_IsOK(ecode2
)) {
32000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemCount" "', expected argument " "2"" of type '" "long""'");
32002 arg2
= static_cast< long >(val2
);
32004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32005 (arg1
)->SetItemCount(arg2
);
32006 wxPyEndAllowThreads(__tstate
);
32007 if (PyErr_Occurred()) SWIG_fail
;
32009 resultobj
= SWIG_Py_Void();
32016 SWIGINTERN PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32017 PyObject
*resultobj
= 0;
32018 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32028 PyObject
* obj0
= 0 ;
32029 PyObject
* obj1
= 0 ;
32030 PyObject
* obj2
= 0 ;
32031 char * kwnames
[] = {
32032 (char *) "self",(char *) "dx",(char *) "dy", NULL
32035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32037 if (!SWIG_IsOK(res1
)) {
32038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_ScrollList" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32040 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32042 if (!SWIG_IsOK(ecode2
)) {
32043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_ScrollList" "', expected argument " "2"" of type '" "int""'");
32045 arg2
= static_cast< int >(val2
);
32046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32047 if (!SWIG_IsOK(ecode3
)) {
32048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListCtrl_ScrollList" "', expected argument " "3"" of type '" "int""'");
32050 arg3
= static_cast< int >(val3
);
32052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32053 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
32054 wxPyEndAllowThreads(__tstate
);
32055 if (PyErr_Occurred()) SWIG_fail
;
32058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32066 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32067 PyObject
*resultobj
= 0;
32068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32070 wxColour
*arg3
= 0 ;
32076 PyObject
* obj0
= 0 ;
32077 PyObject
* obj1
= 0 ;
32078 PyObject
* obj2
= 0 ;
32079 char * kwnames
[] = {
32080 (char *) "self",(char *) "item",(char *) "col", NULL
32083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32085 if (!SWIG_IsOK(res1
)) {
32086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32088 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32089 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32090 if (!SWIG_IsOK(ecode2
)) {
32091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32093 arg2
= static_cast< long >(val2
);
32096 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32100 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
32101 wxPyEndAllowThreads(__tstate
);
32102 if (PyErr_Occurred()) SWIG_fail
;
32104 resultobj
= SWIG_Py_Void();
32111 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32112 PyObject
*resultobj
= 0;
32113 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32120 PyObject
* obj0
= 0 ;
32121 PyObject
* obj1
= 0 ;
32122 char * kwnames
[] = {
32123 (char *) "self",(char *) "item", NULL
32126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32128 if (!SWIG_IsOK(res1
)) {
32129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32131 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32132 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32133 if (!SWIG_IsOK(ecode2
)) {
32134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "long""'");
32136 arg2
= static_cast< long >(val2
);
32138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32139 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
32140 wxPyEndAllowThreads(__tstate
);
32141 if (PyErr_Occurred()) SWIG_fail
;
32143 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32150 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32151 PyObject
*resultobj
= 0;
32152 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32154 wxColour
*arg3
= 0 ;
32160 PyObject
* obj0
= 0 ;
32161 PyObject
* obj1
= 0 ;
32162 PyObject
* obj2
= 0 ;
32163 char * kwnames
[] = {
32164 (char *) "self",(char *) "item",(char *) "col", NULL
32167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32169 if (!SWIG_IsOK(res1
)) {
32170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32172 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32173 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32174 if (!SWIG_IsOK(ecode2
)) {
32175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32177 arg2
= static_cast< long >(val2
);
32180 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
32183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32184 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
32185 wxPyEndAllowThreads(__tstate
);
32186 if (PyErr_Occurred()) SWIG_fail
;
32188 resultobj
= SWIG_Py_Void();
32195 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32196 PyObject
*resultobj
= 0;
32197 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32204 PyObject
* obj0
= 0 ;
32205 PyObject
* obj1
= 0 ;
32206 char * kwnames
[] = {
32207 (char *) "self",(char *) "item", NULL
32210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32212 if (!SWIG_IsOK(res1
)) {
32213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32215 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32216 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32217 if (!SWIG_IsOK(ecode2
)) {
32218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "long""'");
32220 arg2
= static_cast< long >(val2
);
32222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32223 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
32224 wxPyEndAllowThreads(__tstate
);
32225 if (PyErr_Occurred()) SWIG_fail
;
32227 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
32234 SWIGINTERN PyObject
*_wrap_ListCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32235 PyObject
*resultobj
= 0;
32236 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32245 PyObject
* obj0
= 0 ;
32246 PyObject
* obj1
= 0 ;
32247 PyObject
* obj2
= 0 ;
32248 char * kwnames
[] = {
32249 (char *) "self",(char *) "item",(char *) "f", NULL
32252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32254 if (!SWIG_IsOK(res1
)) {
32255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32257 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32258 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32259 if (!SWIG_IsOK(ecode2
)) {
32260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "2"" of type '" "long""'");
32262 arg2
= static_cast< long >(val2
);
32263 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
32264 if (!SWIG_IsOK(res3
)) {
32265 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32268 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
32270 arg3
= reinterpret_cast< wxFont
* >(argp3
);
32272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32273 (arg1
)->SetItemFont(arg2
,(wxFont
const &)*arg3
);
32274 wxPyEndAllowThreads(__tstate
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32277 resultobj
= SWIG_Py_Void();
32284 SWIGINTERN PyObject
*_wrap_ListCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32285 PyObject
*resultobj
= 0;
32286 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32293 PyObject
* obj0
= 0 ;
32294 PyObject
* obj1
= 0 ;
32295 char * kwnames
[] = {
32296 (char *) "self",(char *) "item", NULL
32299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32301 if (!SWIG_IsOK(res1
)) {
32302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyListCtrl const *""'");
32304 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32305 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32306 if (!SWIG_IsOK(ecode2
)) {
32307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListCtrl_GetItemFont" "', expected argument " "2"" of type '" "long""'");
32309 arg2
= static_cast< long >(val2
);
32311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32312 result
= ((wxPyListCtrl
const *)arg1
)->GetItemFont(arg2
);
32313 wxPyEndAllowThreads(__tstate
);
32314 if (PyErr_Occurred()) SWIG_fail
;
32316 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
32323 SWIGINTERN PyObject
*_wrap_ListCtrl_SortItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32324 PyObject
*resultobj
= 0;
32325 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32326 PyObject
*arg2
= (PyObject
*) 0 ;
32330 PyObject
* obj0
= 0 ;
32331 PyObject
* obj1
= 0 ;
32332 char * kwnames
[] = {
32333 (char *) "self",(char *) "func", NULL
32336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32338 if (!SWIG_IsOK(res1
)) {
32339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_SortItems" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32341 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
32346 wxPyEndAllowThreads(__tstate
);
32347 if (PyErr_Occurred()) SWIG_fail
;
32350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32358 SWIGINTERN PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32359 PyObject
*resultobj
= 0;
32360 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
32361 wxWindow
*result
= 0 ;
32364 PyObject
*swig_obj
[1] ;
32366 if (!args
) SWIG_fail
;
32367 swig_obj
[0] = args
;
32368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyListCtrl
, 0 | 0 );
32369 if (!SWIG_IsOK(res1
)) {
32370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyListCtrl *""'");
32372 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
32374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32375 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
32376 wxPyEndAllowThreads(__tstate
);
32377 if (PyErr_Occurred()) SWIG_fail
;
32380 resultobj
= wxPyMake_wxObject(result
, 0);
32388 SWIGINTERN PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32389 PyObject
*resultobj
= 0;
32390 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
32391 SwigValueWrapper
<wxVisualAttributes
> result
;
32394 PyObject
* obj0
= 0 ;
32395 char * kwnames
[] = {
32396 (char *) "variant", NULL
32399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
32401 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
32402 if (!SWIG_IsOK(ecode1
)) {
32403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ListCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
32405 arg1
= static_cast< wxWindowVariant
>(val1
);
32408 if (!wxPyCheckForApp()) SWIG_fail
;
32409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32410 result
= wxPyListCtrl::GetClassDefaultAttributes(arg1
);
32411 wxPyEndAllowThreads(__tstate
);
32412 if (PyErr_Occurred()) SWIG_fail
;
32414 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
32421 SWIGINTERN PyObject
*ListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32423 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32424 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyListCtrl
, SWIG_NewClientData(obj
));
32425 return SWIG_Py_Void();
32428 SWIGINTERN PyObject
*ListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32429 return SWIG_Python_InitShadowInstance(args
);
32432 SWIGINTERN PyObject
*_wrap_new_ListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32433 PyObject
*resultobj
= 0;
32434 wxWindow
*arg1
= (wxWindow
*) 0 ;
32435 int arg2
= (int) -1 ;
32436 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32437 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32438 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32439 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32440 long arg5
= (long) wxLC_REPORT
;
32441 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32442 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32443 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
32444 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32445 wxListView
*result
= 0 ;
32456 bool temp7
= false ;
32457 PyObject
* obj0
= 0 ;
32458 PyObject
* obj1
= 0 ;
32459 PyObject
* obj2
= 0 ;
32460 PyObject
* obj3
= 0 ;
32461 PyObject
* obj4
= 0 ;
32462 PyObject
* obj5
= 0 ;
32463 PyObject
* obj6
= 0 ;
32464 char * kwnames
[] = {
32465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
32469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32470 if (!SWIG_IsOK(res1
)) {
32471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ListView" "', expected argument " "1"" of type '" "wxWindow *""'");
32473 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32476 if (!SWIG_IsOK(ecode2
)) {
32477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ListView" "', expected argument " "2"" of type '" "int""'");
32479 arg2
= static_cast< int >(val2
);
32484 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32490 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32494 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
32495 if (!SWIG_IsOK(ecode5
)) {
32496 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ListView" "', expected argument " "5"" of type '" "long""'");
32498 arg5
= static_cast< long >(val5
);
32501 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
32502 if (!SWIG_IsOK(res6
)) {
32503 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32506 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ListView" "', expected argument " "6"" of type '" "wxValidator const &""'");
32508 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
32512 arg7
= wxString_in_helper(obj6
);
32513 if (arg7
== NULL
) SWIG_fail
;
32518 if (!wxPyCheckForApp()) SWIG_fail
;
32519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32520 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32521 wxPyEndAllowThreads(__tstate
);
32522 if (PyErr_Occurred()) SWIG_fail
;
32524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_NEW
| 0 );
32539 SWIGINTERN PyObject
*_wrap_new_PreListView(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32540 PyObject
*resultobj
= 0;
32541 wxListView
*result
= 0 ;
32543 if (!SWIG_Python_UnpackTuple(args
,"new_PreListView",0,0,0)) SWIG_fail
;
32545 if (!wxPyCheckForApp()) SWIG_fail
;
32546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32547 result
= (wxListView
*)new wxListView();
32548 wxPyEndAllowThreads(__tstate
);
32549 if (PyErr_Occurred()) SWIG_fail
;
32551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxListView
, SWIG_POINTER_OWN
| 0 );
32558 SWIGINTERN PyObject
*_wrap_ListView_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32559 PyObject
*resultobj
= 0;
32560 wxListView
*arg1
= (wxListView
*) 0 ;
32561 wxWindow
*arg2
= (wxWindow
*) 0 ;
32562 int arg3
= (int) -1 ;
32563 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32564 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32565 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32566 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32567 long arg6
= (long) wxLC_REPORT
;
32568 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32569 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32570 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
32571 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32585 bool temp8
= false ;
32586 PyObject
* obj0
= 0 ;
32587 PyObject
* obj1
= 0 ;
32588 PyObject
* obj2
= 0 ;
32589 PyObject
* obj3
= 0 ;
32590 PyObject
* obj4
= 0 ;
32591 PyObject
* obj5
= 0 ;
32592 PyObject
* obj6
= 0 ;
32593 PyObject
* obj7
= 0 ;
32594 char * kwnames
[] = {
32595 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
32599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32600 if (!SWIG_IsOK(res1
)) {
32601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Create" "', expected argument " "1"" of type '" "wxListView *""'");
32603 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32604 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32605 if (!SWIG_IsOK(res2
)) {
32606 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ListView_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
32608 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32611 if (!SWIG_IsOK(ecode3
)) {
32612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Create" "', expected argument " "3"" of type '" "int""'");
32614 arg3
= static_cast< int >(val3
);
32619 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32625 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32629 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
32630 if (!SWIG_IsOK(ecode6
)) {
32631 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ListView_Create" "', expected argument " "6"" of type '" "long""'");
32633 arg6
= static_cast< long >(val6
);
32636 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
32637 if (!SWIG_IsOK(res7
)) {
32638 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ListView_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
32643 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
32647 arg8
= wxString_in_helper(obj7
);
32648 if (arg8
== NULL
) SWIG_fail
;
32653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32654 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32655 wxPyEndAllowThreads(__tstate
);
32656 if (PyErr_Occurred()) SWIG_fail
;
32659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32675 SWIGINTERN PyObject
*_wrap_ListView_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32676 PyObject
*resultobj
= 0;
32677 wxListView
*arg1
= (wxListView
*) 0 ;
32679 bool arg3
= (bool) true ;
32686 PyObject
* obj0
= 0 ;
32687 PyObject
* obj1
= 0 ;
32688 PyObject
* obj2
= 0 ;
32689 char * kwnames
[] = {
32690 (char *) "self",(char *) "n",(char *) "on", NULL
32693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32695 if (!SWIG_IsOK(res1
)) {
32696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Select" "', expected argument " "1"" of type '" "wxListView *""'");
32698 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32699 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32700 if (!SWIG_IsOK(ecode2
)) {
32701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Select" "', expected argument " "2"" of type '" "long""'");
32703 arg2
= static_cast< long >(val2
);
32705 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
32706 if (!SWIG_IsOK(ecode3
)) {
32707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_Select" "', expected argument " "3"" of type '" "bool""'");
32709 arg3
= static_cast< bool >(val3
);
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 (arg1
)->Select(arg2
,arg3
);
32714 wxPyEndAllowThreads(__tstate
);
32715 if (PyErr_Occurred()) SWIG_fail
;
32717 resultobj
= SWIG_Py_Void();
32724 SWIGINTERN PyObject
*_wrap_ListView_Focus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32725 PyObject
*resultobj
= 0;
32726 wxListView
*arg1
= (wxListView
*) 0 ;
32732 PyObject
* obj0
= 0 ;
32733 PyObject
* obj1
= 0 ;
32734 char * kwnames
[] = {
32735 (char *) "self",(char *) "index", NULL
32738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32740 if (!SWIG_IsOK(res1
)) {
32741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_Focus" "', expected argument " "1"" of type '" "wxListView *""'");
32743 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32744 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32745 if (!SWIG_IsOK(ecode2
)) {
32746 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_Focus" "', expected argument " "2"" of type '" "long""'");
32748 arg2
= static_cast< long >(val2
);
32750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32751 (arg1
)->Focus(arg2
);
32752 wxPyEndAllowThreads(__tstate
);
32753 if (PyErr_Occurred()) SWIG_fail
;
32755 resultobj
= SWIG_Py_Void();
32762 SWIGINTERN PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32763 PyObject
*resultobj
= 0;
32764 wxListView
*arg1
= (wxListView
*) 0 ;
32768 PyObject
*swig_obj
[1] ;
32770 if (!args
) SWIG_fail
;
32771 swig_obj
[0] = args
;
32772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32773 if (!SWIG_IsOK(res1
)) {
32774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFocusedItem" "', expected argument " "1"" of type '" "wxListView const *""'");
32776 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32779 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
32780 wxPyEndAllowThreads(__tstate
);
32781 if (PyErr_Occurred()) SWIG_fail
;
32783 resultobj
= SWIG_From_long(static_cast< long >(result
));
32790 SWIGINTERN PyObject
*_wrap_ListView_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32791 PyObject
*resultobj
= 0;
32792 wxListView
*arg1
= (wxListView
*) 0 ;
32799 PyObject
* obj0
= 0 ;
32800 PyObject
* obj1
= 0 ;
32801 char * kwnames
[] = {
32802 (char *) "self",(char *) "item", NULL
32805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32807 if (!SWIG_IsOK(res1
)) {
32808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetNextSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32810 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32811 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32812 if (!SWIG_IsOK(ecode2
)) {
32813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_GetNextSelected" "', expected argument " "2"" of type '" "long""'");
32815 arg2
= static_cast< long >(val2
);
32817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32818 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
32819 wxPyEndAllowThreads(__tstate
);
32820 if (PyErr_Occurred()) SWIG_fail
;
32822 resultobj
= SWIG_From_long(static_cast< long >(result
));
32829 SWIGINTERN PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32830 PyObject
*resultobj
= 0;
32831 wxListView
*arg1
= (wxListView
*) 0 ;
32835 PyObject
*swig_obj
[1] ;
32837 if (!args
) SWIG_fail
;
32838 swig_obj
[0] = args
;
32839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32840 if (!SWIG_IsOK(res1
)) {
32841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_GetFirstSelected" "', expected argument " "1"" of type '" "wxListView const *""'");
32843 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32846 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
32847 wxPyEndAllowThreads(__tstate
);
32848 if (PyErr_Occurred()) SWIG_fail
;
32850 resultobj
= SWIG_From_long(static_cast< long >(result
));
32857 SWIGINTERN PyObject
*_wrap_ListView_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32858 PyObject
*resultobj
= 0;
32859 wxListView
*arg1
= (wxListView
*) 0 ;
32866 PyObject
* obj0
= 0 ;
32867 PyObject
* obj1
= 0 ;
32868 char * kwnames
[] = {
32869 (char *) "self",(char *) "index", NULL
32872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32874 if (!SWIG_IsOK(res1
)) {
32875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_IsSelected" "', expected argument " "1"" of type '" "wxListView *""'");
32877 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32878 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32879 if (!SWIG_IsOK(ecode2
)) {
32880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_IsSelected" "', expected argument " "2"" of type '" "long""'");
32882 arg2
= static_cast< long >(val2
);
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 result
= (bool)(arg1
)->IsSelected(arg2
);
32886 wxPyEndAllowThreads(__tstate
);
32887 if (PyErr_Occurred()) SWIG_fail
;
32890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32898 SWIGINTERN PyObject
*_wrap_ListView_SetColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32899 PyObject
*resultobj
= 0;
32900 wxListView
*arg1
= (wxListView
*) 0 ;
32909 PyObject
* obj0
= 0 ;
32910 PyObject
* obj1
= 0 ;
32911 PyObject
* obj2
= 0 ;
32912 char * kwnames
[] = {
32913 (char *) "self",(char *) "col",(char *) "image", NULL
32916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32918 if (!SWIG_IsOK(res1
)) {
32919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_SetColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32921 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32923 if (!SWIG_IsOK(ecode2
)) {
32924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
32926 arg2
= static_cast< int >(val2
);
32927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32928 if (!SWIG_IsOK(ecode3
)) {
32929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ListView_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
32931 arg3
= static_cast< int >(val3
);
32933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32934 (arg1
)->SetColumnImage(arg2
,arg3
);
32935 wxPyEndAllowThreads(__tstate
);
32936 if (PyErr_Occurred()) SWIG_fail
;
32938 resultobj
= SWIG_Py_Void();
32945 SWIGINTERN PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32946 PyObject
*resultobj
= 0;
32947 wxListView
*arg1
= (wxListView
*) 0 ;
32953 PyObject
* obj0
= 0 ;
32954 PyObject
* obj1
= 0 ;
32955 char * kwnames
[] = {
32956 (char *) "self",(char *) "col", NULL
32959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxListView
, 0 | 0 );
32961 if (!SWIG_IsOK(res1
)) {
32962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ListView_ClearColumnImage" "', expected argument " "1"" of type '" "wxListView *""'");
32964 arg1
= reinterpret_cast< wxListView
* >(argp1
);
32965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32966 if (!SWIG_IsOK(ecode2
)) {
32967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ListView_ClearColumnImage" "', expected argument " "2"" of type '" "int""'");
32969 arg2
= static_cast< int >(val2
);
32971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32972 (arg1
)->ClearColumnImage(arg2
);
32973 wxPyEndAllowThreads(__tstate
);
32974 if (PyErr_Occurred()) SWIG_fail
;
32976 resultobj
= SWIG_Py_Void();
32983 SWIGINTERN PyObject
*ListView_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
32986 SWIG_TypeNewClientData(SWIGTYPE_p_wxListView
, SWIG_NewClientData(obj
));
32987 return SWIG_Py_Void();
32990 SWIGINTERN PyObject
*ListView_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32991 return SWIG_Python_InitShadowInstance(args
);
32994 SWIGINTERN
int TreeCtrlNameStr_set(PyObject
*) {
32995 SWIG_Error(SWIG_AttributeError
,"Variable TreeCtrlNameStr is read-only.");
33000 SWIGINTERN PyObject
*TreeCtrlNameStr_get(void) {
33001 PyObject
*pyobj
= 0;
33005 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
33007 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
33014 SWIGINTERN PyObject
*_wrap_new_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33015 PyObject
*resultobj
= 0;
33016 wxTreeItemId
*result
= 0 ;
33018 if (!SWIG_Python_UnpackTuple(args
,"new_TreeItemId",0,0,0)) SWIG_fail
;
33020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33021 result
= (wxTreeItemId
*)new wxTreeItemId();
33022 wxPyEndAllowThreads(__tstate
);
33023 if (PyErr_Occurred()) SWIG_fail
;
33025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_NEW
| 0 );
33032 SWIGINTERN PyObject
*_wrap_delete_TreeItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33033 PyObject
*resultobj
= 0;
33034 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33037 PyObject
*swig_obj
[1] ;
33039 if (!args
) SWIG_fail
;
33040 swig_obj
[0] = args
;
33041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_DISOWN
| 0 );
33042 if (!SWIG_IsOK(res1
)) {
33043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemId" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33045 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33050 wxPyEndAllowThreads(__tstate
);
33051 if (PyErr_Occurred()) SWIG_fail
;
33053 resultobj
= SWIG_Py_Void();
33060 SWIGINTERN PyObject
*_wrap_TreeItemId_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33061 PyObject
*resultobj
= 0;
33062 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33066 PyObject
*swig_obj
[1] ;
33068 if (!args
) SWIG_fail
;
33069 swig_obj
[0] = args
;
33070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33071 if (!SWIG_IsOK(res1
)) {
33072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_IsOk" "', expected argument " "1"" of type '" "wxTreeItemId const *""'");
33074 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33077 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
33078 wxPyEndAllowThreads(__tstate
);
33079 if (PyErr_Occurred()) SWIG_fail
;
33082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33090 SWIGINTERN PyObject
*_wrap_TreeItemId___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
= 0;
33092 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33093 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
33099 PyObject
* obj0
= 0 ;
33100 PyObject
* obj1
= 0 ;
33101 char * kwnames
[] = {
33102 (char *) "self",(char *) "other", NULL
33105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33107 if (!SWIG_IsOK(res1
)) {
33108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___eq__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33110 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33111 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33112 if (!SWIG_IsOK(res2
)) {
33113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___eq__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33115 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33118 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
33119 wxPyEndAllowThreads(__tstate
);
33120 if (PyErr_Occurred()) SWIG_fail
;
33123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33131 SWIGINTERN PyObject
*_wrap_TreeItemId___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33132 PyObject
*resultobj
= 0;
33133 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33134 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
33140 PyObject
* obj0
= 0 ;
33141 PyObject
* obj1
= 0 ;
33142 char * kwnames
[] = {
33143 (char *) "self",(char *) "other", NULL
33146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33148 if (!SWIG_IsOK(res1
)) {
33149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId___ne__" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33151 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33152 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33153 if (!SWIG_IsOK(res2
)) {
33154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId___ne__" "', expected argument " "2"" of type '" "wxTreeItemId const *""'");
33156 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33159 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
33160 wxPyEndAllowThreads(__tstate
);
33161 if (PyErr_Occurred()) SWIG_fail
;
33164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33172 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33173 PyObject
*resultobj
= 0;
33174 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33175 void *arg2
= (void *) 0 ;
33179 PyObject
*swig_obj
[2] ;
33181 if (!SWIG_Python_UnpackTuple(args
,"TreeItemId_m_pItem_set",2,2,swig_obj
)) SWIG_fail
;
33182 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33183 if (!SWIG_IsOK(res1
)) {
33184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33186 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33187 res2
= SWIG_ConvertPtr(swig_obj
[1],SWIG_as_voidptrptr(&arg2
), 0, SWIG_POINTER_DISOWN
);
33188 if (!SWIG_IsOK(res2
)) {
33189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemId_m_pItem_set" "', expected argument " "2"" of type '" "void *""'");
33191 if (arg1
) (arg1
)->m_pItem
= arg2
;
33193 resultobj
= SWIG_Py_Void();
33200 SWIGINTERN PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33201 PyObject
*resultobj
= 0;
33202 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
33206 PyObject
*swig_obj
[1] ;
33208 if (!args
) SWIG_fail
;
33209 swig_obj
[0] = args
;
33210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33211 if (!SWIG_IsOK(res1
)) {
33212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemId_m_pItem_get" "', expected argument " "1"" of type '" "wxTreeItemId *""'");
33214 arg1
= reinterpret_cast< wxTreeItemId
* >(argp1
);
33215 result
= (void *) ((arg1
)->m_pItem
);
33216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_void
, 0 | 0 );
33223 SWIGINTERN PyObject
*TreeItemId_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33225 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33226 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeItemId
, SWIG_NewClientData(obj
));
33227 return SWIG_Py_Void();
33230 SWIGINTERN PyObject
*TreeItemId_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33231 return SWIG_Python_InitShadowInstance(args
);
33234 SWIGINTERN PyObject
*_wrap_new_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33235 PyObject
*resultobj
= 0;
33236 PyObject
*arg1
= (PyObject
*) NULL
;
33237 wxPyTreeItemData
*result
= 0 ;
33238 PyObject
* obj0
= 0 ;
33239 char * kwnames
[] = {
33240 (char *) "obj", NULL
33243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) SWIG_fail
;
33248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33249 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
33250 wxPyEndAllowThreads(__tstate
);
33251 if (PyErr_Occurred()) SWIG_fail
;
33253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_NEW
| 0 );
33260 SWIGINTERN PyObject
*_wrap_delete_TreeItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33261 PyObject
*resultobj
= 0;
33262 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33265 PyObject
*swig_obj
[1] ;
33267 if (!args
) SWIG_fail
;
33268 swig_obj
[0] = args
;
33269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
33270 if (!SWIG_IsOK(res1
)) {
33271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TreeItemData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33273 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33278 wxPyEndAllowThreads(__tstate
);
33279 if (PyErr_Occurred()) SWIG_fail
;
33281 resultobj
= SWIG_Py_Void();
33288 SWIGINTERN PyObject
*_wrap_TreeItemData_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33289 PyObject
*resultobj
= 0;
33290 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33291 PyObject
*result
= 0 ;
33294 PyObject
*swig_obj
[1] ;
33296 if (!args
) SWIG_fail
;
33297 swig_obj
[0] = args
;
33298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33299 if (!SWIG_IsOK(res1
)) {
33300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33302 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33305 result
= (PyObject
*)(arg1
)->GetData();
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33309 resultobj
= result
;
33316 SWIGINTERN PyObject
*_wrap_TreeItemData_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33317 PyObject
*resultobj
= 0;
33318 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33319 PyObject
*arg2
= (PyObject
*) 0 ;
33322 PyObject
* obj0
= 0 ;
33323 PyObject
* obj1
= 0 ;
33324 char * kwnames
[] = {
33325 (char *) "self",(char *) "obj", NULL
33328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33330 if (!SWIG_IsOK(res1
)) {
33331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetData" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33333 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33337 (arg1
)->SetData(arg2
);
33338 wxPyEndAllowThreads(__tstate
);
33339 if (PyErr_Occurred()) SWIG_fail
;
33341 resultobj
= SWIG_Py_Void();
33348 SWIGINTERN PyObject
*_wrap_TreeItemData_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33349 PyObject
*resultobj
= 0;
33350 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33351 wxTreeItemId
*result
= 0 ;
33354 PyObject
*swig_obj
[1] ;
33356 if (!args
) SWIG_fail
;
33357 swig_obj
[0] = args
;
33358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33359 if (!SWIG_IsOK(res1
)) {
33360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_GetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33362 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33366 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
33367 result
= (wxTreeItemId
*) &_result_ref
;
33369 wxPyEndAllowThreads(__tstate
);
33370 if (PyErr_Occurred()) SWIG_fail
;
33372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeItemId
, 0 | 0 );
33379 SWIGINTERN PyObject
*_wrap_TreeItemData_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33380 PyObject
*resultobj
= 0;
33381 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33382 wxTreeItemId
*arg2
= 0 ;
33387 PyObject
* obj0
= 0 ;
33388 PyObject
* obj1
= 0 ;
33389 char * kwnames
[] = {
33390 (char *) "self",(char *) "id", NULL
33393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33395 if (!SWIG_IsOK(res1
)) {
33396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_SetId" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33398 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33399 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33400 if (!SWIG_IsOK(res2
)) {
33401 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeItemData_SetId" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33406 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33409 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
33410 wxPyEndAllowThreads(__tstate
);
33411 if (PyErr_Occurred()) SWIG_fail
;
33413 resultobj
= SWIG_Py_Void();
33420 SWIGINTERN PyObject
*_wrap_TreeItemData_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33421 PyObject
*resultobj
= 0;
33422 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
33425 PyObject
*swig_obj
[1] ;
33427 if (!args
) SWIG_fail
;
33428 swig_obj
[0] = args
;
33429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
33430 if (!SWIG_IsOK(res1
)) {
33431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeItemData_Destroy" "', expected argument " "1"" of type '" "wxPyTreeItemData *""'");
33433 arg1
= reinterpret_cast< wxPyTreeItemData
* >(argp1
);
33435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33436 wxPyTreeItemData_Destroy(arg1
);
33437 wxPyEndAllowThreads(__tstate
);
33438 if (PyErr_Occurred()) SWIG_fail
;
33440 resultobj
= SWIG_Py_Void();
33447 SWIGINTERN PyObject
*TreeItemData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33449 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
33450 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeItemData
, SWIG_NewClientData(obj
));
33451 return SWIG_Py_Void();
33454 SWIGINTERN PyObject
*TreeItemData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33455 return SWIG_Python_InitShadowInstance(args
);
33458 SWIGINTERN
int NullTreeItemId_set(PyObject
*_val
) {
33461 int res
= SWIG_ConvertPtr(_val
, &argp
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33462 if (!SWIG_IsOK(res
)) {
33463 SWIG_exception_fail(SWIG_ArgError(res
), "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33466 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in variable '""wxNullTreeItemId""' of type '""wxTreeItemId""'");
33468 wxTreeItemId
* temp
;
33469 temp
= reinterpret_cast< wxTreeItemId
* >(argp
);
33470 wxNullTreeItemId
= *temp
;
33471 if (SWIG_IsNewObj(res
)) delete temp
;
33480 SWIGINTERN PyObject
*NullTreeItemId_get(void) {
33481 PyObject
*pyobj
= 0;
33483 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullTreeItemId
), SWIGTYPE_p_wxTreeItemId
, 0 );
33488 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33489 PyObject
*resultobj
= 0;
33490 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
33491 int arg2
= (int) 0 ;
33492 wxTreeEvent
*result
= 0 ;
33498 if ((nobjs
< 0) || (nobjs
> 2)) SWIG_fail
;
33500 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33501 if (!SWIG_IsOK(ecode1
)) {
33502 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33504 arg1
= static_cast< wxEventType
>(val1
);
33507 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
33508 if (!SWIG_IsOK(ecode2
)) {
33509 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "int""'");
33511 arg2
= static_cast< int >(val2
);
33514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33515 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
33516 wxPyEndAllowThreads(__tstate
);
33517 if (PyErr_Occurred()) SWIG_fail
;
33519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33526 SWIGINTERN PyObject
*_wrap_new_TreeEvent__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
33527 PyObject
*resultobj
= 0;
33529 wxPyTreeCtrl
*arg2
= (wxPyTreeCtrl
*) 0 ;
33530 wxTreeItemId
&arg3_defvalue
= wxNullTreeItemId
;
33531 wxTreeItemId
*arg3
= (wxTreeItemId
*) &arg3_defvalue
;
33532 wxTreeEvent
*result
= 0 ;
33540 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
33541 ecode1
= SWIG_AsVal_int(swig_obj
[0], &val1
);
33542 if (!SWIG_IsOK(ecode1
)) {
33543 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TreeEvent" "', expected argument " "1"" of type '" "wxEventType""'");
33545 arg1
= static_cast< wxEventType
>(val1
);
33546 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
33547 if (!SWIG_IsOK(res2
)) {
33548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TreeEvent" "', expected argument " "2"" of type '" "wxPyTreeCtrl *""'");
33550 arg2
= reinterpret_cast< wxPyTreeCtrl
* >(argp2
);
33552 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 );
33553 if (!SWIG_IsOK(res3
)) {
33554 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeEvent" "', expected argument " "3"" of type '" "wxTreeItemId &""'");
33559 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
33562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33563 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
,*arg3
);
33564 wxPyEndAllowThreads(__tstate
);
33565 if (PyErr_Occurred()) SWIG_fail
;
33567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTreeEvent
, SWIG_POINTER_NEW
| 0 );
33574 SWIGINTERN PyObject
*_wrap_new_TreeEvent(PyObject
*self
, PyObject
*args
) {
33578 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_TreeEvent",0,3,argv
))) SWIG_fail
;
33580 if ((argc
>= 0) && (argc
<= 2)) {
33585 int res
= SWIG_AsVal_int(argv
[1], NULL
);
33586 _v
= SWIG_CheckState(res
);
33589 if (!_v
) goto check_1
;
33591 return _wrap_new_TreeEvent__SWIG_0(self
, argc
, argv
);
33595 if ((argc
>= 2) && (argc
<= 3)) {
33596 return _wrap_new_TreeEvent__SWIG_1(self
, argc
, argv
);
33600 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_TreeEvent'");
33605 SWIGINTERN PyObject
*_wrap_TreeEvent_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33606 PyObject
*resultobj
= 0;
33607 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33608 wxTreeItemId result
;
33611 PyObject
*swig_obj
[1] ;
33613 if (!args
) SWIG_fail
;
33614 swig_obj
[0] = args
;
33615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33616 if (!SWIG_IsOK(res1
)) {
33617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33619 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33622 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
33623 wxPyEndAllowThreads(__tstate
);
33624 if (PyErr_Occurred()) SWIG_fail
;
33626 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33633 SWIGINTERN PyObject
*_wrap_TreeEvent_SetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33634 PyObject
*resultobj
= 0;
33635 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33636 wxTreeItemId
*arg2
= 0 ;
33641 PyObject
* obj0
= 0 ;
33642 PyObject
* obj1
= 0 ;
33643 char * kwnames
[] = {
33644 (char *) "self",(char *) "item", NULL
33647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33649 if (!SWIG_IsOK(res1
)) {
33650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33652 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33653 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33654 if (!SWIG_IsOK(res2
)) {
33655 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33658 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33660 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33663 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
33664 wxPyEndAllowThreads(__tstate
);
33665 if (PyErr_Occurred()) SWIG_fail
;
33667 resultobj
= SWIG_Py_Void();
33674 SWIGINTERN PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33675 PyObject
*resultobj
= 0;
33676 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33677 wxTreeItemId result
;
33680 PyObject
*swig_obj
[1] ;
33682 if (!args
) SWIG_fail
;
33683 swig_obj
[0] = args
;
33684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33685 if (!SWIG_IsOK(res1
)) {
33686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33688 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33691 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
33692 wxPyEndAllowThreads(__tstate
);
33693 if (PyErr_Occurred()) SWIG_fail
;
33695 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
33702 SWIGINTERN PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33703 PyObject
*resultobj
= 0;
33704 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33705 wxTreeItemId
*arg2
= 0 ;
33710 PyObject
* obj0
= 0 ;
33711 PyObject
* obj1
= 0 ;
33712 char * kwnames
[] = {
33713 (char *) "self",(char *) "item", NULL
33716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33718 if (!SWIG_IsOK(res1
)) {
33719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33721 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33722 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
33723 if (!SWIG_IsOK(res2
)) {
33724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33727 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetOldItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
33729 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
33731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33732 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
33733 wxPyEndAllowThreads(__tstate
);
33734 if (PyErr_Occurred()) SWIG_fail
;
33736 resultobj
= SWIG_Py_Void();
33743 SWIGINTERN PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33744 PyObject
*resultobj
= 0;
33745 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33749 PyObject
*swig_obj
[1] ;
33751 if (!args
) SWIG_fail
;
33752 swig_obj
[0] = args
;
33753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33754 if (!SWIG_IsOK(res1
)) {
33755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetPoint" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33757 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33760 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
33761 wxPyEndAllowThreads(__tstate
);
33762 if (PyErr_Occurred()) SWIG_fail
;
33764 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33771 SWIGINTERN PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33772 PyObject
*resultobj
= 0;
33773 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33774 wxPoint
*arg2
= 0 ;
33778 PyObject
* obj0
= 0 ;
33779 PyObject
* obj1
= 0 ;
33780 char * kwnames
[] = {
33781 (char *) "self",(char *) "pt", NULL
33784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33786 if (!SWIG_IsOK(res1
)) {
33787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetPoint" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33789 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33792 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33796 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
33797 wxPyEndAllowThreads(__tstate
);
33798 if (PyErr_Occurred()) SWIG_fail
;
33800 resultobj
= SWIG_Py_Void();
33807 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33808 PyObject
*resultobj
= 0;
33809 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33810 wxKeyEvent
*result
= 0 ;
33813 PyObject
*swig_obj
[1] ;
33815 if (!args
) SWIG_fail
;
33816 swig_obj
[0] = args
;
33817 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33818 if (!SWIG_IsOK(res1
)) {
33819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33821 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33825 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
33826 result
= (wxKeyEvent
*) &_result_ref
;
33828 wxPyEndAllowThreads(__tstate
);
33829 if (PyErr_Occurred()) SWIG_fail
;
33831 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
33838 SWIGINTERN PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33839 PyObject
*resultobj
= 0;
33840 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33844 PyObject
*swig_obj
[1] ;
33846 if (!args
) SWIG_fail
;
33847 swig_obj
[0] = args
;
33848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33849 if (!SWIG_IsOK(res1
)) {
33850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33852 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33855 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
33856 wxPyEndAllowThreads(__tstate
);
33857 if (PyErr_Occurred()) SWIG_fail
;
33859 resultobj
= SWIG_From_int(static_cast< int >(result
));
33866 SWIGINTERN PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33867 PyObject
*resultobj
= 0;
33868 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33869 wxKeyEvent
*arg2
= 0 ;
33874 PyObject
* obj0
= 0 ;
33875 PyObject
* obj1
= 0 ;
33876 char * kwnames
[] = {
33877 (char *) "self",(char *) "evt", NULL
33880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33882 if (!SWIG_IsOK(res1
)) {
33883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33885 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33886 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxKeyEvent
, 0 | 0);
33887 if (!SWIG_IsOK(res2
)) {
33888 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeEvent_SetKeyEvent" "', expected argument " "2"" of type '" "wxKeyEvent const &""'");
33893 arg2
= reinterpret_cast< wxKeyEvent
* >(argp2
);
33895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33896 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
33897 wxPyEndAllowThreads(__tstate
);
33898 if (PyErr_Occurred()) SWIG_fail
;
33900 resultobj
= SWIG_Py_Void();
33907 SWIGINTERN PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33908 PyObject
*resultobj
= 0;
33909 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33910 wxString
*result
= 0 ;
33913 PyObject
*swig_obj
[1] ;
33915 if (!args
) SWIG_fail
;
33916 swig_obj
[0] = args
;
33917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33918 if (!SWIG_IsOK(res1
)) {
33919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetLabel" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
33921 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33925 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
33926 result
= (wxString
*) &_result_ref
;
33928 wxPyEndAllowThreads(__tstate
);
33929 if (PyErr_Occurred()) SWIG_fail
;
33933 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
33935 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
33944 SWIGINTERN PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33945 PyObject
*resultobj
= 0;
33946 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33947 wxString
*arg2
= 0 ;
33950 bool temp2
= false ;
33951 PyObject
* obj0
= 0 ;
33952 PyObject
* obj1
= 0 ;
33953 char * kwnames
[] = {
33954 (char *) "self",(char *) "label", NULL
33957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
33959 if (!SWIG_IsOK(res1
)) {
33960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetLabel" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
33962 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
33964 arg2
= wxString_in_helper(obj1
);
33965 if (arg2
== NULL
) SWIG_fail
;
33969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33970 (arg1
)->SetLabel((wxString
const &)*arg2
);
33971 wxPyEndAllowThreads(__tstate
);
33972 if (PyErr_Occurred()) SWIG_fail
;
33974 resultobj
= SWIG_Py_Void();
33989 SWIGINTERN PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33990 PyObject
*resultobj
= 0;
33991 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
33995 PyObject
*swig_obj
[1] ;
33997 if (!args
) SWIG_fail
;
33998 swig_obj
[0] = args
;
33999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34000 if (!SWIG_IsOK(res1
)) {
34001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_IsEditCancelled" "', expected argument " "1"" of type '" "wxTreeEvent const *""'");
34003 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34006 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
34007 wxPyEndAllowThreads(__tstate
);
34008 if (PyErr_Occurred()) SWIG_fail
;
34011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34019 SWIGINTERN PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34020 PyObject
*resultobj
= 0;
34021 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34027 PyObject
* obj0
= 0 ;
34028 PyObject
* obj1
= 0 ;
34029 char * kwnames
[] = {
34030 (char *) "self",(char *) "editCancelled", NULL
34033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34035 if (!SWIG_IsOK(res1
)) {
34036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34038 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34039 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34040 if (!SWIG_IsOK(ecode2
)) {
34041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeEvent_SetEditCanceled" "', expected argument " "2"" of type '" "bool""'");
34043 arg2
= static_cast< bool >(val2
);
34045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34046 (arg1
)->SetEditCanceled(arg2
);
34047 wxPyEndAllowThreads(__tstate
);
34048 if (PyErr_Occurred()) SWIG_fail
;
34050 resultobj
= SWIG_Py_Void();
34057 SWIGINTERN PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34058 PyObject
*resultobj
= 0;
34059 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34060 wxString
*arg2
= 0 ;
34063 bool temp2
= false ;
34064 PyObject
* obj0
= 0 ;
34065 PyObject
* obj1
= 0 ;
34066 char * kwnames
[] = {
34067 (char *) "self",(char *) "toolTip", NULL
34070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34072 if (!SWIG_IsOK(res1
)) {
34073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_SetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34075 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34077 arg2
= wxString_in_helper(obj1
);
34078 if (arg2
== NULL
) SWIG_fail
;
34082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34083 (arg1
)->SetToolTip((wxString
const &)*arg2
);
34084 wxPyEndAllowThreads(__tstate
);
34085 if (PyErr_Occurred()) SWIG_fail
;
34087 resultobj
= SWIG_Py_Void();
34102 SWIGINTERN PyObject
*_wrap_TreeEvent_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34103 PyObject
*resultobj
= 0;
34104 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
34108 PyObject
*swig_obj
[1] ;
34110 if (!args
) SWIG_fail
;
34111 swig_obj
[0] = args
;
34112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTreeEvent
, 0 | 0 );
34113 if (!SWIG_IsOK(res1
)) {
34114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeEvent_GetToolTip" "', expected argument " "1"" of type '" "wxTreeEvent *""'");
34116 arg1
= reinterpret_cast< wxTreeEvent
* >(argp1
);
34118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34119 result
= (arg1
)->GetToolTip();
34120 wxPyEndAllowThreads(__tstate
);
34121 if (PyErr_Occurred()) SWIG_fail
;
34125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34136 SWIGINTERN PyObject
*TreeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
34139 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeEvent
, SWIG_NewClientData(obj
));
34140 return SWIG_Py_Void();
34143 SWIGINTERN PyObject
*TreeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34144 return SWIG_Python_InitShadowInstance(args
);
34147 SWIGINTERN PyObject
*_wrap_new_TreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34148 PyObject
*resultobj
= 0;
34149 wxWindow
*arg1
= (wxWindow
*) 0 ;
34150 int arg2
= (int) -1 ;
34151 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
34152 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
34153 wxSize
const &arg4_defvalue
= wxDefaultSize
;
34154 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
34155 long arg5
= (long) wxTR_DEFAULT_STYLE
;
34156 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
34157 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
34158 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
34159 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
34160 wxPyTreeCtrl
*result
= 0 ;
34171 bool temp7
= false ;
34172 PyObject
* obj0
= 0 ;
34173 PyObject
* obj1
= 0 ;
34174 PyObject
* obj2
= 0 ;
34175 PyObject
* obj3
= 0 ;
34176 PyObject
* obj4
= 0 ;
34177 PyObject
* obj5
= 0 ;
34178 PyObject
* obj6
= 0 ;
34179 char * kwnames
[] = {
34180 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
34184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34185 if (!SWIG_IsOK(res1
)) {
34186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
34188 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34190 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34191 if (!SWIG_IsOK(ecode2
)) {
34192 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_TreeCtrl" "', expected argument " "2"" of type '" "int""'");
34194 arg2
= static_cast< int >(val2
);
34199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
34205 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
34209 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
34210 if (!SWIG_IsOK(ecode5
)) {
34211 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TreeCtrl" "', expected argument " "5"" of type '" "long""'");
34213 arg5
= static_cast< long >(val5
);
34216 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
34217 if (!SWIG_IsOK(res6
)) {
34218 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_TreeCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
34223 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
34227 arg7
= wxString_in_helper(obj6
);
34228 if (arg7
== NULL
) SWIG_fail
;
34233 if (!wxPyCheckForApp()) SWIG_fail
;
34234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34235 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
34236 wxPyEndAllowThreads(__tstate
);
34237 if (PyErr_Occurred()) SWIG_fail
;
34239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_NEW
| 0 );
34254 SWIGINTERN PyObject
*_wrap_new_PreTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34255 PyObject
*resultobj
= 0;
34256 wxPyTreeCtrl
*result
= 0 ;
34258 if (!SWIG_Python_UnpackTuple(args
,"new_PreTreeCtrl",0,0,0)) SWIG_fail
;
34260 if (!wxPyCheckForApp()) SWIG_fail
;
34261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34262 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
34263 wxPyEndAllowThreads(__tstate
);
34264 if (PyErr_Occurred()) SWIG_fail
;
34266 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeCtrl
, SWIG_POINTER_OWN
| 0 );
34273 SWIGINTERN PyObject
*_wrap_TreeCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34274 PyObject
*resultobj
= 0;
34275 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34276 wxWindow
*arg2
= (wxWindow
*) 0 ;
34277 int arg3
= (int) -1 ;
34278 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
34279 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
34280 wxSize
const &arg5_defvalue
= wxDefaultSize
;
34281 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
34282 long arg6
= (long) wxTR_DEFAULT_STYLE
;
34283 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
34284 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
34285 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
34286 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
34300 bool temp8
= false ;
34301 PyObject
* obj0
= 0 ;
34302 PyObject
* obj1
= 0 ;
34303 PyObject
* obj2
= 0 ;
34304 PyObject
* obj3
= 0 ;
34305 PyObject
* obj4
= 0 ;
34306 PyObject
* obj5
= 0 ;
34307 PyObject
* obj6
= 0 ;
34308 PyObject
* obj7
= 0 ;
34309 char * kwnames
[] = {
34310 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
34313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
34314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34315 if (!SWIG_IsOK(res1
)) {
34316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34318 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34320 if (!SWIG_IsOK(res2
)) {
34321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
34323 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
34325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34326 if (!SWIG_IsOK(ecode3
)) {
34327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_Create" "', expected argument " "3"" of type '" "int""'");
34329 arg3
= static_cast< int >(val3
);
34334 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
34340 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
34344 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
34345 if (!SWIG_IsOK(ecode6
)) {
34346 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_Create" "', expected argument " "6"" of type '" "long""'");
34348 arg6
= static_cast< long >(val6
);
34351 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
34352 if (!SWIG_IsOK(res7
)) {
34353 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34356 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
34358 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
34362 arg8
= wxString_in_helper(obj7
);
34363 if (arg8
== NULL
) SWIG_fail
;
34368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34369 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
34370 wxPyEndAllowThreads(__tstate
);
34371 if (PyErr_Occurred()) SWIG_fail
;
34374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34390 SWIGINTERN PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34391 PyObject
*resultobj
= 0;
34392 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34393 PyObject
*arg2
= (PyObject
*) 0 ;
34394 PyObject
*arg3
= (PyObject
*) 0 ;
34397 PyObject
* obj0
= 0 ;
34398 PyObject
* obj1
= 0 ;
34399 PyObject
* obj2
= 0 ;
34400 char * kwnames
[] = {
34401 (char *) "self",(char *) "self",(char *) "_class", NULL
34404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34406 if (!SWIG_IsOK(res1
)) {
34407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34409 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34414 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34415 wxPyEndAllowThreads(__tstate
);
34416 if (PyErr_Occurred()) SWIG_fail
;
34418 resultobj
= SWIG_Py_Void();
34425 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34426 PyObject
*resultobj
= 0;
34427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34428 unsigned int result
;
34431 PyObject
*swig_obj
[1] ;
34433 if (!args
) SWIG_fail
;
34434 swig_obj
[0] = args
;
34435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34436 if (!SWIG_IsOK(res1
)) {
34437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34439 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34442 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetCount();
34443 wxPyEndAllowThreads(__tstate
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34446 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34453 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34454 PyObject
*resultobj
= 0;
34455 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34456 unsigned int result
;
34459 PyObject
*swig_obj
[1] ;
34461 if (!args
) SWIG_fail
;
34462 swig_obj
[0] = args
;
34463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34464 if (!SWIG_IsOK(res1
)) {
34465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34467 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34470 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
34471 wxPyEndAllowThreads(__tstate
);
34472 if (PyErr_Occurred()) SWIG_fail
;
34474 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34481 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34482 PyObject
*resultobj
= 0;
34483 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34484 unsigned int arg2
;
34487 unsigned int val2
;
34489 PyObject
* obj0
= 0 ;
34490 PyObject
* obj1
= 0 ;
34491 char * kwnames
[] = {
34492 (char *) "self",(char *) "indent", NULL
34495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34497 if (!SWIG_IsOK(res1
)) {
34498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34500 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34501 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34502 if (!SWIG_IsOK(ecode2
)) {
34503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
34505 arg2
= static_cast< unsigned int >(val2
);
34507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34508 (arg1
)->SetIndent(arg2
);
34509 wxPyEndAllowThreads(__tstate
);
34510 if (PyErr_Occurred()) SWIG_fail
;
34512 resultobj
= SWIG_Py_Void();
34519 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34520 PyObject
*resultobj
= 0;
34521 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34522 unsigned int result
;
34525 PyObject
*swig_obj
[1] ;
34527 if (!args
) SWIG_fail
;
34528 swig_obj
[0] = args
;
34529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34530 if (!SWIG_IsOK(res1
)) {
34531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34533 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34536 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
34537 wxPyEndAllowThreads(__tstate
);
34538 if (PyErr_Occurred()) SWIG_fail
;
34540 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
34547 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34548 PyObject
*resultobj
= 0;
34549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34550 unsigned int arg2
;
34553 unsigned int val2
;
34555 PyObject
* obj0
= 0 ;
34556 PyObject
* obj1
= 0 ;
34557 char * kwnames
[] = {
34558 (char *) "self",(char *) "spacing", NULL
34561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34563 if (!SWIG_IsOK(res1
)) {
34564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34566 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34567 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
34568 if (!SWIG_IsOK(ecode2
)) {
34569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
34571 arg2
= static_cast< unsigned int >(val2
);
34573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34574 (arg1
)->SetSpacing(arg2
);
34575 wxPyEndAllowThreads(__tstate
);
34576 if (PyErr_Occurred()) SWIG_fail
;
34578 resultobj
= SWIG_Py_Void();
34585 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34586 PyObject
*resultobj
= 0;
34587 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34588 wxImageList
*result
= 0 ;
34591 PyObject
*swig_obj
[1] ;
34593 if (!args
) SWIG_fail
;
34594 swig_obj
[0] = args
;
34595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34596 if (!SWIG_IsOK(res1
)) {
34597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34599 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34602 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
34603 wxPyEndAllowThreads(__tstate
);
34604 if (PyErr_Occurred()) SWIG_fail
;
34607 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34615 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34616 PyObject
*resultobj
= 0;
34617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34618 wxImageList
*result
= 0 ;
34621 PyObject
*swig_obj
[1] ;
34623 if (!args
) SWIG_fail
;
34624 swig_obj
[0] = args
;
34625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34626 if (!SWIG_IsOK(res1
)) {
34627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34629 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34632 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
34633 wxPyEndAllowThreads(__tstate
);
34634 if (PyErr_Occurred()) SWIG_fail
;
34637 resultobj
= wxPyMake_wxObject(result
, (bool)0);
34645 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34646 PyObject
*resultobj
= 0;
34647 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34648 wxImageList
*arg2
= (wxImageList
*) 0 ;
34653 PyObject
* obj0
= 0 ;
34654 PyObject
* obj1
= 0 ;
34655 char * kwnames
[] = {
34656 (char *) "self",(char *) "imageList", NULL
34659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",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_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34664 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34666 if (!SWIG_IsOK(res2
)) {
34667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34669 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34672 (arg1
)->SetImageList(arg2
);
34673 wxPyEndAllowThreads(__tstate
);
34674 if (PyErr_Occurred()) SWIG_fail
;
34676 resultobj
= SWIG_Py_Void();
34683 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34684 PyObject
*resultobj
= 0;
34685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34686 wxImageList
*arg2
= (wxImageList
*) 0 ;
34691 PyObject
* obj0
= 0 ;
34692 PyObject
* obj1
= 0 ;
34693 char * kwnames
[] = {
34694 (char *) "self",(char *) "imageList", NULL
34697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34699 if (!SWIG_IsOK(res1
)) {
34700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34702 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34703 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxImageList
, 0 | 0 );
34704 if (!SWIG_IsOK(res2
)) {
34705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34707 arg2
= reinterpret_cast< wxImageList
* >(argp2
);
34709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34710 (arg1
)->SetStateImageList(arg2
);
34711 wxPyEndAllowThreads(__tstate
);
34712 if (PyErr_Occurred()) SWIG_fail
;
34714 resultobj
= SWIG_Py_Void();
34721 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34722 PyObject
*resultobj
= 0;
34723 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34724 wxImageList
*arg2
= (wxImageList
*) 0 ;
34728 PyObject
* obj0
= 0 ;
34729 PyObject
* obj1
= 0 ;
34730 char * kwnames
[] = {
34731 (char *) "self",(char *) "imageList", NULL
34734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34736 if (!SWIG_IsOK(res1
)) {
34737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34739 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34740 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34741 if (!SWIG_IsOK(res2
)) {
34742 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34746 (arg1
)->AssignImageList(arg2
);
34747 wxPyEndAllowThreads(__tstate
);
34748 if (PyErr_Occurred()) SWIG_fail
;
34750 resultobj
= SWIG_Py_Void();
34757 SWIGINTERN PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34758 PyObject
*resultobj
= 0;
34759 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34760 wxImageList
*arg2
= (wxImageList
*) 0 ;
34764 PyObject
* obj0
= 0 ;
34765 PyObject
* obj1
= 0 ;
34766 char * kwnames
[] = {
34767 (char *) "self",(char *) "imageList", NULL
34770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34772 if (!SWIG_IsOK(res1
)) {
34773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34775 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34776 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxImageList
, SWIG_POINTER_DISOWN
| 0 );
34777 if (!SWIG_IsOK(res2
)) {
34778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
34781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34782 (arg1
)->AssignStateImageList(arg2
);
34783 wxPyEndAllowThreads(__tstate
);
34784 if (PyErr_Occurred()) SWIG_fail
;
34786 resultobj
= SWIG_Py_Void();
34793 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34794 PyObject
*resultobj
= 0;
34795 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34796 wxTreeItemId
*arg2
= 0 ;
34802 PyObject
* obj0
= 0 ;
34803 PyObject
* obj1
= 0 ;
34804 char * kwnames
[] = {
34805 (char *) "self",(char *) "item", NULL
34808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34810 if (!SWIG_IsOK(res1
)) {
34811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34813 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34814 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34815 if (!SWIG_IsOK(res2
)) {
34816 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34819 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34821 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34824 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
34825 wxPyEndAllowThreads(__tstate
);
34826 if (PyErr_Occurred()) SWIG_fail
;
34830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34841 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34842 PyObject
*resultobj
= 0;
34843 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34844 wxTreeItemId
*arg2
= 0 ;
34845 wxTreeItemIcon arg3
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
34853 PyObject
* obj0
= 0 ;
34854 PyObject
* obj1
= 0 ;
34855 PyObject
* obj2
= 0 ;
34856 char * kwnames
[] = {
34857 (char *) "self",(char *) "item",(char *) "which", NULL
34860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34862 if (!SWIG_IsOK(res1
)) {
34863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34865 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34866 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34867 if (!SWIG_IsOK(res2
)) {
34868 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34871 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34873 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34876 if (!SWIG_IsOK(ecode3
)) {
34877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetItemImage" "', expected argument " "3"" of type '" "wxTreeItemIcon""'");
34879 arg3
= static_cast< wxTreeItemIcon
>(val3
);
34882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34883 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,arg3
);
34884 wxPyEndAllowThreads(__tstate
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34887 resultobj
= SWIG_From_int(static_cast< int >(result
));
34894 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34895 PyObject
*resultobj
= 0;
34896 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34897 wxTreeItemId
*arg2
= 0 ;
34898 wxPyTreeItemData
*result
= 0 ;
34903 PyObject
* obj0
= 0 ;
34904 PyObject
* obj1
= 0 ;
34905 char * kwnames
[] = {
34906 (char *) "self",(char *) "item", NULL
34909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34911 if (!SWIG_IsOK(res1
)) {
34912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34914 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34915 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34916 if (!SWIG_IsOK(res2
)) {
34917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34922 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34925 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
34926 wxPyEndAllowThreads(__tstate
);
34927 if (PyErr_Occurred()) SWIG_fail
;
34929 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTreeItemData
, 0 | 0 );
34936 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34937 PyObject
*resultobj
= 0;
34938 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34939 wxTreeItemId
*arg2
= 0 ;
34940 PyObject
*result
= 0 ;
34945 PyObject
* obj0
= 0 ;
34946 PyObject
* obj1
= 0 ;
34947 char * kwnames
[] = {
34948 (char *) "self",(char *) "item", NULL
34951 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34952 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34953 if (!SWIG_IsOK(res1
)) {
34954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
34956 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34957 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
34958 if (!SWIG_IsOK(res2
)) {
34959 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34962 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
34964 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
34966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34967 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
34968 wxPyEndAllowThreads(__tstate
);
34969 if (PyErr_Occurred()) SWIG_fail
;
34971 resultobj
= result
;
34978 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34979 PyObject
*resultobj
= 0;
34980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
34981 wxTreeItemId
*arg2
= 0 ;
34987 PyObject
* obj0
= 0 ;
34988 PyObject
* obj1
= 0 ;
34989 char * kwnames
[] = {
34990 (char *) "self",(char *) "item", NULL
34993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
34995 if (!SWIG_IsOK(res1
)) {
34996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
34998 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
34999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35000 if (!SWIG_IsOK(res2
)) {
35001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35006 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35009 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
35010 wxPyEndAllowThreads(__tstate
);
35011 if (PyErr_Occurred()) SWIG_fail
;
35013 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
35020 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35021 PyObject
*resultobj
= 0;
35022 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35023 wxTreeItemId
*arg2
= 0 ;
35029 PyObject
* obj0
= 0 ;
35030 PyObject
* obj1
= 0 ;
35031 char * kwnames
[] = {
35032 (char *) "self",(char *) "item", NULL
35035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35037 if (!SWIG_IsOK(res1
)) {
35038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35040 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35041 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35042 if (!SWIG_IsOK(res2
)) {
35043 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35046 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35048 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35051 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
35052 wxPyEndAllowThreads(__tstate
);
35053 if (PyErr_Occurred()) SWIG_fail
;
35055 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
35062 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35063 PyObject
*resultobj
= 0;
35064 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35065 wxTreeItemId
*arg2
= 0 ;
35071 PyObject
* obj0
= 0 ;
35072 PyObject
* obj1
= 0 ;
35073 char * kwnames
[] = {
35074 (char *) "self",(char *) "item", NULL
35077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35079 if (!SWIG_IsOK(res1
)) {
35080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35082 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35083 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35084 if (!SWIG_IsOK(res2
)) {
35085 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35088 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35090 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35093 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
35094 wxPyEndAllowThreads(__tstate
);
35095 if (PyErr_Occurred()) SWIG_fail
;
35097 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
35104 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35105 PyObject
*resultobj
= 0;
35106 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35107 wxTreeItemId
*arg2
= 0 ;
35108 wxString
*arg3
= 0 ;
35113 bool temp3
= false ;
35114 PyObject
* obj0
= 0 ;
35115 PyObject
* obj1
= 0 ;
35116 PyObject
* obj2
= 0 ;
35117 char * kwnames
[] = {
35118 (char *) "self",(char *) "item",(char *) "text", NULL
35121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35123 if (!SWIG_IsOK(res1
)) {
35124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35126 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35127 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35128 if (!SWIG_IsOK(res2
)) {
35129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35132 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35134 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35136 arg3
= wxString_in_helper(obj2
);
35137 if (arg3
== NULL
) SWIG_fail
;
35141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35142 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
35143 wxPyEndAllowThreads(__tstate
);
35144 if (PyErr_Occurred()) SWIG_fail
;
35146 resultobj
= SWIG_Py_Void();
35161 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35162 PyObject
*resultobj
= 0;
35163 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35164 wxTreeItemId
*arg2
= 0 ;
35166 wxTreeItemIcon arg4
= (wxTreeItemIcon
) wxTreeItemIcon_Normal
;
35175 PyObject
* obj0
= 0 ;
35176 PyObject
* obj1
= 0 ;
35177 PyObject
* obj2
= 0 ;
35178 PyObject
* obj3
= 0 ;
35179 char * kwnames
[] = {
35180 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
35183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35185 if (!SWIG_IsOK(res1
)) {
35186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35188 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35189 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35190 if (!SWIG_IsOK(res2
)) {
35191 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35196 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35197 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35198 if (!SWIG_IsOK(ecode3
)) {
35199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
35201 arg3
= static_cast< int >(val3
);
35203 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35204 if (!SWIG_IsOK(ecode4
)) {
35205 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_SetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
35207 arg4
= static_cast< wxTreeItemIcon
>(val4
);
35210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35211 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,arg4
);
35212 wxPyEndAllowThreads(__tstate
);
35213 if (PyErr_Occurred()) SWIG_fail
;
35215 resultobj
= SWIG_Py_Void();
35222 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35223 PyObject
*resultobj
= 0;
35224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35225 wxTreeItemId
*arg2
= 0 ;
35226 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
35232 PyObject
* obj0
= 0 ;
35233 PyObject
* obj1
= 0 ;
35234 PyObject
* obj2
= 0 ;
35235 char * kwnames
[] = {
35236 (char *) "self",(char *) "item",(char *) "data", NULL
35239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35241 if (!SWIG_IsOK(res1
)) {
35242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35244 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35245 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35246 if (!SWIG_IsOK(res2
)) {
35247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35250 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35252 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35253 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
35254 if (!SWIG_IsOK(res3
)) {
35255 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
35258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35259 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35260 wxPyEndAllowThreads(__tstate
);
35261 if (PyErr_Occurred()) SWIG_fail
;
35263 resultobj
= SWIG_Py_Void();
35270 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35271 PyObject
*resultobj
= 0;
35272 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35273 wxTreeItemId
*arg2
= 0 ;
35274 PyObject
*arg3
= (PyObject
*) 0 ;
35279 PyObject
* obj0
= 0 ;
35280 PyObject
* obj1
= 0 ;
35281 PyObject
* obj2
= 0 ;
35282 char * kwnames
[] = {
35283 (char *) "self",(char *) "item",(char *) "obj", NULL
35286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35288 if (!SWIG_IsOK(res1
)) {
35289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35291 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35292 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35293 if (!SWIG_IsOK(res2
)) {
35294 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35297 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35299 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35303 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
35304 wxPyEndAllowThreads(__tstate
);
35305 if (PyErr_Occurred()) SWIG_fail
;
35307 resultobj
= SWIG_Py_Void();
35314 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35315 PyObject
*resultobj
= 0;
35316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35317 wxTreeItemId
*arg2
= 0 ;
35318 bool arg3
= (bool) true ;
35325 PyObject
* obj0
= 0 ;
35326 PyObject
* obj1
= 0 ;
35327 PyObject
* obj2
= 0 ;
35328 char * kwnames
[] = {
35329 (char *) "self",(char *) "item",(char *) "has", NULL
35332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35334 if (!SWIG_IsOK(res1
)) {
35335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35337 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35339 if (!SWIG_IsOK(res2
)) {
35340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35345 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35347 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35348 if (!SWIG_IsOK(ecode3
)) {
35349 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
35351 arg3
= static_cast< bool >(val3
);
35354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35355 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
35356 wxPyEndAllowThreads(__tstate
);
35357 if (PyErr_Occurred()) SWIG_fail
;
35359 resultobj
= SWIG_Py_Void();
35366 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35367 PyObject
*resultobj
= 0;
35368 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35369 wxTreeItemId
*arg2
= 0 ;
35370 bool arg3
= (bool) true ;
35377 PyObject
* obj0
= 0 ;
35378 PyObject
* obj1
= 0 ;
35379 PyObject
* obj2
= 0 ;
35380 char * kwnames
[] = {
35381 (char *) "self",(char *) "item",(char *) "bold", NULL
35384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35386 if (!SWIG_IsOK(res1
)) {
35387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35389 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35390 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35391 if (!SWIG_IsOK(res2
)) {
35392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35395 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35397 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35399 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35400 if (!SWIG_IsOK(ecode3
)) {
35401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
35403 arg3
= static_cast< bool >(val3
);
35406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35407 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
35408 wxPyEndAllowThreads(__tstate
);
35409 if (PyErr_Occurred()) SWIG_fail
;
35411 resultobj
= SWIG_Py_Void();
35418 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35419 PyObject
*resultobj
= 0;
35420 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35421 wxTreeItemId
*arg2
= 0 ;
35422 bool arg3
= (bool) true ;
35429 PyObject
* obj0
= 0 ;
35430 PyObject
* obj1
= 0 ;
35431 PyObject
* obj2
= 0 ;
35432 char * kwnames
[] = {
35433 (char *) "self",(char *) "item",(char *) "highlight", NULL
35436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35438 if (!SWIG_IsOK(res1
)) {
35439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35441 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35442 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35443 if (!SWIG_IsOK(res2
)) {
35444 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35447 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35449 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35451 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35452 if (!SWIG_IsOK(ecode3
)) {
35453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SetItemDropHighlight" "', expected argument " "3"" of type '" "bool""'");
35455 arg3
= static_cast< bool >(val3
);
35458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35459 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
35460 wxPyEndAllowThreads(__tstate
);
35461 if (PyErr_Occurred()) SWIG_fail
;
35463 resultobj
= SWIG_Py_Void();
35470 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35471 PyObject
*resultobj
= 0;
35472 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35473 wxTreeItemId
*arg2
= 0 ;
35474 wxColour
*arg3
= 0 ;
35480 PyObject
* obj0
= 0 ;
35481 PyObject
* obj1
= 0 ;
35482 PyObject
* obj2
= 0 ;
35483 char * kwnames
[] = {
35484 (char *) "self",(char *) "item",(char *) "col", NULL
35487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35489 if (!SWIG_IsOK(res1
)) {
35490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35492 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35493 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35494 if (!SWIG_IsOK(res2
)) {
35495 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35498 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35500 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35503 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35507 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35508 wxPyEndAllowThreads(__tstate
);
35509 if (PyErr_Occurred()) SWIG_fail
;
35511 resultobj
= SWIG_Py_Void();
35518 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35519 PyObject
*resultobj
= 0;
35520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35521 wxTreeItemId
*arg2
= 0 ;
35522 wxColour
*arg3
= 0 ;
35528 PyObject
* obj0
= 0 ;
35529 PyObject
* obj1
= 0 ;
35530 PyObject
* obj2
= 0 ;
35531 char * kwnames
[] = {
35532 (char *) "self",(char *) "item",(char *) "col", NULL
35535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35537 if (!SWIG_IsOK(res1
)) {
35538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35540 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35541 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35542 if (!SWIG_IsOK(res2
)) {
35543 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35546 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35548 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35551 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
35554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35555 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
35556 wxPyEndAllowThreads(__tstate
);
35557 if (PyErr_Occurred()) SWIG_fail
;
35559 resultobj
= SWIG_Py_Void();
35566 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35567 PyObject
*resultobj
= 0;
35568 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35569 wxTreeItemId
*arg2
= 0 ;
35577 PyObject
* obj0
= 0 ;
35578 PyObject
* obj1
= 0 ;
35579 PyObject
* obj2
= 0 ;
35580 char * kwnames
[] = {
35581 (char *) "self",(char *) "item",(char *) "font", NULL
35584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35586 if (!SWIG_IsOK(res1
)) {
35587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35589 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35590 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35591 if (!SWIG_IsOK(res2
)) {
35592 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35597 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35598 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
35599 if (!SWIG_IsOK(res3
)) {
35600 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35603 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
35605 arg3
= reinterpret_cast< wxFont
* >(argp3
);
35607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35608 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
35609 wxPyEndAllowThreads(__tstate
);
35610 if (PyErr_Occurred()) SWIG_fail
;
35612 resultobj
= SWIG_Py_Void();
35619 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35620 PyObject
*resultobj
= 0;
35621 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35622 wxTreeItemId
*arg2
= 0 ;
35628 PyObject
* obj0
= 0 ;
35629 PyObject
* obj1
= 0 ;
35630 char * kwnames
[] = {
35631 (char *) "self",(char *) "item", NULL
35634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35636 if (!SWIG_IsOK(res1
)) {
35637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35639 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35640 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35641 if (!SWIG_IsOK(res2
)) {
35642 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35645 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35647 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35650 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
35651 wxPyEndAllowThreads(__tstate
);
35652 if (PyErr_Occurred()) SWIG_fail
;
35655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35663 SWIGINTERN PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35664 PyObject
*resultobj
= 0;
35665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35666 wxTreeItemId
*arg2
= 0 ;
35672 PyObject
* obj0
= 0 ;
35673 PyObject
* obj1
= 0 ;
35674 char * kwnames
[] = {
35675 (char *) "self",(char *) "item", NULL
35678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35680 if (!SWIG_IsOK(res1
)) {
35681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35683 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35684 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35685 if (!SWIG_IsOK(res2
)) {
35686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35689 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35691 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35694 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
35695 wxPyEndAllowThreads(__tstate
);
35696 if (PyErr_Occurred()) SWIG_fail
;
35699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35707 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35708 PyObject
*resultobj
= 0;
35709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35710 wxTreeItemId
*arg2
= 0 ;
35716 PyObject
* obj0
= 0 ;
35717 PyObject
* obj1
= 0 ;
35718 char * kwnames
[] = {
35719 (char *) "self",(char *) "item", NULL
35722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35724 if (!SWIG_IsOK(res1
)) {
35725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35727 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35728 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35729 if (!SWIG_IsOK(res2
)) {
35730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35733 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35735 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35738 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
35739 wxPyEndAllowThreads(__tstate
);
35740 if (PyErr_Occurred()) SWIG_fail
;
35743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35751 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35752 PyObject
*resultobj
= 0;
35753 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35754 wxTreeItemId
*arg2
= 0 ;
35760 PyObject
* obj0
= 0 ;
35761 PyObject
* obj1
= 0 ;
35762 char * kwnames
[] = {
35763 (char *) "self",(char *) "item", NULL
35766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35768 if (!SWIG_IsOK(res1
)) {
35769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35771 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35772 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35773 if (!SWIG_IsOK(res2
)) {
35774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35777 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35779 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35782 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
35783 wxPyEndAllowThreads(__tstate
);
35784 if (PyErr_Occurred()) SWIG_fail
;
35787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35795 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35796 PyObject
*resultobj
= 0;
35797 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35798 wxTreeItemId
*arg2
= 0 ;
35804 PyObject
* obj0
= 0 ;
35805 PyObject
* obj1
= 0 ;
35806 char * kwnames
[] = {
35807 (char *) "self",(char *) "item", NULL
35810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35812 if (!SWIG_IsOK(res1
)) {
35813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35815 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35816 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35817 if (!SWIG_IsOK(res2
)) {
35818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35821 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35823 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35826 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
35827 wxPyEndAllowThreads(__tstate
);
35828 if (PyErr_Occurred()) SWIG_fail
;
35831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35839 SWIGINTERN PyObject
*_wrap_TreeCtrl_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35840 PyObject
*resultobj
= 0;
35841 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35845 PyObject
*swig_obj
[1] ;
35847 if (!args
) SWIG_fail
;
35848 swig_obj
[0] = args
;
35849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35850 if (!SWIG_IsOK(res1
)) {
35851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_IsEmpty" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35853 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35856 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsEmpty();
35857 wxPyEndAllowThreads(__tstate
);
35858 if (PyErr_Occurred()) SWIG_fail
;
35861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35869 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35870 PyObject
*resultobj
= 0;
35871 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35872 wxTreeItemId
*arg2
= 0 ;
35873 bool arg3
= (bool) true ;
35881 PyObject
* obj0
= 0 ;
35882 PyObject
* obj1
= 0 ;
35883 PyObject
* obj2
= 0 ;
35884 char * kwnames
[] = {
35885 (char *) "self",(char *) "item",(char *) "recursively", NULL
35888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35890 if (!SWIG_IsOK(res1
)) {
35891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35893 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35894 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
35895 if (!SWIG_IsOK(res2
)) {
35896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35899 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
35901 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
35903 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
35904 if (!SWIG_IsOK(ecode3
)) {
35905 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
35907 arg3
= static_cast< bool >(val3
);
35910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35911 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
35912 wxPyEndAllowThreads(__tstate
);
35913 if (PyErr_Occurred()) SWIG_fail
;
35915 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
35922 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35923 PyObject
*resultobj
= 0;
35924 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35925 wxTreeItemId result
;
35928 PyObject
*swig_obj
[1] ;
35930 if (!args
) SWIG_fail
;
35931 swig_obj
[0] = args
;
35932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35933 if (!SWIG_IsOK(res1
)) {
35934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35936 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35939 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
35940 wxPyEndAllowThreads(__tstate
);
35941 if (PyErr_Occurred()) SWIG_fail
;
35943 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35950 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35951 PyObject
*resultobj
= 0;
35952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35953 wxTreeItemId result
;
35956 PyObject
*swig_obj
[1] ;
35958 if (!args
) SWIG_fail
;
35959 swig_obj
[0] = args
;
35960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35961 if (!SWIG_IsOK(res1
)) {
35962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
35964 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35967 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
35968 wxPyEndAllowThreads(__tstate
);
35969 if (PyErr_Occurred()) SWIG_fail
;
35971 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
35978 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35979 PyObject
*resultobj
= 0;
35980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
35981 PyObject
*result
= 0 ;
35984 PyObject
*swig_obj
[1] ;
35986 if (!args
) SWIG_fail
;
35987 swig_obj
[0] = args
;
35988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
35989 if (!SWIG_IsOK(res1
)) {
35990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
35992 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
35994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35995 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
35996 wxPyEndAllowThreads(__tstate
);
35997 if (PyErr_Occurred()) SWIG_fail
;
35999 resultobj
= result
;
36006 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36007 PyObject
*resultobj
= 0;
36008 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36009 wxTreeItemId
*arg2
= 0 ;
36010 wxTreeItemId result
;
36015 PyObject
* obj0
= 0 ;
36016 PyObject
* obj1
= 0 ;
36017 char * kwnames
[] = {
36018 (char *) "self",(char *) "item", NULL
36021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36023 if (!SWIG_IsOK(res1
)) {
36024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36026 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36027 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36028 if (!SWIG_IsOK(res2
)) {
36029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36032 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36034 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36037 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
36038 wxPyEndAllowThreads(__tstate
);
36039 if (PyErr_Occurred()) SWIG_fail
;
36041 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36048 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36049 PyObject
*resultobj
= 0;
36050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36051 wxTreeItemId
*arg2
= 0 ;
36052 PyObject
*result
= 0 ;
36057 PyObject
* obj0
= 0 ;
36058 PyObject
* obj1
= 0 ;
36059 char * kwnames
[] = {
36060 (char *) "self",(char *) "item", NULL
36063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36065 if (!SWIG_IsOK(res1
)) {
36066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36068 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36070 if (!SWIG_IsOK(res2
)) {
36071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36076 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36079 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
36080 wxPyEndAllowThreads(__tstate
);
36081 if (PyErr_Occurred()) SWIG_fail
;
36083 resultobj
= result
;
36090 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36091 PyObject
*resultobj
= 0;
36092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36093 wxTreeItemId
*arg2
= 0 ;
36094 void *arg3
= (void *) 0 ;
36095 PyObject
*result
= 0 ;
36101 PyObject
* obj0
= 0 ;
36102 PyObject
* obj1
= 0 ;
36103 PyObject
* obj2
= 0 ;
36104 char * kwnames
[] = {
36105 (char *) "self",(char *) "item",(char *) "cookie", NULL
36108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36110 if (!SWIG_IsOK(res1
)) {
36111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36113 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36114 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36115 if (!SWIG_IsOK(res2
)) {
36116 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36119 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36121 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36122 res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
), 0, 0);
36123 if (!SWIG_IsOK(res3
)) {
36124 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
36127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36128 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
36129 wxPyEndAllowThreads(__tstate
);
36130 if (PyErr_Occurred()) SWIG_fail
;
36132 resultobj
= result
;
36139 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36140 PyObject
*resultobj
= 0;
36141 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36142 wxTreeItemId
*arg2
= 0 ;
36143 wxTreeItemId result
;
36148 PyObject
* obj0
= 0 ;
36149 PyObject
* obj1
= 0 ;
36150 char * kwnames
[] = {
36151 (char *) "self",(char *) "item", NULL
36154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36156 if (!SWIG_IsOK(res1
)) {
36157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36159 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36160 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36161 if (!SWIG_IsOK(res2
)) {
36162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36165 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36167 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36170 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
36171 wxPyEndAllowThreads(__tstate
);
36172 if (PyErr_Occurred()) SWIG_fail
;
36174 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36181 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36182 PyObject
*resultobj
= 0;
36183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36184 wxTreeItemId
*arg2
= 0 ;
36185 wxTreeItemId result
;
36190 PyObject
* obj0
= 0 ;
36191 PyObject
* obj1
= 0 ;
36192 char * kwnames
[] = {
36193 (char *) "self",(char *) "item", NULL
36196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36198 if (!SWIG_IsOK(res1
)) {
36199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36201 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36202 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36203 if (!SWIG_IsOK(res2
)) {
36204 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36207 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36209 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36212 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
36213 wxPyEndAllowThreads(__tstate
);
36214 if (PyErr_Occurred()) SWIG_fail
;
36216 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36223 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36224 PyObject
*resultobj
= 0;
36225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36226 wxTreeItemId
*arg2
= 0 ;
36227 wxTreeItemId result
;
36232 PyObject
* obj0
= 0 ;
36233 PyObject
* obj1
= 0 ;
36234 char * kwnames
[] = {
36235 (char *) "self",(char *) "item", NULL
36238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36240 if (!SWIG_IsOK(res1
)) {
36241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36243 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36244 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36245 if (!SWIG_IsOK(res2
)) {
36246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36249 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36251 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36254 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
36255 wxPyEndAllowThreads(__tstate
);
36256 if (PyErr_Occurred()) SWIG_fail
;
36258 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36265 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36266 PyObject
*resultobj
= 0;
36267 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36268 wxTreeItemId result
;
36271 PyObject
*swig_obj
[1] ;
36273 if (!args
) SWIG_fail
;
36274 swig_obj
[0] = args
;
36275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36276 if (!SWIG_IsOK(res1
)) {
36277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36279 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36282 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
36283 wxPyEndAllowThreads(__tstate
);
36284 if (PyErr_Occurred()) SWIG_fail
;
36286 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36293 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36294 PyObject
*resultobj
= 0;
36295 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36296 wxTreeItemId
*arg2
= 0 ;
36297 wxTreeItemId result
;
36302 PyObject
* obj0
= 0 ;
36303 PyObject
* obj1
= 0 ;
36304 char * kwnames
[] = {
36305 (char *) "self",(char *) "item", NULL
36308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36310 if (!SWIG_IsOK(res1
)) {
36311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36313 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36314 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36315 if (!SWIG_IsOK(res2
)) {
36316 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36319 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36321 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36324 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
36325 wxPyEndAllowThreads(__tstate
);
36326 if (PyErr_Occurred()) SWIG_fail
;
36328 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36335 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36336 PyObject
*resultobj
= 0;
36337 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36338 wxTreeItemId
*arg2
= 0 ;
36339 wxTreeItemId result
;
36344 PyObject
* obj0
= 0 ;
36345 PyObject
* obj1
= 0 ;
36346 char * kwnames
[] = {
36347 (char *) "self",(char *) "item", NULL
36350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36352 if (!SWIG_IsOK(res1
)) {
36353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
36355 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36356 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36357 if (!SWIG_IsOK(res2
)) {
36358 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36363 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36366 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
36367 wxPyEndAllowThreads(__tstate
);
36368 if (PyErr_Occurred()) SWIG_fail
;
36370 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36377 SWIGINTERN PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36378 PyObject
*resultobj
= 0;
36379 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36380 wxString
*arg2
= 0 ;
36381 int arg3
= (int) -1 ;
36382 int arg4
= (int) -1 ;
36383 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
36384 wxTreeItemId result
;
36387 bool temp2
= false ;
36393 PyObject
* obj0
= 0 ;
36394 PyObject
* obj1
= 0 ;
36395 PyObject
* obj2
= 0 ;
36396 PyObject
* obj3
= 0 ;
36397 PyObject
* obj4
= 0 ;
36398 char * kwnames
[] = {
36399 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
36403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36404 if (!SWIG_IsOK(res1
)) {
36405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36407 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36409 arg2
= wxString_in_helper(obj1
);
36410 if (arg2
== NULL
) SWIG_fail
;
36414 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36415 if (!SWIG_IsOK(ecode3
)) {
36416 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
36418 arg3
= static_cast< int >(val3
);
36421 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36422 if (!SWIG_IsOK(ecode4
)) {
36423 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
36425 arg4
= static_cast< int >(val4
);
36428 res5
= SWIG_ConvertPtr(obj4
, SWIG_as_voidptrptr(&arg5
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36429 if (!SWIG_IsOK(res5
)) {
36430 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "TreeCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
36434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36435 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
36436 wxPyEndAllowThreads(__tstate
);
36437 if (PyErr_Occurred()) SWIG_fail
;
36439 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36454 SWIGINTERN PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36455 PyObject
*resultobj
= 0;
36456 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36457 wxTreeItemId
*arg2
= 0 ;
36458 wxString
*arg3
= 0 ;
36459 int arg4
= (int) -1 ;
36460 int arg5
= (int) -1 ;
36461 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36462 wxTreeItemId result
;
36467 bool temp3
= false ;
36473 PyObject
* obj0
= 0 ;
36474 PyObject
* obj1
= 0 ;
36475 PyObject
* obj2
= 0 ;
36476 PyObject
* obj3
= 0 ;
36477 PyObject
* obj4
= 0 ;
36478 PyObject
* obj5
= 0 ;
36479 char * kwnames
[] = {
36480 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36485 if (!SWIG_IsOK(res1
)) {
36486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36488 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36490 if (!SWIG_IsOK(res2
)) {
36491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36496 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36498 arg3
= wxString_in_helper(obj2
);
36499 if (arg3
== NULL
) SWIG_fail
;
36503 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36504 if (!SWIG_IsOK(ecode4
)) {
36505 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
36507 arg4
= static_cast< int >(val4
);
36510 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36511 if (!SWIG_IsOK(ecode5
)) {
36512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
36514 arg5
= static_cast< int >(val5
);
36517 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36518 if (!SWIG_IsOK(res6
)) {
36519 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36524 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36525 wxPyEndAllowThreads(__tstate
);
36526 if (PyErr_Occurred()) SWIG_fail
;
36528 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36543 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36544 PyObject
*resultobj
= 0;
36545 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36546 wxTreeItemId
*arg2
= 0 ;
36547 wxTreeItemId
*arg3
= 0 ;
36548 wxString
*arg4
= 0 ;
36549 int arg5
= (int) -1 ;
36550 int arg6
= (int) -1 ;
36551 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36552 wxTreeItemId result
;
36559 bool temp4
= false ;
36565 PyObject
* obj0
= 0 ;
36566 PyObject
* obj1
= 0 ;
36567 PyObject
* obj2
= 0 ;
36568 PyObject
* obj3
= 0 ;
36569 PyObject
* obj4
= 0 ;
36570 PyObject
* obj5
= 0 ;
36571 PyObject
* obj6
= 0 ;
36572 char * kwnames
[] = {
36573 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36578 if (!SWIG_IsOK(res1
)) {
36579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36581 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36582 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36583 if (!SWIG_IsOK(res2
)) {
36584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36587 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36589 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36590 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36591 if (!SWIG_IsOK(res3
)) {
36592 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36595 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
36597 arg3
= reinterpret_cast< wxTreeItemId
* >(argp3
);
36599 arg4
= wxString_in_helper(obj3
);
36600 if (arg4
== NULL
) SWIG_fail
;
36604 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36605 if (!SWIG_IsOK(ecode5
)) {
36606 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
36608 arg5
= static_cast< int >(val5
);
36611 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36612 if (!SWIG_IsOK(ecode6
)) {
36613 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
36615 arg6
= static_cast< int >(val6
);
36618 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36619 if (!SWIG_IsOK(res7
)) {
36620 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36625 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36626 wxPyEndAllowThreads(__tstate
);
36627 if (PyErr_Occurred()) SWIG_fail
;
36629 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36644 SWIGINTERN PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36645 PyObject
*resultobj
= 0;
36646 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36647 wxTreeItemId
*arg2
= 0 ;
36649 wxString
*arg4
= 0 ;
36650 int arg5
= (int) -1 ;
36651 int arg6
= (int) -1 ;
36652 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
36653 wxTreeItemId result
;
36660 bool temp4
= false ;
36666 PyObject
* obj0
= 0 ;
36667 PyObject
* obj1
= 0 ;
36668 PyObject
* obj2
= 0 ;
36669 PyObject
* obj3
= 0 ;
36670 PyObject
* obj4
= 0 ;
36671 PyObject
* obj5
= 0 ;
36672 PyObject
* obj6
= 0 ;
36673 char * kwnames
[] = {
36674 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
36678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36679 if (!SWIG_IsOK(res1
)) {
36680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36682 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36683 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36684 if (!SWIG_IsOK(res2
)) {
36685 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36688 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36690 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36691 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
36692 if (!SWIG_IsOK(ecode3
)) {
36693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
36695 arg3
= static_cast< size_t >(val3
);
36697 arg4
= wxString_in_helper(obj3
);
36698 if (arg4
== NULL
) SWIG_fail
;
36702 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36703 if (!SWIG_IsOK(ecode5
)) {
36704 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
36706 arg5
= static_cast< int >(val5
);
36709 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
36710 if (!SWIG_IsOK(ecode6
)) {
36711 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
36713 arg6
= static_cast< int >(val6
);
36716 res7
= SWIG_ConvertPtr(obj6
, SWIG_as_voidptrptr(&arg7
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36717 if (!SWIG_IsOK(res7
)) {
36718 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "TreeCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
36722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36723 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
36724 wxPyEndAllowThreads(__tstate
);
36725 if (PyErr_Occurred()) SWIG_fail
;
36727 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36742 SWIGINTERN PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36743 PyObject
*resultobj
= 0;
36744 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36745 wxTreeItemId
*arg2
= 0 ;
36746 wxString
*arg3
= 0 ;
36747 int arg4
= (int) -1 ;
36748 int arg5
= (int) -1 ;
36749 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
36750 wxTreeItemId result
;
36755 bool temp3
= false ;
36761 PyObject
* obj0
= 0 ;
36762 PyObject
* obj1
= 0 ;
36763 PyObject
* obj2
= 0 ;
36764 PyObject
* obj3
= 0 ;
36765 PyObject
* obj4
= 0 ;
36766 PyObject
* obj5
= 0 ;
36767 char * kwnames
[] = {
36768 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
36771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36773 if (!SWIG_IsOK(res1
)) {
36774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36776 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36777 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36778 if (!SWIG_IsOK(res2
)) {
36779 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36782 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36784 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36786 arg3
= wxString_in_helper(obj2
);
36787 if (arg3
== NULL
) SWIG_fail
;
36791 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36792 if (!SWIG_IsOK(ecode4
)) {
36793 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
36795 arg4
= static_cast< int >(val4
);
36798 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36799 if (!SWIG_IsOK(ecode5
)) {
36800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
36802 arg5
= static_cast< int >(val5
);
36805 res6
= SWIG_ConvertPtr(obj5
, SWIG_as_voidptrptr(&arg6
), SWIGTYPE_p_wxPyTreeItemData
, SWIG_POINTER_DISOWN
| 0 );
36806 if (!SWIG_IsOK(res6
)) {
36807 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "TreeCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
36811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36812 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
36813 wxPyEndAllowThreads(__tstate
);
36814 if (PyErr_Occurred()) SWIG_fail
;
36816 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
36831 SWIGINTERN PyObject
*_wrap_TreeCtrl_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36832 PyObject
*resultobj
= 0;
36833 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36834 wxTreeItemId
*arg2
= 0 ;
36839 PyObject
* obj0
= 0 ;
36840 PyObject
* obj1
= 0 ;
36841 char * kwnames
[] = {
36842 (char *) "self",(char *) "item", NULL
36845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36847 if (!SWIG_IsOK(res1
)) {
36848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36850 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36851 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36852 if (!SWIG_IsOK(res2
)) {
36853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36858 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36861 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
36862 wxPyEndAllowThreads(__tstate
);
36863 if (PyErr_Occurred()) SWIG_fail
;
36865 resultobj
= SWIG_Py_Void();
36872 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36873 PyObject
*resultobj
= 0;
36874 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36875 wxTreeItemId
*arg2
= 0 ;
36880 PyObject
* obj0
= 0 ;
36881 PyObject
* obj1
= 0 ;
36882 char * kwnames
[] = {
36883 (char *) "self",(char *) "item", NULL
36886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36888 if (!SWIG_IsOK(res1
)) {
36889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36891 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36892 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36893 if (!SWIG_IsOK(res2
)) {
36894 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36899 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36902 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
36903 wxPyEndAllowThreads(__tstate
);
36904 if (PyErr_Occurred()) SWIG_fail
;
36906 resultobj
= SWIG_Py_Void();
36913 SWIGINTERN PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36914 PyObject
*resultobj
= 0;
36915 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36918 PyObject
*swig_obj
[1] ;
36920 if (!args
) SWIG_fail
;
36921 swig_obj
[0] = args
;
36922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36923 if (!SWIG_IsOK(res1
)) {
36924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36926 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36929 (arg1
)->DeleteAllItems();
36930 wxPyEndAllowThreads(__tstate
);
36931 if (PyErr_Occurred()) SWIG_fail
;
36933 resultobj
= SWIG_Py_Void();
36940 SWIGINTERN PyObject
*_wrap_TreeCtrl_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36941 PyObject
*resultobj
= 0;
36942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36943 wxTreeItemId
*arg2
= 0 ;
36948 PyObject
* obj0
= 0 ;
36949 PyObject
* obj1
= 0 ;
36950 char * kwnames
[] = {
36951 (char *) "self",(char *) "item", NULL
36954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36956 if (!SWIG_IsOK(res1
)) {
36957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
36959 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
36960 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
36961 if (!SWIG_IsOK(res2
)) {
36962 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36965 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
36967 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
36969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36970 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
36971 wxPyEndAllowThreads(__tstate
);
36972 if (PyErr_Occurred()) SWIG_fail
;
36974 resultobj
= SWIG_Py_Void();
36981 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36982 PyObject
*resultobj
= 0;
36983 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
36984 wxTreeItemId
*arg2
= 0 ;
36989 PyObject
* obj0
= 0 ;
36990 PyObject
* obj1
= 0 ;
36991 char * kwnames
[] = {
36992 (char *) "self",(char *) "item", NULL
36995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ExpandAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
36997 if (!SWIG_IsOK(res1
)) {
36998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37000 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37001 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37002 if (!SWIG_IsOK(res2
)) {
37003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37006 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ExpandAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37008 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37011 (arg1
)->ExpandAllChildren((wxTreeItemId
const &)*arg2
);
37012 wxPyEndAllowThreads(__tstate
);
37013 if (PyErr_Occurred()) SWIG_fail
;
37015 resultobj
= SWIG_Py_Void();
37022 SWIGINTERN PyObject
*_wrap_TreeCtrl_ExpandAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37023 PyObject
*resultobj
= 0;
37024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37027 PyObject
*swig_obj
[1] ;
37029 if (!args
) SWIG_fail
;
37030 swig_obj
[0] = args
;
37031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37032 if (!SWIG_IsOK(res1
)) {
37033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37035 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37038 (arg1
)->ExpandAll();
37039 wxPyEndAllowThreads(__tstate
);
37040 if (PyErr_Occurred()) SWIG_fail
;
37042 resultobj
= SWIG_Py_Void();
37049 SWIGINTERN PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37050 PyObject
*resultobj
= 0;
37051 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37052 wxTreeItemId
*arg2
= 0 ;
37057 PyObject
* obj0
= 0 ;
37058 PyObject
* obj1
= 0 ;
37059 char * kwnames
[] = {
37060 (char *) "self",(char *) "item", NULL
37063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37065 if (!SWIG_IsOK(res1
)) {
37066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37068 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37069 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37070 if (!SWIG_IsOK(res2
)) {
37071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37074 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37076 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37079 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
37080 wxPyEndAllowThreads(__tstate
);
37081 if (PyErr_Occurred()) SWIG_fail
;
37083 resultobj
= SWIG_Py_Void();
37090 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAllChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37091 PyObject
*resultobj
= 0;
37092 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37093 wxTreeItemId
*arg2
= 0 ;
37098 PyObject
* obj0
= 0 ;
37099 PyObject
* obj1
= 0 ;
37100 char * kwnames
[] = {
37101 (char *) "self",(char *) "item", NULL
37104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAllChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37106 if (!SWIG_IsOK(res1
)) {
37107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37109 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37110 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37111 if (!SWIG_IsOK(res2
)) {
37112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAllChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37117 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37120 (arg1
)->CollapseAllChildren((wxTreeItemId
const &)*arg2
);
37121 wxPyEndAllowThreads(__tstate
);
37122 if (PyErr_Occurred()) SWIG_fail
;
37124 resultobj
= SWIG_Py_Void();
37131 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37132 PyObject
*resultobj
= 0;
37133 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37136 PyObject
*swig_obj
[1] ;
37138 if (!args
) SWIG_fail
;
37139 swig_obj
[0] = args
;
37140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37141 if (!SWIG_IsOK(res1
)) {
37142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37144 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37147 (arg1
)->CollapseAll();
37148 wxPyEndAllowThreads(__tstate
);
37149 if (PyErr_Occurred()) SWIG_fail
;
37151 resultobj
= SWIG_Py_Void();
37158 SWIGINTERN PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37159 PyObject
*resultobj
= 0;
37160 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37161 wxTreeItemId
*arg2
= 0 ;
37166 PyObject
* obj0
= 0 ;
37167 PyObject
* obj1
= 0 ;
37168 char * kwnames
[] = {
37169 (char *) "self",(char *) "item", NULL
37172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37174 if (!SWIG_IsOK(res1
)) {
37175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37177 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37178 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37179 if (!SWIG_IsOK(res2
)) {
37180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37183 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37185 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37188 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
37189 wxPyEndAllowThreads(__tstate
);
37190 if (PyErr_Occurred()) SWIG_fail
;
37192 resultobj
= SWIG_Py_Void();
37199 SWIGINTERN PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37200 PyObject
*resultobj
= 0;
37201 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37202 wxTreeItemId
*arg2
= 0 ;
37207 PyObject
* obj0
= 0 ;
37208 PyObject
* obj1
= 0 ;
37209 char * kwnames
[] = {
37210 (char *) "self",(char *) "item", NULL
37213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37215 if (!SWIG_IsOK(res1
)) {
37216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37218 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37219 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37220 if (!SWIG_IsOK(res2
)) {
37221 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37224 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37226 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37229 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
37230 wxPyEndAllowThreads(__tstate
);
37231 if (PyErr_Occurred()) SWIG_fail
;
37233 resultobj
= SWIG_Py_Void();
37240 SWIGINTERN PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37241 PyObject
*resultobj
= 0;
37242 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37245 PyObject
*swig_obj
[1] ;
37247 if (!args
) SWIG_fail
;
37248 swig_obj
[0] = args
;
37249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37250 if (!SWIG_IsOK(res1
)) {
37251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37253 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37256 (arg1
)->Unselect();
37257 wxPyEndAllowThreads(__tstate
);
37258 if (PyErr_Occurred()) SWIG_fail
;
37260 resultobj
= SWIG_Py_Void();
37267 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37268 PyObject
*resultobj
= 0;
37269 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37270 wxTreeItemId
*arg2
= 0 ;
37275 PyObject
* obj0
= 0 ;
37276 PyObject
* obj1
= 0 ;
37277 char * kwnames
[] = {
37278 (char *) "self",(char *) "item", NULL
37281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37283 if (!SWIG_IsOK(res1
)) {
37284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37286 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37288 if (!SWIG_IsOK(res2
)) {
37289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_UnselectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37294 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37297 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
37298 wxPyEndAllowThreads(__tstate
);
37299 if (PyErr_Occurred()) SWIG_fail
;
37301 resultobj
= SWIG_Py_Void();
37308 SWIGINTERN PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37309 PyObject
*resultobj
= 0;
37310 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37313 PyObject
*swig_obj
[1] ;
37315 if (!args
) SWIG_fail
;
37316 swig_obj
[0] = args
;
37317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37318 if (!SWIG_IsOK(res1
)) {
37319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37321 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37324 (arg1
)->UnselectAll();
37325 wxPyEndAllowThreads(__tstate
);
37326 if (PyErr_Occurred()) SWIG_fail
;
37328 resultobj
= SWIG_Py_Void();
37335 SWIGINTERN PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37336 PyObject
*resultobj
= 0;
37337 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37338 wxTreeItemId
*arg2
= 0 ;
37339 bool arg3
= (bool) true ;
37346 PyObject
* obj0
= 0 ;
37347 PyObject
* obj1
= 0 ;
37348 PyObject
* obj2
= 0 ;
37349 char * kwnames
[] = {
37350 (char *) "self",(char *) "item",(char *) "select", NULL
37353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37355 if (!SWIG_IsOK(res1
)) {
37356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37358 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37359 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37360 if (!SWIG_IsOK(res2
)) {
37361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37366 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37368 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37369 if (!SWIG_IsOK(ecode3
)) {
37370 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
37372 arg3
= static_cast< bool >(val3
);
37375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37376 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
37377 wxPyEndAllowThreads(__tstate
);
37378 if (PyErr_Occurred()) SWIG_fail
;
37380 resultobj
= SWIG_Py_Void();
37387 SWIGINTERN PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37388 PyObject
*resultobj
= 0;
37389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37390 wxTreeItemId
*arg2
= 0 ;
37395 PyObject
* obj0
= 0 ;
37396 PyObject
* obj1
= 0 ;
37397 char * kwnames
[] = {
37398 (char *) "self",(char *) "item", NULL
37401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37403 if (!SWIG_IsOK(res1
)) {
37404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37406 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37407 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37408 if (!SWIG_IsOK(res2
)) {
37409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37412 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ToggleItemSelection" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37414 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37417 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
37418 wxPyEndAllowThreads(__tstate
);
37419 if (PyErr_Occurred()) SWIG_fail
;
37421 resultobj
= SWIG_Py_Void();
37428 SWIGINTERN PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37429 PyObject
*resultobj
= 0;
37430 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37431 wxTreeItemId
*arg2
= 0 ;
37436 PyObject
* obj0
= 0 ;
37437 PyObject
* obj1
= 0 ;
37438 char * kwnames
[] = {
37439 (char *) "self",(char *) "item", NULL
37442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37444 if (!SWIG_IsOK(res1
)) {
37445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37447 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37449 if (!SWIG_IsOK(res2
)) {
37450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37455 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37458 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
37459 wxPyEndAllowThreads(__tstate
);
37460 if (PyErr_Occurred()) SWIG_fail
;
37462 resultobj
= SWIG_Py_Void();
37469 SWIGINTERN PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37470 PyObject
*resultobj
= 0;
37471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37472 wxTreeItemId
*arg2
= 0 ;
37477 PyObject
* obj0
= 0 ;
37478 PyObject
* obj1
= 0 ;
37479 char * kwnames
[] = {
37480 (char *) "self",(char *) "item", NULL
37483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37484 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37485 if (!SWIG_IsOK(res1
)) {
37486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37488 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37489 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37490 if (!SWIG_IsOK(res2
)) {
37491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37494 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37496 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37499 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
37500 wxPyEndAllowThreads(__tstate
);
37501 if (PyErr_Occurred()) SWIG_fail
;
37503 resultobj
= SWIG_Py_Void();
37510 SWIGINTERN PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37511 PyObject
*resultobj
= 0;
37512 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37513 wxTreeItemId
*arg2
= 0 ;
37518 PyObject
* obj0
= 0 ;
37519 PyObject
* obj1
= 0 ;
37520 char * kwnames
[] = {
37521 (char *) "self",(char *) "item", NULL
37524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37526 if (!SWIG_IsOK(res1
)) {
37527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37529 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37530 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37531 if (!SWIG_IsOK(res2
)) {
37532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37535 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37537 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37540 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
37541 wxPyEndAllowThreads(__tstate
);
37542 if (PyErr_Occurred()) SWIG_fail
;
37544 resultobj
= SWIG_Py_Void();
37551 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37552 PyObject
*resultobj
= 0;
37553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37554 wxTextCtrl
*result
= 0 ;
37557 PyObject
*swig_obj
[1] ;
37559 if (!args
) SWIG_fail
;
37560 swig_obj
[0] = args
;
37561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37562 if (!SWIG_IsOK(res1
)) {
37563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetEditControl" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37565 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37568 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
37569 wxPyEndAllowThreads(__tstate
);
37570 if (PyErr_Occurred()) SWIG_fail
;
37573 resultobj
= wxPyMake_wxObject(result
, 0);
37581 SWIGINTERN PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37582 PyObject
*resultobj
= 0;
37583 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37584 wxTreeItemId
*arg2
= 0 ;
37589 PyObject
* obj0
= 0 ;
37590 PyObject
* obj1
= 0 ;
37591 char * kwnames
[] = {
37592 (char *) "self",(char *) "item", NULL
37595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37597 if (!SWIG_IsOK(res1
)) {
37598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37600 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37601 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37602 if (!SWIG_IsOK(res2
)) {
37603 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37606 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37608 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37611 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
37612 wxPyEndAllowThreads(__tstate
);
37613 if (PyErr_Occurred()) SWIG_fail
;
37615 resultobj
= SWIG_Py_Void();
37622 SWIGINTERN PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37623 PyObject
*resultobj
= 0;
37624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37625 wxPoint
*arg2
= 0 ;
37627 wxTreeItemId result
;
37632 int res3
= SWIG_TMPOBJ
;
37633 PyObject
* obj0
= 0 ;
37634 PyObject
* obj1
= 0 ;
37635 char * kwnames
[] = {
37636 (char *) "self",(char *) "point", NULL
37640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37642 if (!SWIG_IsOK(res1
)) {
37643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37645 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37648 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37652 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
37653 wxPyEndAllowThreads(__tstate
);
37654 if (PyErr_Occurred()) SWIG_fail
;
37656 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
37657 if (SWIG_IsTmpObj(res3
)) {
37658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
37660 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
37661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
37669 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37670 PyObject
*resultobj
= 0;
37671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37672 wxTreeItemId
*arg2
= 0 ;
37673 bool arg3
= (bool) false ;
37674 PyObject
*result
= 0 ;
37681 PyObject
* obj0
= 0 ;
37682 PyObject
* obj1
= 0 ;
37683 PyObject
* obj2
= 0 ;
37684 char * kwnames
[] = {
37685 (char *) "self",(char *) "item",(char *) "textOnly", NULL
37688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37690 if (!SWIG_IsOK(res1
)) {
37691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37693 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37694 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
37695 if (!SWIG_IsOK(res2
)) {
37696 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37699 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
37701 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
37703 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37704 if (!SWIG_IsOK(ecode3
)) {
37705 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TreeCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
37707 arg3
= static_cast< bool >(val3
);
37710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37711 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
37712 wxPyEndAllowThreads(__tstate
);
37713 if (PyErr_Occurred()) SWIG_fail
;
37715 resultobj
= result
;
37722 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37723 PyObject
*resultobj
= 0;
37724 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
37725 SwigValueWrapper
<wxVisualAttributes
> result
;
37728 PyObject
* obj0
= 0 ;
37729 char * kwnames
[] = {
37730 (char *) "variant", NULL
37733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
37735 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37736 if (!SWIG_IsOK(ecode1
)) {
37737 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "TreeCtrl_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
37739 arg1
= static_cast< wxWindowVariant
>(val1
);
37742 if (!wxPyCheckForApp()) SWIG_fail
;
37743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37744 result
= wxPyTreeCtrl::GetClassDefaultAttributes(arg1
);
37745 wxPyEndAllowThreads(__tstate
);
37746 if (PyErr_Occurred()) SWIG_fail
;
37748 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
37755 SWIGINTERN PyObject
*_wrap_TreeCtrl_SetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37756 PyObject
*resultobj
= 0;
37757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37763 PyObject
* obj0
= 0 ;
37764 PyObject
* obj1
= 0 ;
37765 char * kwnames
[] = {
37766 (char *) "self",(char *) "q", NULL
37769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetQuickBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37771 if (!SWIG_IsOK(res1
)) {
37772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl *""'");
37774 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37775 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37776 if (!SWIG_IsOK(ecode2
)) {
37777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TreeCtrl_SetQuickBestSize" "', expected argument " "2"" of type '" "bool""'");
37779 arg2
= static_cast< bool >(val2
);
37781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37782 (arg1
)->SetQuickBestSize(arg2
);
37783 wxPyEndAllowThreads(__tstate
);
37784 if (PyErr_Occurred()) SWIG_fail
;
37786 resultobj
= SWIG_Py_Void();
37793 SWIGINTERN PyObject
*_wrap_TreeCtrl_GetQuickBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37794 PyObject
*resultobj
= 0;
37795 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
37799 PyObject
*swig_obj
[1] ;
37801 if (!args
) SWIG_fail
;
37802 swig_obj
[0] = args
;
37803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0 );
37804 if (!SWIG_IsOK(res1
)) {
37805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TreeCtrl_GetQuickBestSize" "', expected argument " "1"" of type '" "wxPyTreeCtrl const *""'");
37807 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
37809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37810 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->GetQuickBestSize();
37811 wxPyEndAllowThreads(__tstate
);
37812 if (PyErr_Occurred()) SWIG_fail
;
37815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37823 SWIGINTERN PyObject
*TreeCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37825 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37826 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCtrl
, SWIG_NewClientData(obj
));
37827 return SWIG_Py_Void();
37830 SWIGINTERN PyObject
*TreeCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37831 return SWIG_Python_InitShadowInstance(args
);
37834 SWIGINTERN
int DirDialogDefaultFolderStr_set(PyObject
*) {
37835 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogDefaultFolderStr is read-only.");
37840 SWIGINTERN PyObject
*DirDialogDefaultFolderStr_get(void) {
37841 PyObject
*pyobj
= 0;
37845 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37847 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
37854 SWIGINTERN PyObject
*_wrap_new_GenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37855 PyObject
*resultobj
= 0;
37856 wxWindow
*arg1
= (wxWindow
*) 0 ;
37857 int arg2
= (int) (int)-1 ;
37858 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
37859 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
37860 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
37861 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
37862 wxSize
const &arg5_defvalue
= wxDefaultSize
;
37863 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
37864 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
37865 wxString
const &arg7_defvalue
= wxPyEmptyString
;
37866 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
37867 int arg8
= (int) 0 ;
37868 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
37869 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
37870 wxGenericDirCtrl
*result
= 0 ;
37875 bool temp3
= false ;
37880 bool temp7
= false ;
37883 bool temp9
= false ;
37884 PyObject
* obj0
= 0 ;
37885 PyObject
* obj1
= 0 ;
37886 PyObject
* obj2
= 0 ;
37887 PyObject
* obj3
= 0 ;
37888 PyObject
* obj4
= 0 ;
37889 PyObject
* obj5
= 0 ;
37890 PyObject
* obj6
= 0 ;
37891 PyObject
* obj7
= 0 ;
37892 PyObject
* obj8
= 0 ;
37893 char * kwnames
[] = {
37894 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
37897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
37898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37899 if (!SWIG_IsOK(res1
)) {
37900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GenericDirCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
37902 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
37905 if (!SWIG_IsOK(ecode2
)) {
37906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GenericDirCtrl" "', expected argument " "2"" of type '" "int""'");
37908 arg2
= static_cast< int >(val2
);
37912 arg3
= wxString_in_helper(obj2
);
37913 if (arg3
== NULL
) SWIG_fail
;
37920 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
37926 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
37930 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
37931 if (!SWIG_IsOK(ecode6
)) {
37932 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GenericDirCtrl" "', expected argument " "6"" of type '" "long""'");
37934 arg6
= static_cast< long >(val6
);
37938 arg7
= wxString_in_helper(obj6
);
37939 if (arg7
== NULL
) SWIG_fail
;
37944 ecode8
= SWIG_AsVal_int(obj7
, &val8
);
37945 if (!SWIG_IsOK(ecode8
)) {
37946 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_GenericDirCtrl" "', expected argument " "8"" of type '" "int""'");
37948 arg8
= static_cast< int >(val8
);
37952 arg9
= wxString_in_helper(obj8
);
37953 if (arg9
== NULL
) SWIG_fail
;
37958 if (!wxPyCheckForApp()) SWIG_fail
;
37959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37960 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
37961 wxPyEndAllowThreads(__tstate
);
37962 if (PyErr_Occurred()) SWIG_fail
;
37964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_NEW
| 0 );
37995 SWIGINTERN PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37996 PyObject
*resultobj
= 0;
37997 wxGenericDirCtrl
*result
= 0 ;
37999 if (!SWIG_Python_UnpackTuple(args
,"new_PreGenericDirCtrl",0,0,0)) SWIG_fail
;
38001 if (!wxPyCheckForApp()) SWIG_fail
;
38002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38003 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
38004 wxPyEndAllowThreads(__tstate
);
38005 if (PyErr_Occurred()) SWIG_fail
;
38007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDirCtrl
, SWIG_POINTER_OWN
| 0 );
38014 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38015 PyObject
*resultobj
= 0;
38016 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38017 wxWindow
*arg2
= (wxWindow
*) 0 ;
38018 int arg3
= (int) (int)-1 ;
38019 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
38020 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38021 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
38022 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
38023 wxSize
const &arg6_defvalue
= wxDefaultSize
;
38024 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
38025 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
38026 wxString
const &arg8_defvalue
= wxPyEmptyString
;
38027 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
38028 int arg9
= (int) 0 ;
38029 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
38030 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
38038 bool temp4
= false ;
38043 bool temp8
= false ;
38046 bool temp10
= false ;
38047 PyObject
* obj0
= 0 ;
38048 PyObject
* obj1
= 0 ;
38049 PyObject
* obj2
= 0 ;
38050 PyObject
* obj3
= 0 ;
38051 PyObject
* obj4
= 0 ;
38052 PyObject
* obj5
= 0 ;
38053 PyObject
* obj6
= 0 ;
38054 PyObject
* obj7
= 0 ;
38055 PyObject
* obj8
= 0 ;
38056 PyObject
* obj9
= 0 ;
38057 char * kwnames
[] = {
38058 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
38061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
38062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38063 if (!SWIG_IsOK(res1
)) {
38064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_Create" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38066 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38067 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38068 if (!SWIG_IsOK(res2
)) {
38069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
38071 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38073 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38074 if (!SWIG_IsOK(ecode3
)) {
38075 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GenericDirCtrl_Create" "', expected argument " "3"" of type '" "int""'");
38077 arg3
= static_cast< int >(val3
);
38081 arg4
= wxString_in_helper(obj3
);
38082 if (arg4
== NULL
) SWIG_fail
;
38089 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
38095 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
38099 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
38100 if (!SWIG_IsOK(ecode7
)) {
38101 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "GenericDirCtrl_Create" "', expected argument " "7"" of type '" "long""'");
38103 arg7
= static_cast< long >(val7
);
38107 arg8
= wxString_in_helper(obj7
);
38108 if (arg8
== NULL
) SWIG_fail
;
38113 ecode9
= SWIG_AsVal_int(obj8
, &val9
);
38114 if (!SWIG_IsOK(ecode9
)) {
38115 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "GenericDirCtrl_Create" "', expected argument " "9"" of type '" "int""'");
38117 arg9
= static_cast< int >(val9
);
38121 arg10
= wxString_in_helper(obj9
);
38122 if (arg10
== NULL
) SWIG_fail
;
38127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38128 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
38129 wxPyEndAllowThreads(__tstate
);
38130 if (PyErr_Occurred()) SWIG_fail
;
38133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38165 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38166 PyObject
*resultobj
= 0;
38167 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38168 wxString
*arg2
= 0 ;
38172 bool temp2
= false ;
38173 PyObject
* obj0
= 0 ;
38174 PyObject
* obj1
= 0 ;
38175 char * kwnames
[] = {
38176 (char *) "self",(char *) "path", NULL
38179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38181 if (!SWIG_IsOK(res1
)) {
38182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ExpandPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38184 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38186 arg2
= wxString_in_helper(obj1
);
38187 if (arg2
== NULL
) SWIG_fail
;
38191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38192 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
38193 wxPyEndAllowThreads(__tstate
);
38194 if (PyErr_Occurred()) SWIG_fail
;
38197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38213 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_CollapsePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38214 PyObject
*resultobj
= 0;
38215 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38216 wxString
*arg2
= 0 ;
38220 bool temp2
= false ;
38221 PyObject
* obj0
= 0 ;
38222 PyObject
* obj1
= 0 ;
38223 char * kwnames
[] = {
38224 (char *) "self",(char *) "path", NULL
38227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_CollapsePath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38229 if (!SWIG_IsOK(res1
)) {
38230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_CollapsePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38232 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38234 arg2
= wxString_in_helper(obj1
);
38235 if (arg2
== NULL
) SWIG_fail
;
38239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38240 result
= (bool)(arg1
)->CollapsePath((wxString
const &)*arg2
);
38241 wxPyEndAllowThreads(__tstate
);
38242 if (PyErr_Occurred()) SWIG_fail
;
38245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38261 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38262 PyObject
*resultobj
= 0;
38263 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38267 PyObject
*swig_obj
[1] ;
38269 if (!args
) SWIG_fail
;
38270 swig_obj
[0] = args
;
38271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38272 if (!SWIG_IsOK(res1
)) {
38273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38275 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38278 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
38279 wxPyEndAllowThreads(__tstate
);
38280 if (PyErr_Occurred()) SWIG_fail
;
38284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38295 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38296 PyObject
*resultobj
= 0;
38297 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38298 wxString
*arg2
= 0 ;
38301 bool temp2
= false ;
38302 PyObject
* obj0
= 0 ;
38303 PyObject
* obj1
= 0 ;
38304 char * kwnames
[] = {
38305 (char *) "self",(char *) "path", NULL
38308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",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_SetDefaultPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38313 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38315 arg2
= wxString_in_helper(obj1
);
38316 if (arg2
== NULL
) SWIG_fail
;
38320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38321 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
38322 wxPyEndAllowThreads(__tstate
);
38323 if (PyErr_Occurred()) SWIG_fail
;
38325 resultobj
= SWIG_Py_Void();
38340 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38341 PyObject
*resultobj
= 0;
38342 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38346 PyObject
*swig_obj
[1] ;
38348 if (!args
) SWIG_fail
;
38349 swig_obj
[0] = args
;
38350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38351 if (!SWIG_IsOK(res1
)) {
38352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38354 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38357 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
38358 wxPyEndAllowThreads(__tstate
);
38359 if (PyErr_Occurred()) SWIG_fail
;
38363 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38365 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38374 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38375 PyObject
*resultobj
= 0;
38376 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38380 PyObject
*swig_obj
[1] ;
38382 if (!args
) SWIG_fail
;
38383 swig_obj
[0] = args
;
38384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38385 if (!SWIG_IsOK(res1
)) {
38386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilePath" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38388 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38391 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
38392 wxPyEndAllowThreads(__tstate
);
38393 if (PyErr_Occurred()) SWIG_fail
;
38397 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38399 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38408 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38409 PyObject
*resultobj
= 0;
38410 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38411 wxString
*arg2
= 0 ;
38414 bool temp2
= false ;
38415 PyObject
* obj0
= 0 ;
38416 PyObject
* obj1
= 0 ;
38417 char * kwnames
[] = {
38418 (char *) "self",(char *) "path", NULL
38421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38423 if (!SWIG_IsOK(res1
)) {
38424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetPath" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38426 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38428 arg2
= wxString_in_helper(obj1
);
38429 if (arg2
== NULL
) SWIG_fail
;
38433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38434 (arg1
)->SetPath((wxString
const &)*arg2
);
38435 wxPyEndAllowThreads(__tstate
);
38436 if (PyErr_Occurred()) SWIG_fail
;
38438 resultobj
= SWIG_Py_Void();
38453 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38454 PyObject
*resultobj
= 0;
38455 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38461 PyObject
* obj0
= 0 ;
38462 PyObject
* obj1
= 0 ;
38463 char * kwnames
[] = {
38464 (char *) "self",(char *) "show", NULL
38467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38469 if (!SWIG_IsOK(res1
)) {
38470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38472 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38473 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
38474 if (!SWIG_IsOK(ecode2
)) {
38475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_ShowHidden" "', expected argument " "2"" of type '" "bool""'");
38477 arg2
= static_cast< bool >(val2
);
38479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38480 (arg1
)->ShowHidden(arg2
);
38481 wxPyEndAllowThreads(__tstate
);
38482 if (PyErr_Occurred()) SWIG_fail
;
38484 resultobj
= SWIG_Py_Void();
38491 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38492 PyObject
*resultobj
= 0;
38493 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38497 PyObject
*swig_obj
[1] ;
38499 if (!args
) SWIG_fail
;
38500 swig_obj
[0] = args
;
38501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38502 if (!SWIG_IsOK(res1
)) {
38503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetShowHidden" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38505 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38508 result
= (bool)(arg1
)->GetShowHidden();
38509 wxPyEndAllowThreads(__tstate
);
38510 if (PyErr_Occurred()) SWIG_fail
;
38513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38521 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38522 PyObject
*resultobj
= 0;
38523 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38527 PyObject
*swig_obj
[1] ;
38529 if (!args
) SWIG_fail
;
38530 swig_obj
[0] = args
;
38531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38532 if (!SWIG_IsOK(res1
)) {
38533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38535 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38538 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
38539 wxPyEndAllowThreads(__tstate
);
38540 if (PyErr_Occurred()) SWIG_fail
;
38544 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
38546 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
38555 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38556 PyObject
*resultobj
= 0;
38557 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38558 wxString
*arg2
= 0 ;
38561 bool temp2
= false ;
38562 PyObject
* obj0
= 0 ;
38563 PyObject
* obj1
= 0 ;
38564 char * kwnames
[] = {
38565 (char *) "self",(char *) "filter", NULL
38568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38570 if (!SWIG_IsOK(res1
)) {
38571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilter" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38573 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38575 arg2
= wxString_in_helper(obj1
);
38576 if (arg2
== NULL
) SWIG_fail
;
38580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38581 (arg1
)->SetFilter((wxString
const &)*arg2
);
38582 wxPyEndAllowThreads(__tstate
);
38583 if (PyErr_Occurred()) SWIG_fail
;
38585 resultobj
= SWIG_Py_Void();
38600 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38601 PyObject
*resultobj
= 0;
38602 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38606 PyObject
*swig_obj
[1] ;
38608 if (!args
) SWIG_fail
;
38609 swig_obj
[0] = args
;
38610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38611 if (!SWIG_IsOK(res1
)) {
38612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38614 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38617 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
38618 wxPyEndAllowThreads(__tstate
);
38619 if (PyErr_Occurred()) SWIG_fail
;
38621 resultobj
= SWIG_From_int(static_cast< int >(result
));
38628 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38629 PyObject
*resultobj
= 0;
38630 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38636 PyObject
* obj0
= 0 ;
38637 PyObject
* obj1
= 0 ;
38638 char * kwnames
[] = {
38639 (char *) "self",(char *) "n", NULL
38642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38644 if (!SWIG_IsOK(res1
)) {
38645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38647 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38649 if (!SWIG_IsOK(ecode2
)) {
38650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GenericDirCtrl_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
38652 arg2
= static_cast< int >(val2
);
38654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38655 (arg1
)->SetFilterIndex(arg2
);
38656 wxPyEndAllowThreads(__tstate
);
38657 if (PyErr_Occurred()) SWIG_fail
;
38659 resultobj
= SWIG_Py_Void();
38666 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38667 PyObject
*resultobj
= 0;
38668 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38669 wxTreeItemId result
;
38672 PyObject
*swig_obj
[1] ;
38674 if (!args
) SWIG_fail
;
38675 swig_obj
[0] = args
;
38676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38677 if (!SWIG_IsOK(res1
)) {
38678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetRootId" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38680 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38683 result
= (arg1
)->GetRootId();
38684 wxPyEndAllowThreads(__tstate
);
38685 if (PyErr_Occurred()) SWIG_fail
;
38687 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38694 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38695 PyObject
*resultobj
= 0;
38696 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38697 wxPyTreeCtrl
*result
= 0 ;
38700 PyObject
*swig_obj
[1] ;
38702 if (!args
) SWIG_fail
;
38703 swig_obj
[0] = args
;
38704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38705 if (!SWIG_IsOK(res1
)) {
38706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetTreeCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38708 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38711 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
38712 wxPyEndAllowThreads(__tstate
);
38713 if (PyErr_Occurred()) SWIG_fail
;
38716 resultobj
= wxPyMake_wxObject(result
, 0);
38724 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38725 PyObject
*resultobj
= 0;
38726 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38727 wxDirFilterListCtrl
*result
= 0 ;
38730 PyObject
*swig_obj
[1] ;
38732 if (!args
) SWIG_fail
;
38733 swig_obj
[0] = args
;
38734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38735 if (!SWIG_IsOK(res1
)) {
38736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_GetFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl const *""'");
38738 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38741 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
38742 wxPyEndAllowThreads(__tstate
);
38743 if (PyErr_Occurred()) SWIG_fail
;
38745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
38752 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38753 PyObject
*resultobj
= 0;
38754 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38755 wxTreeItemId arg2
;
38756 wxString
*arg3
= 0 ;
38758 wxTreeItemId result
;
38763 bool temp3
= false ;
38765 int res4
= SWIG_TMPOBJ
;
38766 PyObject
* obj0
= 0 ;
38767 PyObject
* obj1
= 0 ;
38768 PyObject
* obj2
= 0 ;
38769 char * kwnames
[] = {
38770 (char *) "self",(char *) "parentId",(char *) "path", NULL
38774 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38775 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38776 if (!SWIG_IsOK(res1
)) {
38777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38779 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38781 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 | 0);
38782 if (!SWIG_IsOK(res2
)) {
38783 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38786 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GenericDirCtrl_FindChild" "', expected argument " "2"" of type '" "wxTreeItemId""'");
38788 wxTreeItemId
* temp
= reinterpret_cast< wxTreeItemId
* >(argp2
);
38790 if (SWIG_IsNewObj(res2
)) delete temp
;
38794 arg3
= wxString_in_helper(obj2
);
38795 if (arg3
== NULL
) SWIG_fail
;
38799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38800 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
38801 wxPyEndAllowThreads(__tstate
);
38802 if (PyErr_Occurred()) SWIG_fail
;
38804 resultobj
= SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId
& >(result
))), SWIGTYPE_p_wxTreeItemId
, SWIG_POINTER_OWN
| 0 );
38805 if (SWIG_IsTmpObj(res4
)) {
38806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
38808 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
38809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
38825 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38826 PyObject
*resultobj
= 0;
38827 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38830 PyObject
*swig_obj
[1] ;
38832 if (!args
) SWIG_fail
;
38833 swig_obj
[0] = args
;
38834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38835 if (!SWIG_IsOK(res1
)) {
38836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_DoResize" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38838 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38841 (arg1
)->DoResize();
38842 wxPyEndAllowThreads(__tstate
);
38843 if (PyErr_Occurred()) SWIG_fail
;
38845 resultobj
= SWIG_Py_Void();
38852 SWIGINTERN PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38853 PyObject
*resultobj
= 0;
38854 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38857 PyObject
*swig_obj
[1] ;
38859 if (!args
) SWIG_fail
;
38860 swig_obj
[0] = args
;
38861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38862 if (!SWIG_IsOK(res1
)) {
38863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GenericDirCtrl_ReCreateTree" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38865 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38868 (arg1
)->ReCreateTree();
38869 wxPyEndAllowThreads(__tstate
);
38870 if (PyErr_Occurred()) SWIG_fail
;
38872 resultobj
= SWIG_Py_Void();
38879 SWIGINTERN PyObject
*GenericDirCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38881 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38882 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDirCtrl
, SWIG_NewClientData(obj
));
38883 return SWIG_Py_Void();
38886 SWIGINTERN PyObject
*GenericDirCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38887 return SWIG_Python_InitShadowInstance(args
);
38890 SWIGINTERN PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38891 PyObject
*resultobj
= 0;
38892 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
38893 int arg2
= (int) (int)-1 ;
38894 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
38895 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
38896 wxSize
const &arg4_defvalue
= wxDefaultSize
;
38897 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
38898 long arg5
= (long) 0 ;
38899 wxDirFilterListCtrl
*result
= 0 ;
38908 PyObject
* obj0
= 0 ;
38909 PyObject
* obj1
= 0 ;
38910 PyObject
* obj2
= 0 ;
38911 PyObject
* obj3
= 0 ;
38912 PyObject
* obj4
= 0 ;
38913 char * kwnames
[] = {
38914 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
38917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
38919 if (!SWIG_IsOK(res1
)) {
38920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirFilterListCtrl" "', expected argument " "1"" of type '" "wxGenericDirCtrl *""'");
38922 arg1
= reinterpret_cast< wxGenericDirCtrl
* >(argp1
);
38924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38925 if (!SWIG_IsOK(ecode2
)) {
38926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirFilterListCtrl" "', expected argument " "2"" of type '" "int""'");
38928 arg2
= static_cast< int >(val2
);
38933 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
38939 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
38943 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
38944 if (!SWIG_IsOK(ecode5
)) {
38945 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_DirFilterListCtrl" "', expected argument " "5"" of type '" "long""'");
38947 arg5
= static_cast< long >(val5
);
38950 if (!wxPyCheckForApp()) SWIG_fail
;
38951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38952 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
38953 wxPyEndAllowThreads(__tstate
);
38954 if (PyErr_Occurred()) SWIG_fail
;
38956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_NEW
| 0 );
38963 SWIGINTERN PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38964 PyObject
*resultobj
= 0;
38965 wxDirFilterListCtrl
*result
= 0 ;
38967 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirFilterListCtrl",0,0,0)) SWIG_fail
;
38969 if (!wxPyCheckForApp()) SWIG_fail
;
38970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38971 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
38972 wxPyEndAllowThreads(__tstate
);
38973 if (PyErr_Occurred()) SWIG_fail
;
38975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_POINTER_OWN
| 0 );
38982 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38983 PyObject
*resultobj
= 0;
38984 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
38985 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
38986 int arg3
= (int) (int)-1 ;
38987 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
38988 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
38989 wxSize
const &arg5_defvalue
= wxDefaultSize
;
38990 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
38991 long arg6
= (long) 0 ;
39003 PyObject
* obj0
= 0 ;
39004 PyObject
* obj1
= 0 ;
39005 PyObject
* obj2
= 0 ;
39006 PyObject
* obj3
= 0 ;
39007 PyObject
* obj4
= 0 ;
39008 PyObject
* obj5
= 0 ;
39009 char * kwnames
[] = {
39010 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
39013 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39014 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
39015 if (!SWIG_IsOK(res1
)) {
39016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39018 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
39019 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGenericDirCtrl
, 0 | 0 );
39020 if (!SWIG_IsOK(res2
)) {
39021 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "2"" of type '" "wxGenericDirCtrl *""'");
39023 arg2
= reinterpret_cast< wxGenericDirCtrl
* >(argp2
);
39025 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39026 if (!SWIG_IsOK(ecode3
)) {
39027 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
39029 arg3
= static_cast< int >(val3
);
39034 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
39040 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
39044 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
39045 if (!SWIG_IsOK(ecode6
)) {
39046 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "DirFilterListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
39048 arg6
= static_cast< long >(val6
);
39051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39052 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
39053 wxPyEndAllowThreads(__tstate
);
39054 if (PyErr_Occurred()) SWIG_fail
;
39057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39065 SWIGINTERN PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39066 PyObject
*resultobj
= 0;
39067 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
39068 wxString
*arg2
= 0 ;
39072 bool temp2
= false ;
39075 PyObject
* obj0
= 0 ;
39076 PyObject
* obj1
= 0 ;
39077 PyObject
* obj2
= 0 ;
39078 char * kwnames
[] = {
39079 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
39082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirFilterListCtrl
, 0 | 0 );
39084 if (!SWIG_IsOK(res1
)) {
39085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "1"" of type '" "wxDirFilterListCtrl *""'");
39087 arg1
= reinterpret_cast< wxDirFilterListCtrl
* >(argp1
);
39089 arg2
= wxString_in_helper(obj1
);
39090 if (arg2
== NULL
) SWIG_fail
;
39093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39094 if (!SWIG_IsOK(ecode3
)) {
39095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirFilterListCtrl_FillFilterList" "', expected argument " "3"" of type '" "int""'");
39097 arg3
= static_cast< int >(val3
);
39099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39100 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
39101 wxPyEndAllowThreads(__tstate
);
39102 if (PyErr_Occurred()) SWIG_fail
;
39104 resultobj
= SWIG_Py_Void();
39119 SWIGINTERN PyObject
*DirFilterListCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39122 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirFilterListCtrl
, SWIG_NewClientData(obj
));
39123 return SWIG_Py_Void();
39126 SWIGINTERN PyObject
*DirFilterListCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39127 return SWIG_Python_InitShadowInstance(args
);
39130 SWIGINTERN PyObject
*_wrap_new_PyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39131 PyObject
*resultobj
= 0;
39132 wxWindow
*arg1
= (wxWindow
*) 0 ;
39133 int arg2
= (int) (int)-1 ;
39134 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39135 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39136 wxSize
const &arg4_defvalue
= wxDefaultSize
;
39137 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
39138 long arg5
= (long) 0 ;
39139 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
39140 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
39141 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
39142 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
39143 wxPyControl
*result
= 0 ;
39154 bool temp7
= false ;
39155 PyObject
* obj0
= 0 ;
39156 PyObject
* obj1
= 0 ;
39157 PyObject
* obj2
= 0 ;
39158 PyObject
* obj3
= 0 ;
39159 PyObject
* obj4
= 0 ;
39160 PyObject
* obj5
= 0 ;
39161 PyObject
* obj6
= 0 ;
39162 char * kwnames
[] = {
39163 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
39166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
39167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
39168 if (!SWIG_IsOK(res1
)) {
39169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyControl" "', expected argument " "1"" of type '" "wxWindow *""'");
39171 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
39173 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39174 if (!SWIG_IsOK(ecode2
)) {
39175 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyControl" "', expected argument " "2"" of type '" "int""'");
39177 arg2
= static_cast< int >(val2
);
39182 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39188 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
39192 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
39193 if (!SWIG_IsOK(ecode5
)) {
39194 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyControl" "', expected argument " "5"" of type '" "long""'");
39196 arg5
= static_cast< long >(val5
);
39199 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
39200 if (!SWIG_IsOK(res6
)) {
39201 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39204 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PyControl" "', expected argument " "6"" of type '" "wxValidator const &""'");
39206 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
39210 arg7
= wxString_in_helper(obj6
);
39211 if (arg7
== NULL
) SWIG_fail
;
39216 if (!wxPyCheckForApp()) SWIG_fail
;
39217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39218 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
39219 wxPyEndAllowThreads(__tstate
);
39220 if (PyErr_Occurred()) SWIG_fail
;
39222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_NEW
| 0 );
39237 SWIGINTERN PyObject
*_wrap_new_PrePyControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39238 PyObject
*resultobj
= 0;
39239 wxPyControl
*result
= 0 ;
39241 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyControl",0,0,0)) SWIG_fail
;
39243 if (!wxPyCheckForApp()) SWIG_fail
;
39244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39245 result
= (wxPyControl
*)new wxPyControl();
39246 wxPyEndAllowThreads(__tstate
);
39247 if (PyErr_Occurred()) SWIG_fail
;
39249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyControl
, SWIG_POINTER_OWN
| 0 );
39256 SWIGINTERN PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39257 PyObject
*resultobj
= 0;
39258 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39259 PyObject
*arg2
= (PyObject
*) 0 ;
39260 PyObject
*arg3
= (PyObject
*) 0 ;
39263 PyObject
* obj0
= 0 ;
39264 PyObject
* obj1
= 0 ;
39265 PyObject
* obj2
= 0 ;
39266 char * kwnames
[] = {
39267 (char *) "self",(char *) "self",(char *) "_class", NULL
39270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39272 if (!SWIG_IsOK(res1
)) {
39273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyControl *""'");
39275 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39280 (arg1
)->_setCallbackInfo(arg2
,arg3
);
39281 wxPyEndAllowThreads(__tstate
);
39282 if (PyErr_Occurred()) SWIG_fail
;
39284 resultobj
= SWIG_Py_Void();
39291 SWIGINTERN PyObject
*_wrap_PyControl_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39292 PyObject
*resultobj
= 0;
39293 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39294 wxDC
*arg2
= (wxDC
*) 0 ;
39300 PyObject
* obj0
= 0 ;
39301 PyObject
* obj1
= 0 ;
39302 char * kwnames
[] = {
39303 (char *) "self",(char *) "dc", NULL
39306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39308 if (!SWIG_IsOK(res1
)) {
39309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyControl *""'");
39311 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39312 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
39313 if (!SWIG_IsOK(res2
)) {
39314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyControl_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
39316 arg2
= reinterpret_cast< wxDC
* >(argp2
);
39318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39319 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
39320 wxPyEndAllowThreads(__tstate
);
39321 if (PyErr_Occurred()) SWIG_fail
;
39324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39332 SWIGINTERN PyObject
*_wrap_PyControl_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39333 PyObject
*resultobj
= 0;
39334 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39349 PyObject
* obj0
= 0 ;
39350 PyObject
* obj1
= 0 ;
39351 PyObject
* obj2
= 0 ;
39352 PyObject
* obj3
= 0 ;
39353 PyObject
* obj4
= 0 ;
39354 char * kwnames
[] = {
39355 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
39358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39360 if (!SWIG_IsOK(res1
)) {
39361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyControl *""'");
39363 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39365 if (!SWIG_IsOK(ecode2
)) {
39366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
39368 arg2
= static_cast< int >(val2
);
39369 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39370 if (!SWIG_IsOK(ecode3
)) {
39371 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
39373 arg3
= static_cast< int >(val3
);
39374 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39375 if (!SWIG_IsOK(ecode4
)) {
39376 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
39378 arg4
= static_cast< int >(val4
);
39379 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39380 if (!SWIG_IsOK(ecode5
)) {
39381 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
39383 arg5
= static_cast< int >(val5
);
39385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39386 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
39387 wxPyEndAllowThreads(__tstate
);
39388 if (PyErr_Occurred()) SWIG_fail
;
39390 resultobj
= SWIG_Py_Void();
39397 SWIGINTERN PyObject
*_wrap_PyControl_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39398 PyObject
*resultobj
= 0;
39399 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39404 int arg6
= (int) wxSIZE_AUTO
;
39417 PyObject
* obj0
= 0 ;
39418 PyObject
* obj1
= 0 ;
39419 PyObject
* obj2
= 0 ;
39420 PyObject
* obj3
= 0 ;
39421 PyObject
* obj4
= 0 ;
39422 PyObject
* obj5
= 0 ;
39423 char * kwnames
[] = {
39424 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
39427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39429 if (!SWIG_IsOK(res1
)) {
39430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39432 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39434 if (!SWIG_IsOK(ecode2
)) {
39435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetSize" "', expected argument " "2"" of type '" "int""'");
39437 arg2
= static_cast< int >(val2
);
39438 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39439 if (!SWIG_IsOK(ecode3
)) {
39440 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetSize" "', expected argument " "3"" of type '" "int""'");
39442 arg3
= static_cast< int >(val3
);
39443 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39444 if (!SWIG_IsOK(ecode4
)) {
39445 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyControl_DoSetSize" "', expected argument " "4"" of type '" "int""'");
39447 arg4
= static_cast< int >(val4
);
39448 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39449 if (!SWIG_IsOK(ecode5
)) {
39450 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyControl_DoSetSize" "', expected argument " "5"" of type '" "int""'");
39452 arg5
= static_cast< int >(val5
);
39454 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
39455 if (!SWIG_IsOK(ecode6
)) {
39456 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyControl_DoSetSize" "', expected argument " "6"" of type '" "int""'");
39458 arg6
= static_cast< int >(val6
);
39461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39462 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
39463 wxPyEndAllowThreads(__tstate
);
39464 if (PyErr_Occurred()) SWIG_fail
;
39466 resultobj
= SWIG_Py_Void();
39473 SWIGINTERN PyObject
*_wrap_PyControl_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39474 PyObject
*resultobj
= 0;
39475 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39484 PyObject
* obj0
= 0 ;
39485 PyObject
* obj1
= 0 ;
39486 PyObject
* obj2
= 0 ;
39487 char * kwnames
[] = {
39488 (char *) "self",(char *) "width",(char *) "height", NULL
39491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39493 if (!SWIG_IsOK(res1
)) {
39494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39496 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39497 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39498 if (!SWIG_IsOK(ecode2
)) {
39499 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
39501 arg2
= static_cast< int >(val2
);
39502 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39503 if (!SWIG_IsOK(ecode3
)) {
39504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
39506 arg3
= static_cast< int >(val3
);
39508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39509 (arg1
)->DoSetClientSize(arg2
,arg3
);
39510 wxPyEndAllowThreads(__tstate
);
39511 if (PyErr_Occurred()) SWIG_fail
;
39513 resultobj
= SWIG_Py_Void();
39520 SWIGINTERN PyObject
*_wrap_PyControl_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39521 PyObject
*resultobj
= 0;
39522 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39531 PyObject
* obj0
= 0 ;
39532 PyObject
* obj1
= 0 ;
39533 PyObject
* obj2
= 0 ;
39534 char * kwnames
[] = {
39535 (char *) "self",(char *) "x",(char *) "y", NULL
39538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39540 if (!SWIG_IsOK(res1
)) {
39541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl *""'");
39543 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39544 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39545 if (!SWIG_IsOK(ecode2
)) {
39546 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
39548 arg2
= static_cast< int >(val2
);
39549 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39550 if (!SWIG_IsOK(ecode3
)) {
39551 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyControl_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
39553 arg3
= static_cast< int >(val3
);
39555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39556 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
39557 wxPyEndAllowThreads(__tstate
);
39558 if (PyErr_Occurred()) SWIG_fail
;
39560 resultobj
= SWIG_Py_Void();
39567 SWIGINTERN PyObject
*_wrap_PyControl_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39568 PyObject
*resultobj
= 0;
39569 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39570 int *arg2
= (int *) 0 ;
39571 int *arg3
= (int *) 0 ;
39575 int res2
= SWIG_TMPOBJ
;
39577 int res3
= SWIG_TMPOBJ
;
39578 PyObject
*swig_obj
[1] ;
39582 if (!args
) SWIG_fail
;
39583 swig_obj
[0] = args
;
39584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39585 if (!SWIG_IsOK(res1
)) {
39586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39588 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39591 ((wxPyControl
const *)arg1
)->DoGetSize(arg2
,arg3
);
39592 wxPyEndAllowThreads(__tstate
);
39593 if (PyErr_Occurred()) SWIG_fail
;
39595 resultobj
= SWIG_Py_Void();
39596 if (SWIG_IsTmpObj(res2
)) {
39597 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39599 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39600 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39602 if (SWIG_IsTmpObj(res3
)) {
39603 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39605 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39606 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39614 SWIGINTERN PyObject
*_wrap_PyControl_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39615 PyObject
*resultobj
= 0;
39616 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39617 int *arg2
= (int *) 0 ;
39618 int *arg3
= (int *) 0 ;
39622 int res2
= SWIG_TMPOBJ
;
39624 int res3
= SWIG_TMPOBJ
;
39625 PyObject
*swig_obj
[1] ;
39629 if (!args
) SWIG_fail
;
39630 swig_obj
[0] = args
;
39631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39632 if (!SWIG_IsOK(res1
)) {
39633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39635 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39638 ((wxPyControl
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
39639 wxPyEndAllowThreads(__tstate
);
39640 if (PyErr_Occurred()) SWIG_fail
;
39642 resultobj
= SWIG_Py_Void();
39643 if (SWIG_IsTmpObj(res2
)) {
39644 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39646 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39649 if (SWIG_IsTmpObj(res3
)) {
39650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39652 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39661 SWIGINTERN PyObject
*_wrap_PyControl_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39662 PyObject
*resultobj
= 0;
39663 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39664 int *arg2
= (int *) 0 ;
39665 int *arg3
= (int *) 0 ;
39669 int res2
= SWIG_TMPOBJ
;
39671 int res3
= SWIG_TMPOBJ
;
39672 PyObject
*swig_obj
[1] ;
39676 if (!args
) SWIG_fail
;
39677 swig_obj
[0] = args
;
39678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39679 if (!SWIG_IsOK(res1
)) {
39680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetPosition" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39682 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39685 ((wxPyControl
const *)arg1
)->DoGetPosition(arg2
,arg3
);
39686 wxPyEndAllowThreads(__tstate
);
39687 if (PyErr_Occurred()) SWIG_fail
;
39689 resultobj
= SWIG_Py_Void();
39690 if (SWIG_IsTmpObj(res2
)) {
39691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
39693 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39694 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
39696 if (SWIG_IsTmpObj(res3
)) {
39697 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
39699 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
39700 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
39708 SWIGINTERN PyObject
*_wrap_PyControl_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39709 PyObject
*resultobj
= 0;
39710 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39714 PyObject
*swig_obj
[1] ;
39716 if (!args
) SWIG_fail
;
39717 swig_obj
[0] = args
;
39718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39719 if (!SWIG_IsOK(res1
)) {
39720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39722 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39725 result
= ((wxPyControl
const *)arg1
)->DoGetVirtualSize();
39726 wxPyEndAllowThreads(__tstate
);
39727 if (PyErr_Occurred()) SWIG_fail
;
39729 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39736 SWIGINTERN PyObject
*_wrap_PyControl_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39737 PyObject
*resultobj
= 0;
39738 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39742 PyObject
*swig_obj
[1] ;
39744 if (!args
) SWIG_fail
;
39745 swig_obj
[0] = args
;
39746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39747 if (!SWIG_IsOK(res1
)) {
39748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyControl const *""'");
39750 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39753 result
= ((wxPyControl
const *)arg1
)->DoGetBestSize();
39754 wxPyEndAllowThreads(__tstate
);
39755 if (PyErr_Occurred()) SWIG_fail
;
39757 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
39764 SWIGINTERN PyObject
*_wrap_PyControl_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39765 PyObject
*resultobj
= 0;
39766 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39767 SwigValueWrapper
<wxVisualAttributes
> result
;
39770 PyObject
*swig_obj
[1] ;
39772 if (!args
) SWIG_fail
;
39773 swig_obj
[0] = args
;
39774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39775 if (!SWIG_IsOK(res1
)) {
39776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyControl *""'");
39778 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39781 result
= (arg1
)->GetDefaultAttributes();
39782 wxPyEndAllowThreads(__tstate
);
39783 if (PyErr_Occurred()) SWIG_fail
;
39785 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
39792 SWIGINTERN PyObject
*_wrap_PyControl_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39793 PyObject
*resultobj
= 0;
39794 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
39797 PyObject
*swig_obj
[1] ;
39799 if (!args
) SWIG_fail
;
39800 swig_obj
[0] = args
;
39801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyControl
, 0 | 0 );
39802 if (!SWIG_IsOK(res1
)) {
39803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyControl_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyControl *""'");
39805 arg1
= reinterpret_cast< wxPyControl
* >(argp1
);
39807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39808 (arg1
)->OnInternalIdle();
39809 wxPyEndAllowThreads(__tstate
);
39810 if (PyErr_Occurred()) SWIG_fail
;
39812 resultobj
= SWIG_Py_Void();
39819 SWIGINTERN PyObject
*PyControl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39821 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
39822 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyControl
, SWIG_NewClientData(obj
));
39823 return SWIG_Py_Void();
39826 SWIGINTERN PyObject
*PyControl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39827 return SWIG_Python_InitShadowInstance(args
);
39830 SWIGINTERN PyObject
*_wrap_new_HelpEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39831 PyObject
*resultobj
= 0;
39832 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
39833 int arg2
= (int) 0 ;
39834 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
39835 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
39836 wxHelpEvent::Origin arg4
= (wxHelpEvent::Origin
) wxHelpEvent::Origin_Unknown
;
39837 wxHelpEvent
*result
= 0 ;
39845 PyObject
* obj0
= 0 ;
39846 PyObject
* obj1
= 0 ;
39847 PyObject
* obj2
= 0 ;
39848 PyObject
* obj3
= 0 ;
39849 char * kwnames
[] = {
39850 (char *) "type",(char *) "winid",(char *) "pt",(char *) "origin", NULL
39853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39855 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
39856 if (!SWIG_IsOK(ecode1
)) {
39857 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_HelpEvent" "', expected argument " "1"" of type '" "wxEventType""'");
39859 arg1
= static_cast< wxEventType
>(val1
);
39862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39863 if (!SWIG_IsOK(ecode2
)) {
39864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HelpEvent" "', expected argument " "2"" of type '" "int""'");
39866 arg2
= static_cast< int >(val2
);
39871 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
39875 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
39876 if (!SWIG_IsOK(ecode4
)) {
39877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_HelpEvent" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
39879 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
39882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39883 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
,arg4
);
39884 wxPyEndAllowThreads(__tstate
);
39885 if (PyErr_Occurred()) SWIG_fail
;
39887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpEvent
, SWIG_POINTER_NEW
| 0 );
39894 SWIGINTERN PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39895 PyObject
*resultobj
= 0;
39896 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39900 PyObject
*swig_obj
[1] ;
39902 if (!args
) SWIG_fail
;
39903 swig_obj
[0] = args
;
39904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39905 if (!SWIG_IsOK(res1
)) {
39906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetPosition" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39908 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39911 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
39912 wxPyEndAllowThreads(__tstate
);
39913 if (PyErr_Occurred()) SWIG_fail
;
39915 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
39922 SWIGINTERN PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39923 PyObject
*resultobj
= 0;
39924 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39925 wxPoint
*arg2
= 0 ;
39929 PyObject
* obj0
= 0 ;
39930 PyObject
* obj1
= 0 ;
39931 char * kwnames
[] = {
39932 (char *) "self",(char *) "pos", NULL
39935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39937 if (!SWIG_IsOK(res1
)) {
39938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetPosition" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
39940 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39943 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39947 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
39948 wxPyEndAllowThreads(__tstate
);
39949 if (PyErr_Occurred()) SWIG_fail
;
39951 resultobj
= SWIG_Py_Void();
39958 SWIGINTERN PyObject
*_wrap_HelpEvent_GetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39959 PyObject
*resultobj
= 0;
39960 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39961 wxString
*result
= 0 ;
39964 PyObject
*swig_obj
[1] ;
39966 if (!args
) SWIG_fail
;
39967 swig_obj
[0] = args
;
39968 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
39969 if (!SWIG_IsOK(res1
)) {
39970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetLink" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
39972 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
39974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39976 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
39977 result
= (wxString
*) &_result_ref
;
39979 wxPyEndAllowThreads(__tstate
);
39980 if (PyErr_Occurred()) SWIG_fail
;
39984 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
39986 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
39995 SWIGINTERN PyObject
*_wrap_HelpEvent_SetLink(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39996 PyObject
*resultobj
= 0;
39997 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
39998 wxString
*arg2
= 0 ;
40001 bool temp2
= false ;
40002 PyObject
* obj0
= 0 ;
40003 PyObject
* obj1
= 0 ;
40004 char * kwnames
[] = {
40005 (char *) "self",(char *) "link", NULL
40008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40010 if (!SWIG_IsOK(res1
)) {
40011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetLink" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40013 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40015 arg2
= wxString_in_helper(obj1
);
40016 if (arg2
== NULL
) SWIG_fail
;
40020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40021 (arg1
)->SetLink((wxString
const &)*arg2
);
40022 wxPyEndAllowThreads(__tstate
);
40023 if (PyErr_Occurred()) SWIG_fail
;
40025 resultobj
= SWIG_Py_Void();
40040 SWIGINTERN PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40041 PyObject
*resultobj
= 0;
40042 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40043 wxString
*result
= 0 ;
40046 PyObject
*swig_obj
[1] ;
40048 if (!args
) SWIG_fail
;
40049 swig_obj
[0] = args
;
40050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40051 if (!SWIG_IsOK(res1
)) {
40052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetTarget" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40054 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40058 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
40059 result
= (wxString
*) &_result_ref
;
40061 wxPyEndAllowThreads(__tstate
);
40062 if (PyErr_Occurred()) SWIG_fail
;
40066 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
40068 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
40077 SWIGINTERN PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40078 PyObject
*resultobj
= 0;
40079 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40080 wxString
*arg2
= 0 ;
40083 bool temp2
= false ;
40084 PyObject
* obj0
= 0 ;
40085 PyObject
* obj1
= 0 ;
40086 char * kwnames
[] = {
40087 (char *) "self",(char *) "target", NULL
40090 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40092 if (!SWIG_IsOK(res1
)) {
40093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetTarget" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40095 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40097 arg2
= wxString_in_helper(obj1
);
40098 if (arg2
== NULL
) SWIG_fail
;
40102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40103 (arg1
)->SetTarget((wxString
const &)*arg2
);
40104 wxPyEndAllowThreads(__tstate
);
40105 if (PyErr_Occurred()) SWIG_fail
;
40107 resultobj
= SWIG_Py_Void();
40122 SWIGINTERN PyObject
*_wrap_HelpEvent_GetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40123 PyObject
*resultobj
= 0;
40124 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40125 wxHelpEvent::Origin result
;
40128 PyObject
*swig_obj
[1] ;
40130 if (!args
) SWIG_fail
;
40131 swig_obj
[0] = args
;
40132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40133 if (!SWIG_IsOK(res1
)) {
40134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_GetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent const *""'");
40136 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40139 result
= (wxHelpEvent::Origin
)((wxHelpEvent
const *)arg1
)->GetOrigin();
40140 wxPyEndAllowThreads(__tstate
);
40141 if (PyErr_Occurred()) SWIG_fail
;
40143 resultobj
= SWIG_From_int(static_cast< int >(result
));
40150 SWIGINTERN PyObject
*_wrap_HelpEvent_SetOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40151 PyObject
*resultobj
= 0;
40152 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
40153 wxHelpEvent::Origin arg2
;
40158 PyObject
* obj0
= 0 ;
40159 PyObject
* obj1
= 0 ;
40160 char * kwnames
[] = {
40161 (char *) "self",(char *) "origin", NULL
40164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetOrigin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpEvent
, 0 | 0 );
40166 if (!SWIG_IsOK(res1
)) {
40167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "1"" of type '" "wxHelpEvent *""'");
40169 arg1
= reinterpret_cast< wxHelpEvent
* >(argp1
);
40170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40171 if (!SWIG_IsOK(ecode2
)) {
40172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpEvent_SetOrigin" "', expected argument " "2"" of type '" "wxHelpEvent::Origin""'");
40174 arg2
= static_cast< wxHelpEvent::Origin
>(val2
);
40176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40177 (arg1
)->SetOrigin(arg2
);
40178 wxPyEndAllowThreads(__tstate
);
40179 if (PyErr_Occurred()) SWIG_fail
;
40181 resultobj
= SWIG_Py_Void();
40188 SWIGINTERN PyObject
*HelpEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40191 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpEvent
, SWIG_NewClientData(obj
));
40192 return SWIG_Py_Void();
40195 SWIGINTERN PyObject
*HelpEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40196 return SWIG_Python_InitShadowInstance(args
);
40199 SWIGINTERN PyObject
*_wrap_new_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40200 PyObject
*resultobj
= 0;
40201 wxWindow
*arg1
= (wxWindow
*) NULL
;
40202 bool arg2
= (bool) true ;
40203 wxContextHelp
*result
= 0 ;
40208 PyObject
* obj0
= 0 ;
40209 PyObject
* obj1
= 0 ;
40210 char * kwnames
[] = {
40211 (char *) "window",(char *) "doNow", NULL
40214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40217 if (!SWIG_IsOK(res1
)) {
40218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelp" "', expected argument " "1"" of type '" "wxWindow *""'");
40220 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40223 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
40224 if (!SWIG_IsOK(ecode2
)) {
40225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelp" "', expected argument " "2"" of type '" "bool""'");
40227 arg2
= static_cast< bool >(val2
);
40230 if (!wxPyCheckForApp()) SWIG_fail
;
40231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40232 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
40233 wxPyEndAllowThreads(__tstate
);
40234 if (PyErr_Occurred()) SWIG_fail
;
40236 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_NEW
| 0 );
40243 SWIGINTERN PyObject
*_wrap_delete_ContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40244 PyObject
*resultobj
= 0;
40245 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40248 PyObject
*swig_obj
[1] ;
40250 if (!args
) SWIG_fail
;
40251 swig_obj
[0] = args
;
40252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, SWIG_POINTER_DISOWN
| 0 );
40253 if (!SWIG_IsOK(res1
)) {
40254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40256 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40261 wxPyEndAllowThreads(__tstate
);
40262 if (PyErr_Occurred()) SWIG_fail
;
40264 resultobj
= SWIG_Py_Void();
40271 SWIGINTERN PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40272 PyObject
*resultobj
= 0;
40273 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40274 wxWindow
*arg2
= (wxWindow
*) NULL
;
40280 PyObject
* obj0
= 0 ;
40281 PyObject
* obj1
= 0 ;
40282 char * kwnames
[] = {
40283 (char *) "self",(char *) "window", NULL
40286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40288 if (!SWIG_IsOK(res1
)) {
40289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40291 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40293 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40294 if (!SWIG_IsOK(res2
)) {
40295 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ContextHelp_BeginContextHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40297 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40301 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
40302 wxPyEndAllowThreads(__tstate
);
40303 if (PyErr_Occurred()) SWIG_fail
;
40306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40314 SWIGINTERN PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40315 PyObject
*resultobj
= 0;
40316 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
40320 PyObject
*swig_obj
[1] ;
40322 if (!args
) SWIG_fail
;
40323 swig_obj
[0] = args
;
40324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextHelp
, 0 | 0 );
40325 if (!SWIG_IsOK(res1
)) {
40326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextHelp_EndContextHelp" "', expected argument " "1"" of type '" "wxContextHelp *""'");
40328 arg1
= reinterpret_cast< wxContextHelp
* >(argp1
);
40330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40331 result
= (bool)(arg1
)->EndContextHelp();
40332 wxPyEndAllowThreads(__tstate
);
40333 if (PyErr_Occurred()) SWIG_fail
;
40336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40344 SWIGINTERN PyObject
*ContextHelp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40346 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40347 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelp
, SWIG_NewClientData(obj
));
40348 return SWIG_Py_Void();
40351 SWIGINTERN PyObject
*ContextHelp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40352 return SWIG_Python_InitShadowInstance(args
);
40355 SWIGINTERN PyObject
*_wrap_new_ContextHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40356 PyObject
*resultobj
= 0;
40357 wxWindow
*arg1
= (wxWindow
*) 0 ;
40358 int arg2
= (int) wxID_CONTEXT_HELP
;
40359 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
40360 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
40361 wxSize
const &arg4_defvalue
= wxDefaultSize
;
40362 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
40363 long arg5
= (long) wxBU_AUTODRAW
;
40364 wxContextHelpButton
*result
= 0 ;
40373 PyObject
* obj0
= 0 ;
40374 PyObject
* obj1
= 0 ;
40375 PyObject
* obj2
= 0 ;
40376 PyObject
* obj3
= 0 ;
40377 PyObject
* obj4
= 0 ;
40378 char * kwnames
[] = {
40379 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
40382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
40383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40384 if (!SWIG_IsOK(res1
)) {
40385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ContextHelpButton" "', expected argument " "1"" of type '" "wxWindow *""'");
40387 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
40389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40390 if (!SWIG_IsOK(ecode2
)) {
40391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextHelpButton" "', expected argument " "2"" of type '" "int""'");
40393 arg2
= static_cast< int >(val2
);
40398 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40404 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
40408 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
40409 if (!SWIG_IsOK(ecode5
)) {
40410 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ContextHelpButton" "', expected argument " "5"" of type '" "long""'");
40412 arg5
= static_cast< long >(val5
);
40415 if (!wxPyCheckForApp()) SWIG_fail
;
40416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40417 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
40418 wxPyEndAllowThreads(__tstate
);
40419 if (PyErr_Occurred()) SWIG_fail
;
40421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextHelpButton
, SWIG_POINTER_NEW
| 0 );
40428 SWIGINTERN PyObject
*ContextHelpButton_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40430 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40431 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextHelpButton
, SWIG_NewClientData(obj
));
40432 return SWIG_Py_Void();
40435 SWIGINTERN PyObject
*ContextHelpButton_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40436 return SWIG_Python_InitShadowInstance(args
);
40439 SWIGINTERN PyObject
*_wrap_delete_HelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40440 PyObject
*resultobj
= 0;
40441 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40444 PyObject
*swig_obj
[1] ;
40446 if (!args
) SWIG_fail
;
40447 swig_obj
[0] = args
;
40448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40449 if (!SWIG_IsOK(res1
)) {
40450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_HelpProvider" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40452 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40457 wxPyEndAllowThreads(__tstate
);
40458 if (PyErr_Occurred()) SWIG_fail
;
40460 resultobj
= SWIG_Py_Void();
40467 SWIGINTERN PyObject
*_wrap_HelpProvider_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40468 PyObject
*resultobj
= 0;
40469 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40470 wxHelpProvider
*result
= 0 ;
40472 PyObject
* obj0
= 0 ;
40473 char * kwnames
[] = {
40474 (char *) "helpProvider", NULL
40477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) SWIG_fail
;
40478 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_DISOWN
| 0 );
40479 if (!SWIG_IsOK(res1
)) {
40480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Set" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40484 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
40485 wxPyEndAllowThreads(__tstate
);
40486 if (PyErr_Occurred()) SWIG_fail
;
40488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, SWIG_POINTER_OWN
| 0 );
40495 SWIGINTERN PyObject
*_wrap_HelpProvider_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40496 PyObject
*resultobj
= 0;
40497 wxHelpProvider
*result
= 0 ;
40499 if (!SWIG_Python_UnpackTuple(args
,"HelpProvider_Get",0,0,0)) SWIG_fail
;
40501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40502 result
= (wxHelpProvider
*)wxHelpProvider::Get();
40503 wxPyEndAllowThreads(__tstate
);
40504 if (PyErr_Occurred()) SWIG_fail
;
40506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40513 SWIGINTERN PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40514 PyObject
*resultobj
= 0;
40515 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40516 wxWindow
*arg2
= (wxWindow
*) 0 ;
40522 PyObject
* obj0
= 0 ;
40523 PyObject
* obj1
= 0 ;
40524 char * kwnames
[] = {
40525 (char *) "self",(char *) "window", NULL
40528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40530 if (!SWIG_IsOK(res1
)) {
40531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_GetHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40533 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40535 if (!SWIG_IsOK(res2
)) {
40536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_GetHelp" "', expected argument " "2"" of type '" "wxWindow const *""'");
40538 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40541 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
40542 wxPyEndAllowThreads(__tstate
);
40543 if (PyErr_Occurred()) SWIG_fail
;
40547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40558 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40559 PyObject
*resultobj
= 0;
40560 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40561 wxWindow
*arg2
= (wxWindow
*) 0 ;
40567 PyObject
* obj0
= 0 ;
40568 PyObject
* obj1
= 0 ;
40569 char * kwnames
[] = {
40570 (char *) "self",(char *) "window", NULL
40573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40575 if (!SWIG_IsOK(res1
)) {
40576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40578 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40580 if (!SWIG_IsOK(res2
)) {
40581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40583 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40586 result
= (bool)(arg1
)->ShowHelp(arg2
);
40587 wxPyEndAllowThreads(__tstate
);
40588 if (PyErr_Occurred()) SWIG_fail
;
40591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40599 SWIGINTERN PyObject
*_wrap_HelpProvider_ShowHelpAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40600 PyObject
*resultobj
= 0;
40601 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40602 wxWindowBase
*arg2
= (wxWindowBase
*) 0 ;
40603 wxPoint
*arg3
= 0 ;
40604 wxHelpEvent::Origin arg4
;
40613 PyObject
* obj0
= 0 ;
40614 PyObject
* obj1
= 0 ;
40615 PyObject
* obj2
= 0 ;
40616 PyObject
* obj3
= 0 ;
40617 char * kwnames
[] = {
40618 (char *) "self",(char *) "window",(char *) "pt",(char *) "origin", NULL
40621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:HelpProvider_ShowHelpAtPoint",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40623 if (!SWIG_IsOK(res1
)) {
40624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40626 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40627 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindowBase
, 0 | 0 );
40628 if (!SWIG_IsOK(res2
)) {
40629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "2"" of type '" "wxWindowBase *""'");
40631 arg2
= reinterpret_cast< wxWindowBase
* >(argp2
);
40634 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
40636 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
40637 if (!SWIG_IsOK(ecode4
)) {
40638 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "HelpProvider_ShowHelpAtPoint" "', expected argument " "4"" of type '" "wxHelpEvent::Origin""'");
40640 arg4
= static_cast< wxHelpEvent::Origin
>(val4
);
40642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40643 result
= (bool)(arg1
)->ShowHelpAtPoint(arg2
,(wxPoint
const &)*arg3
,arg4
);
40644 wxPyEndAllowThreads(__tstate
);
40645 if (PyErr_Occurred()) SWIG_fail
;
40648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40656 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40657 PyObject
*resultobj
= 0;
40658 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40659 wxWindow
*arg2
= (wxWindow
*) 0 ;
40660 wxString
*arg3
= 0 ;
40665 bool temp3
= false ;
40666 PyObject
* obj0
= 0 ;
40667 PyObject
* obj1
= 0 ;
40668 PyObject
* obj2
= 0 ;
40669 char * kwnames
[] = {
40670 (char *) "self",(char *) "window",(char *) "text", NULL
40673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40675 if (!SWIG_IsOK(res1
)) {
40676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40678 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40680 if (!SWIG_IsOK(res2
)) {
40681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_AddHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40683 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40685 arg3
= wxString_in_helper(obj2
);
40686 if (arg3
== NULL
) SWIG_fail
;
40690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40691 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40692 wxPyEndAllowThreads(__tstate
);
40693 if (PyErr_Occurred()) SWIG_fail
;
40695 resultobj
= SWIG_Py_Void();
40710 SWIGINTERN PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40711 PyObject
*resultobj
= 0;
40712 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40714 wxString
*arg3
= 0 ;
40719 bool temp3
= false ;
40720 PyObject
* obj0
= 0 ;
40721 PyObject
* obj1
= 0 ;
40722 PyObject
* obj2
= 0 ;
40723 char * kwnames
[] = {
40724 (char *) "self",(char *) "id",(char *) "text", NULL
40727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40729 if (!SWIG_IsOK(res1
)) {
40730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40732 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40734 if (!SWIG_IsOK(ecode2
)) {
40735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HelpProvider_AddHelpById" "', expected argument " "2"" of type '" "int""'");
40737 arg2
= static_cast< int >(val2
);
40739 arg3
= wxString_in_helper(obj2
);
40740 if (arg3
== NULL
) SWIG_fail
;
40744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40745 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
40746 wxPyEndAllowThreads(__tstate
);
40747 if (PyErr_Occurred()) SWIG_fail
;
40749 resultobj
= SWIG_Py_Void();
40764 SWIGINTERN PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40765 PyObject
*resultobj
= 0;
40766 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40767 wxWindow
*arg2
= (wxWindow
*) 0 ;
40772 PyObject
* obj0
= 0 ;
40773 PyObject
* obj1
= 0 ;
40774 char * kwnames
[] = {
40775 (char *) "self",(char *) "window", NULL
40778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40780 if (!SWIG_IsOK(res1
)) {
40781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40783 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40784 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40785 if (!SWIG_IsOK(res2
)) {
40786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HelpProvider_RemoveHelp" "', expected argument " "2"" of type '" "wxWindow *""'");
40788 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40791 (arg1
)->RemoveHelp(arg2
);
40792 wxPyEndAllowThreads(__tstate
);
40793 if (PyErr_Occurred()) SWIG_fail
;
40795 resultobj
= SWIG_Py_Void();
40802 SWIGINTERN PyObject
*_wrap_HelpProvider_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40803 PyObject
*resultobj
= 0;
40804 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
40807 PyObject
*swig_obj
[1] ;
40809 if (!args
) SWIG_fail
;
40810 swig_obj
[0] = args
;
40811 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHelpProvider
, 0 | 0 );
40812 if (!SWIG_IsOK(res1
)) {
40813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HelpProvider_Destroy" "', expected argument " "1"" of type '" "wxHelpProvider *""'");
40815 arg1
= reinterpret_cast< wxHelpProvider
* >(argp1
);
40817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40818 wxHelpProvider_Destroy(arg1
);
40819 wxPyEndAllowThreads(__tstate
);
40820 if (PyErr_Occurred()) SWIG_fail
;
40822 resultobj
= SWIG_Py_Void();
40829 SWIGINTERN PyObject
*HelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40831 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40832 SWIG_TypeNewClientData(SWIGTYPE_p_wxHelpProvider
, SWIG_NewClientData(obj
));
40833 return SWIG_Py_Void();
40836 SWIGINTERN PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40837 PyObject
*resultobj
= 0;
40838 wxSimpleHelpProvider
*result
= 0 ;
40840 if (!SWIG_Python_UnpackTuple(args
,"new_SimpleHelpProvider",0,0,0)) SWIG_fail
;
40842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40843 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
40844 wxPyEndAllowThreads(__tstate
);
40845 if (PyErr_Occurred()) SWIG_fail
;
40847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_POINTER_NEW
| 0 );
40854 SWIGINTERN PyObject
*SimpleHelpProvider_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40857 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHelpProvider
, SWIG_NewClientData(obj
));
40858 return SWIG_Py_Void();
40861 SWIGINTERN PyObject
*SimpleHelpProvider_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40862 return SWIG_Python_InitShadowInstance(args
);
40865 SWIGINTERN PyObject
*_wrap_new_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40866 PyObject
*resultobj
= 0;
40867 wxBitmap
*arg1
= 0 ;
40868 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40869 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40870 wxGenericDragImage
*result
= 0 ;
40875 PyObject
* obj0
= 0 ;
40876 PyObject
* obj1
= 0 ;
40877 char * kwnames
[] = {
40878 (char *) "image",(char *) "cursor", NULL
40881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40882 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
40883 if (!SWIG_IsOK(res1
)) {
40884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40887 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "1"" of type '" "wxBitmap const &""'");
40889 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
40891 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40892 if (!SWIG_IsOK(res2
)) {
40893 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40896 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragImage" "', expected argument " "2"" of type '" "wxCursor const &""'");
40898 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40901 if (!wxPyCheckForApp()) SWIG_fail
;
40902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40903 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
40904 wxPyEndAllowThreads(__tstate
);
40905 if (PyErr_Occurred()) SWIG_fail
;
40907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_NEW
| 0 );
40914 SWIGINTERN PyObject
*_wrap_new_DragIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40915 PyObject
*resultobj
= 0;
40917 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40918 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40919 wxGenericDragImage
*result
= 0 ;
40924 PyObject
* obj0
= 0 ;
40925 PyObject
* obj1
= 0 ;
40926 char * kwnames
[] = {
40927 (char *) "image",(char *) "cursor", NULL
40930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40931 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxIcon
, 0 | 0);
40932 if (!SWIG_IsOK(res1
)) {
40933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40936 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "1"" of type '" "wxIcon const &""'");
40938 arg1
= reinterpret_cast< wxIcon
* >(argp1
);
40940 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40941 if (!SWIG_IsOK(res2
)) {
40942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragIcon" "', expected argument " "2"" of type '" "wxCursor const &""'");
40947 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40950 if (!wxPyCheckForApp()) SWIG_fail
;
40951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40952 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
40953 wxPyEndAllowThreads(__tstate
);
40954 if (PyErr_Occurred()) SWIG_fail
;
40956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
40963 SWIGINTERN PyObject
*_wrap_new_DragString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40964 PyObject
*resultobj
= 0;
40965 wxString
*arg1
= 0 ;
40966 wxCursor
const &arg2_defvalue
= wxNullCursor
;
40967 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
40968 wxGenericDragImage
*result
= 0 ;
40969 bool temp1
= false ;
40972 PyObject
* obj0
= 0 ;
40973 PyObject
* obj1
= 0 ;
40974 char * kwnames
[] = {
40975 (char *) "str",(char *) "cursor", NULL
40978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40980 arg1
= wxString_in_helper(obj0
);
40981 if (arg1
== NULL
) SWIG_fail
;
40985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
40986 if (!SWIG_IsOK(res2
)) {
40987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragString" "', expected argument " "2"" of type '" "wxCursor const &""'");
40992 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
40995 if (!wxPyCheckForApp()) SWIG_fail
;
40996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40997 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
40998 wxPyEndAllowThreads(__tstate
);
40999 if (PyErr_Occurred()) SWIG_fail
;
41001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41016 SWIGINTERN PyObject
*_wrap_new_DragTreeItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41017 PyObject
*resultobj
= 0;
41018 wxPyTreeCtrl
*arg1
= 0 ;
41019 wxTreeItemId
*arg2
= 0 ;
41020 wxGenericDragImage
*result
= 0 ;
41025 PyObject
* obj0
= 0 ;
41026 PyObject
* obj1
= 0 ;
41027 char * kwnames
[] = {
41028 (char *) "treeCtrl",(char *) "id", NULL
41031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41032 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyTreeCtrl
, 0 | 0);
41033 if (!SWIG_IsOK(res1
)) {
41034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
41037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "1"" of type '" "wxPyTreeCtrl const &""'");
41039 arg1
= reinterpret_cast< wxPyTreeCtrl
* >(argp1
);
41040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxTreeItemId
, 0 );
41041 if (!SWIG_IsOK(res2
)) {
41042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
41045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragTreeItem" "', expected argument " "2"" of type '" "wxTreeItemId &""'");
41047 arg2
= reinterpret_cast< wxTreeItemId
* >(argp2
);
41049 if (!wxPyCheckForApp()) SWIG_fail
;
41050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41051 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
41052 wxPyEndAllowThreads(__tstate
);
41053 if (PyErr_Occurred()) SWIG_fail
;
41055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41062 SWIGINTERN PyObject
*_wrap_new_DragListItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41063 PyObject
*resultobj
= 0;
41064 wxPyListCtrl
*arg1
= 0 ;
41066 wxGenericDragImage
*result
= 0 ;
41071 PyObject
* obj0
= 0 ;
41072 PyObject
* obj1
= 0 ;
41073 char * kwnames
[] = {
41074 (char *) "listCtrl",(char *) "id", NULL
41077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41078 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxPyListCtrl
, 0 | 0);
41079 if (!SWIG_IsOK(res1
)) {
41080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DragListItem" "', expected argument " "1"" of type '" "wxPyListCtrl const &""'");
41085 arg1
= reinterpret_cast< wxPyListCtrl
* >(argp1
);
41086 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
41087 if (!SWIG_IsOK(ecode2
)) {
41088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DragListItem" "', expected argument " "2"" of type '" "long""'");
41090 arg2
= static_cast< long >(val2
);
41092 if (!wxPyCheckForApp()) SWIG_fail
;
41093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41094 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
41095 wxPyEndAllowThreads(__tstate
);
41096 if (PyErr_Occurred()) SWIG_fail
;
41098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_OWN
| 0 );
41105 SWIGINTERN PyObject
*_wrap_delete_DragImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41106 PyObject
*resultobj
= 0;
41107 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41110 PyObject
*swig_obj
[1] ;
41112 if (!args
) SWIG_fail
;
41113 swig_obj
[0] = args
;
41114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, SWIG_POINTER_DISOWN
| 0 );
41115 if (!SWIG_IsOK(res1
)) {
41116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_DragImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41118 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41123 wxPyEndAllowThreads(__tstate
);
41124 if (PyErr_Occurred()) SWIG_fail
;
41126 resultobj
= SWIG_Py_Void();
41133 SWIGINTERN PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41134 PyObject
*resultobj
= 0;
41135 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41136 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
41141 PyObject
* obj0
= 0 ;
41142 PyObject
* obj1
= 0 ;
41143 char * kwnames
[] = {
41144 (char *) "self",(char *) "bitmap", NULL
41147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41149 if (!SWIG_IsOK(res1
)) {
41150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41152 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41153 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxBitmap
, 0 | 0 );
41154 if (!SWIG_IsOK(res2
)) {
41155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_SetBackingBitmap" "', expected argument " "2"" of type '" "wxBitmap *""'");
41157 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
41159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41160 (arg1
)->SetBackingBitmap(arg2
);
41161 wxPyEndAllowThreads(__tstate
);
41162 if (PyErr_Occurred()) SWIG_fail
;
41164 resultobj
= SWIG_Py_Void();
41171 SWIGINTERN PyObject
*_wrap_DragImage_BeginDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41172 PyObject
*resultobj
= 0;
41173 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41174 wxPoint
*arg2
= 0 ;
41175 wxWindow
*arg3
= (wxWindow
*) 0 ;
41176 bool arg4
= (bool) false ;
41177 wxRect
*arg5
= (wxRect
*) NULL
;
41188 PyObject
* obj0
= 0 ;
41189 PyObject
* obj1
= 0 ;
41190 PyObject
* obj2
= 0 ;
41191 PyObject
* obj3
= 0 ;
41192 PyObject
* obj4
= 0 ;
41193 char * kwnames
[] = {
41194 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
41197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41199 if (!SWIG_IsOK(res1
)) {
41200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41202 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41205 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41207 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41208 if (!SWIG_IsOK(res3
)) {
41209 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDrag" "', expected argument " "3"" of type '" "wxWindow *""'");
41211 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41213 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41214 if (!SWIG_IsOK(ecode4
)) {
41215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_BeginDrag" "', expected argument " "4"" of type '" "bool""'");
41217 arg4
= static_cast< bool >(val4
);
41220 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxRect
, 0 | 0 );
41221 if (!SWIG_IsOK(res5
)) {
41222 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "DragImage_BeginDrag" "', expected argument " "5"" of type '" "wxRect *""'");
41224 arg5
= reinterpret_cast< wxRect
* >(argp5
);
41227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41228 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
41229 wxPyEndAllowThreads(__tstate
);
41230 if (PyErr_Occurred()) SWIG_fail
;
41233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41241 SWIGINTERN PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41242 PyObject
*resultobj
= 0;
41243 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41244 wxPoint
*arg2
= 0 ;
41245 wxWindow
*arg3
= (wxWindow
*) 0 ;
41246 wxWindow
*arg4
= (wxWindow
*) 0 ;
41255 PyObject
* obj0
= 0 ;
41256 PyObject
* obj1
= 0 ;
41257 PyObject
* obj2
= 0 ;
41258 PyObject
* obj3
= 0 ;
41259 char * kwnames
[] = {
41260 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
41263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41265 if (!SWIG_IsOK(res1
)) {
41266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41268 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41271 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41273 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41274 if (!SWIG_IsOK(res3
)) {
41275 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "3"" of type '" "wxWindow *""'");
41277 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
41278 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41279 if (!SWIG_IsOK(res4
)) {
41280 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DragImage_BeginDragBounded" "', expected argument " "4"" of type '" "wxWindow *""'");
41282 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
41284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41285 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
41286 wxPyEndAllowThreads(__tstate
);
41287 if (PyErr_Occurred()) SWIG_fail
;
41290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41298 SWIGINTERN PyObject
*_wrap_DragImage_EndDrag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41299 PyObject
*resultobj
= 0;
41300 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41304 PyObject
*swig_obj
[1] ;
41306 if (!args
) SWIG_fail
;
41307 swig_obj
[0] = args
;
41308 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41309 if (!SWIG_IsOK(res1
)) {
41310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_EndDrag" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41312 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41315 result
= (bool)(arg1
)->EndDrag();
41316 wxPyEndAllowThreads(__tstate
);
41317 if (PyErr_Occurred()) SWIG_fail
;
41320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41328 SWIGINTERN PyObject
*_wrap_DragImage_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41329 PyObject
*resultobj
= 0;
41330 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41331 wxPoint
*arg2
= 0 ;
41336 PyObject
* obj0
= 0 ;
41337 PyObject
* obj1
= 0 ;
41338 char * kwnames
[] = {
41339 (char *) "self",(char *) "pt", NULL
41342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41344 if (!SWIG_IsOK(res1
)) {
41345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Move" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41347 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41350 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41354 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
41355 wxPyEndAllowThreads(__tstate
);
41356 if (PyErr_Occurred()) SWIG_fail
;
41359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41367 SWIGINTERN PyObject
*_wrap_DragImage_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41368 PyObject
*resultobj
= 0;
41369 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41373 PyObject
*swig_obj
[1] ;
41375 if (!args
) SWIG_fail
;
41376 swig_obj
[0] = args
;
41377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41378 if (!SWIG_IsOK(res1
)) {
41379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Show" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41381 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41384 result
= (bool)(arg1
)->Show();
41385 wxPyEndAllowThreads(__tstate
);
41386 if (PyErr_Occurred()) SWIG_fail
;
41389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41397 SWIGINTERN PyObject
*_wrap_DragImage_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41398 PyObject
*resultobj
= 0;
41399 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41403 PyObject
*swig_obj
[1] ;
41405 if (!args
) SWIG_fail
;
41406 swig_obj
[0] = args
;
41407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41408 if (!SWIG_IsOK(res1
)) {
41409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_Hide" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41411 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41414 result
= (bool)(arg1
)->Hide();
41415 wxPyEndAllowThreads(__tstate
);
41416 if (PyErr_Occurred()) SWIG_fail
;
41419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41427 SWIGINTERN PyObject
*_wrap_DragImage_GetImageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41428 PyObject
*resultobj
= 0;
41429 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41430 wxPoint
*arg2
= 0 ;
41435 PyObject
* obj0
= 0 ;
41436 PyObject
* obj1
= 0 ;
41437 char * kwnames
[] = {
41438 (char *) "self",(char *) "pos", NULL
41441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41443 if (!SWIG_IsOK(res1
)) {
41444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_GetImageRect" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41446 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41449 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41453 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
41454 wxPyEndAllowThreads(__tstate
);
41455 if (PyErr_Occurred()) SWIG_fail
;
41457 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
41464 SWIGINTERN PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41465 PyObject
*resultobj
= 0;
41466 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41468 wxPoint
*arg3
= 0 ;
41475 PyObject
* obj0
= 0 ;
41476 PyObject
* obj1
= 0 ;
41477 PyObject
* obj2
= 0 ;
41478 char * kwnames
[] = {
41479 (char *) "self",(char *) "dc",(char *) "pos", NULL
41482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41484 if (!SWIG_IsOK(res1
)) {
41485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_DoDrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41487 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41488 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41489 if (!SWIG_IsOK(res2
)) {
41490 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_DoDrawImage" "', expected argument " "2"" of type '" "wxDC &""'");
41495 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41498 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41502 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
41503 wxPyEndAllowThreads(__tstate
);
41504 if (PyErr_Occurred()) SWIG_fail
;
41507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41515 SWIGINTERN PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41516 PyObject
*resultobj
= 0;
41517 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41519 wxMemoryDC
*arg3
= 0 ;
41531 PyObject
* obj0
= 0 ;
41532 PyObject
* obj1
= 0 ;
41533 PyObject
* obj2
= 0 ;
41534 PyObject
* obj3
= 0 ;
41535 PyObject
* obj4
= 0 ;
41536 char * kwnames
[] = {
41537 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
41540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41542 if (!SWIG_IsOK(res1
)) {
41543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "1"" of type '" "wxGenericDragImage const *""'");
41545 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41546 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
41547 if (!SWIG_IsOK(res2
)) {
41548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41551 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "2"" of type '" "wxDC &""'");
41553 arg2
= reinterpret_cast< wxDC
* >(argp2
);
41554 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxMemoryDC
, 0 );
41555 if (!SWIG_IsOK(res3
)) {
41556 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DragImage_UpdateBackingFromWindow" "', expected argument " "3"" of type '" "wxMemoryDC &""'");
41561 arg3
= reinterpret_cast< wxMemoryDC
* >(argp3
);
41564 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
41568 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
41571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41572 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
41573 wxPyEndAllowThreads(__tstate
);
41574 if (PyErr_Occurred()) SWIG_fail
;
41577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41585 SWIGINTERN PyObject
*_wrap_DragImage_RedrawImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41586 PyObject
*resultobj
= 0;
41587 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
41588 wxPoint
*arg2
= 0 ;
41589 wxPoint
*arg3
= 0 ;
41601 PyObject
* obj0
= 0 ;
41602 PyObject
* obj1
= 0 ;
41603 PyObject
* obj2
= 0 ;
41604 PyObject
* obj3
= 0 ;
41605 PyObject
* obj4
= 0 ;
41606 char * kwnames
[] = {
41607 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
41610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
41611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGenericDragImage
, 0 | 0 );
41612 if (!SWIG_IsOK(res1
)) {
41613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DragImage_RedrawImage" "', expected argument " "1"" of type '" "wxGenericDragImage *""'");
41615 arg1
= reinterpret_cast< wxGenericDragImage
* >(argp1
);
41618 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
41622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
41624 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
41625 if (!SWIG_IsOK(ecode4
)) {
41626 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "DragImage_RedrawImage" "', expected argument " "4"" of type '" "bool""'");
41628 arg4
= static_cast< bool >(val4
);
41629 ecode5
= SWIG_AsVal_bool(obj4
, &val5
);
41630 if (!SWIG_IsOK(ecode5
)) {
41631 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "DragImage_RedrawImage" "', expected argument " "5"" of type '" "bool""'");
41633 arg5
= static_cast< bool >(val5
);
41635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41636 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
41637 wxPyEndAllowThreads(__tstate
);
41638 if (PyErr_Occurred()) SWIG_fail
;
41641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41649 SWIGINTERN PyObject
*DragImage_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41652 SWIG_TypeNewClientData(SWIGTYPE_p_wxGenericDragImage
, SWIG_NewClientData(obj
));
41653 return SWIG_Py_Void();
41656 SWIGINTERN PyObject
*DragImage_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41657 return SWIG_Python_InitShadowInstance(args
);
41660 SWIGINTERN
int DatePickerCtrlNameStr_set(PyObject
*) {
41661 SWIG_Error(SWIG_AttributeError
,"Variable DatePickerCtrlNameStr is read-only.");
41666 SWIGINTERN PyObject
*DatePickerCtrlNameStr_get(void) {
41667 PyObject
*pyobj
= 0;
41671 pyobj
= PyUnicode_FromWideChar((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41673 pyobj
= PyString_FromStringAndSize((&wxPyDatePickerCtrlNameStr
)->c_str(), (&wxPyDatePickerCtrlNameStr
)->Len());
41680 SWIGINTERN PyObject
*_wrap_new_DatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41681 PyObject
*resultobj
= 0;
41682 wxWindow
*arg1
= (wxWindow
*) 0 ;
41683 int arg2
= (int) -1 ;
41684 wxDateTime
const &arg3_defvalue
= wxDefaultDateTime
;
41685 wxDateTime
*arg3
= (wxDateTime
*) &arg3_defvalue
;
41686 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
41687 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
41688 wxSize
const &arg5_defvalue
= wxDefaultSize
;
41689 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
41690 long arg6
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41691 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
41692 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
41693 wxString
const &arg8_defvalue
= wxPyDatePickerCtrlNameStr
;
41694 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
41695 wxDatePickerCtrl
*result
= 0 ;
41708 bool temp8
= false ;
41709 PyObject
* obj0
= 0 ;
41710 PyObject
* obj1
= 0 ;
41711 PyObject
* obj2
= 0 ;
41712 PyObject
* obj3
= 0 ;
41713 PyObject
* obj4
= 0 ;
41714 PyObject
* obj5
= 0 ;
41715 PyObject
* obj6
= 0 ;
41716 PyObject
* obj7
= 0 ;
41717 char * kwnames
[] = {
41718 (char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_DatePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
41722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41723 if (!SWIG_IsOK(res1
)) {
41724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DatePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
41726 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
41728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41729 if (!SWIG_IsOK(ecode2
)) {
41730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DatePickerCtrl" "', expected argument " "2"" of type '" "int""'");
41732 arg2
= static_cast< int >(val2
);
41735 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41736 if (!SWIG_IsOK(res3
)) {
41737 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41740 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "3"" of type '" "wxDateTime const &""'");
41742 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
41747 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
41753 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
41757 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
41758 if (!SWIG_IsOK(ecode6
)) {
41759 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_DatePickerCtrl" "', expected argument " "6"" of type '" "long""'");
41761 arg6
= static_cast< long >(val6
);
41764 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
41765 if (!SWIG_IsOK(res7
)) {
41766 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DatePickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
41771 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
41775 arg8
= wxString_in_helper(obj7
);
41776 if (arg8
== NULL
) SWIG_fail
;
41781 if (!wxPyCheckForApp()) SWIG_fail
;
41782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41783 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl(arg1
,arg2
,(wxDateTime
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
41784 wxPyEndAllowThreads(__tstate
);
41785 if (PyErr_Occurred()) SWIG_fail
;
41787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_NEW
| 0 );
41802 SWIGINTERN PyObject
*_wrap_new_PreDatePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41803 PyObject
*resultobj
= 0;
41804 wxDatePickerCtrl
*result
= 0 ;
41806 if (!SWIG_Python_UnpackTuple(args
,"new_PreDatePickerCtrl",0,0,0)) SWIG_fail
;
41808 if (!wxPyCheckForApp()) SWIG_fail
;
41809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41810 result
= (wxDatePickerCtrl
*)new wxDatePickerCtrl();
41811 wxPyEndAllowThreads(__tstate
);
41812 if (PyErr_Occurred()) SWIG_fail
;
41814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDatePickerCtrl
, SWIG_POINTER_OWN
| 0 );
41821 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41822 PyObject
*resultobj
= 0;
41823 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41824 wxWindow
*arg2
= (wxWindow
*) 0 ;
41825 int arg3
= (int) -1 ;
41826 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
41827 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
41828 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
41829 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
41830 wxSize
const &arg6_defvalue
= wxDefaultSize
;
41831 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
41832 long arg7
= (long) wxDP_DEFAULT
|wxDP_SHOWCENTURY
;
41833 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
41834 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
41835 wxString
const &arg9_defvalue
= wxPyDatePickerCtrlNameStr
;
41836 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
41852 bool temp9
= 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 PyObject
* obj8
= 0 ;
41862 char * kwnames
[] = {
41863 (char *) "self",(char *) "parent",(char *) "id",(char *) "dt",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
41866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:DatePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
41867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41868 if (!SWIG_IsOK(res1
)) {
41869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_Create" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41871 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41872 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
41873 if (!SWIG_IsOK(res2
)) {
41874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
41876 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
41878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
41879 if (!SWIG_IsOK(ecode3
)) {
41880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DatePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
41882 arg3
= static_cast< int >(val3
);
41885 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41886 if (!SWIG_IsOK(res4
)) {
41887 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41890 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "4"" of type '" "wxDateTime const &""'");
41892 arg4
= reinterpret_cast< wxDateTime
* >(argp4
);
41897 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
41903 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
41907 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
41908 if (!SWIG_IsOK(ecode7
)) {
41909 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "DatePickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
41911 arg7
= static_cast< long >(val7
);
41914 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
41915 if (!SWIG_IsOK(res8
)) {
41916 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41919 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
41921 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
41925 arg9
= wxString_in_helper(obj8
);
41926 if (arg9
== NULL
) SWIG_fail
;
41931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxDateTime
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
41933 wxPyEndAllowThreads(__tstate
);
41934 if (PyErr_Occurred()) SWIG_fail
;
41937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41953 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41954 PyObject
*resultobj
= 0;
41955 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
41956 wxDateTime
*arg2
= 0 ;
41961 PyObject
* obj0
= 0 ;
41962 PyObject
* obj1
= 0 ;
41963 char * kwnames
[] = {
41964 (char *) "self",(char *) "dt", NULL
41967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DatePickerCtrl_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
41969 if (!SWIG_IsOK(res1
)) {
41970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
41972 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
41973 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
41974 if (!SWIG_IsOK(res2
)) {
41975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41978 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetValue" "', expected argument " "2"" of type '" "wxDateTime const &""'");
41980 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
41982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41983 (arg1
)->SetValue((wxDateTime
const &)*arg2
);
41984 wxPyEndAllowThreads(__tstate
);
41985 if (PyErr_Occurred()) SWIG_fail
;
41987 resultobj
= SWIG_Py_Void();
41994 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41995 PyObject
*resultobj
= 0;
41996 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42000 PyObject
*swig_obj
[1] ;
42002 if (!args
) SWIG_fail
;
42003 swig_obj
[0] = args
;
42004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42005 if (!SWIG_IsOK(res1
)) {
42006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetValue" "', expected argument " "1"" of type '" "wxDatePickerCtrl const *""'");
42008 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42011 result
= ((wxDatePickerCtrl
const *)arg1
)->GetValue();
42012 wxPyEndAllowThreads(__tstate
);
42013 if (PyErr_Occurred()) SWIG_fail
;
42015 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42022 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42023 PyObject
*resultobj
= 0;
42024 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42025 wxDateTime
*arg2
= 0 ;
42026 wxDateTime
*arg3
= 0 ;
42033 PyObject
* obj0
= 0 ;
42034 PyObject
* obj1
= 0 ;
42035 PyObject
* obj2
= 0 ;
42036 char * kwnames
[] = {
42037 (char *) "self",(char *) "dt1",(char *) "dt2", NULL
42040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DatePickerCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42042 if (!SWIG_IsOK(res1
)) {
42043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42045 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
42047 if (!SWIG_IsOK(res2
)) {
42048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "2"" of type '" "wxDateTime const &""'");
42053 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
42054 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDateTime
, 0 | 0);
42055 if (!SWIG_IsOK(res3
)) {
42056 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
42059 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DatePickerCtrl_SetRange" "', expected argument " "3"" of type '" "wxDateTime const &""'");
42061 arg3
= reinterpret_cast< wxDateTime
* >(argp3
);
42063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42064 (arg1
)->SetRange((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
42065 wxPyEndAllowThreads(__tstate
);
42066 if (PyErr_Occurred()) SWIG_fail
;
42068 resultobj
= SWIG_Py_Void();
42075 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetLowerLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42076 PyObject
*resultobj
= 0;
42077 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42081 PyObject
*swig_obj
[1] ;
42083 if (!args
) SWIG_fail
;
42084 swig_obj
[0] = args
;
42085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42086 if (!SWIG_IsOK(res1
)) {
42087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetLowerLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42089 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42092 result
= wxDatePickerCtrl_GetLowerLimit(arg1
);
42093 wxPyEndAllowThreads(__tstate
);
42094 if (PyErr_Occurred()) SWIG_fail
;
42096 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42103 SWIGINTERN PyObject
*_wrap_DatePickerCtrl_GetUpperLimit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42104 PyObject
*resultobj
= 0;
42105 wxDatePickerCtrl
*arg1
= (wxDatePickerCtrl
*) 0 ;
42109 PyObject
*swig_obj
[1] ;
42111 if (!args
) SWIG_fail
;
42112 swig_obj
[0] = args
;
42113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDatePickerCtrl
, 0 | 0 );
42114 if (!SWIG_IsOK(res1
)) {
42115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DatePickerCtrl_GetUpperLimit" "', expected argument " "1"" of type '" "wxDatePickerCtrl *""'");
42117 arg1
= reinterpret_cast< wxDatePickerCtrl
* >(argp1
);
42119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42120 result
= wxDatePickerCtrl_GetUpperLimit(arg1
);
42121 wxPyEndAllowThreads(__tstate
);
42122 if (PyErr_Occurred()) SWIG_fail
;
42124 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
42131 SWIGINTERN PyObject
*DatePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42134 SWIG_TypeNewClientData(SWIGTYPE_p_wxDatePickerCtrl
, SWIG_NewClientData(obj
));
42135 return SWIG_Py_Void();
42138 SWIGINTERN PyObject
*DatePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42139 return SWIG_Python_InitShadowInstance(args
);
42142 SWIGINTERN
int HyperlinkCtrlNameStr_set(PyObject
*) {
42143 SWIG_Error(SWIG_AttributeError
,"Variable HyperlinkCtrlNameStr is read-only.");
42148 SWIGINTERN PyObject
*HyperlinkCtrlNameStr_get(void) {
42149 PyObject
*pyobj
= 0;
42153 pyobj
= PyUnicode_FromWideChar((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42155 pyobj
= PyString_FromStringAndSize((&wxPyHyperlinkCtrlNameStr
)->c_str(), (&wxPyHyperlinkCtrlNameStr
)->Len());
42162 SWIGINTERN PyObject
*_wrap_new_HyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42163 PyObject
*resultobj
= 0;
42164 wxWindow
*arg1
= (wxWindow
*) 0 ;
42166 wxString
*arg3
= 0 ;
42167 wxString
*arg4
= 0 ;
42168 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42169 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42170 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42171 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42172 long arg7
= (long) wxHL_DEFAULT_STYLE
;
42173 wxString
const &arg8_defvalue
= wxPyHyperlinkCtrlNameStr
;
42174 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
42175 wxHyperlinkCtrl
*result
= 0 ;
42180 bool temp3
= false ;
42181 bool temp4
= false ;
42186 bool temp8
= false ;
42187 PyObject
* obj0
= 0 ;
42188 PyObject
* obj1
= 0 ;
42189 PyObject
* obj2
= 0 ;
42190 PyObject
* obj3
= 0 ;
42191 PyObject
* obj4
= 0 ;
42192 PyObject
* obj5
= 0 ;
42193 PyObject
* obj6
= 0 ;
42194 PyObject
* obj7
= 0 ;
42195 char * kwnames
[] = {
42196 (char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_HyperlinkCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
42200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42201 if (!SWIG_IsOK(res1
)) {
42202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
42204 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
42205 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42206 if (!SWIG_IsOK(ecode2
)) {
42207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkCtrl" "', expected argument " "2"" of type '" "int""'");
42209 arg2
= static_cast< int >(val2
);
42211 arg3
= wxString_in_helper(obj2
);
42212 if (arg3
== NULL
) SWIG_fail
;
42216 arg4
= wxString_in_helper(obj3
);
42217 if (arg4
== NULL
) SWIG_fail
;
42223 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
42229 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
42233 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
42234 if (!SWIG_IsOK(ecode7
)) {
42235 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_HyperlinkCtrl" "', expected argument " "7"" of type '" "long""'");
42237 arg7
= static_cast< long >(val7
);
42241 arg8
= wxString_in_helper(obj7
);
42242 if (arg8
== NULL
) SWIG_fail
;
42247 if (!wxPyCheckForApp()) SWIG_fail
;
42248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42249 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
42250 wxPyEndAllowThreads(__tstate
);
42251 if (PyErr_Occurred()) SWIG_fail
;
42253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_NEW
| 0 );
42284 SWIGINTERN PyObject
*_wrap_new_PreHyperlinkCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42285 PyObject
*resultobj
= 0;
42286 wxHyperlinkCtrl
*result
= 0 ;
42288 if (!SWIG_Python_UnpackTuple(args
,"new_PreHyperlinkCtrl",0,0,0)) SWIG_fail
;
42290 if (!wxPyCheckForApp()) SWIG_fail
;
42291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42292 result
= (wxHyperlinkCtrl
*)new wxHyperlinkCtrl();
42293 wxPyEndAllowThreads(__tstate
);
42294 if (PyErr_Occurred()) SWIG_fail
;
42296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_POINTER_OWN
| 0 );
42303 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42304 PyObject
*resultobj
= 0;
42305 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42306 wxWindow
*arg2
= (wxWindow
*) 0 ;
42308 wxString
*arg4
= 0 ;
42309 wxString
*arg5
= 0 ;
42310 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
42311 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
42312 wxSize
const &arg7_defvalue
= wxDefaultSize
;
42313 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
42314 long arg8
= (long) wxHL_DEFAULT_STYLE
;
42315 wxString
const &arg9_defvalue
= wxPyHyperlinkCtrlNameStr
;
42316 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42324 bool temp4
= false ;
42325 bool temp5
= false ;
42330 bool temp9
= false ;
42331 PyObject
* obj0
= 0 ;
42332 PyObject
* obj1
= 0 ;
42333 PyObject
* obj2
= 0 ;
42334 PyObject
* obj3
= 0 ;
42335 PyObject
* obj4
= 0 ;
42336 PyObject
* obj5
= 0 ;
42337 PyObject
* obj6
= 0 ;
42338 PyObject
* obj7
= 0 ;
42339 PyObject
* obj8
= 0 ;
42340 char * kwnames
[] = {
42341 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "url",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
42344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOO:HyperlinkCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42346 if (!SWIG_IsOK(res1
)) {
42347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42349 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42351 if (!SWIG_IsOK(res2
)) {
42352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
42354 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42356 if (!SWIG_IsOK(ecode3
)) {
42357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "3"" of type '" "int""'");
42359 arg3
= static_cast< int >(val3
);
42361 arg4
= wxString_in_helper(obj3
);
42362 if (arg4
== NULL
) SWIG_fail
;
42366 arg5
= wxString_in_helper(obj4
);
42367 if (arg5
== NULL
) SWIG_fail
;
42373 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
42379 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
42383 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
42384 if (!SWIG_IsOK(ecode8
)) {
42385 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "HyperlinkCtrl_Create" "', expected argument " "8"" of type '" "long""'");
42387 arg8
= static_cast< long >(val8
);
42391 arg9
= wxString_in_helper(obj8
);
42392 if (arg9
== NULL
) SWIG_fail
;
42397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42398 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
42399 wxPyEndAllowThreads(__tstate
);
42400 if (PyErr_Occurred()) SWIG_fail
;
42403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42435 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42436 PyObject
*resultobj
= 0;
42437 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42441 PyObject
*swig_obj
[1] ;
42443 if (!args
) SWIG_fail
;
42444 swig_obj
[0] = args
;
42445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42446 if (!SWIG_IsOK(res1
)) {
42447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42449 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42452 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetHoverColour();
42453 wxPyEndAllowThreads(__tstate
);
42454 if (PyErr_Occurred()) SWIG_fail
;
42456 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42463 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetHoverColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42464 PyObject
*resultobj
= 0;
42465 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42466 wxColour
*arg2
= 0 ;
42470 PyObject
* obj0
= 0 ;
42471 PyObject
* obj1
= 0 ;
42472 char * kwnames
[] = {
42473 (char *) "self",(char *) "colour", NULL
42476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetHoverColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42478 if (!SWIG_IsOK(res1
)) {
42479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetHoverColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42481 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42488 (arg1
)->SetHoverColour((wxColour
const &)*arg2
);
42489 wxPyEndAllowThreads(__tstate
);
42490 if (PyErr_Occurred()) SWIG_fail
;
42492 resultobj
= SWIG_Py_Void();
42499 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42500 PyObject
*resultobj
= 0;
42501 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42505 PyObject
*swig_obj
[1] ;
42507 if (!args
) SWIG_fail
;
42508 swig_obj
[0] = args
;
42509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42510 if (!SWIG_IsOK(res1
)) {
42511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42513 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42516 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetNormalColour();
42517 wxPyEndAllowThreads(__tstate
);
42518 if (PyErr_Occurred()) SWIG_fail
;
42520 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42527 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetNormalColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42528 PyObject
*resultobj
= 0;
42529 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42530 wxColour
*arg2
= 0 ;
42534 PyObject
* obj0
= 0 ;
42535 PyObject
* obj1
= 0 ;
42536 char * kwnames
[] = {
42537 (char *) "self",(char *) "colour", NULL
42540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetNormalColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42542 if (!SWIG_IsOK(res1
)) {
42543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetNormalColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42545 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42548 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42552 (arg1
)->SetNormalColour((wxColour
const &)*arg2
);
42553 wxPyEndAllowThreads(__tstate
);
42554 if (PyErr_Occurred()) SWIG_fail
;
42556 resultobj
= SWIG_Py_Void();
42563 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42564 PyObject
*resultobj
= 0;
42565 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42569 PyObject
*swig_obj
[1] ;
42571 if (!args
) SWIG_fail
;
42572 swig_obj
[0] = args
;
42573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42574 if (!SWIG_IsOK(res1
)) {
42575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42577 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42580 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetVisitedColour();
42581 wxPyEndAllowThreads(__tstate
);
42582 if (PyErr_Occurred()) SWIG_fail
;
42584 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
42591 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisitedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42592 PyObject
*resultobj
= 0;
42593 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42594 wxColour
*arg2
= 0 ;
42598 PyObject
* obj0
= 0 ;
42599 PyObject
* obj1
= 0 ;
42600 char * kwnames
[] = {
42601 (char *) "self",(char *) "colour", NULL
42604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetVisitedColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42606 if (!SWIG_IsOK(res1
)) {
42607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisitedColour" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42609 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42612 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42616 (arg1
)->SetVisitedColour((wxColour
const &)*arg2
);
42617 wxPyEndAllowThreads(__tstate
);
42618 if (PyErr_Occurred()) SWIG_fail
;
42620 resultobj
= SWIG_Py_Void();
42627 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42628 PyObject
*resultobj
= 0;
42629 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42633 PyObject
*swig_obj
[1] ;
42635 if (!args
) SWIG_fail
;
42636 swig_obj
[0] = args
;
42637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42638 if (!SWIG_IsOK(res1
)) {
42639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42641 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42644 result
= ((wxHyperlinkCtrl
const *)arg1
)->GetURL();
42645 wxPyEndAllowThreads(__tstate
);
42646 if (PyErr_Occurred()) SWIG_fail
;
42650 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42652 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42661 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42662 PyObject
*resultobj
= 0;
42663 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42664 wxString
*arg2
= 0 ;
42667 bool temp2
= false ;
42668 PyObject
* obj0
= 0 ;
42669 PyObject
* obj1
= 0 ;
42670 char * kwnames
[] = {
42671 (char *) "self",(char *) "url", NULL
42674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkCtrl_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42676 if (!SWIG_IsOK(res1
)) {
42677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42679 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42681 arg2
= wxString_in_helper(obj1
);
42682 if (arg2
== NULL
) SWIG_fail
;
42686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42687 (arg1
)->SetURL((wxString
const &)*arg2
);
42688 wxPyEndAllowThreads(__tstate
);
42689 if (PyErr_Occurred()) SWIG_fail
;
42691 resultobj
= SWIG_Py_Void();
42706 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_SetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42707 PyObject
*resultobj
= 0;
42708 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42709 bool arg2
= (bool) true ;
42714 PyObject
* obj0
= 0 ;
42715 PyObject
* obj1
= 0 ;
42716 char * kwnames
[] = {
42717 (char *) "self",(char *) "visited", NULL
42720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:HyperlinkCtrl_SetVisited",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42722 if (!SWIG_IsOK(res1
)) {
42723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl *""'");
42725 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42727 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42728 if (!SWIG_IsOK(ecode2
)) {
42729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HyperlinkCtrl_SetVisited" "', expected argument " "2"" of type '" "bool""'");
42731 arg2
= static_cast< bool >(val2
);
42734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42735 (arg1
)->SetVisited(arg2
);
42736 wxPyEndAllowThreads(__tstate
);
42737 if (PyErr_Occurred()) SWIG_fail
;
42739 resultobj
= SWIG_Py_Void();
42746 SWIGINTERN PyObject
*_wrap_HyperlinkCtrl_GetVisited(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42747 PyObject
*resultobj
= 0;
42748 wxHyperlinkCtrl
*arg1
= (wxHyperlinkCtrl
*) 0 ;
42752 PyObject
*swig_obj
[1] ;
42754 if (!args
) SWIG_fail
;
42755 swig_obj
[0] = args
;
42756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkCtrl
, 0 | 0 );
42757 if (!SWIG_IsOK(res1
)) {
42758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkCtrl_GetVisited" "', expected argument " "1"" of type '" "wxHyperlinkCtrl const *""'");
42760 arg1
= reinterpret_cast< wxHyperlinkCtrl
* >(argp1
);
42762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42763 result
= (bool)((wxHyperlinkCtrl
const *)arg1
)->GetVisited();
42764 wxPyEndAllowThreads(__tstate
);
42765 if (PyErr_Occurred()) SWIG_fail
;
42768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42776 SWIGINTERN PyObject
*HyperlinkCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42778 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42779 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkCtrl
, SWIG_NewClientData(obj
));
42780 return SWIG_Py_Void();
42783 SWIGINTERN PyObject
*HyperlinkCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42784 return SWIG_Python_InitShadowInstance(args
);
42787 SWIGINTERN PyObject
*_wrap_new_HyperlinkEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42788 PyObject
*resultobj
= 0;
42789 wxObject
*arg1
= (wxObject
*) 0 ;
42791 wxString
*arg3
= 0 ;
42792 wxHyperlinkEvent
*result
= 0 ;
42797 bool temp3
= false ;
42798 PyObject
* obj0
= 0 ;
42799 PyObject
* obj1
= 0 ;
42800 PyObject
* obj2
= 0 ;
42801 char * kwnames
[] = {
42802 (char *) "generator",(char *) "id",(char *) "url", NULL
42805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_HyperlinkEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
42806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
42807 if (!SWIG_IsOK(res1
)) {
42808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HyperlinkEvent" "', expected argument " "1"" of type '" "wxObject *""'");
42810 arg1
= reinterpret_cast< wxObject
* >(argp1
);
42811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42812 if (!SWIG_IsOK(ecode2
)) {
42813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HyperlinkEvent" "', expected argument " "2"" of type '" "int""'");
42815 arg2
= static_cast< int >(val2
);
42817 arg3
= wxString_in_helper(obj2
);
42818 if (arg3
== NULL
) SWIG_fail
;
42822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42823 result
= (wxHyperlinkEvent
*)new wxHyperlinkEvent(arg1
,arg2
,(wxString
const &)*arg3
);
42824 wxPyEndAllowThreads(__tstate
);
42825 if (PyErr_Occurred()) SWIG_fail
;
42827 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxHyperlinkEvent
, SWIG_POINTER_NEW
| 0 );
42842 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_GetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42843 PyObject
*resultobj
= 0;
42844 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42848 PyObject
*swig_obj
[1] ;
42850 if (!args
) SWIG_fail
;
42851 swig_obj
[0] = args
;
42852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42853 if (!SWIG_IsOK(res1
)) {
42854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_GetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent const *""'");
42856 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42859 result
= ((wxHyperlinkEvent
const *)arg1
)->GetURL();
42860 wxPyEndAllowThreads(__tstate
);
42861 if (PyErr_Occurred()) SWIG_fail
;
42865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42876 SWIGINTERN PyObject
*_wrap_HyperlinkEvent_SetURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42877 PyObject
*resultobj
= 0;
42878 wxHyperlinkEvent
*arg1
= (wxHyperlinkEvent
*) 0 ;
42879 wxString
*arg2
= 0 ;
42882 bool temp2
= false ;
42883 PyObject
* obj0
= 0 ;
42884 PyObject
* obj1
= 0 ;
42885 char * kwnames
[] = {
42886 (char *) "self",(char *) "url", NULL
42889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HyperlinkEvent_SetURL",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxHyperlinkEvent
, 0 | 0 );
42891 if (!SWIG_IsOK(res1
)) {
42892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HyperlinkEvent_SetURL" "', expected argument " "1"" of type '" "wxHyperlinkEvent *""'");
42894 arg1
= reinterpret_cast< wxHyperlinkEvent
* >(argp1
);
42896 arg2
= wxString_in_helper(obj1
);
42897 if (arg2
== NULL
) SWIG_fail
;
42901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42902 (arg1
)->SetURL((wxString
const &)*arg2
);
42903 wxPyEndAllowThreads(__tstate
);
42904 if (PyErr_Occurred()) SWIG_fail
;
42906 resultobj
= SWIG_Py_Void();
42921 SWIGINTERN PyObject
*HyperlinkEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42923 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42924 SWIG_TypeNewClientData(SWIGTYPE_p_wxHyperlinkEvent
, SWIG_NewClientData(obj
));
42925 return SWIG_Py_Void();
42928 SWIGINTERN PyObject
*HyperlinkEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42929 return SWIG_Python_InitShadowInstance(args
);
42932 SWIGINTERN PyObject
*_wrap_PickerBase_CreateBase(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42933 PyObject
*resultobj
= 0;
42934 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
42935 wxWindow
*arg2
= (wxWindow
*) 0 ;
42937 wxString
const &arg4_defvalue
= wxEmptyString
;
42938 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42939 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
42940 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
42941 wxSize
const &arg6_defvalue
= wxDefaultSize
;
42942 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
42943 long arg7
= (long) 0 ;
42944 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
42945 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
42946 wxString
const &arg9_defvalue
= wxButtonNameStr
;
42947 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
42955 bool temp4
= false ;
42962 bool temp9
= false ;
42963 PyObject
* obj0
= 0 ;
42964 PyObject
* obj1
= 0 ;
42965 PyObject
* obj2
= 0 ;
42966 PyObject
* obj3
= 0 ;
42967 PyObject
* obj4
= 0 ;
42968 PyObject
* obj5
= 0 ;
42969 PyObject
* obj6
= 0 ;
42970 PyObject
* obj7
= 0 ;
42971 PyObject
* obj8
= 0 ;
42972 char * kwnames
[] = {
42973 (char *) "self",(char *) "parent",(char *) "id",(char *) "text",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
42976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:PickerBase_CreateBase",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
42977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
42978 if (!SWIG_IsOK(res1
)) {
42979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_CreateBase" "', expected argument " "1"" of type '" "wxPickerBase *""'");
42981 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
42982 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
42983 if (!SWIG_IsOK(res2
)) {
42984 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PickerBase_CreateBase" "', expected argument " "2"" of type '" "wxWindow *""'");
42986 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
42987 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
42988 if (!SWIG_IsOK(ecode3
)) {
42989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PickerBase_CreateBase" "', expected argument " "3"" of type '" "int""'");
42991 arg3
= static_cast< int >(val3
);
42994 arg4
= wxString_in_helper(obj3
);
42995 if (arg4
== NULL
) SWIG_fail
;
43002 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43008 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43012 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43013 if (!SWIG_IsOK(ecode7
)) {
43014 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "PickerBase_CreateBase" "', expected argument " "7"" of type '" "long""'");
43016 arg7
= static_cast< long >(val7
);
43019 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43020 if (!SWIG_IsOK(res8
)) {
43021 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
43024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PickerBase_CreateBase" "', expected argument " "8"" of type '" "wxValidator const &""'");
43026 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43030 arg9
= wxString_in_helper(obj8
);
43031 if (arg9
== NULL
) SWIG_fail
;
43036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43037 result
= (bool)(arg1
)->CreateBase(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43038 wxPyEndAllowThreads(__tstate
);
43039 if (PyErr_Occurred()) SWIG_fail
;
43042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43066 SWIGINTERN PyObject
*_wrap_PickerBase_SetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43067 PyObject
*resultobj
= 0;
43068 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43074 PyObject
* obj0
= 0 ;
43075 PyObject
* obj1
= 0 ;
43076 char * kwnames
[] = {
43077 (char *) "self",(char *) "newmargin", NULL
43080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetInternalMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43082 if (!SWIG_IsOK(res1
)) {
43083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43085 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43087 if (!SWIG_IsOK(ecode2
)) {
43088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetInternalMargin" "', expected argument " "2"" of type '" "int""'");
43090 arg2
= static_cast< int >(val2
);
43092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43093 (arg1
)->SetInternalMargin(arg2
);
43094 wxPyEndAllowThreads(__tstate
);
43095 if (PyErr_Occurred()) SWIG_fail
;
43097 resultobj
= SWIG_Py_Void();
43104 SWIGINTERN PyObject
*_wrap_PickerBase_GetInternalMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43105 PyObject
*resultobj
= 0;
43106 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43110 PyObject
*swig_obj
[1] ;
43112 if (!args
) SWIG_fail
;
43113 swig_obj
[0] = args
;
43114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43115 if (!SWIG_IsOK(res1
)) {
43116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetInternalMargin" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43118 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43121 result
= (int)((wxPickerBase
const *)arg1
)->GetInternalMargin();
43122 wxPyEndAllowThreads(__tstate
);
43123 if (PyErr_Occurred()) SWIG_fail
;
43125 resultobj
= SWIG_From_int(static_cast< int >(result
));
43132 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43133 PyObject
*resultobj
= 0;
43134 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43140 PyObject
* obj0
= 0 ;
43141 PyObject
* obj1
= 0 ;
43142 char * kwnames
[] = {
43143 (char *) "self",(char *) "prop", NULL
43146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetTextCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43148 if (!SWIG_IsOK(res1
)) {
43149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43151 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43153 if (!SWIG_IsOK(ecode2
)) {
43154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43156 arg2
= static_cast< int >(val2
);
43158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43159 (arg1
)->SetTextCtrlProportion(arg2
);
43160 wxPyEndAllowThreads(__tstate
);
43161 if (PyErr_Occurred()) SWIG_fail
;
43163 resultobj
= SWIG_Py_Void();
43170 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43171 PyObject
*resultobj
= 0;
43172 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43176 PyObject
*swig_obj
[1] ;
43178 if (!args
) SWIG_fail
;
43179 swig_obj
[0] = args
;
43180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43181 if (!SWIG_IsOK(res1
)) {
43182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43184 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43187 result
= (int)((wxPickerBase
const *)arg1
)->GetTextCtrlProportion();
43188 wxPyEndAllowThreads(__tstate
);
43189 if (PyErr_Occurred()) SWIG_fail
;
43191 resultobj
= SWIG_From_int(static_cast< int >(result
));
43198 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43199 PyObject
*resultobj
= 0;
43200 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43206 PyObject
* obj0
= 0 ;
43207 PyObject
* obj1
= 0 ;
43208 char * kwnames
[] = {
43209 (char *) "self",(char *) "prop", NULL
43212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PickerBase_SetPickerCtrlProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43214 if (!SWIG_IsOK(res1
)) {
43215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43217 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43219 if (!SWIG_IsOK(ecode2
)) {
43220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlProportion" "', expected argument " "2"" of type '" "int""'");
43222 arg2
= static_cast< int >(val2
);
43224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43225 (arg1
)->SetPickerCtrlProportion(arg2
);
43226 wxPyEndAllowThreads(__tstate
);
43227 if (PyErr_Occurred()) SWIG_fail
;
43229 resultobj
= SWIG_Py_Void();
43236 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrlProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43237 PyObject
*resultobj
= 0;
43238 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43242 PyObject
*swig_obj
[1] ;
43244 if (!args
) SWIG_fail
;
43245 swig_obj
[0] = args
;
43246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43247 if (!SWIG_IsOK(res1
)) {
43248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrlProportion" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43250 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43253 result
= (int)((wxPickerBase
const *)arg1
)->GetPickerCtrlProportion();
43254 wxPyEndAllowThreads(__tstate
);
43255 if (PyErr_Occurred()) SWIG_fail
;
43257 resultobj
= SWIG_From_int(static_cast< int >(result
));
43264 SWIGINTERN PyObject
*_wrap_PickerBase_IsTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43265 PyObject
*resultobj
= 0;
43266 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43270 PyObject
*swig_obj
[1] ;
43272 if (!args
) SWIG_fail
;
43273 swig_obj
[0] = args
;
43274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43275 if (!SWIG_IsOK(res1
)) {
43276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43278 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43281 result
= (bool)((wxPickerBase
const *)arg1
)->IsTextCtrlGrowable();
43282 wxPyEndAllowThreads(__tstate
);
43283 if (PyErr_Occurred()) SWIG_fail
;
43286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43294 SWIGINTERN PyObject
*_wrap_PickerBase_SetTextCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43295 PyObject
*resultobj
= 0;
43296 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43297 bool arg2
= (bool) true ;
43302 PyObject
* obj0
= 0 ;
43303 PyObject
* obj1
= 0 ;
43304 char * kwnames
[] = {
43305 (char *) "self",(char *) "grow", NULL
43308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetTextCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43310 if (!SWIG_IsOK(res1
)) {
43311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43313 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43315 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43316 if (!SWIG_IsOK(ecode2
)) {
43317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetTextCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43319 arg2
= static_cast< bool >(val2
);
43322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43323 (arg1
)->SetTextCtrlGrowable(arg2
);
43324 wxPyEndAllowThreads(__tstate
);
43325 if (PyErr_Occurred()) SWIG_fail
;
43327 resultobj
= SWIG_Py_Void();
43334 SWIGINTERN PyObject
*_wrap_PickerBase_IsPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43335 PyObject
*resultobj
= 0;
43336 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43340 PyObject
*swig_obj
[1] ;
43342 if (!args
) SWIG_fail
;
43343 swig_obj
[0] = args
;
43344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43345 if (!SWIG_IsOK(res1
)) {
43346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_IsPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43348 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43351 result
= (bool)((wxPickerBase
const *)arg1
)->IsPickerCtrlGrowable();
43352 wxPyEndAllowThreads(__tstate
);
43353 if (PyErr_Occurred()) SWIG_fail
;
43356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43364 SWIGINTERN PyObject
*_wrap_PickerBase_SetPickerCtrlGrowable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43365 PyObject
*resultobj
= 0;
43366 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43367 bool arg2
= (bool) true ;
43372 PyObject
* obj0
= 0 ;
43373 PyObject
* obj1
= 0 ;
43374 char * kwnames
[] = {
43375 (char *) "self",(char *) "grow", NULL
43378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PickerBase_SetPickerCtrlGrowable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43380 if (!SWIG_IsOK(res1
)) {
43381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43383 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43385 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43386 if (!SWIG_IsOK(ecode2
)) {
43387 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PickerBase_SetPickerCtrlGrowable" "', expected argument " "2"" of type '" "bool""'");
43389 arg2
= static_cast< bool >(val2
);
43392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43393 (arg1
)->SetPickerCtrlGrowable(arg2
);
43394 wxPyEndAllowThreads(__tstate
);
43395 if (PyErr_Occurred()) SWIG_fail
;
43397 resultobj
= SWIG_Py_Void();
43404 SWIGINTERN PyObject
*_wrap_PickerBase_HasTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43405 PyObject
*resultobj
= 0;
43406 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43410 PyObject
*swig_obj
[1] ;
43412 if (!args
) SWIG_fail
;
43413 swig_obj
[0] = args
;
43414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43415 if (!SWIG_IsOK(res1
)) {
43416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_HasTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase const *""'");
43418 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43421 result
= (bool)((wxPickerBase
const *)arg1
)->HasTextCtrl();
43422 wxPyEndAllowThreads(__tstate
);
43423 if (PyErr_Occurred()) SWIG_fail
;
43426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43434 SWIGINTERN PyObject
*_wrap_PickerBase_GetTextCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43435 PyObject
*resultobj
= 0;
43436 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43437 wxTextCtrl
*result
= 0 ;
43440 PyObject
*swig_obj
[1] ;
43442 if (!args
) SWIG_fail
;
43443 swig_obj
[0] = args
;
43444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43445 if (!SWIG_IsOK(res1
)) {
43446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetTextCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43448 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43451 result
= (wxTextCtrl
*)(arg1
)->GetTextCtrl();
43452 wxPyEndAllowThreads(__tstate
);
43453 if (PyErr_Occurred()) SWIG_fail
;
43456 resultobj
= wxPyMake_wxObject(result
, 0);
43464 SWIGINTERN PyObject
*_wrap_PickerBase_GetPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43465 PyObject
*resultobj
= 0;
43466 wxPickerBase
*arg1
= (wxPickerBase
*) 0 ;
43467 wxControl
*result
= 0 ;
43470 PyObject
*swig_obj
[1] ;
43472 if (!args
) SWIG_fail
;
43473 swig_obj
[0] = args
;
43474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPickerBase
, 0 | 0 );
43475 if (!SWIG_IsOK(res1
)) {
43476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PickerBase_GetPickerCtrl" "', expected argument " "1"" of type '" "wxPickerBase *""'");
43478 arg1
= reinterpret_cast< wxPickerBase
* >(argp1
);
43480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43481 result
= (wxControl
*)(arg1
)->GetPickerCtrl();
43482 wxPyEndAllowThreads(__tstate
);
43483 if (PyErr_Occurred()) SWIG_fail
;
43486 resultobj
= wxPyMake_wxObject(result
, 0);
43494 SWIGINTERN PyObject
*PickerBase_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43496 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43497 SWIG_TypeNewClientData(SWIGTYPE_p_wxPickerBase
, SWIG_NewClientData(obj
));
43498 return SWIG_Py_Void();
43501 SWIGINTERN
int ColourPickerCtrlNameStr_set(PyObject
*) {
43502 SWIG_Error(SWIG_AttributeError
,"Variable ColourPickerCtrlNameStr is read-only.");
43507 SWIGINTERN PyObject
*ColourPickerCtrlNameStr_get(void) {
43508 PyObject
*pyobj
= 0;
43512 pyobj
= PyUnicode_FromWideChar((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43514 pyobj
= PyString_FromStringAndSize((&wxPyColourPickerCtrlNameStr
)->c_str(), (&wxPyColourPickerCtrlNameStr
)->Len());
43521 SWIGINTERN PyObject
*_wrap_new_ColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43522 PyObject
*resultobj
= 0;
43523 wxWindow
*arg1
= (wxWindow
*) 0 ;
43524 int arg2
= (int) -1 ;
43525 wxColour
const &arg3_defvalue
= *wxBLACK
;
43526 wxColour
*arg3
= (wxColour
*) &arg3_defvalue
;
43527 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43528 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43529 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43530 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43531 long arg6
= (long) wxCLRP_DEFAULT_STYLE
;
43532 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43533 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43534 wxString
const &arg8_defvalue
= wxPyColourPickerCtrlNameStr
;
43535 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43536 wxColourPickerCtrl
*result
= 0 ;
43548 bool temp8
= false ;
43549 PyObject
* obj0
= 0 ;
43550 PyObject
* obj1
= 0 ;
43551 PyObject
* obj2
= 0 ;
43552 PyObject
* obj3
= 0 ;
43553 PyObject
* obj4
= 0 ;
43554 PyObject
* obj5
= 0 ;
43555 PyObject
* obj6
= 0 ;
43556 PyObject
* obj7
= 0 ;
43557 char * kwnames
[] = {
43558 (char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ColourPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43563 if (!SWIG_IsOK(res1
)) {
43564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
43566 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43569 if (!SWIG_IsOK(ecode2
)) {
43570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerCtrl" "', expected argument " "2"" of type '" "int""'");
43572 arg2
= static_cast< int >(val2
);
43577 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43583 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43589 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43593 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43594 if (!SWIG_IsOK(ecode6
)) {
43595 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_ColourPickerCtrl" "', expected argument " "6"" of type '" "long""'");
43597 arg6
= static_cast< long >(val6
);
43600 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43601 if (!SWIG_IsOK(res7
)) {
43602 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43605 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ColourPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
43607 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43611 arg8
= wxString_in_helper(obj7
);
43612 if (arg8
== NULL
) SWIG_fail
;
43617 if (!wxPyCheckForApp()) SWIG_fail
;
43618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43619 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl(arg1
,arg2
,(wxColour
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43620 wxPyEndAllowThreads(__tstate
);
43621 if (PyErr_Occurred()) SWIG_fail
;
43623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_NEW
| 0 );
43638 SWIGINTERN PyObject
*_wrap_new_PreColourPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43639 PyObject
*resultobj
= 0;
43640 wxColourPickerCtrl
*result
= 0 ;
43642 if (!SWIG_Python_UnpackTuple(args
,"new_PreColourPickerCtrl",0,0,0)) SWIG_fail
;
43644 if (!wxPyCheckForApp()) SWIG_fail
;
43645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43646 result
= (wxColourPickerCtrl
*)new wxColourPickerCtrl();
43647 wxPyEndAllowThreads(__tstate
);
43648 if (PyErr_Occurred()) SWIG_fail
;
43650 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerCtrl
, SWIG_POINTER_OWN
| 0 );
43657 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43658 PyObject
*resultobj
= 0;
43659 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43660 wxWindow
*arg2
= (wxWindow
*) 0 ;
43662 wxColour
const &arg4_defvalue
= *wxBLACK
;
43663 wxColour
*arg4
= (wxColour
*) &arg4_defvalue
;
43664 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
43665 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
43666 wxSize
const &arg6_defvalue
= wxDefaultSize
;
43667 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
43668 long arg7
= (long) wxCLRP_DEFAULT_STYLE
;
43669 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
43670 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
43671 wxString
const &arg9_defvalue
= wxPyColourPickerCtrlNameStr
;
43672 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
43687 bool temp9
= false ;
43688 PyObject
* obj0
= 0 ;
43689 PyObject
* obj1
= 0 ;
43690 PyObject
* obj2
= 0 ;
43691 PyObject
* obj3
= 0 ;
43692 PyObject
* obj4
= 0 ;
43693 PyObject
* obj5
= 0 ;
43694 PyObject
* obj6
= 0 ;
43695 PyObject
* obj7
= 0 ;
43696 PyObject
* obj8
= 0 ;
43697 char * kwnames
[] = {
43698 (char *) "self",(char *) "parent",(char *) "id",(char *) "col",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:ColourPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
43702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43703 if (!SWIG_IsOK(res1
)) {
43704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43706 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43707 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43708 if (!SWIG_IsOK(res2
)) {
43709 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43711 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43712 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43713 if (!SWIG_IsOK(ecode3
)) {
43714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
43716 arg3
= static_cast< int >(val3
);
43720 if ( ! wxColour_helper(obj3
, &arg4
)) SWIG_fail
;
43726 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
43732 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
43736 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
43737 if (!SWIG_IsOK(ecode7
)) {
43738 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
43740 arg7
= static_cast< long >(val7
);
43743 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
43744 if (!SWIG_IsOK(res8
)) {
43745 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43748 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ColourPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
43750 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
43754 arg9
= wxString_in_helper(obj8
);
43755 if (arg9
== NULL
) SWIG_fail
;
43760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43761 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxColour
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
43762 wxPyEndAllowThreads(__tstate
);
43763 if (PyErr_Occurred()) SWIG_fail
;
43766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43782 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43783 PyObject
*resultobj
= 0;
43784 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43788 PyObject
*swig_obj
[1] ;
43790 if (!args
) SWIG_fail
;
43791 swig_obj
[0] = args
;
43792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43793 if (!SWIG_IsOK(res1
)) {
43794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_GetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl const *""'");
43796 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43799 result
= ((wxColourPickerCtrl
const *)arg1
)->GetColour();
43800 wxPyEndAllowThreads(__tstate
);
43801 if (PyErr_Occurred()) SWIG_fail
;
43803 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43810 SWIGINTERN PyObject
*_wrap_ColourPickerCtrl_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43811 PyObject
*resultobj
= 0;
43812 wxColourPickerCtrl
*arg1
= (wxColourPickerCtrl
*) 0 ;
43813 wxColour
*arg2
= 0 ;
43817 PyObject
* obj0
= 0 ;
43818 PyObject
* obj1
= 0 ;
43819 char * kwnames
[] = {
43820 (char *) "self",(char *) "col", NULL
43823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerCtrl_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerCtrl
, 0 | 0 );
43825 if (!SWIG_IsOK(res1
)) {
43826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerCtrl_SetColour" "', expected argument " "1"" of type '" "wxColourPickerCtrl *""'");
43828 arg1
= reinterpret_cast< wxColourPickerCtrl
* >(argp1
);
43831 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43835 (arg1
)->SetColour((wxColour
const &)*arg2
);
43836 wxPyEndAllowThreads(__tstate
);
43837 if (PyErr_Occurred()) SWIG_fail
;
43839 resultobj
= SWIG_Py_Void();
43846 SWIGINTERN PyObject
*ColourPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43848 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43849 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerCtrl
, SWIG_NewClientData(obj
));
43850 return SWIG_Py_Void();
43853 SWIGINTERN PyObject
*ColourPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43854 return SWIG_Python_InitShadowInstance(args
);
43857 SWIGINTERN PyObject
*_wrap_new_ColourPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43858 PyObject
*resultobj
= 0;
43859 wxObject
*arg1
= (wxObject
*) 0 ;
43861 wxColour
*arg3
= 0 ;
43862 wxColourPickerEvent
*result
= 0 ;
43868 PyObject
* obj0
= 0 ;
43869 PyObject
* obj1
= 0 ;
43870 PyObject
* obj2
= 0 ;
43871 char * kwnames
[] = {
43872 (char *) "generator",(char *) "id",(char *) "col", NULL
43875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ColourPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
43877 if (!SWIG_IsOK(res1
)) {
43878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
43880 arg1
= reinterpret_cast< wxObject
* >(argp1
);
43881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43882 if (!SWIG_IsOK(ecode2
)) {
43883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ColourPickerEvent" "', expected argument " "2"" of type '" "int""'");
43885 arg2
= static_cast< int >(val2
);
43888 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
43891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43892 result
= (wxColourPickerEvent
*)new wxColourPickerEvent(arg1
,arg2
,(wxColour
const &)*arg3
);
43893 wxPyEndAllowThreads(__tstate
);
43894 if (PyErr_Occurred()) SWIG_fail
;
43896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourPickerEvent
, SWIG_POINTER_NEW
| 0 );
43903 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43904 PyObject
*resultobj
= 0;
43905 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43909 PyObject
*swig_obj
[1] ;
43911 if (!args
) SWIG_fail
;
43912 swig_obj
[0] = args
;
43913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43914 if (!SWIG_IsOK(res1
)) {
43915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_GetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent const *""'");
43917 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43920 result
= ((wxColourPickerEvent
const *)arg1
)->GetColour();
43921 wxPyEndAllowThreads(__tstate
);
43922 if (PyErr_Occurred()) SWIG_fail
;
43924 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43931 SWIGINTERN PyObject
*_wrap_ColourPickerEvent_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43932 PyObject
*resultobj
= 0;
43933 wxColourPickerEvent
*arg1
= (wxColourPickerEvent
*) 0 ;
43934 wxColour
*arg2
= 0 ;
43938 PyObject
* obj0
= 0 ;
43939 PyObject
* obj1
= 0 ;
43940 char * kwnames
[] = {
43941 (char *) "self",(char *) "c", NULL
43944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourPickerEvent_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourPickerEvent
, 0 | 0 );
43946 if (!SWIG_IsOK(res1
)) {
43947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourPickerEvent_SetColour" "', expected argument " "1"" of type '" "wxColourPickerEvent *""'");
43949 arg1
= reinterpret_cast< wxColourPickerEvent
* >(argp1
);
43952 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43956 (arg1
)->SetColour((wxColour
const &)*arg2
);
43957 wxPyEndAllowThreads(__tstate
);
43958 if (PyErr_Occurred()) SWIG_fail
;
43960 resultobj
= SWIG_Py_Void();
43967 SWIGINTERN PyObject
*ColourPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43969 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43970 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourPickerEvent
, SWIG_NewClientData(obj
));
43971 return SWIG_Py_Void();
43974 SWIGINTERN PyObject
*ColourPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43975 return SWIG_Python_InitShadowInstance(args
);
43978 SWIGINTERN
int FilePickerCtrlNameStr_set(PyObject
*) {
43979 SWIG_Error(SWIG_AttributeError
,"Variable FilePickerCtrlNameStr is read-only.");
43984 SWIGINTERN PyObject
*FilePickerCtrlNameStr_get(void) {
43985 PyObject
*pyobj
= 0;
43989 pyobj
= PyUnicode_FromWideChar((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43991 pyobj
= PyString_FromStringAndSize((&wxPyFilePickerCtrlNameStr
)->c_str(), (&wxPyFilePickerCtrlNameStr
)->Len());
43998 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
43999 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
44004 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
44005 PyObject
*pyobj
= 0;
44009 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
44011 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
44018 SWIGINTERN
int DirPickerCtrlNameStr_set(PyObject
*) {
44019 SWIG_Error(SWIG_AttributeError
,"Variable DirPickerCtrlNameStr is read-only.");
44024 SWIGINTERN PyObject
*DirPickerCtrlNameStr_get(void) {
44025 PyObject
*pyobj
= 0;
44029 pyobj
= PyUnicode_FromWideChar((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
44031 pyobj
= PyString_FromStringAndSize((&wxPyDirPickerCtrlNameStr
)->c_str(), (&wxPyDirPickerCtrlNameStr
)->Len());
44038 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
44039 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
44044 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
44045 PyObject
*pyobj
= 0;
44049 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
44051 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
44058 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
44059 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
44064 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
44065 PyObject
*pyobj
= 0;
44069 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
44071 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
44078 SWIGINTERN PyObject
*_wrap_new_FilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44079 PyObject
*resultobj
= 0;
44080 wxWindow
*arg1
= (wxWindow
*) 0 ;
44081 int arg2
= (int) -1 ;
44082 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44083 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44084 wxString
const &arg4_defvalue
= wxPyFileSelectorPromptStr
;
44085 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44086 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44087 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44088 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44089 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44090 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44091 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44092 long arg8
= (long) wxFLP_DEFAULT_STYLE
;
44093 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44094 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44095 wxString
const &arg10_defvalue
= wxPyFilePickerCtrlNameStr
;
44096 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44097 wxFilePickerCtrl
*result
= 0 ;
44102 bool temp3
= false ;
44103 bool temp4
= false ;
44104 bool temp5
= false ;
44111 bool temp10
= false ;
44112 PyObject
* obj0
= 0 ;
44113 PyObject
* obj1
= 0 ;
44114 PyObject
* obj2
= 0 ;
44115 PyObject
* obj3
= 0 ;
44116 PyObject
* obj4
= 0 ;
44117 PyObject
* obj5
= 0 ;
44118 PyObject
* obj6
= 0 ;
44119 PyObject
* obj7
= 0 ;
44120 PyObject
* obj8
= 0 ;
44121 PyObject
* obj9
= 0 ;
44122 char * kwnames
[] = {
44123 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_FilePickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44128 if (!SWIG_IsOK(res1
)) {
44129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FilePickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44131 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44134 if (!SWIG_IsOK(ecode2
)) {
44135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FilePickerCtrl" "', expected argument " "2"" of type '" "int""'");
44137 arg2
= static_cast< int >(val2
);
44141 arg3
= wxString_in_helper(obj2
);
44142 if (arg3
== NULL
) SWIG_fail
;
44148 arg4
= wxString_in_helper(obj3
);
44149 if (arg4
== NULL
) SWIG_fail
;
44155 arg5
= wxString_in_helper(obj4
);
44156 if (arg5
== NULL
) SWIG_fail
;
44163 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44169 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44173 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44174 if (!SWIG_IsOK(ecode8
)) {
44175 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_FilePickerCtrl" "', expected argument " "8"" of type '" "long""'");
44177 arg8
= static_cast< long >(val8
);
44180 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44181 if (!SWIG_IsOK(res9
)) {
44182 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FilePickerCtrl" "', expected argument " "9"" of type '" "wxValidator const &""'");
44187 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44191 arg10
= wxString_in_helper(obj9
);
44192 if (arg10
== NULL
) SWIG_fail
;
44197 if (!wxPyCheckForApp()) SWIG_fail
;
44198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44199 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
);
44200 wxPyEndAllowThreads(__tstate
);
44201 if (PyErr_Occurred()) SWIG_fail
;
44203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_NEW
| 0 );
44242 SWIGINTERN PyObject
*_wrap_new_PreFilePickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44243 PyObject
*resultobj
= 0;
44244 wxFilePickerCtrl
*result
= 0 ;
44246 if (!SWIG_Python_UnpackTuple(args
,"new_PreFilePickerCtrl",0,0,0)) SWIG_fail
;
44248 if (!wxPyCheckForApp()) SWIG_fail
;
44249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44250 result
= (wxFilePickerCtrl
*)new wxFilePickerCtrl();
44251 wxPyEndAllowThreads(__tstate
);
44252 if (PyErr_Occurred()) SWIG_fail
;
44254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFilePickerCtrl
, SWIG_POINTER_OWN
| 0 );
44261 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44262 PyObject
*resultobj
= 0;
44263 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44264 wxWindow
*arg2
= (wxWindow
*) 0 ;
44265 int arg3
= (int) -1 ;
44266 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44267 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44268 wxString
const &arg5_defvalue
= wxPyFileSelectorPromptStr
;
44269 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44270 wxString
const &arg6_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
44271 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
44272 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
44273 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
44274 wxSize
const &arg8_defvalue
= wxDefaultSize
;
44275 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
44276 long arg9
= (long) wxFLP_DEFAULT_STYLE
;
44277 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
44278 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
44279 wxString
const &arg11_defvalue
= wxPyFilePickerCtrlNameStr
;
44280 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
44288 bool temp4
= false ;
44289 bool temp5
= false ;
44290 bool temp6
= false ;
44297 bool temp11
= false ;
44298 PyObject
* obj0
= 0 ;
44299 PyObject
* obj1
= 0 ;
44300 PyObject
* obj2
= 0 ;
44301 PyObject
* obj3
= 0 ;
44302 PyObject
* obj4
= 0 ;
44303 PyObject
* obj5
= 0 ;
44304 PyObject
* obj6
= 0 ;
44305 PyObject
* obj7
= 0 ;
44306 PyObject
* obj8
= 0 ;
44307 PyObject
* obj9
= 0 ;
44308 PyObject
* obj10
= 0 ;
44309 char * kwnames
[] = {
44310 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "wildcard",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:FilePickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) SWIG_fail
;
44314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44315 if (!SWIG_IsOK(res1
)) {
44316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_Create" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44318 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44319 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44320 if (!SWIG_IsOK(res2
)) {
44321 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FilePickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44323 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44326 if (!SWIG_IsOK(ecode3
)) {
44327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FilePickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44329 arg3
= static_cast< int >(val3
);
44333 arg4
= wxString_in_helper(obj3
);
44334 if (arg4
== NULL
) SWIG_fail
;
44340 arg5
= wxString_in_helper(obj4
);
44341 if (arg5
== NULL
) SWIG_fail
;
44347 arg6
= wxString_in_helper(obj5
);
44348 if (arg6
== NULL
) SWIG_fail
;
44355 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
44361 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
44365 ecode9
= SWIG_AsVal_long(obj8
, &val9
);
44366 if (!SWIG_IsOK(ecode9
)) {
44367 SWIG_exception_fail(SWIG_ArgError(ecode9
), "in method '" "FilePickerCtrl_Create" "', expected argument " "9"" of type '" "long""'");
44369 arg9
= static_cast< long >(val9
);
44372 res10
= SWIG_ConvertPtr(obj9
, &argp10
, SWIGTYPE_p_wxValidator
, 0 | 0);
44373 if (!SWIG_IsOK(res10
)) {
44374 SWIG_exception_fail(SWIG_ArgError(res10
), "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44377 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FilePickerCtrl_Create" "', expected argument " "10"" of type '" "wxValidator const &""'");
44379 arg10
= reinterpret_cast< wxValidator
* >(argp10
);
44383 arg11
= wxString_in_helper(obj10
);
44384 if (arg11
== NULL
) SWIG_fail
;
44389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44390 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
);
44391 wxPyEndAllowThreads(__tstate
);
44392 if (PyErr_Occurred()) SWIG_fail
;
44395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44435 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44436 PyObject
*resultobj
= 0;
44437 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44441 PyObject
*swig_obj
[1] ;
44443 if (!args
) SWIG_fail
;
44444 swig_obj
[0] = args
;
44445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44446 if (!SWIG_IsOK(res1
)) {
44447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44449 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44452 result
= ((wxFilePickerCtrl
const *)arg1
)->GetPath();
44453 wxPyEndAllowThreads(__tstate
);
44454 if (PyErr_Occurred()) SWIG_fail
;
44458 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44460 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44469 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44470 PyObject
*resultobj
= 0;
44471 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44472 wxString
*arg2
= 0 ;
44475 bool temp2
= false ;
44476 PyObject
* obj0
= 0 ;
44477 PyObject
* obj1
= 0 ;
44478 char * kwnames
[] = {
44479 (char *) "self",(char *) "str", NULL
44482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44483 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44484 if (!SWIG_IsOK(res1
)) {
44485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl *""'");
44487 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44489 arg2
= wxString_in_helper(obj1
);
44490 if (arg2
== NULL
) SWIG_fail
;
44494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44495 (arg1
)->SetPath((wxString
const &)*arg2
);
44496 wxPyEndAllowThreads(__tstate
);
44497 if (PyErr_Occurred()) SWIG_fail
;
44499 resultobj
= SWIG_Py_Void();
44514 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44515 PyObject
*resultobj
= 0;
44516 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44517 wxString
*arg2
= 0 ;
44521 bool temp2
= false ;
44522 PyObject
* obj0
= 0 ;
44523 PyObject
* obj1
= 0 ;
44524 char * kwnames
[] = {
44525 (char *) "self",(char *) "path", NULL
44528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FilePickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44530 if (!SWIG_IsOK(res1
)) {
44531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44533 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44535 arg2
= wxString_in_helper(obj1
);
44536 if (arg2
== NULL
) SWIG_fail
;
44540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44541 result
= (bool)((wxFilePickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
44542 wxPyEndAllowThreads(__tstate
);
44543 if (PyErr_Occurred()) SWIG_fail
;
44546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44562 SWIGINTERN PyObject
*_wrap_FilePickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44563 PyObject
*resultobj
= 0;
44564 wxFilePickerCtrl
*arg1
= (wxFilePickerCtrl
*) 0 ;
44568 PyObject
*swig_obj
[1] ;
44570 if (!args
) SWIG_fail
;
44571 swig_obj
[0] = args
;
44572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFilePickerCtrl
, 0 | 0 );
44573 if (!SWIG_IsOK(res1
)) {
44574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FilePickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxFilePickerCtrl const *""'");
44576 arg1
= reinterpret_cast< wxFilePickerCtrl
* >(argp1
);
44578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44579 result
= ((wxFilePickerCtrl
const *)arg1
)->GetTextCtrlValue();
44580 wxPyEndAllowThreads(__tstate
);
44581 if (PyErr_Occurred()) SWIG_fail
;
44585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44596 SWIGINTERN PyObject
*FilePickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44598 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44599 SWIG_TypeNewClientData(SWIGTYPE_p_wxFilePickerCtrl
, SWIG_NewClientData(obj
));
44600 return SWIG_Py_Void();
44603 SWIGINTERN PyObject
*FilePickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44604 return SWIG_Python_InitShadowInstance(args
);
44607 SWIGINTERN PyObject
*_wrap_new_DirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44608 PyObject
*resultobj
= 0;
44609 wxWindow
*arg1
= (wxWindow
*) 0 ;
44610 int arg2
= (int) -1 ;
44611 wxString
const &arg3_defvalue
= wxPyEmptyString
;
44612 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
44613 wxString
const &arg4_defvalue
= wxPyDirSelectorPromptStr
;
44614 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44615 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
44616 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
44617 wxSize
const &arg6_defvalue
= wxDefaultSize
;
44618 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
44619 long arg7
= (long) wxDIRP_DEFAULT_STYLE
;
44620 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
44621 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
44622 wxString
const &arg9_defvalue
= wxPyDirPickerCtrlNameStr
;
44623 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
44624 wxDirPickerCtrl
*result
= 0 ;
44629 bool temp3
= false ;
44630 bool temp4
= false ;
44637 bool temp9
= false ;
44638 PyObject
* obj0
= 0 ;
44639 PyObject
* obj1
= 0 ;
44640 PyObject
* obj2
= 0 ;
44641 PyObject
* obj3
= 0 ;
44642 PyObject
* obj4
= 0 ;
44643 PyObject
* obj5
= 0 ;
44644 PyObject
* obj6
= 0 ;
44645 PyObject
* obj7
= 0 ;
44646 PyObject
* obj8
= 0 ;
44647 char * kwnames
[] = {
44648 (char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_DirPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
44652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44653 if (!SWIG_IsOK(res1
)) {
44654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
44656 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44658 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44659 if (!SWIG_IsOK(ecode2
)) {
44660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_DirPickerCtrl" "', expected argument " "2"" of type '" "int""'");
44662 arg2
= static_cast< int >(val2
);
44666 arg3
= wxString_in_helper(obj2
);
44667 if (arg3
== NULL
) SWIG_fail
;
44673 arg4
= wxString_in_helper(obj3
);
44674 if (arg4
== NULL
) SWIG_fail
;
44681 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
44687 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
44691 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
44692 if (!SWIG_IsOK(ecode7
)) {
44693 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_DirPickerCtrl" "', expected argument " "7"" of type '" "long""'");
44695 arg7
= static_cast< long >(val7
);
44698 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
44699 if (!SWIG_IsOK(res8
)) {
44700 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DirPickerCtrl" "', expected argument " "8"" of type '" "wxValidator const &""'");
44705 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
44709 arg9
= wxString_in_helper(obj8
);
44710 if (arg9
== NULL
) SWIG_fail
;
44715 if (!wxPyCheckForApp()) SWIG_fail
;
44716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44717 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
);
44718 wxPyEndAllowThreads(__tstate
);
44719 if (PyErr_Occurred()) SWIG_fail
;
44721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_NEW
| 0 );
44752 SWIGINTERN PyObject
*_wrap_new_PreDirPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44753 PyObject
*resultobj
= 0;
44754 wxDirPickerCtrl
*result
= 0 ;
44756 if (!SWIG_Python_UnpackTuple(args
,"new_PreDirPickerCtrl",0,0,0)) SWIG_fail
;
44758 if (!wxPyCheckForApp()) SWIG_fail
;
44759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44760 result
= (wxDirPickerCtrl
*)new wxDirPickerCtrl();
44761 wxPyEndAllowThreads(__tstate
);
44762 if (PyErr_Occurred()) SWIG_fail
;
44764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirPickerCtrl
, SWIG_POINTER_OWN
| 0 );
44771 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44772 PyObject
*resultobj
= 0;
44773 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44774 wxWindow
*arg2
= (wxWindow
*) 0 ;
44775 int arg3
= (int) -1 ;
44776 wxString
const &arg4_defvalue
= wxPyEmptyString
;
44777 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
44778 wxString
const &arg5_defvalue
= wxPyDirSelectorPromptStr
;
44779 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
44780 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
44781 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
44782 wxSize
const &arg7_defvalue
= wxDefaultSize
;
44783 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
44784 long arg8
= (long) wxDIRP_DEFAULT_STYLE
;
44785 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
44786 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
44787 wxString
const &arg10_defvalue
= wxPyDirPickerCtrlNameStr
;
44788 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
44796 bool temp4
= false ;
44797 bool temp5
= false ;
44804 bool temp10
= false ;
44805 PyObject
* obj0
= 0 ;
44806 PyObject
* obj1
= 0 ;
44807 PyObject
* obj2
= 0 ;
44808 PyObject
* obj3
= 0 ;
44809 PyObject
* obj4
= 0 ;
44810 PyObject
* obj5
= 0 ;
44811 PyObject
* obj6
= 0 ;
44812 PyObject
* obj7
= 0 ;
44813 PyObject
* obj8
= 0 ;
44814 PyObject
* obj9
= 0 ;
44815 char * kwnames
[] = {
44816 (char *) "self",(char *) "parent",(char *) "id",(char *) "path",(char *) "message",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
44819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:DirPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) SWIG_fail
;
44820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44821 if (!SWIG_IsOK(res1
)) {
44822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_Create" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44824 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44825 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44826 if (!SWIG_IsOK(res2
)) {
44827 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DirPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
44829 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
44831 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44832 if (!SWIG_IsOK(ecode3
)) {
44833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "DirPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
44835 arg3
= static_cast< int >(val3
);
44839 arg4
= wxString_in_helper(obj3
);
44840 if (arg4
== NULL
) SWIG_fail
;
44846 arg5
= wxString_in_helper(obj4
);
44847 if (arg5
== NULL
) SWIG_fail
;
44854 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
44860 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
44864 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
44865 if (!SWIG_IsOK(ecode8
)) {
44866 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "DirPickerCtrl_Create" "', expected argument " "8"" of type '" "long""'");
44868 arg8
= static_cast< long >(val8
);
44871 res9
= SWIG_ConvertPtr(obj8
, &argp9
, SWIGTYPE_p_wxValidator
, 0 | 0);
44872 if (!SWIG_IsOK(res9
)) {
44873 SWIG_exception_fail(SWIG_ArgError(res9
), "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44876 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DirPickerCtrl_Create" "', expected argument " "9"" of type '" "wxValidator const &""'");
44878 arg9
= reinterpret_cast< wxValidator
* >(argp9
);
44882 arg10
= wxString_in_helper(obj9
);
44883 if (arg10
== NULL
) SWIG_fail
;
44888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44889 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
);
44890 wxPyEndAllowThreads(__tstate
);
44891 if (PyErr_Occurred()) SWIG_fail
;
44894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44926 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44927 PyObject
*resultobj
= 0;
44928 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44932 PyObject
*swig_obj
[1] ;
44934 if (!args
) SWIG_fail
;
44935 swig_obj
[0] = args
;
44936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44937 if (!SWIG_IsOK(res1
)) {
44938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
44940 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44943 result
= ((wxDirPickerCtrl
const *)arg1
)->GetPath();
44944 wxPyEndAllowThreads(__tstate
);
44945 if (PyErr_Occurred()) SWIG_fail
;
44949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44960 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44961 PyObject
*resultobj
= 0;
44962 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
44963 wxString
*arg2
= 0 ;
44966 bool temp2
= false ;
44967 PyObject
* obj0
= 0 ;
44968 PyObject
* obj1
= 0 ;
44969 char * kwnames
[] = {
44970 (char *) "self",(char *) "str", NULL
44973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
44975 if (!SWIG_IsOK(res1
)) {
44976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_SetPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl *""'");
44978 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
44980 arg2
= wxString_in_helper(obj1
);
44981 if (arg2
== NULL
) SWIG_fail
;
44985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44986 (arg1
)->SetPath((wxString
const &)*arg2
);
44987 wxPyEndAllowThreads(__tstate
);
44988 if (PyErr_Occurred()) SWIG_fail
;
44990 resultobj
= SWIG_Py_Void();
45005 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_CheckPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45006 PyObject
*resultobj
= 0;
45007 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
45008 wxString
*arg2
= 0 ;
45012 bool temp2
= false ;
45013 PyObject
* obj0
= 0 ;
45014 PyObject
* obj1
= 0 ;
45015 char * kwnames
[] = {
45016 (char *) "self",(char *) "path", NULL
45019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirPickerCtrl_CheckPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45021 if (!SWIG_IsOK(res1
)) {
45022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_CheckPath" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45024 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45026 arg2
= wxString_in_helper(obj1
);
45027 if (arg2
== NULL
) SWIG_fail
;
45031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45032 result
= (bool)((wxDirPickerCtrl
const *)arg1
)->CheckPath((wxString
const &)*arg2
);
45033 wxPyEndAllowThreads(__tstate
);
45034 if (PyErr_Occurred()) SWIG_fail
;
45037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45053 SWIGINTERN PyObject
*_wrap_DirPickerCtrl_GetTextCtrlValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45054 PyObject
*resultobj
= 0;
45055 wxDirPickerCtrl
*arg1
= (wxDirPickerCtrl
*) 0 ;
45059 PyObject
*swig_obj
[1] ;
45061 if (!args
) SWIG_fail
;
45062 swig_obj
[0] = args
;
45063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirPickerCtrl
, 0 | 0 );
45064 if (!SWIG_IsOK(res1
)) {
45065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirPickerCtrl_GetTextCtrlValue" "', expected argument " "1"" of type '" "wxDirPickerCtrl const *""'");
45067 arg1
= reinterpret_cast< wxDirPickerCtrl
* >(argp1
);
45069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45070 result
= ((wxDirPickerCtrl
const *)arg1
)->GetTextCtrlValue();
45071 wxPyEndAllowThreads(__tstate
);
45072 if (PyErr_Occurred()) SWIG_fail
;
45076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45087 SWIGINTERN PyObject
*DirPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45089 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45090 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirPickerCtrl
, SWIG_NewClientData(obj
));
45091 return SWIG_Py_Void();
45094 SWIGINTERN PyObject
*DirPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45095 return SWIG_Python_InitShadowInstance(args
);
45098 SWIGINTERN PyObject
*_wrap_new_FileDirPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45099 PyObject
*resultobj
= 0;
45101 wxObject
*arg2
= (wxObject
*) 0 ;
45103 wxString
*arg4
= 0 ;
45104 wxFileDirPickerEvent
*result
= 0 ;
45111 bool temp4
= false ;
45112 PyObject
* obj0
= 0 ;
45113 PyObject
* obj1
= 0 ;
45114 PyObject
* obj2
= 0 ;
45115 PyObject
* obj3
= 0 ;
45116 char * kwnames
[] = {
45117 (char *) "type",(char *) "generator",(char *) "id",(char *) "path", NULL
45120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileDirPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
45121 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
45122 if (!SWIG_IsOK(ecode1
)) {
45123 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FileDirPickerEvent" "', expected argument " "1"" of type '" "wxEventType""'");
45125 arg1
= static_cast< wxEventType
>(val1
);
45126 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
45127 if (!SWIG_IsOK(res2
)) {
45128 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FileDirPickerEvent" "', expected argument " "2"" of type '" "wxObject *""'");
45130 arg2
= reinterpret_cast< wxObject
* >(argp2
);
45131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45132 if (!SWIG_IsOK(ecode3
)) {
45133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FileDirPickerEvent" "', expected argument " "3"" of type '" "int""'");
45135 arg3
= static_cast< int >(val3
);
45137 arg4
= wxString_in_helper(obj3
);
45138 if (arg4
== NULL
) SWIG_fail
;
45142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45143 result
= (wxFileDirPickerEvent
*)new wxFileDirPickerEvent(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
45144 wxPyEndAllowThreads(__tstate
);
45145 if (PyErr_Occurred()) SWIG_fail
;
45147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_POINTER_NEW
| 0 );
45162 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45163 PyObject
*resultobj
= 0;
45164 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45168 PyObject
*swig_obj
[1] ;
45170 if (!args
) SWIG_fail
;
45171 swig_obj
[0] = args
;
45172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45173 if (!SWIG_IsOK(res1
)) {
45174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_GetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent const *""'");
45176 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45179 result
= ((wxFileDirPickerEvent
const *)arg1
)->GetPath();
45180 wxPyEndAllowThreads(__tstate
);
45181 if (PyErr_Occurred()) SWIG_fail
;
45185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
45187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
45196 SWIGINTERN PyObject
*_wrap_FileDirPickerEvent_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45197 PyObject
*resultobj
= 0;
45198 wxFileDirPickerEvent
*arg1
= (wxFileDirPickerEvent
*) 0 ;
45199 wxString
*arg2
= 0 ;
45202 bool temp2
= false ;
45203 PyObject
* obj0
= 0 ;
45204 PyObject
* obj1
= 0 ;
45205 char * kwnames
[] = {
45206 (char *) "self",(char *) "p", NULL
45209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDirPickerEvent_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDirPickerEvent
, 0 | 0 );
45211 if (!SWIG_IsOK(res1
)) {
45212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDirPickerEvent_SetPath" "', expected argument " "1"" of type '" "wxFileDirPickerEvent *""'");
45214 arg1
= reinterpret_cast< wxFileDirPickerEvent
* >(argp1
);
45216 arg2
= wxString_in_helper(obj1
);
45217 if (arg2
== NULL
) SWIG_fail
;
45221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45222 (arg1
)->SetPath((wxString
const &)*arg2
);
45223 wxPyEndAllowThreads(__tstate
);
45224 if (PyErr_Occurred()) SWIG_fail
;
45226 resultobj
= SWIG_Py_Void();
45241 SWIGINTERN PyObject
*FileDirPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45244 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDirPickerEvent
, SWIG_NewClientData(obj
));
45245 return SWIG_Py_Void();
45248 SWIGINTERN PyObject
*FileDirPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45249 return SWIG_Python_InitShadowInstance(args
);
45252 SWIGINTERN
int FontPickerCtrlNameStr_set(PyObject
*) {
45253 SWIG_Error(SWIG_AttributeError
,"Variable FontPickerCtrlNameStr is read-only.");
45258 SWIGINTERN PyObject
*FontPickerCtrlNameStr_get(void) {
45259 PyObject
*pyobj
= 0;
45263 pyobj
= PyUnicode_FromWideChar((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45265 pyobj
= PyString_FromStringAndSize((&wxPyFontPickerCtrlNameStr
)->c_str(), (&wxPyFontPickerCtrlNameStr
)->Len());
45272 SWIGINTERN PyObject
*_wrap_new_FontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45273 PyObject
*resultobj
= 0;
45274 wxWindow
*arg1
= (wxWindow
*) 0 ;
45275 int arg2
= (int) -1 ;
45276 wxFont
const &arg3_defvalue
= wxNullFont
;
45277 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
45278 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45279 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45280 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45281 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45282 long arg6
= (long) wxFNTP_DEFAULT_STYLE
;
45283 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45284 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45285 wxString
const &arg8_defvalue
= wxPyFontPickerCtrlNameStr
;
45286 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45287 wxFontPickerCtrl
*result
= 0 ;
45300 bool temp8
= false ;
45301 PyObject
* obj0
= 0 ;
45302 PyObject
* obj1
= 0 ;
45303 PyObject
* obj2
= 0 ;
45304 PyObject
* obj3
= 0 ;
45305 PyObject
* obj4
= 0 ;
45306 PyObject
* obj5
= 0 ;
45307 PyObject
* obj6
= 0 ;
45308 PyObject
* obj7
= 0 ;
45309 char * kwnames
[] = {
45310 (char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_FontPickerCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45315 if (!SWIG_IsOK(res1
)) {
45316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
45318 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45320 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45321 if (!SWIG_IsOK(ecode2
)) {
45322 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerCtrl" "', expected argument " "2"" of type '" "int""'");
45324 arg2
= static_cast< int >(val2
);
45327 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45328 if (!SWIG_IsOK(res3
)) {
45329 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45332 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "3"" of type '" "wxFont const &""'");
45334 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45349 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45350 if (!SWIG_IsOK(ecode6
)) {
45351 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FontPickerCtrl" "', expected argument " "6"" of type '" "long""'");
45353 arg6
= static_cast< long >(val6
);
45356 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45357 if (!SWIG_IsOK(res7
)) {
45358 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45361 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
45363 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45367 arg8
= wxString_in_helper(obj7
);
45368 if (arg8
== NULL
) SWIG_fail
;
45373 if (!wxPyCheckForApp()) SWIG_fail
;
45374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45375 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl(arg1
,arg2
,(wxFont
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45376 wxPyEndAllowThreads(__tstate
);
45377 if (PyErr_Occurred()) SWIG_fail
;
45379 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_NEW
| 0 );
45394 SWIGINTERN PyObject
*_wrap_new_PreFontPickerCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45395 PyObject
*resultobj
= 0;
45396 wxFontPickerCtrl
*result
= 0 ;
45398 if (!SWIG_Python_UnpackTuple(args
,"new_PreFontPickerCtrl",0,0,0)) SWIG_fail
;
45400 if (!wxPyCheckForApp()) SWIG_fail
;
45401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45402 result
= (wxFontPickerCtrl
*)new wxFontPickerCtrl();
45403 wxPyEndAllowThreads(__tstate
);
45404 if (PyErr_Occurred()) SWIG_fail
;
45406 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerCtrl
, SWIG_POINTER_OWN
| 0 );
45413 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45414 PyObject
*resultobj
= 0;
45415 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45416 wxWindow
*arg2
= (wxWindow
*) 0 ;
45417 int arg3
= (int) -1 ;
45418 wxFont
const &arg4_defvalue
= wxNullFont
;
45419 wxFont
*arg4
= (wxFont
*) &arg4_defvalue
;
45420 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45421 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45422 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45423 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45424 long arg7
= (long) wxFNTP_DEFAULT_STYLE
;
45425 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
45426 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
45427 wxString
const &arg9_defvalue
= wxPyFontPickerCtrlNameStr
;
45428 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
45444 bool temp9
= false ;
45445 PyObject
* obj0
= 0 ;
45446 PyObject
* obj1
= 0 ;
45447 PyObject
* obj2
= 0 ;
45448 PyObject
* obj3
= 0 ;
45449 PyObject
* obj4
= 0 ;
45450 PyObject
* obj5
= 0 ;
45451 PyObject
* obj6
= 0 ;
45452 PyObject
* obj7
= 0 ;
45453 PyObject
* obj8
= 0 ;
45454 char * kwnames
[] = {
45455 (char *) "self",(char *) "parent",(char *) "id",(char *) "initial",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
45458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:FontPickerCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
45459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45460 if (!SWIG_IsOK(res1
)) {
45461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_Create" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45463 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45464 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45465 if (!SWIG_IsOK(res2
)) {
45466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
45468 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45471 if (!SWIG_IsOK(ecode3
)) {
45472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontPickerCtrl_Create" "', expected argument " "3"" of type '" "int""'");
45474 arg3
= static_cast< int >(val3
);
45477 res4
= SWIG_ConvertPtr(obj3
, &argp4
, SWIGTYPE_p_wxFont
, 0 | 0);
45478 if (!SWIG_IsOK(res4
)) {
45479 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45482 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "4"" of type '" "wxFont const &""'");
45484 arg4
= reinterpret_cast< wxFont
* >(argp4
);
45489 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
45495 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
45499 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
45500 if (!SWIG_IsOK(ecode7
)) {
45501 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "FontPickerCtrl_Create" "', expected argument " "7"" of type '" "long""'");
45503 arg7
= static_cast< long >(val7
);
45506 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
45507 if (!SWIG_IsOK(res8
)) {
45508 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
45513 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
45517 arg9
= wxString_in_helper(obj8
);
45518 if (arg9
== NULL
) SWIG_fail
;
45523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45524 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxFont
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
45525 wxPyEndAllowThreads(__tstate
);
45526 if (PyErr_Occurred()) SWIG_fail
;
45529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45545 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45546 PyObject
*resultobj
= 0;
45547 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45551 PyObject
*swig_obj
[1] ;
45553 if (!args
) SWIG_fail
;
45554 swig_obj
[0] = args
;
45555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45556 if (!SWIG_IsOK(res1
)) {
45557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45559 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45562 result
= ((wxFontPickerCtrl
const *)arg1
)->GetSelectedFont();
45563 wxPyEndAllowThreads(__tstate
);
45564 if (PyErr_Occurred()) SWIG_fail
;
45566 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45573 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetSelectedFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45574 PyObject
*resultobj
= 0;
45575 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45581 PyObject
* obj0
= 0 ;
45582 PyObject
* obj1
= 0 ;
45583 char * kwnames
[] = {
45584 (char *) "self",(char *) "f", NULL
45587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetSelectedFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45589 if (!SWIG_IsOK(res1
)) {
45590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45592 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45594 if (!SWIG_IsOK(res2
)) {
45595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerCtrl_SetSelectedFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45600 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45603 (arg1
)->SetSelectedFont((wxFont
const &)*arg2
);
45604 wxPyEndAllowThreads(__tstate
);
45605 if (PyErr_Occurred()) SWIG_fail
;
45607 resultobj
= SWIG_Py_Void();
45614 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_SetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45615 PyObject
*resultobj
= 0;
45616 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45617 unsigned int arg2
;
45620 unsigned int val2
;
45622 PyObject
* obj0
= 0 ;
45623 PyObject
* obj1
= 0 ;
45624 char * kwnames
[] = {
45625 (char *) "self",(char *) "max", NULL
45628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerCtrl_SetMaxPointSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45630 if (!SWIG_IsOK(res1
)) {
45631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl *""'");
45633 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45634 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
45635 if (!SWIG_IsOK(ecode2
)) {
45636 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontPickerCtrl_SetMaxPointSize" "', expected argument " "2"" of type '" "unsigned int""'");
45638 arg2
= static_cast< unsigned int >(val2
);
45640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45641 (arg1
)->SetMaxPointSize(arg2
);
45642 wxPyEndAllowThreads(__tstate
);
45643 if (PyErr_Occurred()) SWIG_fail
;
45645 resultobj
= SWIG_Py_Void();
45652 SWIGINTERN PyObject
*_wrap_FontPickerCtrl_GetMaxPointSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45653 PyObject
*resultobj
= 0;
45654 wxFontPickerCtrl
*arg1
= (wxFontPickerCtrl
*) 0 ;
45655 unsigned int result
;
45658 PyObject
*swig_obj
[1] ;
45660 if (!args
) SWIG_fail
;
45661 swig_obj
[0] = args
;
45662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerCtrl
, 0 | 0 );
45663 if (!SWIG_IsOK(res1
)) {
45664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerCtrl_GetMaxPointSize" "', expected argument " "1"" of type '" "wxFontPickerCtrl const *""'");
45666 arg1
= reinterpret_cast< wxFontPickerCtrl
* >(argp1
);
45668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45669 result
= (unsigned int)((wxFontPickerCtrl
const *)arg1
)->GetMaxPointSize();
45670 wxPyEndAllowThreads(__tstate
);
45671 if (PyErr_Occurred()) SWIG_fail
;
45673 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
45680 SWIGINTERN PyObject
*FontPickerCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45683 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerCtrl
, SWIG_NewClientData(obj
));
45684 return SWIG_Py_Void();
45687 SWIGINTERN PyObject
*FontPickerCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45688 return SWIG_Python_InitShadowInstance(args
);
45691 SWIGINTERN PyObject
*_wrap_new_FontPickerEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45692 PyObject
*resultobj
= 0;
45693 wxObject
*arg1
= (wxObject
*) 0 ;
45696 wxFontPickerEvent
*result
= 0 ;
45703 PyObject
* obj0
= 0 ;
45704 PyObject
* obj1
= 0 ;
45705 PyObject
* obj2
= 0 ;
45706 char * kwnames
[] = {
45707 (char *) "generator",(char *) "id",(char *) "f", NULL
45710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_FontPickerEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
45712 if (!SWIG_IsOK(res1
)) {
45713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontPickerEvent" "', expected argument " "1"" of type '" "wxObject *""'");
45715 arg1
= reinterpret_cast< wxObject
* >(argp1
);
45716 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45717 if (!SWIG_IsOK(ecode2
)) {
45718 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FontPickerEvent" "', expected argument " "2"" of type '" "int""'");
45720 arg2
= static_cast< int >(val2
);
45721 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxFont
, 0 | 0);
45722 if (!SWIG_IsOK(res3
)) {
45723 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45726 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontPickerEvent" "', expected argument " "3"" of type '" "wxFont const &""'");
45728 arg3
= reinterpret_cast< wxFont
* >(argp3
);
45730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45731 result
= (wxFontPickerEvent
*)new wxFontPickerEvent(arg1
,arg2
,(wxFont
const &)*arg3
);
45732 wxPyEndAllowThreads(__tstate
);
45733 if (PyErr_Occurred()) SWIG_fail
;
45735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontPickerEvent
, SWIG_POINTER_NEW
| 0 );
45742 SWIGINTERN PyObject
*_wrap_FontPickerEvent_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45743 PyObject
*resultobj
= 0;
45744 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45748 PyObject
*swig_obj
[1] ;
45750 if (!args
) SWIG_fail
;
45751 swig_obj
[0] = args
;
45752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45753 if (!SWIG_IsOK(res1
)) {
45754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_GetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent const *""'");
45756 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45759 result
= ((wxFontPickerEvent
const *)arg1
)->GetFont();
45760 wxPyEndAllowThreads(__tstate
);
45761 if (PyErr_Occurred()) SWIG_fail
;
45763 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
45770 SWIGINTERN PyObject
*_wrap_FontPickerEvent_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45771 PyObject
*resultobj
= 0;
45772 wxFontPickerEvent
*arg1
= (wxFontPickerEvent
*) 0 ;
45778 PyObject
* obj0
= 0 ;
45779 PyObject
* obj1
= 0 ;
45780 char * kwnames
[] = {
45781 (char *) "self",(char *) "c", NULL
45784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontPickerEvent_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontPickerEvent
, 0 | 0 );
45786 if (!SWIG_IsOK(res1
)) {
45787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "1"" of type '" "wxFontPickerEvent *""'");
45789 arg1
= reinterpret_cast< wxFontPickerEvent
* >(argp1
);
45790 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
45791 if (!SWIG_IsOK(res2
)) {
45792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontPickerEvent_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
45797 arg2
= reinterpret_cast< wxFont
* >(argp2
);
45799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45800 (arg1
)->SetFont((wxFont
const &)*arg2
);
45801 wxPyEndAllowThreads(__tstate
);
45802 if (PyErr_Occurred()) SWIG_fail
;
45804 resultobj
= SWIG_Py_Void();
45811 SWIGINTERN PyObject
*FontPickerEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45813 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45814 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontPickerEvent
, SWIG_NewClientData(obj
));
45815 return SWIG_Py_Void();
45818 SWIGINTERN PyObject
*FontPickerEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45819 return SWIG_Python_InitShadowInstance(args
);
45822 SWIGINTERN
int CollapsiblePaneNameStr_set(PyObject
*) {
45823 SWIG_Error(SWIG_AttributeError
,"Variable CollapsiblePaneNameStr is read-only.");
45828 SWIGINTERN PyObject
*CollapsiblePaneNameStr_get(void) {
45829 PyObject
*pyobj
= 0;
45833 pyobj
= PyUnicode_FromWideChar((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45835 pyobj
= PyString_FromStringAndSize((&wxPyCollapsiblePaneNameStr
)->c_str(), (&wxPyCollapsiblePaneNameStr
)->Len());
45842 SWIGINTERN PyObject
*_wrap_new_CollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45843 PyObject
*resultobj
= 0;
45844 wxWindow
*arg1
= (wxWindow
*) 0 ;
45845 int arg2
= (int) -1 ;
45846 wxString
const &arg3_defvalue
= wxPyEmptyString
;
45847 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
45848 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
45849 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
45850 wxSize
const &arg5_defvalue
= wxDefaultSize
;
45851 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
45852 long arg6
= (long) wxCP_DEFAULT_STYLE
;
45853 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
45854 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
45855 wxString
const &arg8_defvalue
= wxPyCollapsiblePaneNameStr
;
45856 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
45857 wxCollapsiblePane
*result
= 0 ;
45862 bool temp3
= false ;
45869 bool temp8
= false ;
45870 PyObject
* obj0
= 0 ;
45871 PyObject
* obj1
= 0 ;
45872 PyObject
* obj2
= 0 ;
45873 PyObject
* obj3
= 0 ;
45874 PyObject
* obj4
= 0 ;
45875 PyObject
* obj5
= 0 ;
45876 PyObject
* obj6
= 0 ;
45877 PyObject
* obj7
= 0 ;
45878 char * kwnames
[] = {
45879 (char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
45882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CollapsiblePane",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
45883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45884 if (!SWIG_IsOK(res1
)) {
45885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePane" "', expected argument " "1"" of type '" "wxWindow *""'");
45887 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
45889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45890 if (!SWIG_IsOK(ecode2
)) {
45891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePane" "', expected argument " "2"" of type '" "int""'");
45893 arg2
= static_cast< int >(val2
);
45897 arg3
= wxString_in_helper(obj2
);
45898 if (arg3
== NULL
) SWIG_fail
;
45905 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
45911 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
45915 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
45916 if (!SWIG_IsOK(ecode6
)) {
45917 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_CollapsiblePane" "', expected argument " "6"" of type '" "long""'");
45919 arg6
= static_cast< long >(val6
);
45922 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
45923 if (!SWIG_IsOK(res7
)) {
45924 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45927 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_CollapsiblePane" "', expected argument " "7"" of type '" "wxValidator const &""'");
45929 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
45933 arg8
= wxString_in_helper(obj7
);
45934 if (arg8
== NULL
) SWIG_fail
;
45939 if (!wxPyCheckForApp()) SWIG_fail
;
45940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45941 result
= (wxCollapsiblePane
*)new wxCollapsiblePane(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
45942 wxPyEndAllowThreads(__tstate
);
45943 if (PyErr_Occurred()) SWIG_fail
;
45945 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_NEW
| 0 );
45968 SWIGINTERN PyObject
*_wrap_new_PreCollapsiblePane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45969 PyObject
*resultobj
= 0;
45970 wxCollapsiblePane
*result
= 0 ;
45972 if (!SWIG_Python_UnpackTuple(args
,"new_PreCollapsiblePane",0,0,0)) SWIG_fail
;
45974 if (!wxPyCheckForApp()) SWIG_fail
;
45975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45976 result
= (wxCollapsiblePane
*)new wxCollapsiblePane();
45977 wxPyEndAllowThreads(__tstate
);
45978 if (PyErr_Occurred()) SWIG_fail
;
45980 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePane
, SWIG_POINTER_OWN
| 0 );
45987 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45988 PyObject
*resultobj
= 0;
45989 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
45990 wxWindow
*arg2
= (wxWindow
*) 0 ;
45991 int arg3
= (int) -1 ;
45992 wxString
const &arg4_defvalue
= wxPyEmptyString
;
45993 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
45994 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
45995 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
45996 wxSize
const &arg6_defvalue
= wxDefaultSize
;
45997 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
45998 long arg7
= (long) wxCP_DEFAULT_STYLE
;
45999 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46000 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46001 wxString
const &arg9_defvalue
= wxPyCollapsiblePaneNameStr
;
46002 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46010 bool temp4
= false ;
46017 bool temp9
= false ;
46018 PyObject
* obj0
= 0 ;
46019 PyObject
* obj1
= 0 ;
46020 PyObject
* obj2
= 0 ;
46021 PyObject
* obj3
= 0 ;
46022 PyObject
* obj4
= 0 ;
46023 PyObject
* obj5
= 0 ;
46024 PyObject
* obj6
= 0 ;
46025 PyObject
* obj7
= 0 ;
46026 PyObject
* obj8
= 0 ;
46027 char * kwnames
[] = {
46028 (char *) "self",(char *) "parent",(char *) "winid",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "val",(char *) "name", NULL
46031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CollapsiblePane_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46033 if (!SWIG_IsOK(res1
)) {
46034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Create" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46036 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46037 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46038 if (!SWIG_IsOK(res2
)) {
46039 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "CollapsiblePane_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46041 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46043 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46044 if (!SWIG_IsOK(ecode3
)) {
46045 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "CollapsiblePane_Create" "', expected argument " "3"" of type '" "int""'");
46047 arg3
= static_cast< int >(val3
);
46051 arg4
= wxString_in_helper(obj3
);
46052 if (arg4
== NULL
) SWIG_fail
;
46059 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46065 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46069 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46070 if (!SWIG_IsOK(ecode7
)) {
46071 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "CollapsiblePane_Create" "', expected argument " "7"" of type '" "long""'");
46073 arg7
= static_cast< long >(val7
);
46076 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46077 if (!SWIG_IsOK(res8
)) {
46078 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46081 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "CollapsiblePane_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46083 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46087 arg9
= wxString_in_helper(obj8
);
46088 if (arg9
== NULL
) SWIG_fail
;
46093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46094 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46095 wxPyEndAllowThreads(__tstate
);
46096 if (PyErr_Occurred()) SWIG_fail
;
46099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46123 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Collapse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46124 PyObject
*resultobj
= 0;
46125 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46126 bool arg2
= (bool) true ;
46131 PyObject
* obj0
= 0 ;
46132 PyObject
* obj1
= 0 ;
46133 char * kwnames
[] = {
46134 (char *) "self",(char *) "collapse", NULL
46137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CollapsiblePane_Collapse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46139 if (!SWIG_IsOK(res1
)) {
46140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46142 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46144 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46145 if (!SWIG_IsOK(ecode2
)) {
46146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePane_Collapse" "', expected argument " "2"" of type '" "bool""'");
46148 arg2
= static_cast< bool >(val2
);
46151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46152 (arg1
)->Collapse(arg2
);
46153 wxPyEndAllowThreads(__tstate
);
46154 if (PyErr_Occurred()) SWIG_fail
;
46156 resultobj
= SWIG_Py_Void();
46163 SWIGINTERN PyObject
*_wrap_CollapsiblePane_Expand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46164 PyObject
*resultobj
= 0;
46165 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46168 PyObject
*swig_obj
[1] ;
46170 if (!args
) SWIG_fail
;
46171 swig_obj
[0] = args
;
46172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46173 if (!SWIG_IsOK(res1
)) {
46174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_Expand" "', expected argument " "1"" of type '" "wxCollapsiblePane *""'");
46176 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46180 wxPyEndAllowThreads(__tstate
);
46181 if (PyErr_Occurred()) SWIG_fail
;
46183 resultobj
= SWIG_Py_Void();
46190 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46191 PyObject
*resultobj
= 0;
46192 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46196 PyObject
*swig_obj
[1] ;
46198 if (!args
) SWIG_fail
;
46199 swig_obj
[0] = args
;
46200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46201 if (!SWIG_IsOK(res1
)) {
46202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46204 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46207 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsCollapsed();
46208 wxPyEndAllowThreads(__tstate
);
46209 if (PyErr_Occurred()) SWIG_fail
;
46212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46220 SWIGINTERN PyObject
*_wrap_CollapsiblePane_IsExpanded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46221 PyObject
*resultobj
= 0;
46222 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46226 PyObject
*swig_obj
[1] ;
46228 if (!args
) SWIG_fail
;
46229 swig_obj
[0] = args
;
46230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46231 if (!SWIG_IsOK(res1
)) {
46232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_IsExpanded" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46234 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46237 result
= (bool)((wxCollapsiblePane
const *)arg1
)->IsExpanded();
46238 wxPyEndAllowThreads(__tstate
);
46239 if (PyErr_Occurred()) SWIG_fail
;
46242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46250 SWIGINTERN PyObject
*_wrap_CollapsiblePane_GetPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46251 PyObject
*resultobj
= 0;
46252 wxCollapsiblePane
*arg1
= (wxCollapsiblePane
*) 0 ;
46253 wxWindow
*result
= 0 ;
46256 PyObject
*swig_obj
[1] ;
46258 if (!args
) SWIG_fail
;
46259 swig_obj
[0] = args
;
46260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePane
, 0 | 0 );
46261 if (!SWIG_IsOK(res1
)) {
46262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePane_GetPane" "', expected argument " "1"" of type '" "wxCollapsiblePane const *""'");
46264 arg1
= reinterpret_cast< wxCollapsiblePane
* >(argp1
);
46266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46267 result
= (wxWindow
*)((wxCollapsiblePane
const *)arg1
)->GetPane();
46268 wxPyEndAllowThreads(__tstate
);
46269 if (PyErr_Occurred()) SWIG_fail
;
46272 resultobj
= wxPyMake_wxObject(result
, 0);
46280 SWIGINTERN PyObject
*CollapsiblePane_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46282 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46283 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePane
, SWIG_NewClientData(obj
));
46284 return SWIG_Py_Void();
46287 SWIGINTERN PyObject
*CollapsiblePane_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46288 return SWIG_Python_InitShadowInstance(args
);
46291 SWIGINTERN PyObject
*_wrap_new_CollapsiblePaneEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46292 PyObject
*resultobj
= 0;
46293 wxObject
*arg1
= (wxObject
*) 0 ;
46296 wxCollapsiblePaneEvent
*result
= 0 ;
46303 PyObject
* obj0
= 0 ;
46304 PyObject
* obj1
= 0 ;
46305 PyObject
* obj2
= 0 ;
46306 char * kwnames
[] = {
46307 (char *) "generator",(char *) "id",(char *) "collapsed", NULL
46310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_CollapsiblePaneEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
46312 if (!SWIG_IsOK(res1
)) {
46313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "1"" of type '" "wxObject *""'");
46315 arg1
= reinterpret_cast< wxObject
* >(argp1
);
46316 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46317 if (!SWIG_IsOK(ecode2
)) {
46318 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "2"" of type '" "int""'");
46320 arg2
= static_cast< int >(val2
);
46321 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46322 if (!SWIG_IsOK(ecode3
)) {
46323 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_CollapsiblePaneEvent" "', expected argument " "3"" of type '" "bool""'");
46325 arg3
= static_cast< bool >(val3
);
46327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46328 result
= (wxCollapsiblePaneEvent
*)new wxCollapsiblePaneEvent(arg1
,arg2
,arg3
);
46329 wxPyEndAllowThreads(__tstate
);
46330 if (PyErr_Occurred()) SWIG_fail
;
46332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_POINTER_NEW
| 0 );
46339 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_GetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46340 PyObject
*resultobj
= 0;
46341 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46345 PyObject
*swig_obj
[1] ;
46347 if (!args
) SWIG_fail
;
46348 swig_obj
[0] = args
;
46349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46350 if (!SWIG_IsOK(res1
)) {
46351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_GetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent const *""'");
46353 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46356 result
= (bool)((wxCollapsiblePaneEvent
const *)arg1
)->GetCollapsed();
46357 wxPyEndAllowThreads(__tstate
);
46358 if (PyErr_Occurred()) SWIG_fail
;
46361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46369 SWIGINTERN PyObject
*_wrap_CollapsiblePaneEvent_SetCollapsed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46370 PyObject
*resultobj
= 0;
46371 wxCollapsiblePaneEvent
*arg1
= (wxCollapsiblePaneEvent
*) 0 ;
46377 PyObject
* obj0
= 0 ;
46378 PyObject
* obj1
= 0 ;
46379 char * kwnames
[] = {
46380 (char *) "self",(char *) "c", NULL
46383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CollapsiblePaneEvent_SetCollapsed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCollapsiblePaneEvent
, 0 | 0 );
46385 if (!SWIG_IsOK(res1
)) {
46386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "1"" of type '" "wxCollapsiblePaneEvent *""'");
46388 arg1
= reinterpret_cast< wxCollapsiblePaneEvent
* >(argp1
);
46389 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46390 if (!SWIG_IsOK(ecode2
)) {
46391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CollapsiblePaneEvent_SetCollapsed" "', expected argument " "2"" of type '" "bool""'");
46393 arg2
= static_cast< bool >(val2
);
46395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46396 (arg1
)->SetCollapsed(arg2
);
46397 wxPyEndAllowThreads(__tstate
);
46398 if (PyErr_Occurred()) SWIG_fail
;
46400 resultobj
= SWIG_Py_Void();
46407 SWIGINTERN PyObject
*CollapsiblePaneEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46410 SWIG_TypeNewClientData(SWIGTYPE_p_wxCollapsiblePaneEvent
, SWIG_NewClientData(obj
));
46411 return SWIG_Py_Void();
46414 SWIGINTERN PyObject
*CollapsiblePaneEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46415 return SWIG_Python_InitShadowInstance(args
);
46418 SWIGINTERN
int SearchCtrlNameStr_set(PyObject
*) {
46419 SWIG_Error(SWIG_AttributeError
,"Variable SearchCtrlNameStr is read-only.");
46424 SWIGINTERN PyObject
*SearchCtrlNameStr_get(void) {
46425 PyObject
*pyobj
= 0;
46429 pyobj
= PyUnicode_FromWideChar((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46431 pyobj
= PyString_FromStringAndSize((&wxPySearchCtrlNameStr
)->c_str(), (&wxPySearchCtrlNameStr
)->Len());
46438 SWIGINTERN PyObject
*_wrap_new_SearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46439 PyObject
*resultobj
= 0;
46440 wxWindow
*arg1
= (wxWindow
*) 0 ;
46441 int arg2
= (int) -1 ;
46442 wxString
const &arg3_defvalue
= wxEmptyString
;
46443 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
46444 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
46445 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
46446 wxSize
const &arg5_defvalue
= wxDefaultSize
;
46447 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
46448 long arg6
= (long) 0 ;
46449 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
46450 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
46451 wxString
const &arg8_defvalue
= wxPySearchCtrlNameStr
;
46452 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
46453 wxSearchCtrl
*result
= 0 ;
46458 bool temp3
= false ;
46465 bool temp8
= false ;
46466 PyObject
* obj0
= 0 ;
46467 PyObject
* obj1
= 0 ;
46468 PyObject
* obj2
= 0 ;
46469 PyObject
* obj3
= 0 ;
46470 PyObject
* obj4
= 0 ;
46471 PyObject
* obj5
= 0 ;
46472 PyObject
* obj6
= 0 ;
46473 PyObject
* obj7
= 0 ;
46474 char * kwnames
[] = {
46475 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SearchCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
46479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46480 if (!SWIG_IsOK(res1
)) {
46481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SearchCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
46483 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
46485 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46486 if (!SWIG_IsOK(ecode2
)) {
46487 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SearchCtrl" "', expected argument " "2"" of type '" "int""'");
46489 arg2
= static_cast< int >(val2
);
46493 arg3
= wxString_in_helper(obj2
);
46494 if (arg3
== NULL
) SWIG_fail
;
46501 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
46507 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
46511 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
46512 if (!SWIG_IsOK(ecode6
)) {
46513 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SearchCtrl" "', expected argument " "6"" of type '" "long""'");
46515 arg6
= static_cast< long >(val6
);
46518 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
46519 if (!SWIG_IsOK(res7
)) {
46520 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46523 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SearchCtrl" "', expected argument " "7"" of type '" "wxValidator const &""'");
46525 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
46529 arg8
= wxString_in_helper(obj7
);
46530 if (arg8
== NULL
) SWIG_fail
;
46535 if (!wxPyCheckForApp()) SWIG_fail
;
46536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46537 result
= (wxSearchCtrl
*)new wxSearchCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
46538 wxPyEndAllowThreads(__tstate
);
46539 if (PyErr_Occurred()) SWIG_fail
;
46541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_NEW
| 0 );
46564 SWIGINTERN PyObject
*_wrap_new_PreSearchCtrl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46565 PyObject
*resultobj
= 0;
46566 wxSearchCtrl
*result
= 0 ;
46568 if (!SWIG_Python_UnpackTuple(args
,"new_PreSearchCtrl",0,0,0)) SWIG_fail
;
46570 if (!wxPyCheckForApp()) SWIG_fail
;
46571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46572 result
= (wxSearchCtrl
*)new wxSearchCtrl();
46573 wxPyEndAllowThreads(__tstate
);
46574 if (PyErr_Occurred()) SWIG_fail
;
46576 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSearchCtrl
, SWIG_POINTER_OWN
| 0 );
46583 SWIGINTERN PyObject
*_wrap_SearchCtrl_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46584 PyObject
*resultobj
= 0;
46585 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46586 wxWindow
*arg2
= (wxWindow
*) 0 ;
46587 int arg3
= (int) -1 ;
46588 wxString
const &arg4_defvalue
= wxEmptyString
;
46589 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
46590 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
46591 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
46592 wxSize
const &arg6_defvalue
= wxDefaultSize
;
46593 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
46594 long arg7
= (long) 0 ;
46595 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
46596 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
46597 wxString
const &arg9_defvalue
= wxPySearchCtrlNameStr
;
46598 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
46606 bool temp4
= false ;
46613 bool temp9
= false ;
46614 PyObject
* obj0
= 0 ;
46615 PyObject
* obj1
= 0 ;
46616 PyObject
* obj2
= 0 ;
46617 PyObject
* obj3
= 0 ;
46618 PyObject
* obj4
= 0 ;
46619 PyObject
* obj5
= 0 ;
46620 PyObject
* obj6
= 0 ;
46621 PyObject
* obj7
= 0 ;
46622 PyObject
* obj8
= 0 ;
46623 char * kwnames
[] = {
46624 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
46627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SearchCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
46628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46629 if (!SWIG_IsOK(res1
)) {
46630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_Create" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46632 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46634 if (!SWIG_IsOK(res2
)) {
46635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
46637 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46639 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46640 if (!SWIG_IsOK(ecode3
)) {
46641 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SearchCtrl_Create" "', expected argument " "3"" of type '" "int""'");
46643 arg3
= static_cast< int >(val3
);
46647 arg4
= wxString_in_helper(obj3
);
46648 if (arg4
== NULL
) SWIG_fail
;
46655 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
46661 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
46665 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
46666 if (!SWIG_IsOK(ecode7
)) {
46667 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SearchCtrl_Create" "', expected argument " "7"" of type '" "long""'");
46669 arg7
= static_cast< long >(val7
);
46672 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
46673 if (!SWIG_IsOK(res8
)) {
46674 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46677 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
46679 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
46683 arg9
= wxString_in_helper(obj8
);
46684 if (arg9
== NULL
) SWIG_fail
;
46689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46690 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
46691 wxPyEndAllowThreads(__tstate
);
46692 if (PyErr_Occurred()) SWIG_fail
;
46695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46719 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46720 PyObject
*resultobj
= 0;
46721 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46722 wxMenu
*arg2
= (wxMenu
*) 0 ;
46727 PyObject
* obj0
= 0 ;
46728 PyObject
* obj1
= 0 ;
46729 char * kwnames
[] = {
46730 (char *) "self",(char *) "menu", NULL
46733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46735 if (!SWIG_IsOK(res1
)) {
46736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46738 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
46740 if (!SWIG_IsOK(res2
)) {
46741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
46743 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
46745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46746 (arg1
)->SetMenu(arg2
);
46747 wxPyEndAllowThreads(__tstate
);
46748 if (PyErr_Occurred()) SWIG_fail
;
46750 resultobj
= SWIG_Py_Void();
46757 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46758 PyObject
*resultobj
= 0;
46759 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46760 wxMenu
*result
= 0 ;
46763 PyObject
*swig_obj
[1] ;
46765 if (!args
) SWIG_fail
;
46766 swig_obj
[0] = args
;
46767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46768 if (!SWIG_IsOK(res1
)) {
46769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetMenu" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46771 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46774 result
= (wxMenu
*)(arg1
)->GetMenu();
46775 wxPyEndAllowThreads(__tstate
);
46776 if (PyErr_Occurred()) SWIG_fail
;
46779 resultobj
= wxPyMake_wxObject(result
, 0);
46787 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowSearchButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46788 PyObject
*resultobj
= 0;
46789 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46795 PyObject
* obj0
= 0 ;
46796 PyObject
* obj1
= 0 ;
46797 char * kwnames
[] = {
46798 (char *) "self",(char *) "show", NULL
46801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowSearchButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46803 if (!SWIG_IsOK(res1
)) {
46804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46806 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46807 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46808 if (!SWIG_IsOK(ecode2
)) {
46809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowSearchButton" "', expected argument " "2"" of type '" "bool""'");
46811 arg2
= static_cast< bool >(val2
);
46813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46814 (arg1
)->ShowSearchButton(arg2
);
46815 wxPyEndAllowThreads(__tstate
);
46816 if (PyErr_Occurred()) SWIG_fail
;
46818 resultobj
= SWIG_Py_Void();
46825 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsSearchButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46826 PyObject
*resultobj
= 0;
46827 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46831 PyObject
*swig_obj
[1] ;
46833 if (!args
) SWIG_fail
;
46834 swig_obj
[0] = args
;
46835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46836 if (!SWIG_IsOK(res1
)) {
46837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsSearchButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46839 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46842 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsSearchButtonVisible();
46843 wxPyEndAllowThreads(__tstate
);
46844 if (PyErr_Occurred()) SWIG_fail
;
46847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46855 SWIGINTERN PyObject
*_wrap_SearchCtrl_ShowCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46856 PyObject
*resultobj
= 0;
46857 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46863 PyObject
* obj0
= 0 ;
46864 PyObject
* obj1
= 0 ;
46865 char * kwnames
[] = {
46866 (char *) "self",(char *) "show", NULL
46869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_ShowCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46871 if (!SWIG_IsOK(res1
)) {
46872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46874 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46875 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46876 if (!SWIG_IsOK(ecode2
)) {
46877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SearchCtrl_ShowCancelButton" "', expected argument " "2"" of type '" "bool""'");
46879 arg2
= static_cast< bool >(val2
);
46881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46882 (arg1
)->ShowCancelButton(arg2
);
46883 wxPyEndAllowThreads(__tstate
);
46884 if (PyErr_Occurred()) SWIG_fail
;
46886 resultobj
= SWIG_Py_Void();
46893 SWIGINTERN PyObject
*_wrap_SearchCtrl_IsCancelButtonVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46894 PyObject
*resultobj
= 0;
46895 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46899 PyObject
*swig_obj
[1] ;
46901 if (!args
) SWIG_fail
;
46902 swig_obj
[0] = args
;
46903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46904 if (!SWIG_IsOK(res1
)) {
46905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_IsCancelButtonVisible" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46907 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46910 result
= (bool)((wxSearchCtrl
const *)arg1
)->IsCancelButtonVisible();
46911 wxPyEndAllowThreads(__tstate
);
46912 if (PyErr_Occurred()) SWIG_fail
;
46915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46923 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46924 PyObject
*resultobj
= 0;
46925 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46926 wxString
*arg2
= 0 ;
46929 bool temp2
= false ;
46930 PyObject
* obj0
= 0 ;
46931 PyObject
* obj1
= 0 ;
46932 char * kwnames
[] = {
46933 (char *) "self",(char *) "text", NULL
46936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetDescriptiveText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46938 if (!SWIG_IsOK(res1
)) {
46939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
46941 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46943 arg2
= wxString_in_helper(obj1
);
46944 if (arg2
== NULL
) SWIG_fail
;
46948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46949 (arg1
)->SetDescriptiveText((wxString
const &)*arg2
);
46950 wxPyEndAllowThreads(__tstate
);
46951 if (PyErr_Occurred()) SWIG_fail
;
46953 resultobj
= SWIG_Py_Void();
46968 SWIGINTERN PyObject
*_wrap_SearchCtrl_GetDescriptiveText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46969 PyObject
*resultobj
= 0;
46970 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
46974 PyObject
*swig_obj
[1] ;
46976 if (!args
) SWIG_fail
;
46977 swig_obj
[0] = args
;
46978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
46979 if (!SWIG_IsOK(res1
)) {
46980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_GetDescriptiveText" "', expected argument " "1"" of type '" "wxSearchCtrl const *""'");
46982 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
46984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46985 result
= ((wxSearchCtrl
const *)arg1
)->GetDescriptiveText();
46986 wxPyEndAllowThreads(__tstate
);
46987 if (PyErr_Occurred()) SWIG_fail
;
46991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
46993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
47002 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47003 PyObject
*resultobj
= 0;
47004 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47005 wxBitmap
*arg2
= 0 ;
47010 PyObject
* obj0
= 0 ;
47011 PyObject
* obj1
= 0 ;
47012 char * kwnames
[] = {
47013 (char *) "self",(char *) "bitmap", NULL
47016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47018 if (!SWIG_IsOK(res1
)) {
47019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47021 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47022 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47023 if (!SWIG_IsOK(res2
)) {
47024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47027 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47029 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47032 (arg1
)->SetSearchBitmap((wxBitmap
const &)*arg2
);
47033 wxPyEndAllowThreads(__tstate
);
47034 if (PyErr_Occurred()) SWIG_fail
;
47036 resultobj
= SWIG_Py_Void();
47043 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetSearchMenuBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47044 PyObject
*resultobj
= 0;
47045 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47046 wxBitmap
*arg2
= 0 ;
47051 PyObject
* obj0
= 0 ;
47052 PyObject
* obj1
= 0 ;
47053 char * kwnames
[] = {
47054 (char *) "self",(char *) "bitmap", NULL
47057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetSearchMenuBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47059 if (!SWIG_IsOK(res1
)) {
47060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47062 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47063 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47064 if (!SWIG_IsOK(res2
)) {
47065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47068 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetSearchMenuBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47070 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47073 (arg1
)->SetSearchMenuBitmap((wxBitmap
const &)*arg2
);
47074 wxPyEndAllowThreads(__tstate
);
47075 if (PyErr_Occurred()) SWIG_fail
;
47077 resultobj
= SWIG_Py_Void();
47084 SWIGINTERN PyObject
*_wrap_SearchCtrl_SetCancelBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47085 PyObject
*resultobj
= 0;
47086 wxSearchCtrl
*arg1
= (wxSearchCtrl
*) 0 ;
47087 wxBitmap
*arg2
= 0 ;
47092 PyObject
* obj0
= 0 ;
47093 PyObject
* obj1
= 0 ;
47094 char * kwnames
[] = {
47095 (char *) "self",(char *) "bitmap", NULL
47098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SearchCtrl_SetCancelBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSearchCtrl
, 0 | 0 );
47100 if (!SWIG_IsOK(res1
)) {
47101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "1"" of type '" "wxSearchCtrl *""'");
47103 arg1
= reinterpret_cast< wxSearchCtrl
* >(argp1
);
47104 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
47105 if (!SWIG_IsOK(res2
)) {
47106 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47109 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SearchCtrl_SetCancelBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
47111 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
47113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47114 (arg1
)->SetCancelBitmap((wxBitmap
const &)*arg2
);
47115 wxPyEndAllowThreads(__tstate
);
47116 if (PyErr_Occurred()) SWIG_fail
;
47118 resultobj
= SWIG_Py_Void();
47125 SWIGINTERN PyObject
*SearchCtrl_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47127 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47128 SWIG_TypeNewClientData(SWIGTYPE_p_wxSearchCtrl
, SWIG_NewClientData(obj
));
47129 return SWIG_Py_Void();
47132 SWIGINTERN PyObject
*SearchCtrl_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47133 return SWIG_Python_InitShadowInstance(args
);
47136 static PyMethodDef SwigMethods
[] = {
47137 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47138 { (char *)"new_PreButton", (PyCFunction
)_wrap_new_PreButton
, METH_NOARGS
, NULL
},
47139 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47140 { (char *)"Button_SetDefault", (PyCFunction
)_wrap_Button_SetDefault
, METH_O
, NULL
},
47141 { (char *)"Button_GetDefaultSize", (PyCFunction
)_wrap_Button_GetDefaultSize
, METH_NOARGS
, NULL
},
47142 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47143 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
47144 { (char *)"Button_swiginit", Button_swiginit
, METH_VARARGS
, NULL
},
47145 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47146 { (char *)"new_PreBitmapButton", (PyCFunction
)_wrap_new_PreBitmapButton
, METH_NOARGS
, NULL
},
47147 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47148 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
)_wrap_BitmapButton_GetBitmapLabel
, METH_O
, NULL
},
47149 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
)_wrap_BitmapButton_GetBitmapDisabled
, METH_O
, NULL
},
47150 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
)_wrap_BitmapButton_GetBitmapFocus
, METH_O
, NULL
},
47151 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
)_wrap_BitmapButton_GetBitmapSelected
, METH_O
, NULL
},
47152 { (char *)"BitmapButton_GetBitmapHover", (PyCFunction
)_wrap_BitmapButton_GetBitmapHover
, METH_O
, NULL
},
47153 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47154 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47155 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47156 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47157 { (char *)"BitmapButton_SetBitmapHover", (PyCFunction
) _wrap_BitmapButton_SetBitmapHover
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47158 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47159 { (char *)"BitmapButton_GetMarginX", (PyCFunction
)_wrap_BitmapButton_GetMarginX
, METH_O
, NULL
},
47160 { (char *)"BitmapButton_GetMarginY", (PyCFunction
)_wrap_BitmapButton_GetMarginY
, METH_O
, NULL
},
47161 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
47162 { (char *)"BitmapButton_swiginit", BitmapButton_swiginit
, METH_VARARGS
, NULL
},
47163 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47164 { (char *)"new_PreCheckBox", (PyCFunction
)_wrap_new_PreCheckBox
, METH_NOARGS
, NULL
},
47165 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47166 { (char *)"CheckBox_GetValue", (PyCFunction
)_wrap_CheckBox_GetValue
, METH_O
, NULL
},
47167 { (char *)"CheckBox_IsChecked", (PyCFunction
)_wrap_CheckBox_IsChecked
, METH_O
, NULL
},
47168 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47169 { (char *)"CheckBox_Get3StateValue", (PyCFunction
)_wrap_CheckBox_Get3StateValue
, METH_O
, NULL
},
47170 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47171 { (char *)"CheckBox_Is3State", (PyCFunction
)_wrap_CheckBox_Is3State
, METH_O
, NULL
},
47172 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
)_wrap_CheckBox_Is3rdStateAllowedForUser
, METH_O
, NULL
},
47173 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47174 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
47175 { (char *)"CheckBox_swiginit", CheckBox_swiginit
, METH_VARARGS
, NULL
},
47176 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47177 { (char *)"new_PreChoice", (PyCFunction
)_wrap_new_PreChoice
, METH_NOARGS
, NULL
},
47178 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47179 { (char *)"Choice_GetCurrentSelection", (PyCFunction
)_wrap_Choice_GetCurrentSelection
, METH_O
, NULL
},
47180 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47181 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
47182 { (char *)"Choice_swiginit", Choice_swiginit
, METH_VARARGS
, NULL
},
47183 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47184 { (char *)"new_PreComboBox", (PyCFunction
)_wrap_new_PreComboBox
, METH_NOARGS
, NULL
},
47185 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47186 { (char *)"ComboBox_GetValue", (PyCFunction
)_wrap_ComboBox_GetValue
, METH_O
, NULL
},
47187 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47188 { (char *)"ComboBox_Copy", (PyCFunction
)_wrap_ComboBox_Copy
, METH_O
, NULL
},
47189 { (char *)"ComboBox_Cut", (PyCFunction
)_wrap_ComboBox_Cut
, METH_O
, NULL
},
47190 { (char *)"ComboBox_Paste", (PyCFunction
)_wrap_ComboBox_Paste
, METH_O
, NULL
},
47191 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47192 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
)_wrap_ComboBox_GetInsertionPoint
, METH_O
, NULL
},
47193 { (char *)"ComboBox_GetLastPosition", (PyCFunction
)_wrap_ComboBox_GetLastPosition
, METH_O
, NULL
},
47194 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47195 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47196 { (char *)"ComboBox_GetMark", (PyCFunction
)_wrap_ComboBox_GetMark
, METH_O
, NULL
},
47197 { (char *)"ComboBox_GetCurrentSelection", (PyCFunction
)_wrap_ComboBox_GetCurrentSelection
, METH_O
, NULL
},
47198 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47199 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47200 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
)_wrap_ComboBox_SetInsertionPointEnd
, METH_O
, NULL
},
47201 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47202 { (char *)"ComboBox_IsEditable", (PyCFunction
)_wrap_ComboBox_IsEditable
, METH_O
, NULL
},
47203 { (char *)"ComboBox_Undo", (PyCFunction
)_wrap_ComboBox_Undo
, METH_O
, NULL
},
47204 { (char *)"ComboBox_Redo", (PyCFunction
)_wrap_ComboBox_Redo
, METH_O
, NULL
},
47205 { (char *)"ComboBox_SelectAll", (PyCFunction
)_wrap_ComboBox_SelectAll
, METH_O
, NULL
},
47206 { (char *)"ComboBox_CanCopy", (PyCFunction
)_wrap_ComboBox_CanCopy
, METH_O
, NULL
},
47207 { (char *)"ComboBox_CanCut", (PyCFunction
)_wrap_ComboBox_CanCut
, METH_O
, NULL
},
47208 { (char *)"ComboBox_CanPaste", (PyCFunction
)_wrap_ComboBox_CanPaste
, METH_O
, NULL
},
47209 { (char *)"ComboBox_CanUndo", (PyCFunction
)_wrap_ComboBox_CanUndo
, METH_O
, NULL
},
47210 { (char *)"ComboBox_CanRedo", (PyCFunction
)_wrap_ComboBox_CanRedo
, METH_O
, NULL
},
47211 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47212 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
47213 { (char *)"ComboBox_swiginit", ComboBox_swiginit
, METH_VARARGS
, NULL
},
47214 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47215 { (char *)"new_PreGauge", (PyCFunction
)_wrap_new_PreGauge
, METH_NOARGS
, NULL
},
47216 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47217 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47218 { (char *)"Gauge_GetRange", (PyCFunction
)_wrap_Gauge_GetRange
, METH_O
, NULL
},
47219 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47220 { (char *)"Gauge_GetValue", (PyCFunction
)_wrap_Gauge_GetValue
, METH_O
, NULL
},
47221 { (char *)"Gauge_Pulse", (PyCFunction
)_wrap_Gauge_Pulse
, METH_O
, NULL
},
47222 { (char *)"Gauge_IsVertical", (PyCFunction
)_wrap_Gauge_IsVertical
, METH_O
, NULL
},
47223 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47224 { (char *)"Gauge_GetShadowWidth", (PyCFunction
)_wrap_Gauge_GetShadowWidth
, METH_O
, NULL
},
47225 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47226 { (char *)"Gauge_GetBezelFace", (PyCFunction
)_wrap_Gauge_GetBezelFace
, METH_O
, NULL
},
47227 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47228 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
47229 { (char *)"Gauge_swiginit", Gauge_swiginit
, METH_VARARGS
, NULL
},
47230 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47231 { (char *)"new_PreStaticBox", (PyCFunction
)_wrap_new_PreStaticBox
, METH_NOARGS
, NULL
},
47232 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47233 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47234 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
47235 { (char *)"StaticBox_swiginit", StaticBox_swiginit
, METH_VARARGS
, NULL
},
47236 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47237 { (char *)"new_PreStaticLine", (PyCFunction
)_wrap_new_PreStaticLine
, METH_NOARGS
, NULL
},
47238 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47239 { (char *)"StaticLine_IsVertical", (PyCFunction
)_wrap_StaticLine_IsVertical
, METH_O
, NULL
},
47240 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
)_wrap_StaticLine_GetDefaultSize
, METH_NOARGS
, NULL
},
47241 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47242 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
47243 { (char *)"StaticLine_swiginit", StaticLine_swiginit
, METH_VARARGS
, NULL
},
47244 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47245 { (char *)"new_PreStaticText", (PyCFunction
)_wrap_new_PreStaticText
, METH_NOARGS
, NULL
},
47246 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47247 { (char *)"StaticText_Wrap", (PyCFunction
) _wrap_StaticText_Wrap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47248 { (char *)"StaticText_IsEllipsized", (PyCFunction
)_wrap_StaticText_IsEllipsized
, METH_O
, NULL
},
47249 { (char *)"StaticText_RemoveMarkup", (PyCFunction
) _wrap_StaticText_RemoveMarkup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47250 { (char *)"StaticText_EscapeMarkup", (PyCFunction
) _wrap_StaticText_EscapeMarkup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47251 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47252 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
47253 { (char *)"StaticText_swiginit", StaticText_swiginit
, METH_VARARGS
, NULL
},
47254 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47255 { (char *)"new_PreStaticBitmap", (PyCFunction
)_wrap_new_PreStaticBitmap
, METH_NOARGS
, NULL
},
47256 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47257 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
)_wrap_StaticBitmap_GetBitmap
, METH_O
, NULL
},
47258 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47259 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47260 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47261 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
47262 { (char *)"StaticBitmap_swiginit", StaticBitmap_swiginit
, METH_VARARGS
, NULL
},
47263 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47264 { (char *)"new_PreListBox", (PyCFunction
)_wrap_new_PreListBox
, METH_NOARGS
, NULL
},
47265 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47266 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47267 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47268 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47269 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47270 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47271 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47272 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47273 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47274 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47275 { (char *)"ListBox_GetSelections", (PyCFunction
)_wrap_ListBox_GetSelections
, METH_O
, NULL
},
47276 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47277 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47278 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47279 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47280 { (char *)"ListBox_IsSorted", (PyCFunction
)_wrap_ListBox_IsSorted
, METH_O
, NULL
},
47281 { (char *)"ListBox_HitTest", (PyCFunction
) _wrap_ListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47282 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47283 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47284 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47285 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47286 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
47287 { (char *)"ListBox_swiginit", ListBox_swiginit
, METH_VARARGS
, NULL
},
47288 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47289 { (char *)"new_PreCheckListBox", (PyCFunction
)_wrap_new_PreCheckListBox
, METH_NOARGS
, NULL
},
47290 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47291 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47292 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47293 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
)_wrap_CheckListBox_GetItemHeight
, METH_O
, NULL
},
47294 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
47295 { (char *)"CheckListBox_swiginit", CheckListBox_swiginit
, METH_VARARGS
, NULL
},
47296 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47297 { (char *)"delete_TextAttr", (PyCFunction
)_wrap_delete_TextAttr
, METH_O
, NULL
},
47298 { (char *)"TextAttr_Init", (PyCFunction
)_wrap_TextAttr_Init
, METH_O
, NULL
},
47299 { (char *)"TextAttr_Merge", (PyCFunction
) _wrap_TextAttr_Merge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47300 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47301 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47302 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47303 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47304 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47305 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47306 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47307 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47308 { (char *)"TextAttr_HasTextColour", (PyCFunction
)_wrap_TextAttr_HasTextColour
, METH_O
, NULL
},
47309 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
)_wrap_TextAttr_HasBackgroundColour
, METH_O
, NULL
},
47310 { (char *)"TextAttr_HasFont", (PyCFunction
)_wrap_TextAttr_HasFont
, METH_O
, NULL
},
47311 { (char *)"TextAttr_HasAlignment", (PyCFunction
)_wrap_TextAttr_HasAlignment
, METH_O
, NULL
},
47312 { (char *)"TextAttr_HasTabs", (PyCFunction
)_wrap_TextAttr_HasTabs
, METH_O
, NULL
},
47313 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
)_wrap_TextAttr_HasLeftIndent
, METH_O
, NULL
},
47314 { (char *)"TextAttr_HasRightIndent", (PyCFunction
)_wrap_TextAttr_HasRightIndent
, METH_O
, NULL
},
47315 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47316 { (char *)"TextAttr_GetTextColour", (PyCFunction
)_wrap_TextAttr_GetTextColour
, METH_O
, NULL
},
47317 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
)_wrap_TextAttr_GetBackgroundColour
, METH_O
, NULL
},
47318 { (char *)"TextAttr_GetFont", (PyCFunction
)_wrap_TextAttr_GetFont
, METH_O
, NULL
},
47319 { (char *)"TextAttr_GetAlignment", (PyCFunction
)_wrap_TextAttr_GetAlignment
, METH_O
, NULL
},
47320 { (char *)"TextAttr_GetTabs", (PyCFunction
)_wrap_TextAttr_GetTabs
, METH_O
, NULL
},
47321 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
)_wrap_TextAttr_GetLeftIndent
, METH_O
, NULL
},
47322 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
)_wrap_TextAttr_GetLeftSubIndent
, METH_O
, NULL
},
47323 { (char *)"TextAttr_GetRightIndent", (PyCFunction
)_wrap_TextAttr_GetRightIndent
, METH_O
, NULL
},
47324 { (char *)"TextAttr_GetFlags", (PyCFunction
)_wrap_TextAttr_GetFlags
, METH_O
, NULL
},
47325 { (char *)"TextAttr_IsDefault", (PyCFunction
)_wrap_TextAttr_IsDefault
, METH_O
, NULL
},
47326 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47327 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
47328 { (char *)"TextAttr_swiginit", TextAttr_swiginit
, METH_VARARGS
, NULL
},
47329 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47330 { (char *)"new_PreTextCtrl", (PyCFunction
)_wrap_new_PreTextCtrl
, METH_NOARGS
, NULL
},
47331 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47332 { (char *)"TextCtrl_GetValue", (PyCFunction
)_wrap_TextCtrl_GetValue
, METH_O
, NULL
},
47333 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47334 { (char *)"TextCtrl_IsEmpty", (PyCFunction
)_wrap_TextCtrl_IsEmpty
, METH_O
, NULL
},
47335 { (char *)"TextCtrl_ChangeValue", (PyCFunction
) _wrap_TextCtrl_ChangeValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47336 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47337 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47338 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47339 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
)_wrap_TextCtrl_GetNumberOfLines
, METH_O
, NULL
},
47340 { (char *)"TextCtrl_IsModified", (PyCFunction
)_wrap_TextCtrl_IsModified
, METH_O
, NULL
},
47341 { (char *)"TextCtrl_IsEditable", (PyCFunction
)_wrap_TextCtrl_IsEditable
, METH_O
, NULL
},
47342 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
)_wrap_TextCtrl_IsSingleLine
, METH_O
, NULL
},
47343 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
)_wrap_TextCtrl_IsMultiLine
, METH_O
, NULL
},
47344 { (char *)"TextCtrl_GetSelection", (PyCFunction
)_wrap_TextCtrl_GetSelection
, METH_O
, NULL
},
47345 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
)_wrap_TextCtrl_GetStringSelection
, METH_O
, NULL
},
47346 { (char *)"TextCtrl_Clear", (PyCFunction
)_wrap_TextCtrl_Clear
, METH_O
, NULL
},
47347 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47348 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47349 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47350 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47351 { (char *)"TextCtrl_MarkDirty", (PyCFunction
)_wrap_TextCtrl_MarkDirty
, METH_O
, NULL
},
47352 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
)_wrap_TextCtrl_DiscardEdits
, METH_O
, NULL
},
47353 { (char *)"TextCtrl_SetModified", (PyCFunction
) _wrap_TextCtrl_SetModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47354 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47355 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47356 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47357 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47358 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47359 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47360 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47361 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
)_wrap_TextCtrl_GetDefaultStyle
, METH_O
, NULL
},
47362 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47363 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47364 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47365 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47366 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47367 { (char *)"TextCtrl_Copy", (PyCFunction
)_wrap_TextCtrl_Copy
, METH_O
, NULL
},
47368 { (char *)"TextCtrl_Cut", (PyCFunction
)_wrap_TextCtrl_Cut
, METH_O
, NULL
},
47369 { (char *)"TextCtrl_Paste", (PyCFunction
)_wrap_TextCtrl_Paste
, METH_O
, NULL
},
47370 { (char *)"TextCtrl_CanCopy", (PyCFunction
)_wrap_TextCtrl_CanCopy
, METH_O
, NULL
},
47371 { (char *)"TextCtrl_CanCut", (PyCFunction
)_wrap_TextCtrl_CanCut
, METH_O
, NULL
},
47372 { (char *)"TextCtrl_CanPaste", (PyCFunction
)_wrap_TextCtrl_CanPaste
, METH_O
, NULL
},
47373 { (char *)"TextCtrl_Undo", (PyCFunction
)_wrap_TextCtrl_Undo
, METH_O
, NULL
},
47374 { (char *)"TextCtrl_Redo", (PyCFunction
)_wrap_TextCtrl_Redo
, METH_O
, NULL
},
47375 { (char *)"TextCtrl_CanUndo", (PyCFunction
)_wrap_TextCtrl_CanUndo
, METH_O
, NULL
},
47376 { (char *)"TextCtrl_CanRedo", (PyCFunction
)_wrap_TextCtrl_CanRedo
, METH_O
, NULL
},
47377 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47378 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
)_wrap_TextCtrl_SetInsertionPointEnd
, METH_O
, NULL
},
47379 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
)_wrap_TextCtrl_GetInsertionPoint
, METH_O
, NULL
},
47380 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
)_wrap_TextCtrl_GetLastPosition
, METH_O
, NULL
},
47381 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47382 { (char *)"TextCtrl_SelectAll", (PyCFunction
)_wrap_TextCtrl_SelectAll
, METH_O
, NULL
},
47383 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47384 { (char *)"TextCtrl_MacCheckSpelling", (PyCFunction
) _wrap_TextCtrl_MacCheckSpelling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47385 { (char *)"TextCtrl_SendTextUpdatedEvent", (PyCFunction
)_wrap_TextCtrl_SendTextUpdatedEvent
, METH_O
, NULL
},
47386 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47387 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47388 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47389 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
47390 { (char *)"TextCtrl_swiginit", TextCtrl_swiginit
, METH_VARARGS
, NULL
},
47391 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47392 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
)_wrap_TextUrlEvent_GetMouseEvent
, METH_O
, NULL
},
47393 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
)_wrap_TextUrlEvent_GetURLStart
, METH_O
, NULL
},
47394 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
)_wrap_TextUrlEvent_GetURLEnd
, METH_O
, NULL
},
47395 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
47396 { (char *)"TextUrlEvent_swiginit", TextUrlEvent_swiginit
, METH_VARARGS
, NULL
},
47397 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47398 { (char *)"new_PreScrollBar", (PyCFunction
)_wrap_new_PreScrollBar
, METH_NOARGS
, NULL
},
47399 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47400 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
)_wrap_ScrollBar_GetThumbPosition
, METH_O
, NULL
},
47401 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
)_wrap_ScrollBar_GetThumbSize
, METH_O
, NULL
},
47402 { (char *)"ScrollBar_GetPageSize", (PyCFunction
)_wrap_ScrollBar_GetPageSize
, METH_O
, NULL
},
47403 { (char *)"ScrollBar_GetRange", (PyCFunction
)_wrap_ScrollBar_GetRange
, METH_O
, NULL
},
47404 { (char *)"ScrollBar_IsVertical", (PyCFunction
)_wrap_ScrollBar_IsVertical
, METH_O
, NULL
},
47405 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47406 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47407 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
47408 { (char *)"ScrollBar_swiginit", ScrollBar_swiginit
, METH_VARARGS
, NULL
},
47409 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47410 { (char *)"new_PreSpinButton", (PyCFunction
)_wrap_new_PreSpinButton
, METH_NOARGS
, NULL
},
47411 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47412 { (char *)"SpinButton_GetValue", (PyCFunction
)_wrap_SpinButton_GetValue
, METH_O
, NULL
},
47413 { (char *)"SpinButton_GetMin", (PyCFunction
)_wrap_SpinButton_GetMin
, METH_O
, NULL
},
47414 { (char *)"SpinButton_GetMax", (PyCFunction
)_wrap_SpinButton_GetMax
, METH_O
, NULL
},
47415 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47416 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47417 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47418 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47419 { (char *)"SpinButton_IsVertical", (PyCFunction
)_wrap_SpinButton_IsVertical
, METH_O
, NULL
},
47420 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47421 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
47422 { (char *)"SpinButton_swiginit", SpinButton_swiginit
, METH_VARARGS
, NULL
},
47423 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47424 { (char *)"new_PreSpinCtrl", (PyCFunction
)_wrap_new_PreSpinCtrl
, METH_NOARGS
, NULL
},
47425 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47426 { (char *)"SpinCtrl_GetValue", (PyCFunction
)_wrap_SpinCtrl_GetValue
, METH_O
, NULL
},
47427 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47428 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47429 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47430 { (char *)"SpinCtrl_GetMin", (PyCFunction
)_wrap_SpinCtrl_GetMin
, METH_O
, NULL
},
47431 { (char *)"SpinCtrl_GetMax", (PyCFunction
)_wrap_SpinCtrl_GetMax
, METH_O
, NULL
},
47432 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47433 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47434 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
47435 { (char *)"SpinCtrl_swiginit", SpinCtrl_swiginit
, METH_VARARGS
, NULL
},
47436 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47437 { (char *)"SpinEvent_GetPosition", (PyCFunction
)_wrap_SpinEvent_GetPosition
, METH_O
, NULL
},
47438 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47439 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
47440 { (char *)"SpinEvent_swiginit", SpinEvent_swiginit
, METH_VARARGS
, NULL
},
47441 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47442 { (char *)"new_PreRadioBox", (PyCFunction
)_wrap_new_PreRadioBox
, METH_NOARGS
, NULL
},
47443 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47444 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47445 { (char *)"RadioBox_GetSelection", (PyCFunction
)_wrap_RadioBox_GetSelection
, METH_O
, NULL
},
47446 { (char *)"RadioBox_GetStringSelection", (PyCFunction
)_wrap_RadioBox_GetStringSelection
, METH_O
, NULL
},
47447 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47448 { (char *)"RadioBox_GetCount", (PyCFunction
)_wrap_RadioBox_GetCount
, METH_O
, NULL
},
47449 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47450 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47451 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47452 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47453 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47454 { (char *)"RadioBox_IsItemEnabled", (PyCFunction
) _wrap_RadioBox_IsItemEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47455 { (char *)"RadioBox_IsItemShown", (PyCFunction
) _wrap_RadioBox_IsItemShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47456 { (char *)"RadioBox_GetColumnCount", (PyCFunction
)_wrap_RadioBox_GetColumnCount
, METH_O
, NULL
},
47457 { (char *)"RadioBox_GetRowCount", (PyCFunction
)_wrap_RadioBox_GetRowCount
, METH_O
, NULL
},
47458 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47459 { (char *)"RadioBox_SetItemToolTip", (PyCFunction
) _wrap_RadioBox_SetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47460 { (char *)"RadioBox_GetItemToolTip", (PyCFunction
) _wrap_RadioBox_GetItemToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47461 { (char *)"RadioBox_SetItemHelpText", (PyCFunction
) _wrap_RadioBox_SetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47462 { (char *)"RadioBox_GetItemHelpText", (PyCFunction
) _wrap_RadioBox_GetItemHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47463 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47464 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
47465 { (char *)"RadioBox_swiginit", RadioBox_swiginit
, METH_VARARGS
, NULL
},
47466 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47467 { (char *)"new_PreRadioButton", (PyCFunction
)_wrap_new_PreRadioButton
, METH_NOARGS
, NULL
},
47468 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47469 { (char *)"RadioButton_GetValue", (PyCFunction
)_wrap_RadioButton_GetValue
, METH_O
, NULL
},
47470 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47471 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47472 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
47473 { (char *)"RadioButton_swiginit", RadioButton_swiginit
, METH_VARARGS
, NULL
},
47474 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47475 { (char *)"new_PreSlider", (PyCFunction
)_wrap_new_PreSlider
, METH_NOARGS
, NULL
},
47476 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47477 { (char *)"Slider_GetValue", (PyCFunction
)_wrap_Slider_GetValue
, METH_O
, NULL
},
47478 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47479 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47480 { (char *)"Slider_GetMin", (PyCFunction
)_wrap_Slider_GetMin
, METH_O
, NULL
},
47481 { (char *)"Slider_GetMax", (PyCFunction
)_wrap_Slider_GetMax
, METH_O
, NULL
},
47482 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47483 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47484 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47485 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47486 { (char *)"Slider_GetLineSize", (PyCFunction
)_wrap_Slider_GetLineSize
, METH_O
, NULL
},
47487 { (char *)"Slider_GetPageSize", (PyCFunction
)_wrap_Slider_GetPageSize
, METH_O
, NULL
},
47488 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47489 { (char *)"Slider_GetThumbLength", (PyCFunction
)_wrap_Slider_GetThumbLength
, METH_O
, NULL
},
47490 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47491 { (char *)"Slider_GetTickFreq", (PyCFunction
)_wrap_Slider_GetTickFreq
, METH_O
, NULL
},
47492 { (char *)"Slider_ClearTicks", (PyCFunction
)_wrap_Slider_ClearTicks
, METH_O
, NULL
},
47493 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47494 { (char *)"Slider_ClearSel", (PyCFunction
)_wrap_Slider_ClearSel
, METH_O
, NULL
},
47495 { (char *)"Slider_GetSelEnd", (PyCFunction
)_wrap_Slider_GetSelEnd
, METH_O
, NULL
},
47496 { (char *)"Slider_GetSelStart", (PyCFunction
)_wrap_Slider_GetSelStart
, METH_O
, NULL
},
47497 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47498 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47499 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
47500 { (char *)"Slider_swiginit", Slider_swiginit
, METH_VARARGS
, NULL
},
47501 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47502 { (char *)"new_PreToggleButton", (PyCFunction
)_wrap_new_PreToggleButton
, METH_NOARGS
, NULL
},
47503 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47504 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47505 { (char *)"ToggleButton_GetValue", (PyCFunction
)_wrap_ToggleButton_GetValue
, METH_O
, NULL
},
47506 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47507 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
47508 { (char *)"ToggleButton_swiginit", ToggleButton_swiginit
, METH_VARARGS
, NULL
},
47509 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
)_wrap_BookCtrlBase_GetPageCount
, METH_O
, NULL
},
47510 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47511 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetCurrentPage
, METH_O
, NULL
},
47512 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
)_wrap_BookCtrlBase_GetSelection
, METH_O
, NULL
},
47513 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47514 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47515 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47516 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47517 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
)_wrap_BookCtrlBase_GetImageList
, METH_O
, NULL
},
47518 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47519 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47520 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47521 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47522 { (char *)"BookCtrlBase_GetInternalBorder", (PyCFunction
)_wrap_BookCtrlBase_GetInternalBorder
, METH_O
, NULL
},
47523 { (char *)"BookCtrlBase_SetInternalBorder", (PyCFunction
) _wrap_BookCtrlBase_SetInternalBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47524 { (char *)"BookCtrlBase_IsVertical", (PyCFunction
)_wrap_BookCtrlBase_IsVertical
, METH_O
, NULL
},
47525 { (char *)"BookCtrlBase_SetControlMargin", (PyCFunction
) _wrap_BookCtrlBase_SetControlMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47526 { (char *)"BookCtrlBase_GetControlMargin", (PyCFunction
)_wrap_BookCtrlBase_GetControlMargin
, METH_O
, NULL
},
47527 { (char *)"BookCtrlBase_SetFitToCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_SetFitToCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47528 { (char *)"BookCtrlBase_GetFitToCurrentPage", (PyCFunction
)_wrap_BookCtrlBase_GetFitToCurrentPage
, METH_O
, NULL
},
47529 { (char *)"BookCtrlBase_GetControlSizer", (PyCFunction
)_wrap_BookCtrlBase_GetControlSizer
, METH_O
, NULL
},
47530 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47531 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47532 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
)_wrap_BookCtrlBase_DeleteAllPages
, METH_O
, NULL
},
47533 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47534 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47535 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47536 { (char *)"BookCtrlBase_ChangeSelection", (PyCFunction
) _wrap_BookCtrlBase_ChangeSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47537 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47538 { (char *)"BookCtrlBase_HitTest", (PyCFunction
) _wrap_BookCtrlBase_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47539 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47540 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
47541 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47542 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetSelection
, METH_O
, NULL
},
47543 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47544 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
)_wrap_BookCtrlBaseEvent_GetOldSelection
, METH_O
, NULL
},
47545 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47546 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
47547 { (char *)"BookCtrlBaseEvent_swiginit", BookCtrlBaseEvent_swiginit
, METH_VARARGS
, NULL
},
47548 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47549 { (char *)"new_PreNotebook", (PyCFunction
)_wrap_new_PreNotebook
, METH_NOARGS
, NULL
},
47550 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47551 { (char *)"Notebook_GetRowCount", (PyCFunction
)_wrap_Notebook_GetRowCount
, METH_O
, NULL
},
47552 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47553 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47554 { (char *)"Notebook_GetThemeBackgroundColour", (PyCFunction
)_wrap_Notebook_GetThemeBackgroundColour
, METH_O
, NULL
},
47555 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47556 { (char *)"Notebook_SendPageChangingEvent", (PyCFunction
) _wrap_Notebook_SendPageChangingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47557 { (char *)"Notebook_SendPageChangedEvent", (PyCFunction
) _wrap_Notebook_SendPageChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47558 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
47559 { (char *)"Notebook_swiginit", Notebook_swiginit
, METH_VARARGS
, NULL
},
47560 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47561 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
47562 { (char *)"NotebookEvent_swiginit", NotebookEvent_swiginit
, METH_VARARGS
, NULL
},
47563 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47564 { (char *)"new_PreListbook", (PyCFunction
)_wrap_new_PreListbook
, METH_NOARGS
, NULL
},
47565 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47566 { (char *)"Listbook_GetListView", (PyCFunction
)_wrap_Listbook_GetListView
, METH_O
, NULL
},
47567 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
47568 { (char *)"Listbook_swiginit", Listbook_swiginit
, METH_VARARGS
, NULL
},
47569 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47570 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
47571 { (char *)"ListbookEvent_swiginit", ListbookEvent_swiginit
, METH_VARARGS
, NULL
},
47572 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47573 { (char *)"new_PreChoicebook", (PyCFunction
)_wrap_new_PreChoicebook
, METH_NOARGS
, NULL
},
47574 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47575 { (char *)"Choicebook_GetChoiceCtrl", (PyCFunction
)_wrap_Choicebook_GetChoiceCtrl
, METH_O
, NULL
},
47576 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
47577 { (char *)"Choicebook_swiginit", Choicebook_swiginit
, METH_VARARGS
, NULL
},
47578 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47579 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
47580 { (char *)"ChoicebookEvent_swiginit", ChoicebookEvent_swiginit
, METH_VARARGS
, NULL
},
47581 { (char *)"new_Treebook", (PyCFunction
) _wrap_new_Treebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47582 { (char *)"new_PreTreebook", (PyCFunction
)_wrap_new_PreTreebook
, METH_NOARGS
, NULL
},
47583 { (char *)"Treebook_Create", (PyCFunction
) _wrap_Treebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47584 { (char *)"Treebook_InsertSubPage", (PyCFunction
) _wrap_Treebook_InsertSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47585 { (char *)"Treebook_AddSubPage", (PyCFunction
) _wrap_Treebook_AddSubPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47586 { (char *)"Treebook_IsNodeExpanded", (PyCFunction
) _wrap_Treebook_IsNodeExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47587 { (char *)"Treebook_ExpandNode", (PyCFunction
) _wrap_Treebook_ExpandNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47588 { (char *)"Treebook_CollapseNode", (PyCFunction
) _wrap_Treebook_CollapseNode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47589 { (char *)"Treebook_GetPageParent", (PyCFunction
) _wrap_Treebook_GetPageParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47590 { (char *)"Treebook_GetTreeCtrl", (PyCFunction
)_wrap_Treebook_GetTreeCtrl
, METH_O
, NULL
},
47591 { (char *)"Treebook_swigregister", Treebook_swigregister
, METH_VARARGS
, NULL
},
47592 { (char *)"Treebook_swiginit", Treebook_swiginit
, METH_VARARGS
, NULL
},
47593 { (char *)"new_TreebookEvent", (PyCFunction
) _wrap_new_TreebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47594 { (char *)"TreebookEvent_swigregister", TreebookEvent_swigregister
, METH_VARARGS
, NULL
},
47595 { (char *)"TreebookEvent_swiginit", TreebookEvent_swiginit
, METH_VARARGS
, NULL
},
47596 { (char *)"new_Toolbook", (PyCFunction
) _wrap_new_Toolbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47597 { (char *)"new_PreToolbook", (PyCFunction
)_wrap_new_PreToolbook
, METH_NOARGS
, NULL
},
47598 { (char *)"Toolbook_Create", (PyCFunction
) _wrap_Toolbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47599 { (char *)"Toolbook_GetToolBar", (PyCFunction
)_wrap_Toolbook_GetToolBar
, METH_O
, NULL
},
47600 { (char *)"Toolbook_Realize", (PyCFunction
)_wrap_Toolbook_Realize
, METH_O
, NULL
},
47601 { (char *)"Toolbook_swigregister", Toolbook_swigregister
, METH_VARARGS
, NULL
},
47602 { (char *)"Toolbook_swiginit", Toolbook_swiginit
, METH_VARARGS
, NULL
},
47603 { (char *)"new_ToolbookEvent", (PyCFunction
) _wrap_new_ToolbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47604 { (char *)"ToolbookEvent_swigregister", ToolbookEvent_swigregister
, METH_VARARGS
, NULL
},
47605 { (char *)"ToolbookEvent_swiginit", ToolbookEvent_swiginit
, METH_VARARGS
, NULL
},
47606 { (char *)"ToolBarToolBase_GetId", (PyCFunction
)_wrap_ToolBarToolBase_GetId
, METH_O
, NULL
},
47607 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
)_wrap_ToolBarToolBase_GetControl
, METH_O
, NULL
},
47608 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
)_wrap_ToolBarToolBase_GetToolBar
, METH_O
, NULL
},
47609 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
)_wrap_ToolBarToolBase_IsButton
, METH_O
, NULL
},
47610 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
)_wrap_ToolBarToolBase_IsControl
, METH_O
, NULL
},
47611 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
)_wrap_ToolBarToolBase_IsSeparator
, METH_O
, NULL
},
47612 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
)_wrap_ToolBarToolBase_GetStyle
, METH_O
, NULL
},
47613 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
)_wrap_ToolBarToolBase_GetKind
, METH_O
, NULL
},
47614 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
)_wrap_ToolBarToolBase_IsEnabled
, METH_O
, NULL
},
47615 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
)_wrap_ToolBarToolBase_IsToggled
, METH_O
, NULL
},
47616 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
)_wrap_ToolBarToolBase_CanBeToggled
, METH_O
, NULL
},
47617 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetNormalBitmap
, METH_O
, NULL
},
47618 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetDisabledBitmap
, METH_O
, NULL
},
47619 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
)_wrap_ToolBarToolBase_GetBitmap
, METH_O
, NULL
},
47620 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
)_wrap_ToolBarToolBase_GetLabel
, METH_O
, NULL
},
47621 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetShortHelp
, METH_O
, NULL
},
47622 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
)_wrap_ToolBarToolBase_GetLongHelp
, METH_O
, NULL
},
47623 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47624 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
)_wrap_ToolBarToolBase_Toggle
, METH_O
, NULL
},
47625 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47626 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47627 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47628 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47629 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47630 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47631 { (char *)"ToolBarToolBase_Detach", (PyCFunction
)_wrap_ToolBarToolBase_Detach
, METH_O
, NULL
},
47632 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47633 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
)_wrap_ToolBarToolBase_GetClientData
, METH_O
, NULL
},
47634 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47635 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
47636 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47637 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47638 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47639 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47640 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47641 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47642 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47643 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
)_wrap_ToolBarBase_AddSeparator
, METH_O
, NULL
},
47644 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47645 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47646 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47647 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47648 { (char *)"ToolBarBase_ClearTools", (PyCFunction
)_wrap_ToolBarBase_ClearTools
, METH_O
, NULL
},
47649 { (char *)"ToolBarBase_Realize", (PyCFunction
)_wrap_ToolBarBase_Realize
, METH_O
, NULL
},
47650 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47651 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47652 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47653 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47654 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47655 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47656 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47657 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47658 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47659 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47660 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47661 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47662 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47663 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47664 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47665 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47666 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
)_wrap_ToolBarBase_GetToolMargins
, METH_O
, NULL
},
47667 { (char *)"ToolBarBase_GetMargins", (PyCFunction
)_wrap_ToolBarBase_GetMargins
, METH_O
, NULL
},
47668 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
)_wrap_ToolBarBase_GetToolPacking
, METH_O
, NULL
},
47669 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
)_wrap_ToolBarBase_GetToolSeparation
, METH_O
, NULL
},
47670 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47671 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47672 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
)_wrap_ToolBarBase_GetMaxRows
, METH_O
, NULL
},
47673 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
)_wrap_ToolBarBase_GetMaxCols
, METH_O
, NULL
},
47674 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47675 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
)_wrap_ToolBarBase_GetToolBitmapSize
, METH_O
, NULL
},
47676 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
)_wrap_ToolBarBase_GetToolSize
, METH_O
, NULL
},
47677 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47678 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47679 { (char *)"ToolBarBase_IsVertical", (PyCFunction
)_wrap_ToolBarBase_IsVertical
, METH_O
, NULL
},
47680 { (char *)"ToolBarBase_GetToolsCount", (PyCFunction
)_wrap_ToolBarBase_GetToolsCount
, METH_O
, NULL
},
47681 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
47682 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47683 { (char *)"new_PreToolBar", (PyCFunction
)_wrap_new_PreToolBar
, METH_NOARGS
, NULL
},
47684 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47685 { (char *)"ToolBar_SetToolNormalBitmap", (PyCFunction
) _wrap_ToolBar_SetToolNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47686 { (char *)"ToolBar_SetToolDisabledBitmap", (PyCFunction
) _wrap_ToolBar_SetToolDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47687 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47688 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
47689 { (char *)"ToolBar_swiginit", ToolBar_swiginit
, METH_VARARGS
, NULL
},
47690 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47691 { (char *)"delete_ListItemAttr", (PyCFunction
)_wrap_delete_ListItemAttr
, METH_O
, NULL
},
47692 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47693 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47694 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47695 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
)_wrap_ListItemAttr_HasTextColour
, METH_O
, NULL
},
47696 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_HasBackgroundColour
, METH_O
, NULL
},
47697 { (char *)"ListItemAttr_HasFont", (PyCFunction
)_wrap_ListItemAttr_HasFont
, METH_O
, NULL
},
47698 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
)_wrap_ListItemAttr_GetTextColour
, METH_O
, NULL
},
47699 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
)_wrap_ListItemAttr_GetBackgroundColour
, METH_O
, NULL
},
47700 { (char *)"ListItemAttr_GetFont", (PyCFunction
)_wrap_ListItemAttr_GetFont
, METH_O
, NULL
},
47701 { (char *)"ListItemAttr_AssignFrom", (PyCFunction
) _wrap_ListItemAttr_AssignFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47702 { (char *)"ListItemAttr_Destroy", (PyCFunction
)_wrap_ListItemAttr_Destroy
, METH_O
, NULL
},
47703 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
47704 { (char *)"ListItemAttr_swiginit", ListItemAttr_swiginit
, METH_VARARGS
, NULL
},
47705 { (char *)"new_ListItem", (PyCFunction
)_wrap_new_ListItem
, METH_NOARGS
, NULL
},
47706 { (char *)"delete_ListItem", (PyCFunction
)_wrap_delete_ListItem
, METH_O
, NULL
},
47707 { (char *)"ListItem_Clear", (PyCFunction
)_wrap_ListItem_Clear
, METH_O
, NULL
},
47708 { (char *)"ListItem_ClearAttributes", (PyCFunction
)_wrap_ListItem_ClearAttributes
, METH_O
, NULL
},
47709 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47710 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47711 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47712 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47713 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47714 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47715 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47716 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47717 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47718 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47719 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47720 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47721 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47722 { (char *)"ListItem_GetMask", (PyCFunction
)_wrap_ListItem_GetMask
, METH_O
, NULL
},
47723 { (char *)"ListItem_GetId", (PyCFunction
)_wrap_ListItem_GetId
, METH_O
, NULL
},
47724 { (char *)"ListItem_GetColumn", (PyCFunction
)_wrap_ListItem_GetColumn
, METH_O
, NULL
},
47725 { (char *)"ListItem_GetState", (PyCFunction
)_wrap_ListItem_GetState
, METH_O
, NULL
},
47726 { (char *)"ListItem_GetText", (PyCFunction
)_wrap_ListItem_GetText
, METH_O
, NULL
},
47727 { (char *)"ListItem_GetImage", (PyCFunction
)_wrap_ListItem_GetImage
, METH_O
, NULL
},
47728 { (char *)"ListItem_GetData", (PyCFunction
)_wrap_ListItem_GetData
, METH_O
, NULL
},
47729 { (char *)"ListItem_GetWidth", (PyCFunction
)_wrap_ListItem_GetWidth
, METH_O
, NULL
},
47730 { (char *)"ListItem_GetAlign", (PyCFunction
)_wrap_ListItem_GetAlign
, METH_O
, NULL
},
47731 { (char *)"ListItem_GetAttributes", (PyCFunction
)_wrap_ListItem_GetAttributes
, METH_O
, NULL
},
47732 { (char *)"ListItem_HasAttributes", (PyCFunction
)_wrap_ListItem_HasAttributes
, METH_O
, NULL
},
47733 { (char *)"ListItem_GetTextColour", (PyCFunction
)_wrap_ListItem_GetTextColour
, METH_O
, NULL
},
47734 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
)_wrap_ListItem_GetBackgroundColour
, METH_O
, NULL
},
47735 { (char *)"ListItem_GetFont", (PyCFunction
)_wrap_ListItem_GetFont
, METH_O
, NULL
},
47736 { (char *)"ListItem_m_mask_set", _wrap_ListItem_m_mask_set
, METH_VARARGS
, NULL
},
47737 { (char *)"ListItem_m_mask_get", (PyCFunction
)_wrap_ListItem_m_mask_get
, METH_O
, NULL
},
47738 { (char *)"ListItem_m_itemId_set", _wrap_ListItem_m_itemId_set
, METH_VARARGS
, NULL
},
47739 { (char *)"ListItem_m_itemId_get", (PyCFunction
)_wrap_ListItem_m_itemId_get
, METH_O
, NULL
},
47740 { (char *)"ListItem_m_col_set", _wrap_ListItem_m_col_set
, METH_VARARGS
, NULL
},
47741 { (char *)"ListItem_m_col_get", (PyCFunction
)_wrap_ListItem_m_col_get
, METH_O
, NULL
},
47742 { (char *)"ListItem_m_state_set", _wrap_ListItem_m_state_set
, METH_VARARGS
, NULL
},
47743 { (char *)"ListItem_m_state_get", (PyCFunction
)_wrap_ListItem_m_state_get
, METH_O
, NULL
},
47744 { (char *)"ListItem_m_stateMask_set", _wrap_ListItem_m_stateMask_set
, METH_VARARGS
, NULL
},
47745 { (char *)"ListItem_m_stateMask_get", (PyCFunction
)_wrap_ListItem_m_stateMask_get
, METH_O
, NULL
},
47746 { (char *)"ListItem_m_text_set", _wrap_ListItem_m_text_set
, METH_VARARGS
, NULL
},
47747 { (char *)"ListItem_m_text_get", (PyCFunction
)_wrap_ListItem_m_text_get
, METH_O
, NULL
},
47748 { (char *)"ListItem_m_image_set", _wrap_ListItem_m_image_set
, METH_VARARGS
, NULL
},
47749 { (char *)"ListItem_m_image_get", (PyCFunction
)_wrap_ListItem_m_image_get
, METH_O
, NULL
},
47750 { (char *)"ListItem_m_data_set", _wrap_ListItem_m_data_set
, METH_VARARGS
, NULL
},
47751 { (char *)"ListItem_m_data_get", (PyCFunction
)_wrap_ListItem_m_data_get
, METH_O
, NULL
},
47752 { (char *)"ListItem_m_format_set", _wrap_ListItem_m_format_set
, METH_VARARGS
, NULL
},
47753 { (char *)"ListItem_m_format_get", (PyCFunction
)_wrap_ListItem_m_format_get
, METH_O
, NULL
},
47754 { (char *)"ListItem_m_width_set", _wrap_ListItem_m_width_set
, METH_VARARGS
, NULL
},
47755 { (char *)"ListItem_m_width_get", (PyCFunction
)_wrap_ListItem_m_width_get
, METH_O
, NULL
},
47756 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
47757 { (char *)"ListItem_swiginit", ListItem_swiginit
, METH_VARARGS
, NULL
},
47758 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47759 { (char *)"ListEvent_m_code_set", _wrap_ListEvent_m_code_set
, METH_VARARGS
, NULL
},
47760 { (char *)"ListEvent_m_code_get", (PyCFunction
)_wrap_ListEvent_m_code_get
, METH_O
, NULL
},
47761 { (char *)"ListEvent_m_oldItemIndex_set", _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
, NULL
},
47762 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
)_wrap_ListEvent_m_oldItemIndex_get
, METH_O
, NULL
},
47763 { (char *)"ListEvent_m_itemIndex_set", _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
, NULL
},
47764 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
)_wrap_ListEvent_m_itemIndex_get
, METH_O
, NULL
},
47765 { (char *)"ListEvent_m_col_set", _wrap_ListEvent_m_col_set
, METH_VARARGS
, NULL
},
47766 { (char *)"ListEvent_m_col_get", (PyCFunction
)_wrap_ListEvent_m_col_get
, METH_O
, NULL
},
47767 { (char *)"ListEvent_m_pointDrag_set", _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
, NULL
},
47768 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
)_wrap_ListEvent_m_pointDrag_get
, METH_O
, NULL
},
47769 { (char *)"ListEvent_m_item_get", (PyCFunction
)_wrap_ListEvent_m_item_get
, METH_O
, NULL
},
47770 { (char *)"ListEvent_GetKeyCode", (PyCFunction
)_wrap_ListEvent_GetKeyCode
, METH_O
, NULL
},
47771 { (char *)"ListEvent_GetIndex", (PyCFunction
)_wrap_ListEvent_GetIndex
, METH_O
, NULL
},
47772 { (char *)"ListEvent_GetColumn", (PyCFunction
)_wrap_ListEvent_GetColumn
, METH_O
, NULL
},
47773 { (char *)"ListEvent_GetPoint", (PyCFunction
)_wrap_ListEvent_GetPoint
, METH_O
, NULL
},
47774 { (char *)"ListEvent_GetLabel", (PyCFunction
)_wrap_ListEvent_GetLabel
, METH_O
, NULL
},
47775 { (char *)"ListEvent_GetText", (PyCFunction
)_wrap_ListEvent_GetText
, METH_O
, NULL
},
47776 { (char *)"ListEvent_GetImage", (PyCFunction
)_wrap_ListEvent_GetImage
, METH_O
, NULL
},
47777 { (char *)"ListEvent_GetData", (PyCFunction
)_wrap_ListEvent_GetData
, METH_O
, NULL
},
47778 { (char *)"ListEvent_GetMask", (PyCFunction
)_wrap_ListEvent_GetMask
, METH_O
, NULL
},
47779 { (char *)"ListEvent_GetItem", (PyCFunction
)_wrap_ListEvent_GetItem
, METH_O
, NULL
},
47780 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
)_wrap_ListEvent_GetCacheFrom
, METH_O
, NULL
},
47781 { (char *)"ListEvent_GetCacheTo", (PyCFunction
)_wrap_ListEvent_GetCacheTo
, METH_O
, NULL
},
47782 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
)_wrap_ListEvent_IsEditCancelled
, METH_O
, NULL
},
47783 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47784 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
47785 { (char *)"ListEvent_swiginit", ListEvent_swiginit
, METH_VARARGS
, NULL
},
47786 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47787 { (char *)"new_PreListCtrl", (PyCFunction
)_wrap_new_PreListCtrl
, METH_NOARGS
, NULL
},
47788 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47789 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47790 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47791 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47792 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47793 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47794 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
)_wrap_ListCtrl_GetCountPerPage
, METH_O
, NULL
},
47795 { (char *)"ListCtrl_GetViewRect", (PyCFunction
)_wrap_ListCtrl_GetViewRect
, METH_O
, NULL
},
47796 { (char *)"ListCtrl_GetEditControl", (PyCFunction
)_wrap_ListCtrl_GetEditControl
, METH_O
, NULL
},
47797 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47798 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47799 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47800 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47801 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47802 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47803 { (char *)"ListCtrl_SetItemColumnImage", (PyCFunction
) _wrap_ListCtrl_SetItemColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47804 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47805 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47806 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47807 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47808 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47809 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47810 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47811 { (char *)"ListCtrl_GetItemCount", (PyCFunction
)_wrap_ListCtrl_GetItemCount
, METH_O
, NULL
},
47812 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
)_wrap_ListCtrl_GetColumnCount
, METH_O
, NULL
},
47813 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
)_wrap_ListCtrl_GetItemSpacing
, METH_O
, NULL
},
47814 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47815 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
)_wrap_ListCtrl_GetSelectedItemCount
, METH_O
, NULL
},
47816 { (char *)"ListCtrl_GetTextColour", (PyCFunction
)_wrap_ListCtrl_GetTextColour
, METH_O
, NULL
},
47817 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47818 { (char *)"ListCtrl_GetTopItem", (PyCFunction
)_wrap_ListCtrl_GetTopItem
, METH_O
, NULL
},
47819 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47820 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47821 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47822 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47823 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47824 { (char *)"ListCtrl_InReportView", (PyCFunction
)_wrap_ListCtrl_InReportView
, METH_O
, NULL
},
47825 { (char *)"ListCtrl_IsVirtual", (PyCFunction
)_wrap_ListCtrl_IsVirtual
, METH_O
, NULL
},
47826 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47827 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47828 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47829 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47830 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
)_wrap_ListCtrl_DeleteAllItems
, METH_O
, NULL
},
47831 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47832 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
)_wrap_ListCtrl_DeleteAllColumns
, METH_O
, NULL
},
47833 { (char *)"ListCtrl_ClearAll", (PyCFunction
)_wrap_ListCtrl_ClearAll
, METH_O
, NULL
},
47834 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47835 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47836 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47837 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47838 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47839 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47840 { (char *)"ListCtrl_HitTestSubItem", (PyCFunction
) _wrap_ListCtrl_HitTestSubItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47841 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47842 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47843 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47844 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47845 { (char *)"ListCtrl_InsertColumnItem", (PyCFunction
) _wrap_ListCtrl_InsertColumnItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47846 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47847 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47848 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47849 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47850 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47851 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47852 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47853 { (char *)"ListCtrl_SetItemFont", (PyCFunction
) _wrap_ListCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47854 { (char *)"ListCtrl_GetItemFont", (PyCFunction
) _wrap_ListCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47855 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47856 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
)_wrap_ListCtrl_GetMainWindow
, METH_O
, NULL
},
47857 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47858 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
47859 { (char *)"ListCtrl_swiginit", ListCtrl_swiginit
, METH_VARARGS
, NULL
},
47860 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47861 { (char *)"new_PreListView", (PyCFunction
)_wrap_new_PreListView
, METH_NOARGS
, NULL
},
47862 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47863 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47864 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47865 { (char *)"ListView_GetFocusedItem", (PyCFunction
)_wrap_ListView_GetFocusedItem
, METH_O
, NULL
},
47866 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47867 { (char *)"ListView_GetFirstSelected", (PyCFunction
)_wrap_ListView_GetFirstSelected
, METH_O
, NULL
},
47868 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47869 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47870 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47871 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
47872 { (char *)"ListView_swiginit", ListView_swiginit
, METH_VARARGS
, NULL
},
47873 { (char *)"new_TreeItemId", (PyCFunction
)_wrap_new_TreeItemId
, METH_NOARGS
, NULL
},
47874 { (char *)"delete_TreeItemId", (PyCFunction
)_wrap_delete_TreeItemId
, METH_O
, NULL
},
47875 { (char *)"TreeItemId_IsOk", (PyCFunction
)_wrap_TreeItemId_IsOk
, METH_O
, NULL
},
47876 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47877 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47878 { (char *)"TreeItemId_m_pItem_set", _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
, NULL
},
47879 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
)_wrap_TreeItemId_m_pItem_get
, METH_O
, NULL
},
47880 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
47881 { (char *)"TreeItemId_swiginit", TreeItemId_swiginit
, METH_VARARGS
, NULL
},
47882 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47883 { (char *)"delete_TreeItemData", (PyCFunction
)_wrap_delete_TreeItemData
, METH_O
, NULL
},
47884 { (char *)"TreeItemData_GetData", (PyCFunction
)_wrap_TreeItemData_GetData
, METH_O
, NULL
},
47885 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47886 { (char *)"TreeItemData_GetId", (PyCFunction
)_wrap_TreeItemData_GetId
, METH_O
, NULL
},
47887 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47888 { (char *)"TreeItemData_Destroy", (PyCFunction
)_wrap_TreeItemData_Destroy
, METH_O
, NULL
},
47889 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
47890 { (char *)"TreeItemData_swiginit", TreeItemData_swiginit
, METH_VARARGS
, NULL
},
47891 { (char *)"new_TreeEvent", _wrap_new_TreeEvent
, METH_VARARGS
, NULL
},
47892 { (char *)"TreeEvent_GetItem", (PyCFunction
)_wrap_TreeEvent_GetItem
, METH_O
, NULL
},
47893 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47894 { (char *)"TreeEvent_GetOldItem", (PyCFunction
)_wrap_TreeEvent_GetOldItem
, METH_O
, NULL
},
47895 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47896 { (char *)"TreeEvent_GetPoint", (PyCFunction
)_wrap_TreeEvent_GetPoint
, METH_O
, NULL
},
47897 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47898 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
)_wrap_TreeEvent_GetKeyEvent
, METH_O
, NULL
},
47899 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
)_wrap_TreeEvent_GetKeyCode
, METH_O
, NULL
},
47900 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47901 { (char *)"TreeEvent_GetLabel", (PyCFunction
)_wrap_TreeEvent_GetLabel
, METH_O
, NULL
},
47902 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47903 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
)_wrap_TreeEvent_IsEditCancelled
, METH_O
, NULL
},
47904 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47905 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47906 { (char *)"TreeEvent_GetToolTip", (PyCFunction
)_wrap_TreeEvent_GetToolTip
, METH_O
, NULL
},
47907 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
47908 { (char *)"TreeEvent_swiginit", TreeEvent_swiginit
, METH_VARARGS
, NULL
},
47909 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47910 { (char *)"new_PreTreeCtrl", (PyCFunction
)_wrap_new_PreTreeCtrl
, METH_NOARGS
, NULL
},
47911 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47912 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47913 { (char *)"TreeCtrl_GetCount", (PyCFunction
)_wrap_TreeCtrl_GetCount
, METH_O
, NULL
},
47914 { (char *)"TreeCtrl_GetIndent", (PyCFunction
)_wrap_TreeCtrl_GetIndent
, METH_O
, NULL
},
47915 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47916 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
)_wrap_TreeCtrl_GetSpacing
, METH_O
, NULL
},
47917 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47918 { (char *)"TreeCtrl_GetImageList", (PyCFunction
)_wrap_TreeCtrl_GetImageList
, METH_O
, NULL
},
47919 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
)_wrap_TreeCtrl_GetStateImageList
, METH_O
, NULL
},
47920 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47921 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47922 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47923 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47924 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47925 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47926 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47927 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47928 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47929 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47930 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47931 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47932 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47933 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47934 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47935 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47936 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47937 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47938 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47939 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47940 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47941 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47942 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47943 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47944 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47945 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47946 { (char *)"TreeCtrl_IsEmpty", (PyCFunction
)_wrap_TreeCtrl_IsEmpty
, METH_O
, NULL
},
47947 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47948 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
)_wrap_TreeCtrl_GetRootItem
, METH_O
, NULL
},
47949 { (char *)"TreeCtrl_GetSelection", (PyCFunction
)_wrap_TreeCtrl_GetSelection
, METH_O
, NULL
},
47950 { (char *)"TreeCtrl_GetSelections", (PyCFunction
)_wrap_TreeCtrl_GetSelections
, METH_O
, NULL
},
47951 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47952 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47953 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47954 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47955 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47956 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47957 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
)_wrap_TreeCtrl_GetFirstVisibleItem
, METH_O
, NULL
},
47958 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47959 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47960 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47961 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47962 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47963 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47964 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47965 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47966 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47967 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
)_wrap_TreeCtrl_DeleteAllItems
, METH_O
, NULL
},
47968 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47969 { (char *)"TreeCtrl_ExpandAllChildren", (PyCFunction
) _wrap_TreeCtrl_ExpandAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47970 { (char *)"TreeCtrl_ExpandAll", (PyCFunction
)_wrap_TreeCtrl_ExpandAll
, METH_O
, NULL
},
47971 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47972 { (char *)"TreeCtrl_CollapseAllChildren", (PyCFunction
) _wrap_TreeCtrl_CollapseAllChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47973 { (char *)"TreeCtrl_CollapseAll", (PyCFunction
)_wrap_TreeCtrl_CollapseAll
, METH_O
, NULL
},
47974 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47975 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47976 { (char *)"TreeCtrl_Unselect", (PyCFunction
)_wrap_TreeCtrl_Unselect
, METH_O
, NULL
},
47977 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47978 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
)_wrap_TreeCtrl_UnselectAll
, METH_O
, NULL
},
47979 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47980 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47981 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47982 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47983 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47984 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
)_wrap_TreeCtrl_GetEditControl
, METH_O
, NULL
},
47985 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47986 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47987 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47988 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47989 { (char *)"TreeCtrl_SetQuickBestSize", (PyCFunction
) _wrap_TreeCtrl_SetQuickBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47990 { (char *)"TreeCtrl_GetQuickBestSize", (PyCFunction
)_wrap_TreeCtrl_GetQuickBestSize
, METH_O
, NULL
},
47991 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
47992 { (char *)"TreeCtrl_swiginit", TreeCtrl_swiginit
, METH_VARARGS
, NULL
},
47993 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47994 { (char *)"new_PreGenericDirCtrl", (PyCFunction
)_wrap_new_PreGenericDirCtrl
, METH_NOARGS
, NULL
},
47995 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47996 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47997 { (char *)"GenericDirCtrl_CollapsePath", (PyCFunction
) _wrap_GenericDirCtrl_CollapsePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
47998 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
)_wrap_GenericDirCtrl_GetDefaultPath
, METH_O
, NULL
},
47999 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48000 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
)_wrap_GenericDirCtrl_GetPath
, METH_O
, NULL
},
48001 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
)_wrap_GenericDirCtrl_GetFilePath
, METH_O
, NULL
},
48002 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48003 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48004 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
)_wrap_GenericDirCtrl_GetShowHidden
, METH_O
, NULL
},
48005 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
)_wrap_GenericDirCtrl_GetFilter
, METH_O
, NULL
},
48006 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48007 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterIndex
, METH_O
, NULL
},
48008 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48009 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
)_wrap_GenericDirCtrl_GetRootId
, METH_O
, NULL
},
48010 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetTreeCtrl
, METH_O
, NULL
},
48011 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
)_wrap_GenericDirCtrl_GetFilterListCtrl
, METH_O
, NULL
},
48012 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48013 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
)_wrap_GenericDirCtrl_DoResize
, METH_O
, NULL
},
48014 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
)_wrap_GenericDirCtrl_ReCreateTree
, METH_O
, NULL
},
48015 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
48016 { (char *)"GenericDirCtrl_swiginit", GenericDirCtrl_swiginit
, METH_VARARGS
, NULL
},
48017 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48018 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
)_wrap_new_PreDirFilterListCtrl
, METH_NOARGS
, NULL
},
48019 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48020 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48021 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
48022 { (char *)"DirFilterListCtrl_swiginit", DirFilterListCtrl_swiginit
, METH_VARARGS
, NULL
},
48023 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48024 { (char *)"new_PrePyControl", (PyCFunction
)_wrap_new_PrePyControl
, METH_NOARGS
, NULL
},
48025 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48026 { (char *)"PyControl_DoEraseBackground", (PyCFunction
) _wrap_PyControl_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48027 { (char *)"PyControl_DoMoveWindow", (PyCFunction
) _wrap_PyControl_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48028 { (char *)"PyControl_DoSetSize", (PyCFunction
) _wrap_PyControl_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48029 { (char *)"PyControl_DoSetClientSize", (PyCFunction
) _wrap_PyControl_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48030 { (char *)"PyControl_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48031 { (char *)"PyControl_DoGetSize", (PyCFunction
)_wrap_PyControl_DoGetSize
, METH_O
, NULL
},
48032 { (char *)"PyControl_DoGetClientSize", (PyCFunction
)_wrap_PyControl_DoGetClientSize
, METH_O
, NULL
},
48033 { (char *)"PyControl_DoGetPosition", (PyCFunction
)_wrap_PyControl_DoGetPosition
, METH_O
, NULL
},
48034 { (char *)"PyControl_DoGetVirtualSize", (PyCFunction
)_wrap_PyControl_DoGetVirtualSize
, METH_O
, NULL
},
48035 { (char *)"PyControl_DoGetBestSize", (PyCFunction
)_wrap_PyControl_DoGetBestSize
, METH_O
, NULL
},
48036 { (char *)"PyControl_GetDefaultAttributes", (PyCFunction
)_wrap_PyControl_GetDefaultAttributes
, METH_O
, NULL
},
48037 { (char *)"PyControl_OnInternalIdle", (PyCFunction
)_wrap_PyControl_OnInternalIdle
, METH_O
, NULL
},
48038 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
48039 { (char *)"PyControl_swiginit", PyControl_swiginit
, METH_VARARGS
, NULL
},
48040 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48041 { (char *)"HelpEvent_GetPosition", (PyCFunction
)_wrap_HelpEvent_GetPosition
, METH_O
, NULL
},
48042 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48043 { (char *)"HelpEvent_GetLink", (PyCFunction
)_wrap_HelpEvent_GetLink
, METH_O
, NULL
},
48044 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48045 { (char *)"HelpEvent_GetTarget", (PyCFunction
)_wrap_HelpEvent_GetTarget
, METH_O
, NULL
},
48046 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48047 { (char *)"HelpEvent_GetOrigin", (PyCFunction
)_wrap_HelpEvent_GetOrigin
, METH_O
, NULL
},
48048 { (char *)"HelpEvent_SetOrigin", (PyCFunction
) _wrap_HelpEvent_SetOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48049 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
48050 { (char *)"HelpEvent_swiginit", HelpEvent_swiginit
, METH_VARARGS
, NULL
},
48051 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48052 { (char *)"delete_ContextHelp", (PyCFunction
)_wrap_delete_ContextHelp
, METH_O
, NULL
},
48053 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48054 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
)_wrap_ContextHelp_EndContextHelp
, METH_O
, NULL
},
48055 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
48056 { (char *)"ContextHelp_swiginit", ContextHelp_swiginit
, METH_VARARGS
, NULL
},
48057 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48058 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
48059 { (char *)"ContextHelpButton_swiginit", ContextHelpButton_swiginit
, METH_VARARGS
, NULL
},
48060 { (char *)"delete_HelpProvider", (PyCFunction
)_wrap_delete_HelpProvider
, METH_O
, NULL
},
48061 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48062 { (char *)"HelpProvider_Get", (PyCFunction
)_wrap_HelpProvider_Get
, METH_NOARGS
, NULL
},
48063 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48064 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48065 { (char *)"HelpProvider_ShowHelpAtPoint", (PyCFunction
) _wrap_HelpProvider_ShowHelpAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48066 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48067 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48068 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48069 { (char *)"HelpProvider_Destroy", (PyCFunction
)_wrap_HelpProvider_Destroy
, METH_O
, NULL
},
48070 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
48071 { (char *)"new_SimpleHelpProvider", (PyCFunction
)_wrap_new_SimpleHelpProvider
, METH_NOARGS
, NULL
},
48072 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
48073 { (char *)"SimpleHelpProvider_swiginit", SimpleHelpProvider_swiginit
, METH_VARARGS
, NULL
},
48074 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48075 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48076 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48077 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48078 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48079 { (char *)"delete_DragImage", (PyCFunction
)_wrap_delete_DragImage
, METH_O
, NULL
},
48080 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48081 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48082 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48083 { (char *)"DragImage_EndDrag", (PyCFunction
)_wrap_DragImage_EndDrag
, METH_O
, NULL
},
48084 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48085 { (char *)"DragImage_Show", (PyCFunction
)_wrap_DragImage_Show
, METH_O
, NULL
},
48086 { (char *)"DragImage_Hide", (PyCFunction
)_wrap_DragImage_Hide
, METH_O
, NULL
},
48087 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48088 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48089 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48090 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48091 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
48092 { (char *)"DragImage_swiginit", DragImage_swiginit
, METH_VARARGS
, NULL
},
48093 { (char *)"new_DatePickerCtrl", (PyCFunction
) _wrap_new_DatePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48094 { (char *)"new_PreDatePickerCtrl", (PyCFunction
)_wrap_new_PreDatePickerCtrl
, METH_NOARGS
, NULL
},
48095 { (char *)"DatePickerCtrl_Create", (PyCFunction
) _wrap_DatePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48096 { (char *)"DatePickerCtrl_SetValue", (PyCFunction
) _wrap_DatePickerCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48097 { (char *)"DatePickerCtrl_GetValue", (PyCFunction
)_wrap_DatePickerCtrl_GetValue
, METH_O
, NULL
},
48098 { (char *)"DatePickerCtrl_SetRange", (PyCFunction
) _wrap_DatePickerCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48099 { (char *)"DatePickerCtrl_GetLowerLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetLowerLimit
, METH_O
, NULL
},
48100 { (char *)"DatePickerCtrl_GetUpperLimit", (PyCFunction
)_wrap_DatePickerCtrl_GetUpperLimit
, METH_O
, NULL
},
48101 { (char *)"DatePickerCtrl_swigregister", DatePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48102 { (char *)"DatePickerCtrl_swiginit", DatePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48103 { (char *)"new_HyperlinkCtrl", (PyCFunction
) _wrap_new_HyperlinkCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48104 { (char *)"new_PreHyperlinkCtrl", (PyCFunction
)_wrap_new_PreHyperlinkCtrl
, METH_NOARGS
, NULL
},
48105 { (char *)"HyperlinkCtrl_Create", (PyCFunction
) _wrap_HyperlinkCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48106 { (char *)"HyperlinkCtrl_GetHoverColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetHoverColour
, METH_O
, NULL
},
48107 { (char *)"HyperlinkCtrl_SetHoverColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetHoverColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48108 { (char *)"HyperlinkCtrl_GetNormalColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetNormalColour
, METH_O
, NULL
},
48109 { (char *)"HyperlinkCtrl_SetNormalColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetNormalColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48110 { (char *)"HyperlinkCtrl_GetVisitedColour", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisitedColour
, METH_O
, NULL
},
48111 { (char *)"HyperlinkCtrl_SetVisitedColour", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisitedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48112 { (char *)"HyperlinkCtrl_GetURL", (PyCFunction
)_wrap_HyperlinkCtrl_GetURL
, METH_O
, NULL
},
48113 { (char *)"HyperlinkCtrl_SetURL", (PyCFunction
) _wrap_HyperlinkCtrl_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48114 { (char *)"HyperlinkCtrl_SetVisited", (PyCFunction
) _wrap_HyperlinkCtrl_SetVisited
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48115 { (char *)"HyperlinkCtrl_GetVisited", (PyCFunction
)_wrap_HyperlinkCtrl_GetVisited
, METH_O
, NULL
},
48116 { (char *)"HyperlinkCtrl_swigregister", HyperlinkCtrl_swigregister
, METH_VARARGS
, NULL
},
48117 { (char *)"HyperlinkCtrl_swiginit", HyperlinkCtrl_swiginit
, METH_VARARGS
, NULL
},
48118 { (char *)"new_HyperlinkEvent", (PyCFunction
) _wrap_new_HyperlinkEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48119 { (char *)"HyperlinkEvent_GetURL", (PyCFunction
)_wrap_HyperlinkEvent_GetURL
, METH_O
, NULL
},
48120 { (char *)"HyperlinkEvent_SetURL", (PyCFunction
) _wrap_HyperlinkEvent_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48121 { (char *)"HyperlinkEvent_swigregister", HyperlinkEvent_swigregister
, METH_VARARGS
, NULL
},
48122 { (char *)"HyperlinkEvent_swiginit", HyperlinkEvent_swiginit
, METH_VARARGS
, NULL
},
48123 { (char *)"PickerBase_CreateBase", (PyCFunction
) _wrap_PickerBase_CreateBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48124 { (char *)"PickerBase_SetInternalMargin", (PyCFunction
) _wrap_PickerBase_SetInternalMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48125 { (char *)"PickerBase_GetInternalMargin", (PyCFunction
)_wrap_PickerBase_GetInternalMargin
, METH_O
, NULL
},
48126 { (char *)"PickerBase_SetTextCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetTextCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48127 { (char *)"PickerBase_GetTextCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetTextCtrlProportion
, METH_O
, NULL
},
48128 { (char *)"PickerBase_SetPickerCtrlProportion", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48129 { (char *)"PickerBase_GetPickerCtrlProportion", (PyCFunction
)_wrap_PickerBase_GetPickerCtrlProportion
, METH_O
, NULL
},
48130 { (char *)"PickerBase_IsTextCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsTextCtrlGrowable
, METH_O
, NULL
},
48131 { (char *)"PickerBase_SetTextCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetTextCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48132 { (char *)"PickerBase_IsPickerCtrlGrowable", (PyCFunction
)_wrap_PickerBase_IsPickerCtrlGrowable
, METH_O
, NULL
},
48133 { (char *)"PickerBase_SetPickerCtrlGrowable", (PyCFunction
) _wrap_PickerBase_SetPickerCtrlGrowable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48134 { (char *)"PickerBase_HasTextCtrl", (PyCFunction
)_wrap_PickerBase_HasTextCtrl
, METH_O
, NULL
},
48135 { (char *)"PickerBase_GetTextCtrl", (PyCFunction
)_wrap_PickerBase_GetTextCtrl
, METH_O
, NULL
},
48136 { (char *)"PickerBase_GetPickerCtrl", (PyCFunction
)_wrap_PickerBase_GetPickerCtrl
, METH_O
, NULL
},
48137 { (char *)"PickerBase_swigregister", PickerBase_swigregister
, METH_VARARGS
, NULL
},
48138 { (char *)"new_ColourPickerCtrl", (PyCFunction
) _wrap_new_ColourPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48139 { (char *)"new_PreColourPickerCtrl", (PyCFunction
)_wrap_new_PreColourPickerCtrl
, METH_NOARGS
, NULL
},
48140 { (char *)"ColourPickerCtrl_Create", (PyCFunction
) _wrap_ColourPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48141 { (char *)"ColourPickerCtrl_GetColour", (PyCFunction
)_wrap_ColourPickerCtrl_GetColour
, METH_O
, NULL
},
48142 { (char *)"ColourPickerCtrl_SetColour", (PyCFunction
) _wrap_ColourPickerCtrl_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48143 { (char *)"ColourPickerCtrl_swigregister", ColourPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48144 { (char *)"ColourPickerCtrl_swiginit", ColourPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48145 { (char *)"new_ColourPickerEvent", (PyCFunction
) _wrap_new_ColourPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48146 { (char *)"ColourPickerEvent_GetColour", (PyCFunction
)_wrap_ColourPickerEvent_GetColour
, METH_O
, NULL
},
48147 { (char *)"ColourPickerEvent_SetColour", (PyCFunction
) _wrap_ColourPickerEvent_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48148 { (char *)"ColourPickerEvent_swigregister", ColourPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48149 { (char *)"ColourPickerEvent_swiginit", ColourPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48150 { (char *)"new_FilePickerCtrl", (PyCFunction
) _wrap_new_FilePickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48151 { (char *)"new_PreFilePickerCtrl", (PyCFunction
)_wrap_new_PreFilePickerCtrl
, METH_NOARGS
, NULL
},
48152 { (char *)"FilePickerCtrl_Create", (PyCFunction
) _wrap_FilePickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48153 { (char *)"FilePickerCtrl_GetPath", (PyCFunction
)_wrap_FilePickerCtrl_GetPath
, METH_O
, NULL
},
48154 { (char *)"FilePickerCtrl_SetPath", (PyCFunction
) _wrap_FilePickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48155 { (char *)"FilePickerCtrl_CheckPath", (PyCFunction
) _wrap_FilePickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48156 { (char *)"FilePickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_FilePickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48157 { (char *)"FilePickerCtrl_swigregister", FilePickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48158 { (char *)"FilePickerCtrl_swiginit", FilePickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48159 { (char *)"new_DirPickerCtrl", (PyCFunction
) _wrap_new_DirPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48160 { (char *)"new_PreDirPickerCtrl", (PyCFunction
)_wrap_new_PreDirPickerCtrl
, METH_NOARGS
, NULL
},
48161 { (char *)"DirPickerCtrl_Create", (PyCFunction
) _wrap_DirPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48162 { (char *)"DirPickerCtrl_GetPath", (PyCFunction
)_wrap_DirPickerCtrl_GetPath
, METH_O
, NULL
},
48163 { (char *)"DirPickerCtrl_SetPath", (PyCFunction
) _wrap_DirPickerCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48164 { (char *)"DirPickerCtrl_CheckPath", (PyCFunction
) _wrap_DirPickerCtrl_CheckPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48165 { (char *)"DirPickerCtrl_GetTextCtrlValue", (PyCFunction
)_wrap_DirPickerCtrl_GetTextCtrlValue
, METH_O
, NULL
},
48166 { (char *)"DirPickerCtrl_swigregister", DirPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48167 { (char *)"DirPickerCtrl_swiginit", DirPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48168 { (char *)"new_FileDirPickerEvent", (PyCFunction
) _wrap_new_FileDirPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48169 { (char *)"FileDirPickerEvent_GetPath", (PyCFunction
)_wrap_FileDirPickerEvent_GetPath
, METH_O
, NULL
},
48170 { (char *)"FileDirPickerEvent_SetPath", (PyCFunction
) _wrap_FileDirPickerEvent_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48171 { (char *)"FileDirPickerEvent_swigregister", FileDirPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48172 { (char *)"FileDirPickerEvent_swiginit", FileDirPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48173 { (char *)"new_FontPickerCtrl", (PyCFunction
) _wrap_new_FontPickerCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48174 { (char *)"new_PreFontPickerCtrl", (PyCFunction
)_wrap_new_PreFontPickerCtrl
, METH_NOARGS
, NULL
},
48175 { (char *)"FontPickerCtrl_Create", (PyCFunction
) _wrap_FontPickerCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48176 { (char *)"FontPickerCtrl_GetSelectedFont", (PyCFunction
)_wrap_FontPickerCtrl_GetSelectedFont
, METH_O
, NULL
},
48177 { (char *)"FontPickerCtrl_SetSelectedFont", (PyCFunction
) _wrap_FontPickerCtrl_SetSelectedFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48178 { (char *)"FontPickerCtrl_SetMaxPointSize", (PyCFunction
) _wrap_FontPickerCtrl_SetMaxPointSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48179 { (char *)"FontPickerCtrl_GetMaxPointSize", (PyCFunction
)_wrap_FontPickerCtrl_GetMaxPointSize
, METH_O
, NULL
},
48180 { (char *)"FontPickerCtrl_swigregister", FontPickerCtrl_swigregister
, METH_VARARGS
, NULL
},
48181 { (char *)"FontPickerCtrl_swiginit", FontPickerCtrl_swiginit
, METH_VARARGS
, NULL
},
48182 { (char *)"new_FontPickerEvent", (PyCFunction
) _wrap_new_FontPickerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48183 { (char *)"FontPickerEvent_GetFont", (PyCFunction
)_wrap_FontPickerEvent_GetFont
, METH_O
, NULL
},
48184 { (char *)"FontPickerEvent_SetFont", (PyCFunction
) _wrap_FontPickerEvent_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48185 { (char *)"FontPickerEvent_swigregister", FontPickerEvent_swigregister
, METH_VARARGS
, NULL
},
48186 { (char *)"FontPickerEvent_swiginit", FontPickerEvent_swiginit
, METH_VARARGS
, NULL
},
48187 { (char *)"new_CollapsiblePane", (PyCFunction
) _wrap_new_CollapsiblePane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48188 { (char *)"new_PreCollapsiblePane", (PyCFunction
)_wrap_new_PreCollapsiblePane
, METH_NOARGS
, NULL
},
48189 { (char *)"CollapsiblePane_Create", (PyCFunction
) _wrap_CollapsiblePane_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48190 { (char *)"CollapsiblePane_Collapse", (PyCFunction
) _wrap_CollapsiblePane_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48191 { (char *)"CollapsiblePane_Expand", (PyCFunction
)_wrap_CollapsiblePane_Expand
, METH_O
, NULL
},
48192 { (char *)"CollapsiblePane_IsCollapsed", (PyCFunction
)_wrap_CollapsiblePane_IsCollapsed
, METH_O
, NULL
},
48193 { (char *)"CollapsiblePane_IsExpanded", (PyCFunction
)_wrap_CollapsiblePane_IsExpanded
, METH_O
, NULL
},
48194 { (char *)"CollapsiblePane_GetPane", (PyCFunction
)_wrap_CollapsiblePane_GetPane
, METH_O
, NULL
},
48195 { (char *)"CollapsiblePane_swigregister", CollapsiblePane_swigregister
, METH_VARARGS
, NULL
},
48196 { (char *)"CollapsiblePane_swiginit", CollapsiblePane_swiginit
, METH_VARARGS
, NULL
},
48197 { (char *)"new_CollapsiblePaneEvent", (PyCFunction
) _wrap_new_CollapsiblePaneEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48198 { (char *)"CollapsiblePaneEvent_GetCollapsed", (PyCFunction
)_wrap_CollapsiblePaneEvent_GetCollapsed
, METH_O
, NULL
},
48199 { (char *)"CollapsiblePaneEvent_SetCollapsed", (PyCFunction
) _wrap_CollapsiblePaneEvent_SetCollapsed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48200 { (char *)"CollapsiblePaneEvent_swigregister", CollapsiblePaneEvent_swigregister
, METH_VARARGS
, NULL
},
48201 { (char *)"CollapsiblePaneEvent_swiginit", CollapsiblePaneEvent_swiginit
, METH_VARARGS
, NULL
},
48202 { (char *)"new_SearchCtrl", (PyCFunction
) _wrap_new_SearchCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48203 { (char *)"new_PreSearchCtrl", (PyCFunction
)_wrap_new_PreSearchCtrl
, METH_NOARGS
, NULL
},
48204 { (char *)"SearchCtrl_Create", (PyCFunction
) _wrap_SearchCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48205 { (char *)"SearchCtrl_SetMenu", (PyCFunction
) _wrap_SearchCtrl_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48206 { (char *)"SearchCtrl_GetMenu", (PyCFunction
)_wrap_SearchCtrl_GetMenu
, METH_O
, NULL
},
48207 { (char *)"SearchCtrl_ShowSearchButton", (PyCFunction
) _wrap_SearchCtrl_ShowSearchButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48208 { (char *)"SearchCtrl_IsSearchButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsSearchButtonVisible
, METH_O
, NULL
},
48209 { (char *)"SearchCtrl_ShowCancelButton", (PyCFunction
) _wrap_SearchCtrl_ShowCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48210 { (char *)"SearchCtrl_IsCancelButtonVisible", (PyCFunction
)_wrap_SearchCtrl_IsCancelButtonVisible
, METH_O
, NULL
},
48211 { (char *)"SearchCtrl_SetDescriptiveText", (PyCFunction
) _wrap_SearchCtrl_SetDescriptiveText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48212 { (char *)"SearchCtrl_GetDescriptiveText", (PyCFunction
)_wrap_SearchCtrl_GetDescriptiveText
, METH_O
, NULL
},
48213 { (char *)"SearchCtrl_SetSearchBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48214 { (char *)"SearchCtrl_SetSearchMenuBitmap", (PyCFunction
) _wrap_SearchCtrl_SetSearchMenuBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48215 { (char *)"SearchCtrl_SetCancelBitmap", (PyCFunction
) _wrap_SearchCtrl_SetCancelBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
48216 { (char *)"SearchCtrl_swigregister", SearchCtrl_swigregister
, METH_VARARGS
, NULL
},
48217 { (char *)"SearchCtrl_swiginit", SearchCtrl_swiginit
, METH_VARARGS
, NULL
},
48218 { NULL
, NULL
, 0, NULL
}
48222 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
48224 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
48225 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
48227 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
48228 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
48230 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
48231 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
48233 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
48234 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
48236 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
48237 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
48239 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
48240 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48242 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
48243 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48245 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
48246 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
48248 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x
) {
48249 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48251 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x
) {
48252 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48254 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x
) {
48255 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48257 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
48258 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
48260 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
48261 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
48263 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
48264 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48266 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
48267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48269 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
48270 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
48272 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
48273 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
48275 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
48276 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
48278 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
48279 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48281 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
48282 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48284 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
48285 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48287 static void *_p_wxTreebookEventTo_p_wxEvent(void *x
) {
48288 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48290 static void *_p_wxToolbookEventTo_p_wxEvent(void *x
) {
48291 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48293 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
48294 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
48296 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
48297 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
48299 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
48300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48302 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
48303 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48305 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
48306 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
48308 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
48309 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
48311 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
48312 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
48314 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
48315 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
48317 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
48318 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
48320 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
48321 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
48323 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x
) {
48324 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48326 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
48327 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
48329 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
48330 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
48332 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
48333 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48335 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
48336 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48338 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
48339 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48341 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
48342 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48344 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
48345 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48347 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
48348 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48350 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x
) {
48351 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48353 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
48354 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
48356 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
48357 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
48359 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
48360 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
48362 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
48363 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
48365 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
48366 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
48368 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
48369 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
48371 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
48372 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
48374 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
48375 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
48377 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
48378 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
48380 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
48381 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
48383 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
48384 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48386 static void *_p_wxColourPickerCtrlTo_p_wxPickerBase(void *x
) {
48387 return (void *)((wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48389 static void *_p_wxFilePickerCtrlTo_p_wxPickerBase(void *x
) {
48390 return (void *)((wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48392 static void *_p_wxDirPickerCtrlTo_p_wxPickerBase(void *x
) {
48393 return (void *)((wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48395 static void *_p_wxFontPickerCtrlTo_p_wxPickerBase(void *x
) {
48396 return (void *)((wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48398 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
48399 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
48401 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
48402 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48404 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
48405 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48407 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
48408 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
48410 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
48411 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48413 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
48414 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48416 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
48417 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
48419 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x
) {
48420 return (void *)((wxControl
*) ((wxCollapsiblePane
*) x
));
48422 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
48423 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
48425 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
48426 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
48428 static void *_p_wxPickerBaseTo_p_wxControl(void *x
) {
48429 return (void *)((wxControl
*) ((wxPickerBase
*) x
));
48431 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
48432 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
48434 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
48435 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
48437 static void *_p_wxSearchCtrlTo_p_wxControl(void *x
) {
48438 return (void *)((wxControl
*) (wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48440 static void *_p_wxToolbookTo_p_wxControl(void *x
) {
48441 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxToolbook
*) x
));
48443 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
48444 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
48446 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
48447 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48449 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
48450 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
48452 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
48453 return (void *)((wxControl
*) ((wxComboBox
*) x
));
48455 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
48456 return (void *)((wxControl
*) ((wxPyControl
*) x
));
48458 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
48459 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
48461 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
48462 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
48464 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
48465 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
48467 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
48468 return (void *)((wxControl
*) ((wxGauge
*) x
));
48470 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
48471 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
48473 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
48474 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48476 static void *_p_wxListbookTo_p_wxControl(void *x
) {
48477 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
48479 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x
) {
48480 return (void *)((wxControl
*) ((wxHyperlinkCtrl
*) x
));
48482 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
48483 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
48485 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
48486 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
48488 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
48489 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
48491 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
48492 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
48494 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
48495 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
48497 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
48498 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48500 static void *_p_wxListViewTo_p_wxControl(void *x
) {
48501 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
48503 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
48504 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
48506 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
48507 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
48509 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
48510 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
48512 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
48513 return (void *)((wxControl
*) ((wxStaticText
*) x
));
48515 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
48516 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
48518 static void *_p_wxSliderTo_p_wxControl(void *x
) {
48519 return (void *)((wxControl
*) ((wxSlider
*) x
));
48521 static void *_p_wxTreebookTo_p_wxControl(void *x
) {
48522 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxTreebook
*) x
));
48524 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
48525 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
48527 static void *_p_wxButtonTo_p_wxControl(void *x
) {
48528 return (void *)((wxControl
*) ((wxButton
*) x
));
48530 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
48531 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
48533 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
48534 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48536 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x
) {
48537 return (void *)((wxControl
*) ((wxDatePickerCtrl
*) x
));
48539 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x
) {
48540 return (void *)((wxControl
*) (wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48542 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x
) {
48543 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48545 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x
) {
48546 return (void *)((wxControl
*) (wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48548 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x
) {
48549 return (void *)((wxControl
*) (wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48551 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
48552 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
48554 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
48555 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
48557 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
48558 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48560 static void *_p_wxSearchCtrlTo_p_wxTextCtrl(void *x
) {
48561 return (void *)((wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48563 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
48564 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
48566 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
48567 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
48569 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
48570 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
48572 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
48573 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
48575 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
48576 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
48578 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
48579 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
48581 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
48582 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
48584 static void *_p_wxTreebookEventTo_p_wxNotifyEvent(void *x
) {
48585 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
48587 static void *_p_wxToolbookEventTo_p_wxNotifyEvent(void *x
) {
48588 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
48590 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
48591 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48593 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
48594 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
48596 static void *_p_wxToolbookTo_p_wxBookCtrlBase(void *x
) {
48597 return (void *)((wxBookCtrlBase
*) ((wxToolbook
*) x
));
48599 static void *_p_wxTreebookTo_p_wxBookCtrlBase(void *x
) {
48600 return (void *)((wxBookCtrlBase
*) ((wxTreebook
*) x
));
48602 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
48603 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
48605 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x
) {
48606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
48608 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
48609 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
48611 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
48612 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
48614 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
48615 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48617 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
48618 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
48620 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
48621 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
48623 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
48624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
48626 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x
) {
48627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48629 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
48630 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
48632 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
48633 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48635 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
48636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48638 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x
) {
48639 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48641 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
48642 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
48644 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x
) {
48645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48647 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
48648 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
48650 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
48651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
48653 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
48654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48656 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
48657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48659 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
48660 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48662 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
48663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48665 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
48666 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
48668 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
48669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48671 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
48672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
48674 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
48675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
48677 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
48678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48680 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
48681 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48683 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
48684 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48686 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
48687 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48689 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x
) {
48690 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
48692 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
48693 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48695 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
48696 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48698 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
48699 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
48701 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
48702 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
48704 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
48705 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
48707 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
48708 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48710 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
48711 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48713 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
48714 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48716 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
48717 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48719 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
48720 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
48722 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
48723 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
48725 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
48726 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48728 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
48729 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48731 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x
) {
48732 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48734 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
48735 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
48737 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
48738 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
48740 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
48741 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
48743 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
48744 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48746 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x
) {
48747 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
48749 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x
) {
48750 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
48752 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x
) {
48753 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
48755 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x
) {
48756 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
48758 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x
) {
48759 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
48761 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
48762 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48764 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
48765 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
48767 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
48768 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
48770 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
48771 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48773 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
48774 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
48776 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
48777 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
48779 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
48780 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
48782 static void *_p_wxToolbookTo_p_wxObject(void *x
) {
48783 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
48785 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
48786 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
48788 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
48789 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
48791 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
48792 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
48794 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
48795 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
48797 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
48798 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
48800 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
48801 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
48803 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
48804 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
48806 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
48807 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
48809 static void *_p_wxSizerTo_p_wxObject(void *x
) {
48810 return (void *)((wxObject
*) ((wxSizer
*) x
));
48812 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
48813 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
48815 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
48816 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
48818 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
48819 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
48821 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
48822 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
48824 static void *_p_wxEventTo_p_wxObject(void *x
) {
48825 return (void *)((wxObject
*) ((wxEvent
*) x
));
48827 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
48828 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
48830 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
48831 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
48833 static void *_p_wxSearchCtrlTo_p_wxObject(void *x
) {
48834 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
48836 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
48837 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
48839 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
48840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
48842 static void *_p_wxPickerBaseTo_p_wxObject(void *x
) {
48843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPickerBase
*) x
));
48845 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
48846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
48848 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
48849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
48851 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
48852 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
48854 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
48855 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
48857 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
48858 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
48860 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
48861 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
48863 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
48864 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
48866 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
48867 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
48869 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
48870 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
48872 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
48873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
48875 static void *_p_wxControlTo_p_wxObject(void *x
) {
48876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
48878 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
48879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
48881 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
48882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
48884 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
48885 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
48887 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
48888 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
48890 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
48891 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
48893 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
48894 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
48896 static void *_p_wxColourPickerEventTo_p_wxObject(void *x
) {
48897 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
48899 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x
) {
48900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
48902 static void *_p_wxFontPickerEventTo_p_wxObject(void *x
) {
48903 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
48905 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
48906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
48908 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
48909 return (void *)((wxObject
*) ((wxFSFile
*) x
));
48911 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
48912 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
48914 static void *_p_wxTreebookTo_p_wxObject(void *x
) {
48915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
48917 static void *_p_wxListViewTo_p_wxObject(void *x
) {
48918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
48920 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x
) {
48921 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
48923 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
48924 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
48926 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
48927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
48929 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
48930 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
48932 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
48933 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
48935 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
48936 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
48938 static void *_p_wxListbookTo_p_wxObject(void *x
) {
48939 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
48941 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
48942 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
48944 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
48945 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
48947 static void *_p_wxSliderTo_p_wxObject(void *x
) {
48948 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
48950 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
48951 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
48953 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
48954 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
48956 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
48957 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
48959 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
48960 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
48962 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
48963 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
48965 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
48966 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
48968 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
48969 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
48971 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
48972 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
48974 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
48975 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
48977 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
48978 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
48980 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
48981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
48983 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
48984 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
48986 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x
) {
48987 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
48989 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
48990 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
48992 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
48993 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
48995 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
48996 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
48998 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
48999 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
49001 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
49002 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
49004 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
49005 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
49007 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
49008 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
49010 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
49011 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
49013 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
49014 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
49016 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
49017 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
49019 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
49020 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
49022 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
49023 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
49025 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
49026 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
49028 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
49029 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
49031 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
49032 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
49034 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
49035 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
49037 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
49038 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
49040 static void *_p_wxListEventTo_p_wxObject(void *x
) {
49041 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
49043 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
49044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49046 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
49047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49049 static void *_p_wxButtonTo_p_wxObject(void *x
) {
49050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
49052 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
49053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49055 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
49056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
49058 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
49059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49061 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
49062 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
49064 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
49065 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
49067 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
49068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
49070 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
49071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
49073 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
49074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
49076 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
49077 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
49079 static void *_p_wxListItemTo_p_wxObject(void *x
) {
49080 return (void *)((wxObject
*) ((wxListItem
*) x
));
49082 static void *_p_wxImageTo_p_wxObject(void *x
) {
49083 return (void *)((wxObject
*) ((wxImage
*) x
));
49085 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
49086 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
49088 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
49089 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49091 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
49092 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
49094 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
49095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
49097 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
49098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49100 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
49101 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49103 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
49104 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49106 static void *_p_wxTreebookEventTo_p_wxObject(void *x
) {
49107 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49109 static void *_p_wxToolbookEventTo_p_wxObject(void *x
) {
49110 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49112 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
49113 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49115 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
49116 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
49118 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
49119 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
49121 static void *_p_wxWindowTo_p_wxObject(void *x
) {
49122 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
49124 static void *_p_wxMenuTo_p_wxObject(void *x
) {
49125 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
49127 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
49128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
49130 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
49131 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
49133 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x
) {
49134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCollapsiblePane
*) x
));
49136 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
49137 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49139 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
49140 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
49142 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
49143 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
49145 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
49146 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
49148 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
49149 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
49151 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
49152 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
49154 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
49155 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49157 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
49158 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49160 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
49161 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49163 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
49164 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
49166 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
49167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
49169 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
49170 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
49172 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
49173 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
49175 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
49176 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49178 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x
) {
49179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxDatePickerCtrl
*) x
));
49181 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x
) {
49182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49184 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x
) {
49185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49187 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x
) {
49188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49190 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x
) {
49191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49193 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
49194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
49196 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x
) {
49197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxHyperlinkCtrl
*) x
));
49199 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
49200 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
49202 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
49203 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49205 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
49206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
49208 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
49209 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
49211 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x
) {
49212 return (void *)((wxWindow
*) (wxControl
*) ((wxCollapsiblePane
*) x
));
49214 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
49215 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
49217 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
49218 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
49220 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
49221 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
49223 static void *_p_wxPickerBaseTo_p_wxWindow(void *x
) {
49224 return (void *)((wxWindow
*) (wxControl
*) ((wxPickerBase
*) x
));
49226 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
49227 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
49229 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
49230 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
49232 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x
) {
49233 return (void *)((wxWindow
*) (wxControl
*)(wxTextCtrl
*) ((wxSearchCtrl
*) x
));
49235 static void *_p_wxToolbookTo_p_wxWindow(void *x
) {
49236 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxToolbook
*) x
));
49238 static void *_p_wxControlTo_p_wxWindow(void *x
) {
49239 return (void *)((wxWindow
*) ((wxControl
*) x
));
49241 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
49242 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
49244 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
49245 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
49247 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
49248 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
49250 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
49251 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49253 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
49254 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
49256 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
49257 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
49259 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
49260 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
49262 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
49263 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
49265 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
49266 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
49268 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
49269 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
49271 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
49272 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
49274 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
49275 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
49277 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x
) {
49278 return (void *)((wxWindow
*) (wxControl
*) ((wxHyperlinkCtrl
*) x
));
49280 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
49281 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
49283 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
49284 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
49286 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
49287 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
49289 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
49290 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
49292 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
49293 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
49295 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
49296 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
49298 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
49299 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
49301 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
49302 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
49304 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
49305 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
49307 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
49308 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
49310 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
49311 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
49313 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
49314 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
49316 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
49317 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
49319 static void *_p_wxTreebookTo_p_wxWindow(void *x
) {
49320 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxTreebook
*) x
));
49322 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
49323 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
49325 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
49326 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
49328 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
49329 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
49331 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
49332 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
49334 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x
) {
49335 return (void *)((wxWindow
*) (wxControl
*) ((wxDatePickerCtrl
*) x
));
49337 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x
) {
49338 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxColourPickerCtrl
*) x
));
49340 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x
) {
49341 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFilePickerCtrl
*) x
));
49343 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x
) {
49344 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxDirPickerCtrl
*) x
));
49346 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x
) {
49347 return (void *)((wxWindow
*) (wxControl
*)(wxPickerBase
*) ((wxFontPickerCtrl
*) x
));
49349 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
49350 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
49352 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49353 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49355 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49356 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49358 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49359 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49361 static void *_p_wxTreebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49362 return (void *)((wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49364 static void *_p_wxToolbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
49365 return (void *)((wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49367 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
49368 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
49370 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x
) {
49371 return (void *)((wxCommandEvent
*) ((wxHyperlinkEvent
*) x
));
49373 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
49374 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
49376 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x
) {
49377 return (void *)((wxCommandEvent
*) ((wxColourPickerEvent
*) x
));
49379 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x
) {
49380 return (void *)((wxCommandEvent
*) ((wxFileDirPickerEvent
*) x
));
49382 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x
) {
49383 return (void *)((wxCommandEvent
*) ((wxFontPickerEvent
*) x
));
49385 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
49386 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
49388 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
49389 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
49391 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
49392 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
49394 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
49395 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
49397 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
49398 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
49400 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
49401 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
49403 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
49404 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
49406 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
49407 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
49409 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x
) {
49410 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxTreebookEvent
*) x
));
49412 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x
) {
49413 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxToolbookEvent
*) x
));
49415 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
49416 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
49418 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
49419 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
49421 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
49422 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
49424 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x
) {
49425 return (void *)((wxCommandEvent
*) ((wxCollapsiblePaneEvent
*) x
));
49427 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
49428 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
49430 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
49431 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
49433 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
49434 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
49436 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
49437 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
49439 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
49440 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
49442 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
49443 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
49445 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
49446 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
49448 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
49449 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
49451 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
49452 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
49454 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
49455 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
49457 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
49458 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
49460 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
49461 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
49462 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};
49463 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
49464 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
49465 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
49466 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
49467 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
49468 static swig_type_info _swigt__p_void
= {"_p_void", "void *", 0, 0, (void*)0, 0};
49469 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
49470 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
49471 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
49472 static swig_type_info _swigt__p_wxBitmapButton
= {"_p_wxBitmapButton", "wxBitmapButton *", 0, 0, (void*)0, 0};
49473 static swig_type_info _swigt__p_wxBookCtrlBase
= {"_p_wxBookCtrlBase", "wxBookCtrlBase *", 0, 0, (void*)0, 0};
49474 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
= {"_p_wxBookCtrlBaseEvent", "wxBookCtrlBaseEvent *", 0, 0, (void*)0, 0};
49475 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
49476 static swig_type_info _swigt__p_wxCheckBox
= {"_p_wxCheckBox", "wxCheckBox *", 0, 0, (void*)0, 0};
49477 static swig_type_info _swigt__p_wxCheckListBox
= {"_p_wxCheckListBox", "wxCheckListBox *", 0, 0, (void*)0, 0};
49478 static swig_type_info _swigt__p_wxChoice
= {"_p_wxChoice", "wxChoice *", 0, 0, (void*)0, 0};
49479 static swig_type_info _swigt__p_wxChoicebook
= {"_p_wxChoicebook", "wxChoicebook *", 0, 0, (void*)0, 0};
49480 static swig_type_info _swigt__p_wxChoicebookEvent
= {"_p_wxChoicebookEvent", "wxChoicebookEvent *", 0, 0, (void*)0, 0};
49481 static swig_type_info _swigt__p_wxCollapsiblePane
= {"_p_wxCollapsiblePane", "wxCollapsiblePane *", 0, 0, (void*)0, 0};
49482 static swig_type_info _swigt__p_wxCollapsiblePaneEvent
= {"_p_wxCollapsiblePaneEvent", "wxCollapsiblePaneEvent *", 0, 0, (void*)0, 0};
49483 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
49484 static swig_type_info _swigt__p_wxColourPickerCtrl
= {"_p_wxColourPickerCtrl", "wxColourPickerCtrl *", 0, 0, (void*)0, 0};
49485 static swig_type_info _swigt__p_wxColourPickerEvent
= {"_p_wxColourPickerEvent", "wxColourPickerEvent *", 0, 0, (void*)0, 0};
49486 static swig_type_info _swigt__p_wxComboBox
= {"_p_wxComboBox", "wxComboBox *", 0, 0, (void*)0, 0};
49487 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
49488 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
49489 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
49490 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
49491 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
49492 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
49493 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
49494 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
49495 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
49496 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
49497 static swig_type_info _swigt__p_wxContextHelp
= {"_p_wxContextHelp", "wxContextHelp *", 0, 0, (void*)0, 0};
49498 static swig_type_info _swigt__p_wxContextHelpButton
= {"_p_wxContextHelpButton", "wxContextHelpButton *", 0, 0, (void*)0, 0};
49499 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
49500 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
49501 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
49502 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
49503 static swig_type_info _swigt__p_wxDatePickerCtrl
= {"_p_wxDatePickerCtrl", "wxDatePickerCtrl *", 0, 0, (void*)0, 0};
49504 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
49505 static swig_type_info _swigt__p_wxDirFilterListCtrl
= {"_p_wxDirFilterListCtrl", "wxDirFilterListCtrl *", 0, 0, (void*)0, 0};
49506 static swig_type_info _swigt__p_wxDirPickerCtrl
= {"_p_wxDirPickerCtrl", "wxDirPickerCtrl *", 0, 0, (void*)0, 0};
49507 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
49508 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
49509 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
49510 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
49511 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
49512 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
49513 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
49514 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
49515 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
49516 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
49517 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
49518 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
49519 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
49520 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
49521 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
49522 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
49523 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
49524 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
49525 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
49526 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
49527 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
49528 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
49529 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
49530 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
49531 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
49532 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
49533 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
49534 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
49535 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
49536 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", 0, 0, 0, 0, 0};
49537 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
49538 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
49539 static swig_type_info _swigt__p_wxFileDirPickerEvent
= {"_p_wxFileDirPickerEvent", "wxFileDirPickerEvent *", 0, 0, (void*)0, 0};
49540 static swig_type_info _swigt__p_wxFilePickerCtrl
= {"_p_wxFilePickerCtrl", "wxFilePickerCtrl *", 0, 0, (void*)0, 0};
49541 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
49542 static swig_type_info _swigt__p_wxFontPickerCtrl
= {"_p_wxFontPickerCtrl", "wxFontPickerCtrl *", 0, 0, (void*)0, 0};
49543 static swig_type_info _swigt__p_wxFontPickerEvent
= {"_p_wxFontPickerEvent", "wxFontPickerEvent *", 0, 0, (void*)0, 0};
49544 static swig_type_info _swigt__p_wxGauge
= {"_p_wxGauge", "wxGauge *", 0, 0, (void*)0, 0};
49545 static swig_type_info _swigt__p_wxGenericDirCtrl
= {"_p_wxGenericDirCtrl", "wxGenericDirCtrl *", 0, 0, (void*)0, 0};
49546 static swig_type_info _swigt__p_wxGenericDragImage
= {"_p_wxGenericDragImage", "wxGenericDragImage *", 0, 0, (void*)0, 0};
49547 static swig_type_info _swigt__p_wxHelpEvent
= {"_p_wxHelpEvent", "wxHelpEvent *", 0, 0, (void*)0, 0};
49548 static swig_type_info _swigt__p_wxHelpProvider
= {"_p_wxHelpProvider", "wxHelpProvider *", 0, 0, (void*)0, 0};
49549 static swig_type_info _swigt__p_wxHyperlinkCtrl
= {"_p_wxHyperlinkCtrl", "wxHyperlinkCtrl *", 0, 0, (void*)0, 0};
49550 static swig_type_info _swigt__p_wxHyperlinkEvent
= {"_p_wxHyperlinkEvent", "wxHyperlinkEvent *", 0, 0, (void*)0, 0};
49551 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
49552 static swig_type_info _swigt__p_wxImageList
= {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
49553 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
49554 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
49555 static swig_type_info _swigt__p_wxListBox
= {"_p_wxListBox", "wxListBox *", 0, 0, (void*)0, 0};
49556 static swig_type_info _swigt__p_wxListEvent
= {"_p_wxListEvent", "wxListEvent *", 0, 0, (void*)0, 0};
49557 static swig_type_info _swigt__p_wxListItem
= {"_p_wxListItem", "wxListItem *", 0, 0, (void*)0, 0};
49558 static swig_type_info _swigt__p_wxListItemAttr
= {"_p_wxListItemAttr", "wxListItemAttr *", 0, 0, (void*)0, 0};
49559 static swig_type_info _swigt__p_wxListView
= {"_p_wxListView", "wxListView *", 0, 0, (void*)0, 0};
49560 static swig_type_info _swigt__p_wxListbook
= {"_p_wxListbook", "wxListbook *", 0, 0, (void*)0, 0};
49561 static swig_type_info _swigt__p_wxListbookEvent
= {"_p_wxListbookEvent", "wxListbookEvent *", 0, 0, (void*)0, 0};
49562 static swig_type_info _swigt__p_wxMemoryDC
= {"_p_wxMemoryDC", "wxMemoryDC *", 0, 0, (void*)0, 0};
49563 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
49564 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
49565 static swig_type_info _swigt__p_wxNotebook
= {"_p_wxNotebook", "wxNotebook *", 0, 0, (void*)0, 0};
49566 static swig_type_info _swigt__p_wxNotebookEvent
= {"_p_wxNotebookEvent", "wxNotebookEvent *", 0, 0, (void*)0, 0};
49567 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
49568 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
49569 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
49570 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
49571 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
49572 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
49573 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
49574 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
49575 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
49576 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
49577 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
49578 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
49579 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
49580 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
49581 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
49582 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
49583 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
49584 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
49585 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
49586 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
49587 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
49588 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
49589 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
49590 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
49591 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
49592 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
49593 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
49594 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
49595 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
49596 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
49597 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
49598 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
49599 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", 0, 0, 0, 0, 0};
49600 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
49601 static swig_type_info _swigt__p_wxPickerBase
= {"_p_wxPickerBase", "wxPickerBase *", 0, 0, (void*)0, 0};
49602 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
49603 static swig_type_info _swigt__p_wxPyControl
= {"_p_wxPyControl", "wxPyControl *", 0, 0, (void*)0, 0};
49604 static swig_type_info _swigt__p_wxPyListCtrl
= {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
49605 static swig_type_info _swigt__p_wxPyTreeCtrl
= {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
49606 static swig_type_info _swigt__p_wxPyTreeItemData
= {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
49607 static swig_type_info _swigt__p_wxRadioBox
= {"_p_wxRadioBox", "wxRadioBox *", 0, 0, (void*)0, 0};
49608 static swig_type_info _swigt__p_wxRadioButton
= {"_p_wxRadioButton", "wxRadioButton *", 0, 0, (void*)0, 0};
49609 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
49610 static swig_type_info _swigt__p_wxScrollBar
= {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
49611 static swig_type_info _swigt__p_wxSearchCtrl
= {"_p_wxSearchCtrl", "wxSearchCtrl *", 0, 0, (void*)0, 0};
49612 static swig_type_info _swigt__p_wxSimpleHelpProvider
= {"_p_wxSimpleHelpProvider", "wxSimpleHelpProvider *", 0, 0, (void*)0, 0};
49613 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
49614 static swig_type_info _swigt__p_wxSlider
= {"_p_wxSlider", "wxSlider *", 0, 0, (void*)0, 0};
49615 static swig_type_info _swigt__p_wxSpinButton
= {"_p_wxSpinButton", "wxSpinButton *", 0, 0, (void*)0, 0};
49616 static swig_type_info _swigt__p_wxSpinCtrl
= {"_p_wxSpinCtrl", "wxSpinCtrl *", 0, 0, (void*)0, 0};
49617 static swig_type_info _swigt__p_wxSpinEvent
= {"_p_wxSpinEvent", "wxSpinEvent *", 0, 0, (void*)0, 0};
49618 static swig_type_info _swigt__p_wxStaticBitmap
= {"_p_wxStaticBitmap", "wxStaticBitmap *", 0, 0, (void*)0, 0};
49619 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
49620 static swig_type_info _swigt__p_wxStaticLine
= {"_p_wxStaticLine", "wxStaticLine *", 0, 0, (void*)0, 0};
49621 static swig_type_info _swigt__p_wxStaticText
= {"_p_wxStaticText", "wxStaticText *", 0, 0, (void*)0, 0};
49622 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
49623 static swig_type_info _swigt__p_wxTextAttr
= {"_p_wxTextAttr", "wxTextAttr *", 0, 0, (void*)0, 0};
49624 static swig_type_info _swigt__p_wxTextCtrl
= {"_p_wxTextCtrl", "wxTextCtrl *", 0, 0, (void*)0, 0};
49625 static swig_type_info _swigt__p_wxTextUrlEvent
= {"_p_wxTextUrlEvent", "wxTextUrlEvent *", 0, 0, (void*)0, 0};
49626 static swig_type_info _swigt__p_wxToggleButton
= {"_p_wxToggleButton", "wxToggleButton *", 0, 0, (void*)0, 0};
49627 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
49628 static swig_type_info _swigt__p_wxToolBarBase
= {"_p_wxToolBarBase", "wxToolBarBase *", 0, 0, (void*)0, 0};
49629 static swig_type_info _swigt__p_wxToolBarToolBase
= {"_p_wxToolBarToolBase", "wxToolBarToolBase *", 0, 0, (void*)0, 0};
49630 static swig_type_info _swigt__p_wxToolbook
= {"_p_wxToolbook", "wxToolbook *", 0, 0, (void*)0, 0};
49631 static swig_type_info _swigt__p_wxToolbookEvent
= {"_p_wxToolbookEvent", "wxToolbookEvent *", 0, 0, (void*)0, 0};
49632 static swig_type_info _swigt__p_wxTreeEvent
= {"_p_wxTreeEvent", "wxTreeEvent *", 0, 0, (void*)0, 0};
49633 static swig_type_info _swigt__p_wxTreeItemId
= {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
49634 static swig_type_info _swigt__p_wxTreebook
= {"_p_wxTreebook", "wxTreebook *", 0, 0, (void*)0, 0};
49635 static swig_type_info _swigt__p_wxTreebookEvent
= {"_p_wxTreebookEvent", "wxTreebookEvent *", 0, 0, (void*)0, 0};
49636 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
49637 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
49638 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
49639 static swig_type_info _swigt__p_wxWindowBase
= {"_p_wxWindowBase", "wxWindowBase *", 0, 0, (void*)0, 0};
49641 static swig_type_info
*swig_type_initial
[] = {
49644 &_swigt__p_form_ops_t
,
49647 &_swigt__p_unsigned_char
,
49648 &_swigt__p_unsigned_int
,
49649 &_swigt__p_unsigned_long
,
49651 &_swigt__p_wxANIHandler
,
49652 &_swigt__p_wxAcceleratorTable
,
49653 &_swigt__p_wxActivateEvent
,
49654 &_swigt__p_wxArrayInt
,
49655 &_swigt__p_wxArrayString
,
49656 &_swigt__p_wxBMPHandler
,
49657 &_swigt__p_wxBitmap
,
49658 &_swigt__p_wxBitmapButton
,
49659 &_swigt__p_wxBookCtrlBase
,
49660 &_swigt__p_wxBookCtrlBaseEvent
,
49661 &_swigt__p_wxBoxSizer
,
49662 &_swigt__p_wxButton
,
49663 &_swigt__p_wxCURHandler
,
49664 &_swigt__p_wxCheckBox
,
49665 &_swigt__p_wxCheckListBox
,
49666 &_swigt__p_wxChildFocusEvent
,
49667 &_swigt__p_wxChoice
,
49668 &_swigt__p_wxChoicebook
,
49669 &_swigt__p_wxChoicebookEvent
,
49670 &_swigt__p_wxClipboardTextEvent
,
49671 &_swigt__p_wxCloseEvent
,
49672 &_swigt__p_wxCollapsiblePane
,
49673 &_swigt__p_wxCollapsiblePaneEvent
,
49674 &_swigt__p_wxColour
,
49675 &_swigt__p_wxColourPickerCtrl
,
49676 &_swigt__p_wxColourPickerEvent
,
49677 &_swigt__p_wxComboBox
,
49678 &_swigt__p_wxCommandEvent
,
49679 &_swigt__p_wxContextHelp
,
49680 &_swigt__p_wxContextHelpButton
,
49681 &_swigt__p_wxContextMenuEvent
,
49682 &_swigt__p_wxControl
,
49683 &_swigt__p_wxControlWithItems
,
49684 &_swigt__p_wxCursor
,
49686 &_swigt__p_wxDateEvent
,
49687 &_swigt__p_wxDatePickerCtrl
,
49688 &_swigt__p_wxDateTime
,
49689 &_swigt__p_wxDirFilterListCtrl
,
49690 &_swigt__p_wxDirPickerCtrl
,
49691 &_swigt__p_wxDisplayChangedEvent
,
49692 &_swigt__p_wxDropFilesEvent
,
49693 &_swigt__p_wxDuplexMode
,
49694 &_swigt__p_wxEraseEvent
,
49695 &_swigt__p_wxEvent
,
49696 &_swigt__p_wxEventBlocker
,
49697 &_swigt__p_wxEvtHandler
,
49698 &_swigt__p_wxFSFile
,
49699 &_swigt__p_wxFileDirPickerEvent
,
49700 &_swigt__p_wxFilePickerCtrl
,
49701 &_swigt__p_wxFileSystem
,
49702 &_swigt__p_wxFlexGridSizer
,
49703 &_swigt__p_wxFocusEvent
,
49705 &_swigt__p_wxFontPickerCtrl
,
49706 &_swigt__p_wxFontPickerEvent
,
49707 &_swigt__p_wxGBSizerItem
,
49708 &_swigt__p_wxGIFHandler
,
49709 &_swigt__p_wxGauge
,
49710 &_swigt__p_wxGenericDirCtrl
,
49711 &_swigt__p_wxGenericDragImage
,
49712 &_swigt__p_wxGridBagSizer
,
49713 &_swigt__p_wxGridSizer
,
49714 &_swigt__p_wxHelpEvent
,
49715 &_swigt__p_wxHelpProvider
,
49716 &_swigt__p_wxHyperlinkCtrl
,
49717 &_swigt__p_wxHyperlinkEvent
,
49718 &_swigt__p_wxICOHandler
,
49720 &_swigt__p_wxIconizeEvent
,
49721 &_swigt__p_wxIdleEvent
,
49722 &_swigt__p_wxImage
,
49723 &_swigt__p_wxImageHandler
,
49724 &_swigt__p_wxImageList
,
49725 &_swigt__p_wxIndividualLayoutConstraint
,
49726 &_swigt__p_wxInitDialogEvent
,
49727 &_swigt__p_wxItemContainer
,
49728 &_swigt__p_wxJPEGHandler
,
49729 &_swigt__p_wxKeyEvent
,
49730 &_swigt__p_wxLayoutConstraints
,
49731 &_swigt__p_wxListBox
,
49732 &_swigt__p_wxListEvent
,
49733 &_swigt__p_wxListItem
,
49734 &_swigt__p_wxListItemAttr
,
49735 &_swigt__p_wxListView
,
49736 &_swigt__p_wxListbook
,
49737 &_swigt__p_wxListbookEvent
,
49738 &_swigt__p_wxMaximizeEvent
,
49739 &_swigt__p_wxMemoryDC
,
49741 &_swigt__p_wxMenuBar
,
49742 &_swigt__p_wxMenuEvent
,
49743 &_swigt__p_wxMenuItem
,
49744 &_swigt__p_wxMouseCaptureChangedEvent
,
49745 &_swigt__p_wxMouseCaptureLostEvent
,
49746 &_swigt__p_wxMouseEvent
,
49747 &_swigt__p_wxMoveEvent
,
49748 &_swigt__p_wxNavigationKeyEvent
,
49749 &_swigt__p_wxNcPaintEvent
,
49750 &_swigt__p_wxNotebook
,
49751 &_swigt__p_wxNotebookEvent
,
49752 &_swigt__p_wxNotifyEvent
,
49753 &_swigt__p_wxObject
,
49754 &_swigt__p_wxPCXHandler
,
49755 &_swigt__p_wxPNGHandler
,
49756 &_swigt__p_wxPNMHandler
,
49757 &_swigt__p_wxPaintEvent
,
49758 &_swigt__p_wxPaletteChangedEvent
,
49759 &_swigt__p_wxPaperSize
,
49760 &_swigt__p_wxPickerBase
,
49761 &_swigt__p_wxPoint
,
49762 &_swigt__p_wxPyApp
,
49763 &_swigt__p_wxPyCommandEvent
,
49764 &_swigt__p_wxPyControl
,
49765 &_swigt__p_wxPyEvent
,
49766 &_swigt__p_wxPyImageHandler
,
49767 &_swigt__p_wxPyListCtrl
,
49768 &_swigt__p_wxPySizer
,
49769 &_swigt__p_wxPyTreeCtrl
,
49770 &_swigt__p_wxPyTreeItemData
,
49771 &_swigt__p_wxPyValidator
,
49772 &_swigt__p_wxQueryNewPaletteEvent
,
49773 &_swigt__p_wxRadioBox
,
49774 &_swigt__p_wxRadioButton
,
49776 &_swigt__p_wxScrollBar
,
49777 &_swigt__p_wxScrollEvent
,
49778 &_swigt__p_wxScrollWinEvent
,
49779 &_swigt__p_wxSearchCtrl
,
49780 &_swigt__p_wxSetCursorEvent
,
49781 &_swigt__p_wxShowEvent
,
49782 &_swigt__p_wxSimpleHelpProvider
,
49784 &_swigt__p_wxSizeEvent
,
49785 &_swigt__p_wxSizer
,
49786 &_swigt__p_wxSizerItem
,
49787 &_swigt__p_wxSlider
,
49788 &_swigt__p_wxSpinButton
,
49789 &_swigt__p_wxSpinCtrl
,
49790 &_swigt__p_wxSpinEvent
,
49791 &_swigt__p_wxStaticBitmap
,
49792 &_swigt__p_wxStaticBox
,
49793 &_swigt__p_wxStaticBoxSizer
,
49794 &_swigt__p_wxStaticLine
,
49795 &_swigt__p_wxStaticText
,
49796 &_swigt__p_wxStdDialogButtonSizer
,
49797 &_swigt__p_wxString
,
49798 &_swigt__p_wxSysColourChangedEvent
,
49799 &_swigt__p_wxTGAHandler
,
49800 &_swigt__p_wxTIFFHandler
,
49801 &_swigt__p_wxTextAttr
,
49802 &_swigt__p_wxTextCtrl
,
49803 &_swigt__p_wxTextUrlEvent
,
49804 &_swigt__p_wxToggleButton
,
49805 &_swigt__p_wxToolBar
,
49806 &_swigt__p_wxToolBarBase
,
49807 &_swigt__p_wxToolBarToolBase
,
49808 &_swigt__p_wxToolbook
,
49809 &_swigt__p_wxToolbookEvent
,
49810 &_swigt__p_wxTreeEvent
,
49811 &_swigt__p_wxTreeItemId
,
49812 &_swigt__p_wxTreebook
,
49813 &_swigt__p_wxTreebookEvent
,
49814 &_swigt__p_wxUpdateUIEvent
,
49815 &_swigt__p_wxValidator
,
49816 &_swigt__p_wxVisualAttributes
,
49817 &_swigt__p_wxWindow
,
49818 &_swigt__p_wxWindowBase
,
49819 &_swigt__p_wxWindowCreateEvent
,
49820 &_swigt__p_wxWindowDestroyEvent
,
49821 &_swigt__p_wxXPMHandler
,
49824 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
49825 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
49826 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
49827 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
49828 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
49829 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
49830 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
49831 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
49832 static swig_cast_info _swigc__p_void
[] = { {&_swigt__p_void
, 0, 0, 0},{0, 0, 0, 0}};
49833 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
49834 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
49835 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49836 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}};
49837 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}};
49838 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}};
49839 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}};
49840 static swig_cast_info _swigc__p_wxCheckBox
[] = { {&_swigt__p_wxCheckBox
, 0, 0, 0},{0, 0, 0, 0}};
49841 static swig_cast_info _swigc__p_wxCheckListBox
[] = { {&_swigt__p_wxCheckListBox
, 0, 0, 0},{0, 0, 0, 0}};
49842 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}};
49843 static swig_cast_info _swigc__p_wxChoicebook
[] = { {&_swigt__p_wxChoicebook
, 0, 0, 0},{0, 0, 0, 0}};
49844 static swig_cast_info _swigc__p_wxChoicebookEvent
[] = { {&_swigt__p_wxChoicebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49845 static swig_cast_info _swigc__p_wxCollapsiblePane
[] = { {&_swigt__p_wxCollapsiblePane
, 0, 0, 0},{0, 0, 0, 0}};
49846 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent
[] = { {&_swigt__p_wxCollapsiblePaneEvent
, 0, 0, 0},{0, 0, 0, 0}};
49847 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
49848 static swig_cast_info _swigc__p_wxColourPickerCtrl
[] = { {&_swigt__p_wxColourPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49849 static swig_cast_info _swigc__p_wxColourPickerEvent
[] = { {&_swigt__p_wxColourPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49850 static swig_cast_info _swigc__p_wxComboBox
[] = { {&_swigt__p_wxComboBox
, 0, 0, 0},{0, 0, 0, 0}};
49851 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49852 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
49853 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
49854 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
49855 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49856 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49857 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49858 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49859 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
49860 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}};
49861 static swig_cast_info _swigc__p_wxContextHelp
[] = { {&_swigt__p_wxContextHelp
, 0, 0, 0},{0, 0, 0, 0}};
49862 static swig_cast_info _swigc__p_wxContextHelpButton
[] = { {&_swigt__p_wxContextHelpButton
, 0, 0, 0},{0, 0, 0, 0}};
49863 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}};
49864 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}};
49865 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
49866 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
49867 static swig_cast_info _swigc__p_wxDatePickerCtrl
[] = { {&_swigt__p_wxDatePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49868 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
49869 static swig_cast_info _swigc__p_wxDirFilterListCtrl
[] = { {&_swigt__p_wxDirFilterListCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49870 static swig_cast_info _swigc__p_wxDirPickerCtrl
[] = { {&_swigt__p_wxDirPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49871 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
49872 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
49873 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49874 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49875 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
49876 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
49877 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49878 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
49879 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
49880 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49881 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49882 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
49883 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49884 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
49885 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
49886 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49887 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
49888 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49889 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49890 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49891 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
49892 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
49893 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
49894 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
49895 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49896 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = {{&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49897 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}};
49898 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
49899 static swig_cast_info _swigc__p_wxMenuBar
[] = {{&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
49900 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
49901 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
49902 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxCollapsiblePane
, _p_wxCollapsiblePaneTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEventBlocker
, _p_wxEventBlockerTo_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_wxListBox
, _p_wxListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxChoice
, _p_wxChoiceTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxCheckListBox
, _p_wxCheckListBoxTo_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}};
49903 static swig_cast_info _swigc__p_wxFileDirPickerEvent
[] = { {&_swigt__p_wxFileDirPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49904 static swig_cast_info _swigc__p_wxFilePickerCtrl
[] = { {&_swigt__p_wxFilePickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49905 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
49906 static swig_cast_info _swigc__p_wxFontPickerCtrl
[] = { {&_swigt__p_wxFontPickerCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49907 static swig_cast_info _swigc__p_wxFontPickerEvent
[] = { {&_swigt__p_wxFontPickerEvent
, 0, 0, 0},{0, 0, 0, 0}};
49908 static swig_cast_info _swigc__p_wxGauge
[] = { {&_swigt__p_wxGauge
, 0, 0, 0},{0, 0, 0, 0}};
49909 static swig_cast_info _swigc__p_wxGenericDirCtrl
[] = { {&_swigt__p_wxGenericDirCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49910 static swig_cast_info _swigc__p_wxGenericDragImage
[] = { {&_swigt__p_wxGenericDragImage
, 0, 0, 0},{0, 0, 0, 0}};
49911 static swig_cast_info _swigc__p_wxHelpEvent
[] = { {&_swigt__p_wxHelpEvent
, 0, 0, 0},{0, 0, 0, 0}};
49912 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}};
49913 static swig_cast_info _swigc__p_wxHyperlinkCtrl
[] = { {&_swigt__p_wxHyperlinkCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49914 static swig_cast_info _swigc__p_wxHyperlinkEvent
[] = { {&_swigt__p_wxHyperlinkEvent
, 0, 0, 0},{0, 0, 0, 0}};
49915 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
49916 static swig_cast_info _swigc__p_wxImageList
[] = { {&_swigt__p_wxImageList
, 0, 0, 0},{0, 0, 0, 0}};
49917 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}};
49918 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
49919 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}};
49920 static swig_cast_info _swigc__p_wxListEvent
[] = { {&_swigt__p_wxListEvent
, 0, 0, 0},{0, 0, 0, 0}};
49921 static swig_cast_info _swigc__p_wxListItem
[] = { {&_swigt__p_wxListItem
, 0, 0, 0},{0, 0, 0, 0}};
49922 static swig_cast_info _swigc__p_wxListItemAttr
[] = { {&_swigt__p_wxListItemAttr
, 0, 0, 0},{0, 0, 0, 0}};
49923 static swig_cast_info _swigc__p_wxListView
[] = { {&_swigt__p_wxListView
, 0, 0, 0},{0, 0, 0, 0}};
49924 static swig_cast_info _swigc__p_wxListbook
[] = { {&_swigt__p_wxListbook
, 0, 0, 0},{0, 0, 0, 0}};
49925 static swig_cast_info _swigc__p_wxListbookEvent
[] = { {&_swigt__p_wxListbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49926 static swig_cast_info _swigc__p_wxMemoryDC
[] = { {&_swigt__p_wxMemoryDC
, 0, 0, 0},{0, 0, 0, 0}};
49927 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
49928 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
49929 static swig_cast_info _swigc__p_wxNotebook
[] = { {&_swigt__p_wxNotebook
, 0, 0, 0},{0, 0, 0, 0}};
49930 static swig_cast_info _swigc__p_wxNotebookEvent
[] = { {&_swigt__p_wxNotebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49931 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}};
49932 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
49933 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49934 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
49935 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
49936 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49937 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49938 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
49939 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
49940 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49941 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
49942 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
49943 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
49944 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
49945 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49946 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49947 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
49948 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49949 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
49950 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
49951 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
49952 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
49953 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
49954 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49955 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
49956 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
49957 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
49958 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
49959 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
49960 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = {{&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
49961 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
49962 static swig_cast_info _swigc__p_wxFileSystem
[] = {{&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
49963 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_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_wxPyControl
, _p_wxPyControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_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_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_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}};
49964 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
49965 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}};
49966 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
49967 static swig_cast_info _swigc__p_wxPyControl
[] = { {&_swigt__p_wxPyControl
, 0, 0, 0},{0, 0, 0, 0}};
49968 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}};
49969 static swig_cast_info _swigc__p_wxPyTreeCtrl
[] = { {&_swigt__p_wxPyTreeCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49970 static swig_cast_info _swigc__p_wxPyTreeItemData
[] = { {&_swigt__p_wxPyTreeItemData
, 0, 0, 0},{0, 0, 0, 0}};
49971 static swig_cast_info _swigc__p_wxRadioBox
[] = { {&_swigt__p_wxRadioBox
, 0, 0, 0},{0, 0, 0, 0}};
49972 static swig_cast_info _swigc__p_wxRadioButton
[] = { {&_swigt__p_wxRadioButton
, 0, 0, 0},{0, 0, 0, 0}};
49973 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
49974 static swig_cast_info _swigc__p_wxScrollBar
[] = { {&_swigt__p_wxScrollBar
, 0, 0, 0},{0, 0, 0, 0}};
49975 static swig_cast_info _swigc__p_wxSearchCtrl
[] = { {&_swigt__p_wxSearchCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49976 static swig_cast_info _swigc__p_wxSimpleHelpProvider
[] = { {&_swigt__p_wxSimpleHelpProvider
, 0, 0, 0},{0, 0, 0, 0}};
49977 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
49978 static swig_cast_info _swigc__p_wxSlider
[] = { {&_swigt__p_wxSlider
, 0, 0, 0},{0, 0, 0, 0}};
49979 static swig_cast_info _swigc__p_wxSpinButton
[] = { {&_swigt__p_wxSpinButton
, 0, 0, 0},{0, 0, 0, 0}};
49980 static swig_cast_info _swigc__p_wxSpinCtrl
[] = { {&_swigt__p_wxSpinCtrl
, 0, 0, 0},{0, 0, 0, 0}};
49981 static swig_cast_info _swigc__p_wxSpinEvent
[] = { {&_swigt__p_wxSpinEvent
, 0, 0, 0},{0, 0, 0, 0}};
49982 static swig_cast_info _swigc__p_wxStaticBitmap
[] = { {&_swigt__p_wxStaticBitmap
, 0, 0, 0},{0, 0, 0, 0}};
49983 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
49984 static swig_cast_info _swigc__p_wxStaticLine
[] = { {&_swigt__p_wxStaticLine
, 0, 0, 0},{0, 0, 0, 0}};
49985 static swig_cast_info _swigc__p_wxStaticText
[] = { {&_swigt__p_wxStaticText
, 0, 0, 0},{0, 0, 0, 0}};
49986 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
49987 static swig_cast_info _swigc__p_wxTextAttr
[] = { {&_swigt__p_wxTextAttr
, 0, 0, 0},{0, 0, 0, 0}};
49988 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}};
49989 static swig_cast_info _swigc__p_wxTextUrlEvent
[] = { {&_swigt__p_wxTextUrlEvent
, 0, 0, 0},{0, 0, 0, 0}};
49990 static swig_cast_info _swigc__p_wxToggleButton
[] = { {&_swigt__p_wxToggleButton
, 0, 0, 0},{0, 0, 0, 0}};
49991 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
49992 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}};
49993 static swig_cast_info _swigc__p_wxToolBarToolBase
[] = { {&_swigt__p_wxToolBarToolBase
, 0, 0, 0},{0, 0, 0, 0}};
49994 static swig_cast_info _swigc__p_wxToolbook
[] = { {&_swigt__p_wxToolbook
, 0, 0, 0},{0, 0, 0, 0}};
49995 static swig_cast_info _swigc__p_wxToolbookEvent
[] = { {&_swigt__p_wxToolbookEvent
, 0, 0, 0},{0, 0, 0, 0}};
49996 static swig_cast_info _swigc__p_wxTreeEvent
[] = { {&_swigt__p_wxTreeEvent
, 0, 0, 0},{0, 0, 0, 0}};
49997 static swig_cast_info _swigc__p_wxTreeItemId
[] = { {&_swigt__p_wxTreeItemId
, 0, 0, 0},{0, 0, 0, 0}};
49998 static swig_cast_info _swigc__p_wxTreebook
[] = { {&_swigt__p_wxTreebook
, 0, 0, 0},{0, 0, 0, 0}};
49999 static swig_cast_info _swigc__p_wxTreebookEvent
[] = { {&_swigt__p_wxTreebookEvent
, 0, 0, 0},{0, 0, 0, 0}};
50000 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}};
50001 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
50002 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}};
50003 static swig_cast_info _swigc__p_wxWindowBase
[] = { {&_swigt__p_wxWindowBase
, 0, 0, 0},{0, 0, 0, 0}};
50005 static swig_cast_info
*swig_cast_initial
[] = {
50008 _swigc__p_form_ops_t
,
50011 _swigc__p_unsigned_char
,
50012 _swigc__p_unsigned_int
,
50013 _swigc__p_unsigned_long
,
50015 _swigc__p_wxANIHandler
,
50016 _swigc__p_wxAcceleratorTable
,
50017 _swigc__p_wxActivateEvent
,
50018 _swigc__p_wxArrayInt
,
50019 _swigc__p_wxArrayString
,
50020 _swigc__p_wxBMPHandler
,
50021 _swigc__p_wxBitmap
,
50022 _swigc__p_wxBitmapButton
,
50023 _swigc__p_wxBookCtrlBase
,
50024 _swigc__p_wxBookCtrlBaseEvent
,
50025 _swigc__p_wxBoxSizer
,
50026 _swigc__p_wxButton
,
50027 _swigc__p_wxCURHandler
,
50028 _swigc__p_wxCheckBox
,
50029 _swigc__p_wxCheckListBox
,
50030 _swigc__p_wxChildFocusEvent
,
50031 _swigc__p_wxChoice
,
50032 _swigc__p_wxChoicebook
,
50033 _swigc__p_wxChoicebookEvent
,
50034 _swigc__p_wxClipboardTextEvent
,
50035 _swigc__p_wxCloseEvent
,
50036 _swigc__p_wxCollapsiblePane
,
50037 _swigc__p_wxCollapsiblePaneEvent
,
50038 _swigc__p_wxColour
,
50039 _swigc__p_wxColourPickerCtrl
,
50040 _swigc__p_wxColourPickerEvent
,
50041 _swigc__p_wxComboBox
,
50042 _swigc__p_wxCommandEvent
,
50043 _swigc__p_wxContextHelp
,
50044 _swigc__p_wxContextHelpButton
,
50045 _swigc__p_wxContextMenuEvent
,
50046 _swigc__p_wxControl
,
50047 _swigc__p_wxControlWithItems
,
50048 _swigc__p_wxCursor
,
50050 _swigc__p_wxDateEvent
,
50051 _swigc__p_wxDatePickerCtrl
,
50052 _swigc__p_wxDateTime
,
50053 _swigc__p_wxDirFilterListCtrl
,
50054 _swigc__p_wxDirPickerCtrl
,
50055 _swigc__p_wxDisplayChangedEvent
,
50056 _swigc__p_wxDropFilesEvent
,
50057 _swigc__p_wxDuplexMode
,
50058 _swigc__p_wxEraseEvent
,
50060 _swigc__p_wxEventBlocker
,
50061 _swigc__p_wxEvtHandler
,
50062 _swigc__p_wxFSFile
,
50063 _swigc__p_wxFileDirPickerEvent
,
50064 _swigc__p_wxFilePickerCtrl
,
50065 _swigc__p_wxFileSystem
,
50066 _swigc__p_wxFlexGridSizer
,
50067 _swigc__p_wxFocusEvent
,
50069 _swigc__p_wxFontPickerCtrl
,
50070 _swigc__p_wxFontPickerEvent
,
50071 _swigc__p_wxGBSizerItem
,
50072 _swigc__p_wxGIFHandler
,
50074 _swigc__p_wxGenericDirCtrl
,
50075 _swigc__p_wxGenericDragImage
,
50076 _swigc__p_wxGridBagSizer
,
50077 _swigc__p_wxGridSizer
,
50078 _swigc__p_wxHelpEvent
,
50079 _swigc__p_wxHelpProvider
,
50080 _swigc__p_wxHyperlinkCtrl
,
50081 _swigc__p_wxHyperlinkEvent
,
50082 _swigc__p_wxICOHandler
,
50084 _swigc__p_wxIconizeEvent
,
50085 _swigc__p_wxIdleEvent
,
50087 _swigc__p_wxImageHandler
,
50088 _swigc__p_wxImageList
,
50089 _swigc__p_wxIndividualLayoutConstraint
,
50090 _swigc__p_wxInitDialogEvent
,
50091 _swigc__p_wxItemContainer
,
50092 _swigc__p_wxJPEGHandler
,
50093 _swigc__p_wxKeyEvent
,
50094 _swigc__p_wxLayoutConstraints
,
50095 _swigc__p_wxListBox
,
50096 _swigc__p_wxListEvent
,
50097 _swigc__p_wxListItem
,
50098 _swigc__p_wxListItemAttr
,
50099 _swigc__p_wxListView
,
50100 _swigc__p_wxListbook
,
50101 _swigc__p_wxListbookEvent
,
50102 _swigc__p_wxMaximizeEvent
,
50103 _swigc__p_wxMemoryDC
,
50105 _swigc__p_wxMenuBar
,
50106 _swigc__p_wxMenuEvent
,
50107 _swigc__p_wxMenuItem
,
50108 _swigc__p_wxMouseCaptureChangedEvent
,
50109 _swigc__p_wxMouseCaptureLostEvent
,
50110 _swigc__p_wxMouseEvent
,
50111 _swigc__p_wxMoveEvent
,
50112 _swigc__p_wxNavigationKeyEvent
,
50113 _swigc__p_wxNcPaintEvent
,
50114 _swigc__p_wxNotebook
,
50115 _swigc__p_wxNotebookEvent
,
50116 _swigc__p_wxNotifyEvent
,
50117 _swigc__p_wxObject
,
50118 _swigc__p_wxPCXHandler
,
50119 _swigc__p_wxPNGHandler
,
50120 _swigc__p_wxPNMHandler
,
50121 _swigc__p_wxPaintEvent
,
50122 _swigc__p_wxPaletteChangedEvent
,
50123 _swigc__p_wxPaperSize
,
50124 _swigc__p_wxPickerBase
,
50127 _swigc__p_wxPyCommandEvent
,
50128 _swigc__p_wxPyControl
,
50129 _swigc__p_wxPyEvent
,
50130 _swigc__p_wxPyImageHandler
,
50131 _swigc__p_wxPyListCtrl
,
50132 _swigc__p_wxPySizer
,
50133 _swigc__p_wxPyTreeCtrl
,
50134 _swigc__p_wxPyTreeItemData
,
50135 _swigc__p_wxPyValidator
,
50136 _swigc__p_wxQueryNewPaletteEvent
,
50137 _swigc__p_wxRadioBox
,
50138 _swigc__p_wxRadioButton
,
50140 _swigc__p_wxScrollBar
,
50141 _swigc__p_wxScrollEvent
,
50142 _swigc__p_wxScrollWinEvent
,
50143 _swigc__p_wxSearchCtrl
,
50144 _swigc__p_wxSetCursorEvent
,
50145 _swigc__p_wxShowEvent
,
50146 _swigc__p_wxSimpleHelpProvider
,
50148 _swigc__p_wxSizeEvent
,
50150 _swigc__p_wxSizerItem
,
50151 _swigc__p_wxSlider
,
50152 _swigc__p_wxSpinButton
,
50153 _swigc__p_wxSpinCtrl
,
50154 _swigc__p_wxSpinEvent
,
50155 _swigc__p_wxStaticBitmap
,
50156 _swigc__p_wxStaticBox
,
50157 _swigc__p_wxStaticBoxSizer
,
50158 _swigc__p_wxStaticLine
,
50159 _swigc__p_wxStaticText
,
50160 _swigc__p_wxStdDialogButtonSizer
,
50161 _swigc__p_wxString
,
50162 _swigc__p_wxSysColourChangedEvent
,
50163 _swigc__p_wxTGAHandler
,
50164 _swigc__p_wxTIFFHandler
,
50165 _swigc__p_wxTextAttr
,
50166 _swigc__p_wxTextCtrl
,
50167 _swigc__p_wxTextUrlEvent
,
50168 _swigc__p_wxToggleButton
,
50169 _swigc__p_wxToolBar
,
50170 _swigc__p_wxToolBarBase
,
50171 _swigc__p_wxToolBarToolBase
,
50172 _swigc__p_wxToolbook
,
50173 _swigc__p_wxToolbookEvent
,
50174 _swigc__p_wxTreeEvent
,
50175 _swigc__p_wxTreeItemId
,
50176 _swigc__p_wxTreebook
,
50177 _swigc__p_wxTreebookEvent
,
50178 _swigc__p_wxUpdateUIEvent
,
50179 _swigc__p_wxValidator
,
50180 _swigc__p_wxVisualAttributes
,
50181 _swigc__p_wxWindow
,
50182 _swigc__p_wxWindowBase
,
50183 _swigc__p_wxWindowCreateEvent
,
50184 _swigc__p_wxWindowDestroyEvent
,
50185 _swigc__p_wxXPMHandler
,
50189 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
50191 static swig_const_info swig_const_table
[] = {
50192 {0, 0, 0, 0.0, 0, 0}};
50197 /* -----------------------------------------------------------------------------
50198 * Type initialization:
50199 * This problem is tough by the requirement that no dynamic
50200 * memory is used. Also, since swig_type_info structures store pointers to
50201 * swig_cast_info structures and swig_cast_info structures store pointers back
50202 * to swig_type_info structures, we need some lookup code at initialization.
50203 * The idea is that swig generates all the structures that are needed.
50204 * The runtime then collects these partially filled structures.
50205 * The SWIG_InitializeModule function takes these initial arrays out of
50206 * swig_module, and does all the lookup, filling in the swig_module.types
50207 * array with the correct data and linking the correct swig_cast_info
50208 * structures together.
50210 * The generated swig_type_info structures are assigned staticly to an initial
50211 * array. We just loop though that array, and handle each type individually.
50212 * First we lookup if this type has been already loaded, and if so, use the
50213 * loaded structure instead of the generated one. Then we have to fill in the
50214 * cast linked list. The cast data is initially stored in something like a
50215 * two-dimensional array. Each row corresponds to a type (there are the same
50216 * number of rows as there are in the swig_type_initial array). Each entry in
50217 * a column is one of the swig_cast_info structures for that type.
50218 * The cast_initial array is actually an array of arrays, because each row has
50219 * a variable number of columns. So to actually build the cast linked list,
50220 * we find the array of casts associated with the type, and loop through it
50221 * adding the casts to the list. The one last trick we need to do is making
50222 * sure the type pointer in the swig_cast_info struct is correct.
50224 * First off, we lookup the cast->type name to see if it is already loaded.
50225 * There are three cases to handle:
50226 * 1) If the cast->type has already been loaded AND the type we are adding
50227 * casting info to has not been loaded (it is in this module), THEN we
50228 * replace the cast->type pointer with the type pointer that has already
50230 * 2) If BOTH types (the one we are adding casting info to, and the
50231 * cast->type) are loaded, THEN the cast info has already been loaded by
50232 * the previous module so we just ignore it.
50233 * 3) Finally, if cast->type has not already been loaded, then we add that
50234 * swig_cast_info to the linked list (because the cast->type) pointer will
50236 * ----------------------------------------------------------------------------- */
50246 #define SWIGRUNTIME_DEBUG
50250 SWIG_InitializeModule(void *clientdata
) {
50252 swig_module_info
*module_head
;
50253 static int init_run
= 0;
50255 clientdata
= clientdata
;
50257 if (init_run
) return;
50260 /* Initialize the swig_module */
50261 swig_module
.type_initial
= swig_type_initial
;
50262 swig_module
.cast_initial
= swig_cast_initial
;
50264 /* Try and load any already created modules */
50265 module_head
= SWIG_GetModule(clientdata
);
50267 swig_module
.next
= module_head
->next
;
50268 module_head
->next
= &swig_module
;
50270 /* This is the first module loaded */
50271 swig_module
.next
= &swig_module
;
50272 SWIG_SetModule(clientdata
, &swig_module
);
50275 /* Now work on filling in swig_module.types */
50276 #ifdef SWIGRUNTIME_DEBUG
50277 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
50279 for (i
= 0; i
< swig_module
.size
; ++i
) {
50280 swig_type_info
*type
= 0;
50281 swig_type_info
*ret
;
50282 swig_cast_info
*cast
;
50284 #ifdef SWIGRUNTIME_DEBUG
50285 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50288 /* if there is another module already loaded */
50289 if (swig_module
.next
!= &swig_module
) {
50290 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
50293 /* Overwrite clientdata field */
50294 #ifdef SWIGRUNTIME_DEBUG
50295 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
50297 if (swig_module
.type_initial
[i
]->clientdata
) {
50298 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
50299 #ifdef SWIGRUNTIME_DEBUG
50300 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
50304 type
= swig_module
.type_initial
[i
];
50307 /* Insert casting types */
50308 cast
= swig_module
.cast_initial
[i
];
50309 while (cast
->type
) {
50310 /* Don't need to add information already in the list */
50312 #ifdef SWIGRUNTIME_DEBUG
50313 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
50315 if (swig_module
.next
!= &swig_module
) {
50316 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
50317 #ifdef SWIGRUNTIME_DEBUG
50318 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
50322 if (type
== swig_module
.type_initial
[i
]) {
50323 #ifdef SWIGRUNTIME_DEBUG
50324 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
50329 /* Check for casting already in the list */
50330 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
50331 #ifdef SWIGRUNTIME_DEBUG
50332 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
50334 if (!ocast
) ret
= 0;
50339 #ifdef SWIGRUNTIME_DEBUG
50340 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
50343 type
->cast
->prev
= cast
;
50344 cast
->next
= type
->cast
;
50350 /* Set entry in modules->types array equal to the type */
50351 swig_module
.types
[i
] = type
;
50353 swig_module
.types
[i
] = 0;
50355 #ifdef SWIGRUNTIME_DEBUG
50356 printf("**** SWIG_InitializeModule: Cast List ******\n");
50357 for (i
= 0; i
< swig_module
.size
; ++i
) {
50359 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
50360 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
50361 while (cast
->type
) {
50362 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
50366 printf("---- Total casts: %d\n",j
);
50368 printf("**** SWIG_InitializeModule: Cast List ******\n");
50372 /* This function will propagate the clientdata field of type to
50373 * any new swig_type_info structures that have been added into the list
50374 * of equivalent types. It is like calling
50375 * SWIG_TypeClientData(type, clientdata) a second time.
50378 SWIG_PropagateClientData(void) {
50380 swig_cast_info
*equiv
;
50381 static int init_run
= 0;
50383 if (init_run
) return;
50386 for (i
= 0; i
< swig_module
.size
; i
++) {
50387 if (swig_module
.types
[i
]->clientdata
) {
50388 equiv
= swig_module
.types
[i
]->cast
;
50390 if (!equiv
->converter
) {
50391 if (equiv
->type
&& !equiv
->type
->clientdata
)
50392 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
50394 equiv
= equiv
->next
;
50414 /* Python-specific SWIG API */
50415 #define SWIG_newvarlink() SWIG_Python_newvarlink()
50416 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
50417 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
50419 /* -----------------------------------------------------------------------------
50420 * global variable support code.
50421 * ----------------------------------------------------------------------------- */
50423 typedef struct swig_globalvar
{
50424 char *name
; /* Name of global variable */
50425 PyObject
*(*get_attr
)(void); /* Return the current value */
50426 int (*set_attr
)(PyObject
*); /* Set the value */
50427 struct swig_globalvar
*next
;
50430 typedef struct swig_varlinkobject
{
50432 swig_globalvar
*vars
;
50433 } swig_varlinkobject
;
50435 SWIGINTERN PyObject
*
50436 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
50437 return PyString_FromString("<Swig global variables>");
50440 SWIGINTERN PyObject
*
50441 swig_varlink_str(swig_varlinkobject
*v
) {
50442 PyObject
*str
= PyString_FromString("(");
50443 swig_globalvar
*var
;
50444 for (var
= v
->vars
; var
; var
=var
->next
) {
50445 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
50446 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
50448 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
50453 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
50454 PyObject
*str
= swig_varlink_str(v
);
50455 fprintf(fp
,"Swig global variables ");
50456 fprintf(fp
,"%s\n", PyString_AsString(str
));
50462 swig_varlink_dealloc(swig_varlinkobject
*v
) {
50463 swig_globalvar
*var
= v
->vars
;
50465 swig_globalvar
*n
= var
->next
;
50472 SWIGINTERN PyObject
*
50473 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
50474 PyObject
*res
= NULL
;
50475 swig_globalvar
*var
= v
->vars
;
50477 if (strcmp(var
->name
,n
) == 0) {
50478 res
= (*var
->get_attr
)();
50483 if (res
== NULL
&& !PyErr_Occurred()) {
50484 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50490 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
50492 swig_globalvar
*var
= v
->vars
;
50494 if (strcmp(var
->name
,n
) == 0) {
50495 res
= (*var
->set_attr
)(p
);
50500 if (res
== 1 && !PyErr_Occurred()) {
50501 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
50506 SWIGINTERN PyTypeObject
*
50507 swig_varlink_type(void) {
50508 static char varlink__doc__
[] = "Swig var link object";
50509 static PyTypeObject varlink_type
;
50510 static int type_init
= 0;
50512 const PyTypeObject tmp
50514 PyObject_HEAD_INIT(NULL
)
50515 0, /* Number of items in variable part (ob_size) */
50516 (char *)"swigvarlink", /* Type name (tp_name) */
50517 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
50518 0, /* Itemsize (tp_itemsize) */
50519 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
50520 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
50521 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
50522 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
50523 0, /* tp_compare */
50524 (reprfunc
) swig_varlink_repr
, /* tp_repr */
50525 0, /* tp_as_number */
50526 0, /* tp_as_sequence */
50527 0, /* tp_as_mapping */
50530 (reprfunc
)swig_varlink_str
, /* tp_str */
50531 0, /* tp_getattro */
50532 0, /* tp_setattro */
50533 0, /* tp_as_buffer */
50535 varlink__doc__
, /* tp_doc */
50536 0, /* tp_traverse */
50538 0, /* tp_richcompare */
50539 0, /* tp_weaklistoffset */
50540 #if PY_VERSION_HEX >= 0x02020000
50541 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
50543 #if PY_VERSION_HEX >= 0x02030000
50546 #ifdef COUNT_ALLOCS
50547 0,0,0,0 /* tp_alloc -> tp_next */
50550 varlink_type
= tmp
;
50551 varlink_type
.ob_type
= &PyType_Type
;
50554 return &varlink_type
;
50557 /* Create a variable linking object for use later */
50558 SWIGINTERN PyObject
*
50559 SWIG_Python_newvarlink(void) {
50560 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
50564 return ((PyObject
*) result
);
50568 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
50569 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
50570 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
50572 size_t size
= strlen(name
)+1;
50573 gv
->name
= (char *)malloc(size
);
50575 strncpy(gv
->name
,name
,size
);
50576 gv
->get_attr
= get_attr
;
50577 gv
->set_attr
= set_attr
;
50578 gv
->next
= v
->vars
;
50584 SWIGINTERN PyObject
*
50586 static PyObject
*_SWIG_globals
= 0;
50587 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
50588 return _SWIG_globals
;
50591 /* -----------------------------------------------------------------------------
50592 * constants/methods manipulation
50593 * ----------------------------------------------------------------------------- */
50595 /* Install Constants */
50597 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
50600 for (i
= 0; constants
[i
].type
; ++i
) {
50601 switch(constants
[i
].type
) {
50602 case SWIG_PY_POINTER
:
50603 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
50605 case SWIG_PY_BINARY
:
50606 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
50613 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
50619 /* -----------------------------------------------------------------------------*/
50620 /* Fix SwigMethods to carry the callback ptrs when needed */
50621 /* -----------------------------------------------------------------------------*/
50624 SWIG_Python_FixMethods(PyMethodDef
*methods
,
50625 swig_const_info
*const_table
,
50626 swig_type_info
**types
,
50627 swig_type_info
**types_initial
) {
50629 for (i
= 0; methods
[i
].ml_name
; ++i
) {
50630 const char *c
= methods
[i
].ml_doc
;
50631 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
50633 swig_const_info
*ci
= 0;
50634 const char *name
= c
+ 10;
50635 for (j
= 0; const_table
[j
].type
; ++j
) {
50636 if (strncmp(const_table
[j
].name
, name
,
50637 strlen(const_table
[j
].name
)) == 0) {
50638 ci
= &(const_table
[j
]);
50643 size_t shift
= (ci
->ptype
) - types
;
50644 swig_type_info
*ty
= types_initial
[shift
];
50645 size_t ldoc
= (c
- methods
[i
].ml_doc
);
50646 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
50647 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
50650 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
50652 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
50654 strncpy(buff
, "swig_ptr: ", 10);
50656 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
50657 methods
[i
].ml_doc
= ndoc
;
50669 /* -----------------------------------------------------------------------------*
50670 * Partial Init method
50671 * -----------------------------------------------------------------------------*/
50676 SWIGEXPORT
void SWIG_init(void) {
50679 /* Fix SwigMethods to carry the callback ptrs when needed */
50680 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
50682 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
50683 d
= PyModule_GetDict(m
);
50685 SWIG_InitializeModule(0);
50686 SWIG_InstallConstants(d
,swig_const_table
);
50689 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
50690 SWIG_addvarlink(SWIG_globals(),(char*)"ButtonNameStr",ButtonNameStr_get
, ButtonNameStr_set
);
50691 SWIG_Python_SetConstant(d
, "BU_LEFT",SWIG_From_int(static_cast< int >(wxBU_LEFT
)));
50692 SWIG_Python_SetConstant(d
, "BU_TOP",SWIG_From_int(static_cast< int >(wxBU_TOP
)));
50693 SWIG_Python_SetConstant(d
, "BU_RIGHT",SWIG_From_int(static_cast< int >(wxBU_RIGHT
)));
50694 SWIG_Python_SetConstant(d
, "BU_BOTTOM",SWIG_From_int(static_cast< int >(wxBU_BOTTOM
)));
50695 SWIG_Python_SetConstant(d
, "BU_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBU_ALIGN_MASK
)));
50696 SWIG_Python_SetConstant(d
, "BU_EXACTFIT",SWIG_From_int(static_cast< int >(wxBU_EXACTFIT
)));
50697 SWIG_Python_SetConstant(d
, "BU_AUTODRAW",SWIG_From_int(static_cast< int >(wxBU_AUTODRAW
)));
50698 SWIG_addvarlink(SWIG_globals(),(char*)"CheckBoxNameStr",CheckBoxNameStr_get
, CheckBoxNameStr_set
);
50699 SWIG_Python_SetConstant(d
, "CHK_2STATE",SWIG_From_int(static_cast< int >(wxCHK_2STATE
)));
50700 SWIG_Python_SetConstant(d
, "CHK_3STATE",SWIG_From_int(static_cast< int >(wxCHK_3STATE
)));
50701 SWIG_Python_SetConstant(d
, "CHK_ALLOW_3RD_STATE_FOR_USER",SWIG_From_int(static_cast< int >(wxCHK_ALLOW_3RD_STATE_FOR_USER
)));
50702 SWIG_Python_SetConstant(d
, "CHK_UNCHECKED",SWIG_From_int(static_cast< int >(wxCHK_UNCHECKED
)));
50703 SWIG_Python_SetConstant(d
, "CHK_CHECKED",SWIG_From_int(static_cast< int >(wxCHK_CHECKED
)));
50704 SWIG_Python_SetConstant(d
, "CHK_UNDETERMINED",SWIG_From_int(static_cast< int >(wxCHK_UNDETERMINED
)));
50705 SWIG_addvarlink(SWIG_globals(),(char*)"ChoiceNameStr",ChoiceNameStr_get
, ChoiceNameStr_set
);
50706 SWIG_addvarlink(SWIG_globals(),(char*)"ComboBoxNameStr",ComboBoxNameStr_get
, ComboBoxNameStr_set
);
50707 SWIG_addvarlink(SWIG_globals(),(char*)"GaugeNameStr",GaugeNameStr_get
, GaugeNameStr_set
);
50708 SWIG_Python_SetConstant(d
, "GA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxGA_HORIZONTAL
)));
50709 SWIG_Python_SetConstant(d
, "GA_VERTICAL",SWIG_From_int(static_cast< int >(wxGA_VERTICAL
)));
50710 SWIG_Python_SetConstant(d
, "GA_SMOOTH",SWIG_From_int(static_cast< int >(wxGA_SMOOTH
)));
50711 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBitmapNameStr",StaticBitmapNameStr_get
, StaticBitmapNameStr_set
);
50712 SWIG_addvarlink(SWIG_globals(),(char*)"StaticBoxNameStr",StaticBoxNameStr_get
, StaticBoxNameStr_set
);
50713 SWIG_addvarlink(SWIG_globals(),(char*)"StaticTextNameStr",StaticTextNameStr_get
, StaticTextNameStr_set
);
50714 SWIG_addvarlink(SWIG_globals(),(char*)"StaticLineNameStr",StaticLineNameStr_get
, StaticLineNameStr_set
);
50715 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
50716 SWIG_Python_SetConstant(d
, "ST_MARKUP",SWIG_From_int(static_cast< int >(wxST_MARKUP
)));
50717 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_START",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_START
)));
50718 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_MIDDLE",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_MIDDLE
)));
50719 SWIG_Python_SetConstant(d
, "ST_ELLIPSIZE_END",SWIG_From_int(static_cast< int >(wxST_ELLIPSIZE_END
)));
50720 SWIG_addvarlink(SWIG_globals(),(char*)"ListBoxNameStr",ListBoxNameStr_get
, ListBoxNameStr_set
);
50721 SWIG_addvarlink(SWIG_globals(),(char*)"TextCtrlNameStr",TextCtrlNameStr_get
, TextCtrlNameStr_set
);
50722 SWIG_Python_SetConstant(d
, "TE_NO_VSCROLL",SWIG_From_int(static_cast< int >(wxTE_NO_VSCROLL
)));
50723 SWIG_Python_SetConstant(d
, "TE_AUTO_SCROLL",SWIG_From_int(static_cast< int >(wxTE_AUTO_SCROLL
)));
50724 SWIG_Python_SetConstant(d
, "TE_READONLY",SWIG_From_int(static_cast< int >(wxTE_READONLY
)));
50725 SWIG_Python_SetConstant(d
, "TE_MULTILINE",SWIG_From_int(static_cast< int >(wxTE_MULTILINE
)));
50726 SWIG_Python_SetConstant(d
, "TE_PROCESS_TAB",SWIG_From_int(static_cast< int >(wxTE_PROCESS_TAB
)));
50727 SWIG_Python_SetConstant(d
, "TE_LEFT",SWIG_From_int(static_cast< int >(wxTE_LEFT
)));
50728 SWIG_Python_SetConstant(d
, "TE_CENTER",SWIG_From_int(static_cast< int >(wxTE_CENTER
)));
50729 SWIG_Python_SetConstant(d
, "TE_RIGHT",SWIG_From_int(static_cast< int >(wxTE_RIGHT
)));
50730 SWIG_Python_SetConstant(d
, "TE_CENTRE",SWIG_From_int(static_cast< int >(wxTE_CENTRE
)));
50731 SWIG_Python_SetConstant(d
, "TE_RICH",SWIG_From_int(static_cast< int >(wxTE_RICH
)));
50732 SWIG_Python_SetConstant(d
, "TE_PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxTE_PROCESS_ENTER
)));
50733 SWIG_Python_SetConstant(d
, "TE_PASSWORD",SWIG_From_int(static_cast< int >(wxTE_PASSWORD
)));
50734 SWIG_Python_SetConstant(d
, "TE_AUTO_URL",SWIG_From_int(static_cast< int >(wxTE_AUTO_URL
)));
50735 SWIG_Python_SetConstant(d
, "TE_NOHIDESEL",SWIG_From_int(static_cast< int >(wxTE_NOHIDESEL
)));
50736 SWIG_Python_SetConstant(d
, "TE_DONTWRAP",SWIG_From_int(static_cast< int >(wxTE_DONTWRAP
)));
50737 SWIG_Python_SetConstant(d
, "TE_CHARWRAP",SWIG_From_int(static_cast< int >(wxTE_CHARWRAP
)));
50738 SWIG_Python_SetConstant(d
, "TE_WORDWRAP",SWIG_From_int(static_cast< int >(wxTE_WORDWRAP
)));
50739 SWIG_Python_SetConstant(d
, "TE_BESTWRAP",SWIG_From_int(static_cast< int >(wxTE_BESTWRAP
)));
50740 SWIG_Python_SetConstant(d
, "TE_RICH2",SWIG_From_int(static_cast< int >(wxTE_RICH2
)));
50741 SWIG_Python_SetConstant(d
, "TE_CAPITALIZE",SWIG_From_int(static_cast< int >(wxTE_CAPITALIZE
)));
50742 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_DEFAULT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_DEFAULT
)));
50743 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_LEFT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_LEFT
)));
50744 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTRE",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTRE
)));
50745 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_CENTER",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_CENTER
)));
50746 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_RIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_RIGHT
)));
50747 SWIG_Python_SetConstant(d
, "TEXT_ALIGNMENT_JUSTIFIED",SWIG_From_int(static_cast< int >(wxTEXT_ALIGNMENT_JUSTIFIED
)));
50748 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TEXT_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TEXT_COLOUR
)));
50749 SWIG_Python_SetConstant(d
, "TEXT_ATTR_BACKGROUND_COLOUR",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_BACKGROUND_COLOUR
)));
50750 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_FACE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_FACE
)));
50751 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_SIZE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_SIZE
)));
50752 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_WEIGHT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_WEIGHT
)));
50753 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_ITALIC",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_ITALIC
)));
50754 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT_UNDERLINE",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT_UNDERLINE
)));
50755 SWIG_Python_SetConstant(d
, "TEXT_ATTR_FONT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_FONT
)));
50756 SWIG_Python_SetConstant(d
, "TEXT_ATTR_ALIGNMENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_ALIGNMENT
)));
50757 SWIG_Python_SetConstant(d
, "TEXT_ATTR_LEFT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_LEFT_INDENT
)));
50758 SWIG_Python_SetConstant(d
, "TEXT_ATTR_RIGHT_INDENT",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_RIGHT_INDENT
)));
50759 SWIG_Python_SetConstant(d
, "TEXT_ATTR_TABS",SWIG_From_int(static_cast< int >(wxTEXT_ATTR_TABS
)));
50760 SWIG_Python_SetConstant(d
, "TE_HT_UNKNOWN",SWIG_From_int(static_cast< int >(wxTE_HT_UNKNOWN
)));
50761 SWIG_Python_SetConstant(d
, "TE_HT_BEFORE",SWIG_From_int(static_cast< int >(wxTE_HT_BEFORE
)));
50762 SWIG_Python_SetConstant(d
, "TE_HT_ON_TEXT",SWIG_From_int(static_cast< int >(wxTE_HT_ON_TEXT
)));
50763 SWIG_Python_SetConstant(d
, "TE_HT_BELOW",SWIG_From_int(static_cast< int >(wxTE_HT_BELOW
)));
50764 SWIG_Python_SetConstant(d
, "TE_HT_BEYOND",SWIG_From_int(static_cast< int >(wxTE_HT_BEYOND
)));
50765 SWIG_Python_SetConstant(d
, "OutOfRangeTextCoord",SWIG_From_int(static_cast< int >(wxOutOfRangeTextCoord
)));
50766 SWIG_Python_SetConstant(d
, "InvalidTextCoord",SWIG_From_int(static_cast< int >(wxInvalidTextCoord
)));
50767 SWIG_Python_SetConstant(d
, "TEXT_TYPE_ANY",SWIG_From_int(static_cast< int >(wxTEXT_TYPE_ANY
)));
50768 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
50769 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
50770 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
50771 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
50772 SWIG_addvarlink(SWIG_globals(),(char*)"ScrollBarNameStr",ScrollBarNameStr_get
, ScrollBarNameStr_set
);
50773 SWIG_addvarlink(SWIG_globals(),(char*)"SPIN_BUTTON_NAME",SPIN_BUTTON_NAME_get
, SPIN_BUTTON_NAME_set
);
50774 SWIG_addvarlink(SWIG_globals(),(char*)"SpinCtrlNameStr",SpinCtrlNameStr_get
, SpinCtrlNameStr_set
);
50775 SWIG_Python_SetConstant(d
, "SP_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSP_HORIZONTAL
)));
50776 SWIG_Python_SetConstant(d
, "SP_VERTICAL",SWIG_From_int(static_cast< int >(wxSP_VERTICAL
)));
50777 SWIG_Python_SetConstant(d
, "SP_ARROW_KEYS",SWIG_From_int(static_cast< int >(wxSP_ARROW_KEYS
)));
50778 SWIG_Python_SetConstant(d
, "SP_WRAP",SWIG_From_int(static_cast< int >(wxSP_WRAP
)));
50779 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
50780 SWIG_addvarlink(SWIG_globals(),(char*)"RadioBoxNameStr",RadioBoxNameStr_get
, RadioBoxNameStr_set
);
50781 SWIG_addvarlink(SWIG_globals(),(char*)"RadioButtonNameStr",RadioButtonNameStr_get
, RadioButtonNameStr_set
);
50782 SWIG_addvarlink(SWIG_globals(),(char*)"SliderNameStr",SliderNameStr_get
, SliderNameStr_set
);
50783 SWIG_Python_SetConstant(d
, "SL_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSL_HORIZONTAL
)));
50784 SWIG_Python_SetConstant(d
, "SL_VERTICAL",SWIG_From_int(static_cast< int >(wxSL_VERTICAL
)));
50785 SWIG_Python_SetConstant(d
, "SL_TICKS",SWIG_From_int(static_cast< int >(wxSL_TICKS
)));
50786 SWIG_Python_SetConstant(d
, "SL_AUTOTICKS",SWIG_From_int(static_cast< int >(wxSL_AUTOTICKS
)));
50787 SWIG_Python_SetConstant(d
, "SL_LABELS",SWIG_From_int(static_cast< int >(wxSL_LABELS
)));
50788 SWIG_Python_SetConstant(d
, "SL_LEFT",SWIG_From_int(static_cast< int >(wxSL_LEFT
)));
50789 SWIG_Python_SetConstant(d
, "SL_TOP",SWIG_From_int(static_cast< int >(wxSL_TOP
)));
50790 SWIG_Python_SetConstant(d
, "SL_RIGHT",SWIG_From_int(static_cast< int >(wxSL_RIGHT
)));
50791 SWIG_Python_SetConstant(d
, "SL_BOTTOM",SWIG_From_int(static_cast< int >(wxSL_BOTTOM
)));
50792 SWIG_Python_SetConstant(d
, "SL_BOTH",SWIG_From_int(static_cast< int >(wxSL_BOTH
)));
50793 SWIG_Python_SetConstant(d
, "SL_SELRANGE",SWIG_From_int(static_cast< int >(wxSL_SELRANGE
)));
50794 SWIG_Python_SetConstant(d
, "SL_INVERSE",SWIG_From_int(static_cast< int >(wxSL_INVERSE
)));
50795 SWIG_addvarlink(SWIG_globals(),(char*)"ToggleButtonNameStr",ToggleButtonNameStr_get
, ToggleButtonNameStr_set
);
50796 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
50797 SWIG_addvarlink(SWIG_globals(),(char*)"NotebookNameStr",NotebookNameStr_get
, NotebookNameStr_set
);
50798 SWIG_Python_SetConstant(d
, "BK_DEFAULT",SWIG_From_int(static_cast< int >(wxBK_DEFAULT
)));
50799 SWIG_Python_SetConstant(d
, "BK_TOP",SWIG_From_int(static_cast< int >(wxBK_TOP
)));
50800 SWIG_Python_SetConstant(d
, "BK_BOTTOM",SWIG_From_int(static_cast< int >(wxBK_BOTTOM
)));
50801 SWIG_Python_SetConstant(d
, "BK_LEFT",SWIG_From_int(static_cast< int >(wxBK_LEFT
)));
50802 SWIG_Python_SetConstant(d
, "BK_RIGHT",SWIG_From_int(static_cast< int >(wxBK_RIGHT
)));
50803 SWIG_Python_SetConstant(d
, "BK_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxBK_ALIGN_MASK
)));
50804 SWIG_Python_SetConstant(d
, "BK_BUTTONBAR",SWIG_From_int(static_cast< int >(wxBK_BUTTONBAR
)));
50805 SWIG_Python_SetConstant(d
, "BK_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_NOWHERE
)));
50806 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONICON
)));
50807 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONLABEL
)));
50808 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONITEM
)));
50809 SWIG_Python_SetConstant(d
, "BK_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxBK_HITTEST_ONPAGE
)));
50810 SWIG_Python_SetConstant(d
, "NB_FIXEDWIDTH",SWIG_From_int(static_cast< int >(wxNB_FIXEDWIDTH
)));
50811 SWIG_Python_SetConstant(d
, "NB_TOP",SWIG_From_int(static_cast< int >(wxNB_TOP
)));
50812 SWIG_Python_SetConstant(d
, "NB_LEFT",SWIG_From_int(static_cast< int >(wxNB_LEFT
)));
50813 SWIG_Python_SetConstant(d
, "NB_RIGHT",SWIG_From_int(static_cast< int >(wxNB_RIGHT
)));
50814 SWIG_Python_SetConstant(d
, "NB_BOTTOM",SWIG_From_int(static_cast< int >(wxNB_BOTTOM
)));
50815 SWIG_Python_SetConstant(d
, "NB_MULTILINE",SWIG_From_int(static_cast< int >(wxNB_MULTILINE
)));
50816 SWIG_Python_SetConstant(d
, "NB_NOPAGETHEME",SWIG_From_int(static_cast< int >(wxNB_NOPAGETHEME
)));
50817 SWIG_Python_SetConstant(d
, "NB_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_NOWHERE
)));
50818 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONICON",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONICON
)));
50819 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONLABEL",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONLABEL
)));
50820 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONITEM
)));
50821 SWIG_Python_SetConstant(d
, "NB_HITTEST_ONPAGE",SWIG_From_int(static_cast< int >(wxNB_HITTEST_ONPAGE
)));
50822 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
50823 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
50824 SWIG_Python_SetConstant(d
, "LB_DEFAULT",SWIG_From_int(static_cast< int >(wxLB_DEFAULT
)));
50825 SWIG_Python_SetConstant(d
, "LB_TOP",SWIG_From_int(static_cast< int >(wxLB_TOP
)));
50826 SWIG_Python_SetConstant(d
, "LB_BOTTOM",SWIG_From_int(static_cast< int >(wxLB_BOTTOM
)));
50827 SWIG_Python_SetConstant(d
, "LB_LEFT",SWIG_From_int(static_cast< int >(wxLB_LEFT
)));
50828 SWIG_Python_SetConstant(d
, "LB_RIGHT",SWIG_From_int(static_cast< int >(wxLB_RIGHT
)));
50829 SWIG_Python_SetConstant(d
, "LB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLB_ALIGN_MASK
)));
50830 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
50831 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
50832 SWIG_Python_SetConstant(d
, "CHB_DEFAULT",SWIG_From_int(static_cast< int >(wxCHB_DEFAULT
)));
50833 SWIG_Python_SetConstant(d
, "CHB_TOP",SWIG_From_int(static_cast< int >(wxCHB_TOP
)));
50834 SWIG_Python_SetConstant(d
, "CHB_BOTTOM",SWIG_From_int(static_cast< int >(wxCHB_BOTTOM
)));
50835 SWIG_Python_SetConstant(d
, "CHB_LEFT",SWIG_From_int(static_cast< int >(wxCHB_LEFT
)));
50836 SWIG_Python_SetConstant(d
, "CHB_RIGHT",SWIG_From_int(static_cast< int >(wxCHB_RIGHT
)));
50837 SWIG_Python_SetConstant(d
, "CHB_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxCHB_ALIGN_MASK
)));
50838 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
50839 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
50840 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGED
));
50841 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_PAGE_CHANGING
));
50842 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_COLLAPSED
));
50843 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREEBOOK_NODE_EXPANDED
));
50844 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGED
));
50845 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING
));
50846 SWIG_Python_SetConstant(d
, "TOOL_STYLE_BUTTON",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_BUTTON
)));
50847 SWIG_Python_SetConstant(d
, "TOOL_STYLE_SEPARATOR",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_SEPARATOR
)));
50848 SWIG_Python_SetConstant(d
, "TOOL_STYLE_CONTROL",SWIG_From_int(static_cast< int >(wxTOOL_STYLE_CONTROL
)));
50849 SWIG_Python_SetConstant(d
, "TB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxTB_HORIZONTAL
)));
50850 SWIG_Python_SetConstant(d
, "TB_VERTICAL",SWIG_From_int(static_cast< int >(wxTB_VERTICAL
)));
50851 SWIG_Python_SetConstant(d
, "TB_TOP",SWIG_From_int(static_cast< int >(wxTB_TOP
)));
50852 SWIG_Python_SetConstant(d
, "TB_LEFT",SWIG_From_int(static_cast< int >(wxTB_LEFT
)));
50853 SWIG_Python_SetConstant(d
, "TB_BOTTOM",SWIG_From_int(static_cast< int >(wxTB_BOTTOM
)));
50854 SWIG_Python_SetConstant(d
, "TB_RIGHT",SWIG_From_int(static_cast< int >(wxTB_RIGHT
)));
50855 SWIG_Python_SetConstant(d
, "TB_3DBUTTONS",SWIG_From_int(static_cast< int >(wxTB_3DBUTTONS
)));
50856 SWIG_Python_SetConstant(d
, "TB_FLAT",SWIG_From_int(static_cast< int >(wxTB_FLAT
)));
50857 SWIG_Python_SetConstant(d
, "TB_DOCKABLE",SWIG_From_int(static_cast< int >(wxTB_DOCKABLE
)));
50858 SWIG_Python_SetConstant(d
, "TB_NOICONS",SWIG_From_int(static_cast< int >(wxTB_NOICONS
)));
50859 SWIG_Python_SetConstant(d
, "TB_TEXT",SWIG_From_int(static_cast< int >(wxTB_TEXT
)));
50860 SWIG_Python_SetConstant(d
, "TB_NODIVIDER",SWIG_From_int(static_cast< int >(wxTB_NODIVIDER
)));
50861 SWIG_Python_SetConstant(d
, "TB_NOALIGN",SWIG_From_int(static_cast< int >(wxTB_NOALIGN
)));
50862 SWIG_Python_SetConstant(d
, "TB_HORZ_LAYOUT",SWIG_From_int(static_cast< int >(wxTB_HORZ_LAYOUT
)));
50863 SWIG_Python_SetConstant(d
, "TB_HORZ_TEXT",SWIG_From_int(static_cast< int >(wxTB_HORZ_TEXT
)));
50864 SWIG_Python_SetConstant(d
, "TB_NO_TOOLTIPS",SWIG_From_int(static_cast< int >(wxTB_NO_TOOLTIPS
)));
50865 SWIG_addvarlink(SWIG_globals(),(char*)"ListCtrlNameStr",ListCtrlNameStr_get
, ListCtrlNameStr_set
);
50866 SWIG_Python_SetConstant(d
, "LC_VRULES",SWIG_From_int(static_cast< int >(wxLC_VRULES
)));
50867 SWIG_Python_SetConstant(d
, "LC_HRULES",SWIG_From_int(static_cast< int >(wxLC_HRULES
)));
50868 SWIG_Python_SetConstant(d
, "LC_ICON",SWIG_From_int(static_cast< int >(wxLC_ICON
)));
50869 SWIG_Python_SetConstant(d
, "LC_SMALL_ICON",SWIG_From_int(static_cast< int >(wxLC_SMALL_ICON
)));
50870 SWIG_Python_SetConstant(d
, "LC_LIST",SWIG_From_int(static_cast< int >(wxLC_LIST
)));
50871 SWIG_Python_SetConstant(d
, "LC_REPORT",SWIG_From_int(static_cast< int >(wxLC_REPORT
)));
50872 SWIG_Python_SetConstant(d
, "LC_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLC_ALIGN_TOP
)));
50873 SWIG_Python_SetConstant(d
, "LC_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLC_ALIGN_LEFT
)));
50874 SWIG_Python_SetConstant(d
, "LC_AUTOARRANGE",SWIG_From_int(static_cast< int >(wxLC_AUTOARRANGE
)));
50875 SWIG_Python_SetConstant(d
, "LC_VIRTUAL",SWIG_From_int(static_cast< int >(wxLC_VIRTUAL
)));
50876 SWIG_Python_SetConstant(d
, "LC_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxLC_EDIT_LABELS
)));
50877 SWIG_Python_SetConstant(d
, "LC_NO_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_HEADER
)));
50878 SWIG_Python_SetConstant(d
, "LC_NO_SORT_HEADER",SWIG_From_int(static_cast< int >(wxLC_NO_SORT_HEADER
)));
50879 SWIG_Python_SetConstant(d
, "LC_SINGLE_SEL",SWIG_From_int(static_cast< int >(wxLC_SINGLE_SEL
)));
50880 SWIG_Python_SetConstant(d
, "LC_SORT_ASCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_ASCENDING
)));
50881 SWIG_Python_SetConstant(d
, "LC_SORT_DESCENDING",SWIG_From_int(static_cast< int >(wxLC_SORT_DESCENDING
)));
50882 SWIG_Python_SetConstant(d
, "LC_MASK_TYPE",SWIG_From_int(static_cast< int >(wxLC_MASK_TYPE
)));
50883 SWIG_Python_SetConstant(d
, "LC_MASK_ALIGN",SWIG_From_int(static_cast< int >(wxLC_MASK_ALIGN
)));
50884 SWIG_Python_SetConstant(d
, "LC_MASK_SORT",SWIG_From_int(static_cast< int >(wxLC_MASK_SORT
)));
50885 SWIG_Python_SetConstant(d
, "LIST_MASK_STATE",SWIG_From_int(static_cast< int >(wxLIST_MASK_STATE
)));
50886 SWIG_Python_SetConstant(d
, "LIST_MASK_TEXT",SWIG_From_int(static_cast< int >(wxLIST_MASK_TEXT
)));
50887 SWIG_Python_SetConstant(d
, "LIST_MASK_IMAGE",SWIG_From_int(static_cast< int >(wxLIST_MASK_IMAGE
)));
50888 SWIG_Python_SetConstant(d
, "LIST_MASK_DATA",SWIG_From_int(static_cast< int >(wxLIST_MASK_DATA
)));
50889 SWIG_Python_SetConstant(d
, "LIST_SET_ITEM",SWIG_From_int(static_cast< int >(wxLIST_SET_ITEM
)));
50890 SWIG_Python_SetConstant(d
, "LIST_MASK_WIDTH",SWIG_From_int(static_cast< int >(wxLIST_MASK_WIDTH
)));
50891 SWIG_Python_SetConstant(d
, "LIST_MASK_FORMAT",SWIG_From_int(static_cast< int >(wxLIST_MASK_FORMAT
)));
50892 SWIG_Python_SetConstant(d
, "LIST_STATE_DONTCARE",SWIG_From_int(static_cast< int >(wxLIST_STATE_DONTCARE
)));
50893 SWIG_Python_SetConstant(d
, "LIST_STATE_DROPHILITED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DROPHILITED
)));
50894 SWIG_Python_SetConstant(d
, "LIST_STATE_FOCUSED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FOCUSED
)));
50895 SWIG_Python_SetConstant(d
, "LIST_STATE_SELECTED",SWIG_From_int(static_cast< int >(wxLIST_STATE_SELECTED
)));
50896 SWIG_Python_SetConstant(d
, "LIST_STATE_CUT",SWIG_From_int(static_cast< int >(wxLIST_STATE_CUT
)));
50897 SWIG_Python_SetConstant(d
, "LIST_STATE_DISABLED",SWIG_From_int(static_cast< int >(wxLIST_STATE_DISABLED
)));
50898 SWIG_Python_SetConstant(d
, "LIST_STATE_FILTERED",SWIG_From_int(static_cast< int >(wxLIST_STATE_FILTERED
)));
50899 SWIG_Python_SetConstant(d
, "LIST_STATE_INUSE",SWIG_From_int(static_cast< int >(wxLIST_STATE_INUSE
)));
50900 SWIG_Python_SetConstant(d
, "LIST_STATE_PICKED",SWIG_From_int(static_cast< int >(wxLIST_STATE_PICKED
)));
50901 SWIG_Python_SetConstant(d
, "LIST_STATE_SOURCE",SWIG_From_int(static_cast< int >(wxLIST_STATE_SOURCE
)));
50902 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ABOVE
)));
50903 SWIG_Python_SetConstant(d
, "LIST_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_BELOW
)));
50904 SWIG_Python_SetConstant(d
, "LIST_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_NOWHERE
)));
50905 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMICON
)));
50906 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMLABEL
)));
50907 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMRIGHT
)));
50908 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEMSTATEICON
)));
50909 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TOLEFT
)));
50910 SWIG_Python_SetConstant(d
, "LIST_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_TORIGHT
)));
50911 SWIG_Python_SetConstant(d
, "LIST_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxLIST_HITTEST_ONITEM
)));
50912 SWIG_Python_SetConstant(d
, "LIST_GETSUBITEMRECT_WHOLEITEM",SWIG_From_int(static_cast< int >(wxLIST_GETSUBITEMRECT_WHOLEITEM
)));
50913 SWIG_Python_SetConstant(d
, "LIST_NEXT_ABOVE",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ABOVE
)));
50914 SWIG_Python_SetConstant(d
, "LIST_NEXT_ALL",SWIG_From_int(static_cast< int >(wxLIST_NEXT_ALL
)));
50915 SWIG_Python_SetConstant(d
, "LIST_NEXT_BELOW",SWIG_From_int(static_cast< int >(wxLIST_NEXT_BELOW
)));
50916 SWIG_Python_SetConstant(d
, "LIST_NEXT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_LEFT
)));
50917 SWIG_Python_SetConstant(d
, "LIST_NEXT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_NEXT_RIGHT
)));
50918 SWIG_Python_SetConstant(d
, "LIST_ALIGN_DEFAULT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_DEFAULT
)));
50919 SWIG_Python_SetConstant(d
, "LIST_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_LEFT
)));
50920 SWIG_Python_SetConstant(d
, "LIST_ALIGN_TOP",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_TOP
)));
50921 SWIG_Python_SetConstant(d
, "LIST_ALIGN_SNAP_TO_GRID",SWIG_From_int(static_cast< int >(wxLIST_ALIGN_SNAP_TO_GRID
)));
50922 SWIG_Python_SetConstant(d
, "LIST_FORMAT_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_LEFT
)));
50923 SWIG_Python_SetConstant(d
, "LIST_FORMAT_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_RIGHT
)));
50924 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTRE",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTRE
)));
50925 SWIG_Python_SetConstant(d
, "LIST_FORMAT_CENTER",SWIG_From_int(static_cast< int >(wxLIST_FORMAT_CENTER
)));
50926 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE
)));
50927 SWIG_Python_SetConstant(d
, "LIST_AUTOSIZE_USEHEADER",SWIG_From_int(static_cast< int >(wxLIST_AUTOSIZE_USEHEADER
)));
50928 SWIG_Python_SetConstant(d
, "LIST_RECT_BOUNDS",SWIG_From_int(static_cast< int >(wxLIST_RECT_BOUNDS
)));
50929 SWIG_Python_SetConstant(d
, "LIST_RECT_ICON",SWIG_From_int(static_cast< int >(wxLIST_RECT_ICON
)));
50930 SWIG_Python_SetConstant(d
, "LIST_RECT_LABEL",SWIG_From_int(static_cast< int >(wxLIST_RECT_LABEL
)));
50931 SWIG_Python_SetConstant(d
, "LIST_FIND_UP",SWIG_From_int(static_cast< int >(wxLIST_FIND_UP
)));
50932 SWIG_Python_SetConstant(d
, "LIST_FIND_DOWN",SWIG_From_int(static_cast< int >(wxLIST_FIND_DOWN
)));
50933 SWIG_Python_SetConstant(d
, "LIST_FIND_LEFT",SWIG_From_int(static_cast< int >(wxLIST_FIND_LEFT
)));
50934 SWIG_Python_SetConstant(d
, "LIST_FIND_RIGHT",SWIG_From_int(static_cast< int >(wxLIST_FIND_RIGHT
)));
50935 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
50936 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
50937 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
50938 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
50939 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
50940 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
50941 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
50942 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
50943 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
50944 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
50945 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
50946 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
50947 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
50948 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
50949 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
50950 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
50951 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
50952 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
50953 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
50954 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
50956 // Map renamed classes back to their common name for OOR
50957 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
50959 SWIG_addvarlink(SWIG_globals(),(char*)"TreeCtrlNameStr",TreeCtrlNameStr_get
, TreeCtrlNameStr_set
);
50960 SWIG_Python_SetConstant(d
, "TR_NO_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_NO_BUTTONS
)));
50961 SWIG_Python_SetConstant(d
, "TR_HAS_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_HAS_BUTTONS
)));
50962 SWIG_Python_SetConstant(d
, "TR_NO_LINES",SWIG_From_int(static_cast< int >(wxTR_NO_LINES
)));
50963 SWIG_Python_SetConstant(d
, "TR_LINES_AT_ROOT",SWIG_From_int(static_cast< int >(wxTR_LINES_AT_ROOT
)));
50964 SWIG_Python_SetConstant(d
, "TR_SINGLE",SWIG_From_int(static_cast< int >(wxTR_SINGLE
)));
50965 SWIG_Python_SetConstant(d
, "TR_MULTIPLE",SWIG_From_int(static_cast< int >(wxTR_MULTIPLE
)));
50966 SWIG_Python_SetConstant(d
, "TR_EXTENDED",SWIG_From_int(static_cast< int >(wxTR_EXTENDED
)));
50967 SWIG_Python_SetConstant(d
, "TR_HAS_VARIABLE_ROW_HEIGHT",SWIG_From_int(static_cast< int >(wxTR_HAS_VARIABLE_ROW_HEIGHT
)));
50968 SWIG_Python_SetConstant(d
, "TR_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxTR_EDIT_LABELS
)));
50969 SWIG_Python_SetConstant(d
, "TR_HIDE_ROOT",SWIG_From_int(static_cast< int >(wxTR_HIDE_ROOT
)));
50970 SWIG_Python_SetConstant(d
, "TR_ROW_LINES",SWIG_From_int(static_cast< int >(wxTR_ROW_LINES
)));
50971 SWIG_Python_SetConstant(d
, "TR_FULL_ROW_HIGHLIGHT",SWIG_From_int(static_cast< int >(wxTR_FULL_ROW_HIGHLIGHT
)));
50972 SWIG_Python_SetConstant(d
, "TR_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxTR_DEFAULT_STYLE
)));
50973 SWIG_Python_SetConstant(d
, "TR_TWIST_BUTTONS",SWIG_From_int(static_cast< int >(wxTR_TWIST_BUTTONS
)));
50974 SWIG_Python_SetConstant(d
, "TreeItemIcon_Normal",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Normal
)));
50975 SWIG_Python_SetConstant(d
, "TreeItemIcon_Selected",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Selected
)));
50976 SWIG_Python_SetConstant(d
, "TreeItemIcon_Expanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Expanded
)));
50977 SWIG_Python_SetConstant(d
, "TreeItemIcon_SelectedExpanded",SWIG_From_int(static_cast< int >(wxTreeItemIcon_SelectedExpanded
)));
50978 SWIG_Python_SetConstant(d
, "TreeItemIcon_Max",SWIG_From_int(static_cast< int >(wxTreeItemIcon_Max
)));
50979 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ABOVE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ABOVE
)));
50980 SWIG_Python_SetConstant(d
, "TREE_HITTEST_BELOW",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_BELOW
)));
50981 SWIG_Python_SetConstant(d
, "TREE_HITTEST_NOWHERE",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_NOWHERE
)));
50982 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMBUTTON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMBUTTON
)));
50983 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMICON
)));
50984 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMINDENT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMINDENT
)));
50985 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLABEL",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLABEL
)));
50986 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMRIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMRIGHT
)));
50987 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMSTATEICON",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMSTATEICON
)));
50988 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TOLEFT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TOLEFT
)));
50989 SWIG_Python_SetConstant(d
, "TREE_HITTEST_TORIGHT",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_TORIGHT
)));
50990 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMUPPERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMUPPERPART
)));
50991 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEMLOWERPART",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMLOWERPART
)));
50992 SWIG_Python_SetConstant(d
, "TREE_HITTEST_ONITEM",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEM
)));
50993 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
50994 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
50995 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
50996 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
50997 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
50998 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
50999 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
51000 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
51001 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
51002 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
51003 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
51004 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
51005 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
51006 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
51007 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
51008 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
51009 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
51010 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
51011 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
51012 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
51013 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MENU", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MENU
));
51014 SWIG_addvarlink(SWIG_globals(),(char*)"NullTreeItemId",NullTreeItemId_get
, NullTreeItemId_set
);
51016 // Map renamed classes back to their common name for OOR
51017 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
51018 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
51020 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogDefaultFolderStr",DirDialogDefaultFolderStr_get
, DirDialogDefaultFolderStr_set
);
51021 SWIG_Python_SetConstant(d
, "DIRCTRL_DIR_ONLY",SWIG_From_int(static_cast< int >(wxDIRCTRL_DIR_ONLY
)));
51022 SWIG_Python_SetConstant(d
, "DIRCTRL_SELECT_FIRST",SWIG_From_int(static_cast< int >(wxDIRCTRL_SELECT_FIRST
)));
51023 SWIG_Python_SetConstant(d
, "DIRCTRL_SHOW_FILTERS",SWIG_From_int(static_cast< int >(wxDIRCTRL_SHOW_FILTERS
)));
51024 SWIG_Python_SetConstant(d
, "DIRCTRL_3D_INTERNAL",SWIG_From_int(static_cast< int >(wxDIRCTRL_3D_INTERNAL
)));
51025 SWIG_Python_SetConstant(d
, "DIRCTRL_EDIT_LABELS",SWIG_From_int(static_cast< int >(wxDIRCTRL_EDIT_LABELS
)));
51026 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
51027 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
51028 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Unknown",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Unknown
)));
51029 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_Keyboard",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_Keyboard
)));
51030 SWIG_Python_SetConstant(d
, "HelpEvent_Origin_HelpButton",SWIG_From_int(static_cast< int >(wxHelpEvent::Origin_HelpButton
)));
51032 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
51034 SWIG_addvarlink(SWIG_globals(),(char*)"DatePickerCtrlNameStr",DatePickerCtrlNameStr_get
, DatePickerCtrlNameStr_set
);
51035 SWIG_Python_SetConstant(d
, "DP_DEFAULT",SWIG_From_int(static_cast< int >(wxDP_DEFAULT
)));
51036 SWIG_Python_SetConstant(d
, "DP_SPIN",SWIG_From_int(static_cast< int >(wxDP_SPIN
)));
51037 SWIG_Python_SetConstant(d
, "DP_DROPDOWN",SWIG_From_int(static_cast< int >(wxDP_DROPDOWN
)));
51038 SWIG_Python_SetConstant(d
, "DP_SHOWCENTURY",SWIG_From_int(static_cast< int >(wxDP_SHOWCENTURY
)));
51039 SWIG_Python_SetConstant(d
, "DP_ALLOWNONE",SWIG_From_int(static_cast< int >(wxDP_ALLOWNONE
)));
51040 SWIG_addvarlink(SWIG_globals(),(char*)"HyperlinkCtrlNameStr",HyperlinkCtrlNameStr_get
, HyperlinkCtrlNameStr_set
);
51041 SWIG_Python_SetConstant(d
, "HL_CONTEXTMENU",SWIG_From_int(static_cast< int >(wxHL_CONTEXTMENU
)));
51042 SWIG_Python_SetConstant(d
, "HL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_LEFT
)));
51043 SWIG_Python_SetConstant(d
, "HL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxHL_ALIGN_RIGHT
)));
51044 SWIG_Python_SetConstant(d
, "HL_ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxHL_ALIGN_CENTRE
)));
51045 SWIG_Python_SetConstant(d
, "HL_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHL_DEFAULT_STYLE
)));
51046 PyDict_SetItemString(d
, "wxEVT_COMMAND_HYPERLINK", PyInt_FromLong(wxEVT_COMMAND_HYPERLINK
));
51047 SWIG_Python_SetConstant(d
, "PB_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxPB_USE_TEXTCTRL
)));
51048 SWIG_addvarlink(SWIG_globals(),(char*)"ColourPickerCtrlNameStr",ColourPickerCtrlNameStr_get
, ColourPickerCtrlNameStr_set
);
51049 SWIG_Python_SetConstant(d
, "CLRP_SHOW_LABEL",SWIG_From_int(static_cast< int >(wxCLRP_SHOW_LABEL
)));
51050 SWIG_Python_SetConstant(d
, "CLRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxCLRP_USE_TEXTCTRL
)));
51051 SWIG_Python_SetConstant(d
, "CLRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCLRP_DEFAULT_STYLE
)));
51052 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLOURPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLOURPICKER_CHANGED
));
51053 SWIG_addvarlink(SWIG_globals(),(char*)"FilePickerCtrlNameStr",FilePickerCtrlNameStr_get
, FilePickerCtrlNameStr_set
);
51054 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
51055 SWIG_addvarlink(SWIG_globals(),(char*)"DirPickerCtrlNameStr",DirPickerCtrlNameStr_get
, DirPickerCtrlNameStr_set
);
51056 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
51057 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
51058 SWIG_Python_SetConstant(d
, "FLP_OPEN",SWIG_From_int(static_cast< int >(wxFLP_OPEN
)));
51059 SWIG_Python_SetConstant(d
, "FLP_SAVE",SWIG_From_int(static_cast< int >(wxFLP_SAVE
)));
51060 SWIG_Python_SetConstant(d
, "FLP_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFLP_OVERWRITE_PROMPT
)));
51061 SWIG_Python_SetConstant(d
, "FLP_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFLP_FILE_MUST_EXIST
)));
51062 SWIG_Python_SetConstant(d
, "FLP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFLP_CHANGE_DIR
)));
51063 SWIG_Python_SetConstant(d
, "DIRP_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDIRP_DIR_MUST_EXIST
)));
51064 SWIG_Python_SetConstant(d
, "DIRP_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDIRP_CHANGE_DIR
)));
51065 SWIG_Python_SetConstant(d
, "FLP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFLP_USE_TEXTCTRL
)));
51066 SWIG_Python_SetConstant(d
, "FLP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFLP_DEFAULT_STYLE
)));
51067 SWIG_Python_SetConstant(d
, "DIRP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxDIRP_USE_TEXTCTRL
)));
51068 SWIG_Python_SetConstant(d
, "DIRP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDIRP_DEFAULT_STYLE
)));
51069 PyDict_SetItemString(d
, "wxEVT_COMMAND_FILEPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FILEPICKER_CHANGED
));
51070 PyDict_SetItemString(d
, "wxEVT_COMMAND_DIRPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_DIRPICKER_CHANGED
));
51071 SWIG_addvarlink(SWIG_globals(),(char*)"FontPickerCtrlNameStr",FontPickerCtrlNameStr_get
, FontPickerCtrlNameStr_set
);
51072 SWIG_Python_SetConstant(d
, "FNTP_FONTDESC_AS_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_FONTDESC_AS_LABEL
)));
51073 SWIG_Python_SetConstant(d
, "FNTP_USEFONT_FOR_LABEL",SWIG_From_int(static_cast< int >(wxFNTP_USEFONT_FOR_LABEL
)));
51074 SWIG_Python_SetConstant(d
, "FNTP_USE_TEXTCTRL",SWIG_From_int(static_cast< int >(wxFNTP_USE_TEXTCTRL
)));
51075 SWIG_Python_SetConstant(d
, "FNTP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFNTP_DEFAULT_STYLE
)));
51076 PyDict_SetItemString(d
, "wxEVT_COMMAND_FONTPICKER_CHANGED", PyInt_FromLong(wxEVT_COMMAND_FONTPICKER_CHANGED
));
51077 SWIG_addvarlink(SWIG_globals(),(char*)"CollapsiblePaneNameStr",CollapsiblePaneNameStr_get
, CollapsiblePaneNameStr_set
);
51078 SWIG_Python_SetConstant(d
, "CP_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxCP_DEFAULT_STYLE
)));
51079 SWIG_Python_SetConstant(d
, "CP_NO_TLW_RESIZE",SWIG_From_int(static_cast< int >(wxCP_NO_TLW_RESIZE
)));
51080 PyDict_SetItemString(d
, "wxEVT_COMMAND_COLLPANE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_COLLPANE_CHANGED
));
51081 SWIG_addvarlink(SWIG_globals(),(char*)"SearchCtrlNameStr",SearchCtrlNameStr_get
, SearchCtrlNameStr_set
);
51082 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN
));
51083 PyDict_SetItemString(d
, "wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN", PyInt_FromLong(wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN
));